/* ============================================================
   INFRASTRUCTURE PAGE — DEDICATED STYLES
   ============================================================ */

/* ======= HERO ======= */
.infra-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--secondary);
}
.infra-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/global-bg.png') center/cover no-repeat;
    opacity: 0.25;
    z-index: 0;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.infra-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.95) 100%);
    z-index: 1;
}
.infra-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}
.infra-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(245, 196, 0, 0.1);
    border: 1px solid rgba(245, 196, 0, 0.3);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    margin-bottom: 2.5rem;
}
.infra-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}
.infra-hero-title .accent { color: var(--primary); }
.infra-hero-sub {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.6);
    max-width: 650px;
    margin: 0 auto 3.5rem;
    line-height: 1.8;
}
.infra-hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}
.hero-stat-item {
    text-align: center;
}
.hero-stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.4rem;
}
.hero-stat-label {
    font-size: 0.78rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}
.infra-scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    letter-spacing: 2px;
}
.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 13px;
    position: relative;
}
.scroll-mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollBounce 1.8s infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ======= SECTION SHARED ======= */
.section-dark {
    background: var(--secondary);
    padding: 8rem 0;
}
.section-darker {
    background: #080808;
    padding: 8rem 0;
}

/* ======= PROCESS STEPS — NUMBERED TABS ======= */
.steps-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}
.steps-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: sticky;
    top: 10rem;
}
.step-tab {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.04);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-align: left;
}
.step-tab:hover {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.1);
}
.step-tab.active {
    background: rgba(245,196,0,0.07);
    border-color: rgba(245,196,0,0.3);
}
.step-tab-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: rgba(255,255,255,0.15);
    min-width: 36px;
    transition: color 0.4s ease;
}
.step-tab.active .step-tab-num,
.step-tab:hover .step-tab-num {
    color: var(--primary);
}
.step-tab-title {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    transition: color 0.4s ease;
}
.step-tab.active .step-tab-title,
.step-tab:hover .step-tab-title {
    color: #fff;
}
.step-tab-arrow {
    margin-left: auto;
    color: rgba(255,255,255,0.1);
    font-size: 0.8rem;
    transition: all 0.4s ease;
    transform: translateX(0);
}
.step-tab.active .step-tab-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* Steps Content Panel */
.steps-content {
    position: relative;
}
.step-panel {
    display: none;
    animation: panelFadeIn 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.step-panel.active {
    display: block;
}
@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.step-panel-inner {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}
.step-panel-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
}
.step-icon-big {
    width: 70px;
    height: 70px;
    background: rgba(245,196,0,0.1);
    border: 1px solid rgba(245,196,0,0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
}
.step-panel-num {
    font-family: 'Outfit', sans-serif;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255,255,255,0.02);
    position: absolute;
    top: -1rem;
    right: 3rem;
    line-height: 1;
    pointer-events: none;
}
.step-panel-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.2rem;
}
.step-panel-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.9;
    margin-bottom: 2rem;
}
.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.step-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(245,196,0,0.07);
    border: 1px solid rgba(245,196,0,0.15);
    border-radius: 50px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
.step-tag i { color: var(--primary); font-size: 0.7rem; }

/* ======= FACILITIES — EXPANDING PANELS ======= */
.facilities-panels {
    display: flex;
    gap: 1.2rem;
    height: 560px;
}
.fac-panel {
    flex: 1;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    min-width: 80px;
}
.fac-panel:hover { flex: 3.5; }
.fac-panel-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(70%) brightness(0.5);
    transition: filter 0.7s ease, transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.fac-panel:hover .fac-panel-img {
    filter: grayscale(0%) brightness(0.85);
    transform: scale(1.06);
}
.fac-panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.98) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
    z-index: 1;
}
.fac-label-vert {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.4);
    z-index: 2;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}
.fac-panel:hover .fac-label-vert { opacity: 0; }
.fac-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 2.5rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.1s;
}
.fac-panel:hover .fac-info {
    opacity: 1;
    transform: translateY(0);
}
.fac-info-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.fac-info-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}
.fac-info-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    max-width: 380px;
}

/* ======= CAPABILITIES STATS STRIP ======= */
.cap-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    overflow: hidden;
}
.cap-item {
    padding: 3.5rem 2.5rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
    position: relative;
    transition: background 0.4s ease;
}
.cap-item:last-child { border-right: none; }
.cap-item:hover { background: rgba(245,196,0,0.05); }
.cap-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.cap-item:hover::after { transform: scaleX(1); }
.cap-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    display: block;
}
.cap-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.cap-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
    .steps-layout {
        grid-template-columns: 1fr;
    }
    .steps-nav {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .step-tab {
        flex: 1;
        min-width: 140px;
        padding: 1rem 1.5rem;
    }
    .step-tab-arrow { display: none; }
    .cap-strip { grid-template-columns: repeat(2, 1fr); }
    .cap-item:nth-child(2) { border-right: none; }
    .cap-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.06); }
    .cap-item:nth-child(1),
    .cap-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.06); }
}
@media (max-width: 768px) {
    .infra-hero-stats { gap: 2.5rem; }
    .facilities-panels {
        flex-direction: column;
        height: auto;
    }
    .fac-panel {
        flex: none;
        height: 260px;
        min-width: unset;
    }
    .fac-panel:hover { flex: none; height: 380px; }
    .fac-label-vert {
        writing-mode: horizontal-tb;
        transform: translateX(-50%);
        bottom: 1.5rem;
    }
    .fac-info { opacity: 1; transform: none; }
    .cap-strip { grid-template-columns: repeat(2, 1fr); }
    .step-panel-inner { padding: 2.5rem; }
    .step-tab { min-width: 120px; }
}
@media (max-width: 480px) {
    .steps-nav { flex-direction: column; }
    .step-tab { flex: none; }
    .cap-strip { grid-template-columns: 1fr; }
    .cap-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .cap-item:last-child { border-bottom: none; }
}
