/* ============================================================
   STEEL FABRICATION & GALVANIZATION — steel-fabrication-galvanization.css
   Pixel-perfect match to Energya live design & screenshots
   ============================================================ */

:root {
    --energya-navy: #00234B;
    --energya-blue: #0A52A1;
    --energya-orange: #F05435;
    --energya-orange-grad: linear-gradient(135deg, #F05435 0%, #EFB9AE 100%);
    --energya-gray-sub: #617798;
    --energya-border: #E5E7EB;
    --energya-bg-light: #F8FAFC;
}

.sf-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #334155;
    background: #FFFFFF;
}

.highlight-gradient {
    color: #F05435;
    background: linear-gradient(135deg, #F05435 0%, #EF8A75 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.sf-section-title-huge {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--energya-navy);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

/* ============================================================
   1. HERO BANNER (Screenshot 54)
   ============================================================ */
.sf-hero-banner {
    position: relative;
    min-height: 380px;
    background-image: linear-gradient(rgba(6, 26, 56, 0.78), rgba(6, 26, 56, 0.78)), url('assets/header_img11.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 90px 20px;
}

.sf-hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* ============================================================
   2. BREADCRUMBS BAR
   ============================================================ */
.sf-breadcrumbs-bar {
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 14px 0;
    font-size: 0.88rem;
    color: #64748B;
    font-weight: 500;
}

.sf-breadcrumbs-bar a {
    color: #1E40AF;
    text-decoration: none;
    transition: color 0.2s;
}

.sf-breadcrumbs-bar a:hover {
    color: #0F172A;
}

.sf-breadcrumbs-bar .sep {
    margin: 0 10px;
    color: #94A3B8;
}

.sf-breadcrumbs-bar .current {
    color: #475569;
    font-weight: 600;
}

/* ============================================================
   3. COMPANY OVERVIEW (Screenshot 55)
   ============================================================ */
.sf-overview-section {
    padding: 70px 0;
    background: #FFFFFF;
}

.sf-overview-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: flex-start;
}

.sf-overview-logo-card {
    text-align: center;
    padding: 20px;
}

.sf-overview-logo-card img {
    max-width: 270px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.sf-accordion-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sf-accordion-item {
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
    background: #FFFFFF;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sf-accordion-item.active {
    border-color: #CBD5E1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.sf-accordion-header {
    width: 100%;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--energya-navy);
    transition: color 0.2s, background-color 0.2s;
}

.sf-accordion-header:hover {
    color: var(--energya-blue);
    background-color: #F8FAFC;
}

.sf-accordion-header .icon-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #0284C7;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.25s, background-color 0.2s, color 0.2s;
}

.sf-accordion-item.active .sf-accordion-header .icon-toggle {
    background: #E0F2FE;
    color: #0369A1;
}

.sf-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 22px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
}

.sf-accordion-item.active .sf-accordion-body {
    max-height: 1000px;
    padding: 6px 22px 22px 22px;
}

.sf-accordion-body p {
    margin-bottom: 14px;
}

.sf-accordion-body p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   4. PRODUCTS & SERVICES (Screenshot 56 & 57)
   ============================================================ */
.sf-products-section {
    padding: 70px 0 90px;
    background: #FFFFFF;
}

.sf-products-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: flex-start;
}

.sf-products-info {
    position: sticky;
    top: 100px;
}

.sf-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #F05435 0%, #F5785F 100%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(240, 84, 53, 0.28);
    transition: transform 0.2s, box-shadow 0.2s;
}

.sf-pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 84, 53, 0.38);
}

.sf-products-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sf-prod-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #0F172A;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sf-prod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.sf-prod-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.sf-prod-card:hover img {
    transform: scale(1.06);
}

.sf-prod-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 12px 14px;
    background: linear-gradient(to top, rgba(200, 45, 20, 0.92) 0%, rgba(200, 45, 20, 0.65) 55%, transparent 100%);
    text-align: center;
    color: #FFFFFF;
}

.sf-prod-card-title {
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-transform: capitalize;
}

/* ============================================================
   5. NUMBERS SCREENSHOT (Rapid Animated Count-Up)
   ============================================================ */
.sf-numbers-section {
    background: #FFFFFF;
    padding: 60px 0 80px;
}

.sf-numbers-card {
    border: 1px solid #ECECEC;
    border-radius: 12px;
    padding: 50px 30px;
    background: #FFFFFF;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.sf-number-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.sf-number-icon-wrap {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sf-number-icon {
    font-size: 48px;
    color: #ee553d;
    line-height: 1;
}

.sf-number-val-wrap {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700;
    color: #ee553d;
    line-height: 1.1;
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.sf-number-unit {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700;
    color: #ee553d;
    margin-left: 2px;
}

.sf-number-label {
    font-size: 1.15rem;
    font-weight: 500;
    color: #ee553d;
    letter-spacing: 0.1px;
}

/* ============================================================
   6. DIVISIONS / EGYPT & KSA (Screenshot 59)
   ============================================================ */
.sf-divisions-section {
    padding: 80px 0;
    background: #FAFCFF;
}

.sf-divisions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.sf-division-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s, box-shadow 0.25s;
}

.sf-division-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.sf-division-logo {
    max-width: 320px;
    height: auto;
    margin-bottom: 25px;
    display: block;
}

.sf-division-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.2s;
}

.sf-division-link:hover {
    color: #0A52A1;
}

.sf-solid-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    background: #F05435;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(240, 84, 53, 0.25);
    transition: background-color 0.2s, transform 0.2s;
}

.sf-solid-btn:hover {
    background: #D94123;
    transform: translateY(-2px);
}

/* ============================================================
   7. FACTORY GALLERIES (EGYPT & KSA) & PROJECTS GALLERY
   ============================================================ */
.sf-gallery-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.sf-gallery-section.alt {
    background: #F8FAFC;
}

.sf-gallery-title {
    text-align: center;
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 50px;
    color: var(--energya-navy);
}

.sf-gallery-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sf-gallery-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.sf-gallery-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.sf-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.sf-gallery-card:hover img {
    transform: scale(1.08);
    opacity: 0.92;
}

/* ============================================================
   8. OUR CATALOGUES (Screenshot 64)
   ============================================================ */
.sf-catalogues-section {
    padding: 90px 0;
    background: #FFFFFF;
}

.sf-catalogues-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sf-catal-img-wrap {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}

.sf-catal-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.sf-catal-content h2 {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--energya-navy);
    margin-bottom: 12px;
}

.sf-catal-sub {
    font-size: 1.1rem;
    color: var(--energya-gray-sub);
    font-weight: 500;
    margin-bottom: 35px;
}

.sf-catal-buttons-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    width: 100%;
}

.sf-catal-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 34px;
    background: #F05435;
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    align-self: flex-start;
    width: fit-content;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(240, 84, 53, 0.22);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.sf-catal-download-btn:hover {
    background: #D94123;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(240, 84, 53, 0.35);
}

.sf-catal-download-btn .sf-pdf-icon {
    width: 18px;
    height: 20px;
    flex-shrink: 0;
    fill: #FFFFFF;
}

/* ============================================================
   9. OUR CERTIFICATIONS (Screenshot 65)
   ============================================================ */
.sf-certifications-section {
    padding: 90px 0;
    background: #FAFCFF;
    border-top: 1px solid #E2E8F0;
}

.sf-cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sf-cert-text h2 {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--energya-navy);
    margin-bottom: 35px;
}

.sf-cert-img-wrap {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 35, 75, 0.1);
}

.sf-cert-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   10. COMMITTED CTA SECTION (Screenshot 66)
   ============================================================ */
.sf-committed-cta-section {
    position: relative;
    padding: 110px 20px;
    background-image: linear-gradient(rgba(4, 25, 56, 0.86), rgba(4, 25, 56, 0.86)), url('assets/outdoor-modern-steel-structure-building.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #FFFFFF;
}

.sf-committed-cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.sf-committed-cta-inner h2 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 35px;
    text-transform: capitalize;
}

.sf-rotator-word {
    color: #F05435;
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ============================================================
   11. SCROLL TO TOP BUTTON
   ============================================================ */
.sf-scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid #0A52A1;
    color: #0A52A1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 999;
    opacity: 0.85;
    transition: all 0.25s ease;
}

.sf-scroll-top-btn:hover {
    background: #0A52A1;
    color: #FFFFFF;
    opacity: 1;
    transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
    .sf-overview-grid {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }
    .sf-products-layout {
        grid-template-columns: 1fr;
    }
    .sf-products-info {
        position: static;
        margin-bottom: 30px;
        text-align: center;
    }
    .sf-products-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .sf-gallery-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    .sf-catalogues-grid,
    .sf-cert-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .sf-overview-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .sf-products-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sf-numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .sf-divisions-grid {
        grid-template-columns: 1fr;
    }
    .sf-gallery-grid-3,
    .sf-gallery-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .sf-products-cards-grid {
        grid-template-columns: 1fr;
    }
    .sf-numbers-grid {
        grid-template-columns: 1fr;
    }
    .sf-gallery-grid-3,
    .sf-gallery-grid-4 {
        grid-template-columns: 1fr;
    }
}
