/* ════════════════════════════════════════════════════════════════
   SAWAAED NAJD ENGINEERING CONSULTANCY — PORTFOLIO PAGE STYLES (portfolio.css)
   ================================================================ */

/* ─── 01. INNER HERO BANNER ─── */
.abt-hero {
    position: relative;
    padding: 9rem 0 5rem;
    background-color: var(--brand-green, #0C382C);
    background-image: linear-gradient(135deg, rgba(7, 35, 27, 0.95) 0%, rgba(12, 56, 44, 0.9) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80&fm=webp');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    overflow: hidden;
}

.abt-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.abt-hero-inner {
    position: relative;
    z-index: 2;
}

.abt-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.abt-breadcrumbs a {
    color: var(--brand-gold, #C5A059);
    text-decoration: none;
    transition: color 0.3s ease;
}

.abt-breadcrumbs a:hover {
    color: #FFFFFF;
}

.abt-bc-sep {
    color: rgba(255, 255, 255, 0.4);
}

.abt-bc-active {
    color: #FFFFFF;
    font-weight: 600;
}

.abt-hero-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin-bottom: 1rem !important;
}

.abt-hero-tag span {
    color: #FFFFFF !important;
}

.abt-tag-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background-color: var(--brand-gold, #C5A059) !important;
    box-shadow: 0 0 8px var(--brand-gold, #C5A059) !important;
    flex-shrink: 0 !important;
}

.abt-hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.25;
    color: #FFFFFF;
    max-width: 800px;
}


/* ─── 02. PORTFOLIO GRID SECTION ─── */
.port-grid-sec {
    padding: 6rem 0;
    background-color: #FAFCFB;
}

.port-grid-sec .sec-eyebrow span:not(.sec-eyebrow-line) {
    color: #0C382C !important;
    font-weight: 800 !important;
}

.port-grid-sec .sec-title {
    color: #0C382C !important;
    font-size: 2.2rem !important;
}

.port-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

/* Card Container */
.port-card {
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(12, 56, 44, 0.08);
    box-shadow: 0 10px 30px rgba(12, 56, 44, 0.05);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.port-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(12, 56, 44, 0.12);
}

/* Card Image Frame */
.port-img-frame {
    position: relative;
    height: 260px;
    overflow: hidden;
    background-color: #0C382C;
}

.port-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.port-card:hover .port-img {
    transform: scale(1.05);
}

.port-tag-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: var(--brand-gold, #C5A059);
    color: #0C382C;
    padding: 0.4rem 1.1rem;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.82rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body[dir="ltr"] .port-tag-badge {
    right: auto;
    left: 1.2rem;
}

/* Card Body */
.port-card-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.port-card-title {
    color: #0C382C !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    margin-bottom: 1.4rem !important;
}

.port-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.port-details-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    color: #2C3532 !important;
    border-bottom: 1px dashed rgba(12, 56, 44, 0.1);
    padding-bottom: 0.55rem;
}

.port-details-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.port-details-list strong {
    color: #0C382C !important;
    font-weight: 700 !important;
    flex-shrink: 0;
}

.port-details-list span {
    color: #2C3532 !important;
    font-weight: 600;
    text-align: left;
}

body[dir="ltr"] .port-details-list span {
    text-align: right;
}


/* ─── 03. CTA BAND (.idx-cta-band) FULL SECTION STYLES ─── */
.idx-cta-band {
    position: relative !important;
    overflow: hidden !important;
    padding: 100px 0 !important;
    background-color: #07231B !important;
}

.idx-cta-bg {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 0 !important;
}

.idx-cta-bg-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.idx-cta-bg-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(12, 56, 44, 0.95) 0%, rgba(7, 35, 27, 0.85) 100%) !important;
}

.idx-cta-band .container {
    position: relative !important;
    z-index: 2 !important;
}

.idx-cta-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 2rem !important;
    flex-wrap: wrap !important;
}

.idx-cta-text {
    flex: 1 !important;
    min-width: 300px !important;
}

.idx-cta-title {
    color: #FFFFFF !important;
    font-weight: 800 !important;
    margin-bottom: 0.8rem !important;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem) !important;
    line-height: 1.3 !important;
}

.idx-cta-sub {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin-top: 0.8rem !important;
}

.idx-cta-btn {
    flex-shrink: 0 !important;
    padding: 1rem 2rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.8rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    background: #C5A059 !important;
    color: #FFFFFF !important;
    border: 1px solid #C5A059 !important;
    border-radius: 6px !important;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    text-decoration: none !important;
}

.idx-cta-band .idx-cta-btn,
.idx-cta-band .idx-cta-btn span,
.idx-cta-band .idx-cta-btn svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

.idx-cta-btn:hover {
    background: #0C382C !important;
    color: #FFFFFF !important;
    border-color: #C5A059 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(12, 56, 44, 0.4) !important;
}


/* ─── RESPONSIVE BREAKPOINTS ─── */
@media (max-width: 992px) {
    .port-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}

@media (max-width: 768px) {
    .idx-cta-inner {
        flex-direction: column !important;
        text-align: center !important;
    }

    .idx-cta-text {
        min-width: 100% !important;
    }

    .idx-cta-btn {
        width: 100% !important;
        justify-content: center !important;
        margin-top: 1.5rem !important;
    }
}

@media (max-width: 650px) {
    .port-grid {
        grid-template-columns: 1fr;
    }

    .port-img-frame {
        height: 220px;
    }

    .abt-hero {
        padding: 7rem 0 3.5rem;
    }
}
