/* =================================================================
   ENTERPRISE IT INFRASTRUCTURE PAGE STYLES (MATCHING USER SCREENSHOTS)
   ================================================================= */
.infra-page-wrapper {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    background-color: #ffffff;
    padding-top: 76px; /* Clears fixed navbar completely so top sky and cloud are never cut off */
}

@media (max-width: 991.98px) {
    .infra-page-wrapper {
        padding-top: 68px;
    }
}

/* 1. HERO SECTION */
.infra-hero-section {
    position: relative;
    width: 100%;
    aspect-ratio: 1672 / 941;
    min-height: 520px;
    height: auto;
    background-color: #051329;
    background-image: url('/static/img/it-infrasturure.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center top;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Gradient overlay for perfect text contrast while preserving artwork */
.infra-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(90deg, 
        rgba(5, 19, 41, 0.78) 0%, 
        rgba(5, 19, 41, 0.52) 38%, 
        rgba(5, 19, 41, 0.18) 62%, 
        rgba(5, 19, 41, 0) 100%);
}

.infra-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.infra-hero-content {
    max-width: 620px;
}

.infra-hero-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.infra-brand-logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 2px;
}

.infra-brand-logo-text span {
    color: #38bdf8;
}

.infra-brand-tagline {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: #93c5fd;
    text-transform: uppercase;
}

.infra-hero-title {
    font-size: clamp(2rem, 3.2vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.infra-hero-subtitle {
    font-size: clamp(0.95rem, 1.35vw, 1.25rem);
    font-weight: 400;
    color: #e2e8f0;
    margin-bottom: 1.4rem;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* 6 Feature Chips Row */
.infra-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.6rem;
    max-width: 580px;
}

.infra-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(10, 25, 52, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 6px;
    padding: 6px 12px;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.infra-hero-chip i,
.infra-hero-chip svg {
    color: #38bdf8;
    font-size: 0.95rem;
}

.infra-hero-chip:hover {
    background: rgba(14, 116, 244, 0.35);
    border-color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(56, 189, 248, 0.25);
    color: #ffffff;
}

/* Glowing Pill CTA Button */
.infra-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #56d4f5;
    color: #031e3b !important;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 11px 24px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(86, 212, 245, 0.45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.infra-hero-btn:hover {
    background: #7ae1fc;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(86, 212, 245, 0.65);
    color: #01152a !important;
}

/* Cloud Callout precisely over the glowing cloud */
.infra-cloud-callout {
    position: absolute;
    top: 10.5%;
    left: 62.4%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
    z-index: 2;
}

.infra-cloud-callout .cloud-brand {
    font-size: clamp(0.95rem, 1.3vw, 1.35rem);
    font-weight: 800;
    color: #003a7a;
    letter-spacing: -0.3px;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.95);
    line-height: 1.1;
}

.infra-cloud-callout .cloud-sub {
    font-size: clamp(0.5rem, 0.68vw, 0.72rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #004d99;
    text-transform: uppercase;
}

/* 2. SECTION: OUR IT INFRASTRUCTURE SERVICES */
.infra-services-section {
    background-color: #ffffff;
    padding: 85px 0 95px;
}

.infra-eyebrow {
    display: inline-block;
    color: #0066cc;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.infra-section-heading {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    color: #0a192f;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.infra-section-lead {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.65;
}

.infra-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.infra-service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 22px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.infra-service-card:hover {
    transform: translateY(-8px);
    border-color: #93c5fd;
    box-shadow: 0 16px 36px rgba(14, 55, 120, 0.09);
}

.infra-card-icon-wrap {
    width: 54px;
    height: 54px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #0066cc;
}

.infra-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 6px;
    line-height: 1.25;
}

.infra-card-subtitle {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 20px;
    min-height: 38px;
    line-height: 1.35;
}

.infra-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex-grow: 1;
}

.infra-card-list li {
    font-size: 0.82rem;
    color: #334155;
    margin-bottom: 10px;
    position: relative;
    padding-left: 14px;
    line-height: 1.4;
}

.infra-card-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -1px;
    color: #0066cc;
    font-size: 1rem;
    font-weight: bold;
}

.infra-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #00875a;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.infra-card-link:hover {
    color: #006644;
    gap: 10px;
}

/* 3. SECTION: BEYOND IT INFRASTRUCTURE (DARK GLOBE BG) */
.infra-beyond-section {
    position: relative;
    background-color: #050c1a;
    background-image: url('/static/img/it-infra-globe-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
    padding: 100px 0 90px;
    color: #ffffff;
    overflow: hidden;
}

.infra-beyond-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(5, 12, 26, 0.95) 0%, 
        rgba(5, 12, 26, 0.82) 42%, 
        rgba(5, 12, 26, 0.45) 75%, 
        rgba(5, 12, 26, 0.2) 100%);
    pointer-events: none;
    z-index: 1;
}

.infra-beyond-container {
    position: relative;
    z-index: 2;
}

.infra-beyond-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #38bdf8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.infra-beyond-badge-line {
    width: 24px;
    height: 2px;
    background: #38bdf8;
    display: inline-block;
}

.infra-beyond-title {
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}

.infra-beyond-title .text-cyan {
    color: #00e5b0;
}

.infra-beyond-sub {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.35;
}

.infra-beyond-desc {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 3.5rem;
}

.infra-beyond-tags-wrap {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.infra-beyond-tag-item {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.infra-beyond-tag-line {
    width: 44px;
    height: 3px;
    background: #00e5b0;
    margin-top: 10px;
    border-radius: 2px;
}

/* Stats Row */
.infra-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 40px;
}

.infra-stat-item {
    position: relative;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.infra-stat-item:first-child {
    border-left: none;
    padding-left: 0;
}

.infra-stat-number {
    font-size: clamp(2.2rem, 3.2vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.infra-stat-label {
    font-size: 0.95rem;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.3;
}

/* 4. SECTION: WHY CHOOSE XSOL DATA */
.infra-why-section {
    background-color: #ffffff;
    padding: 85px 0 95px;
    border-bottom: 1px solid #edf2f7;
}

.infra-why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.infra-why-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.infra-why-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid #0066cc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    background: rgba(0, 102, 204, 0.03);
}

.infra-why-col:hover .infra-why-icon-circle {
    background: #0066cc;
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.25);
}

.infra-why-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 12px;
    line-height: 1.28;
}

.infra-why-desc {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 24px;
    flex-grow: 1;
}

.infra-why-indicator {
    width: 36px;
    height: 2px;
    background: #0066cc;
    margin-bottom: 14px;
}

.infra-why-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0066cc;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.infra-why-link:hover {
    gap: 10px;
    color: #004d99;
}

/* 5. SECTION: SUCCESS STORIES */
.infra-cases-section {
    background-color: #f8fafc;
    padding: 85px 0 95px;
}

.infra-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 45px;
}

.infra-case-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.infra-case-card:hover {
    transform: translateY(-8px);
    border-color: #93c5fd;
    box-shadow: 0 16px 36px rgba(14, 55, 120, 0.1);
}

.infra-case-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #0a192f;
    position: relative;
}

.infra-case-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.infra-case-card:hover .infra-case-img-wrap img {
    transform: scale(1.06);
}

.infra-case-body {
    padding: 28px 24px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.infra-case-tag {
    color: #0066cc;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.infra-case-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a192f;
    line-height: 1.35;
    margin-bottom: 12px;
}

.infra-case-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.infra-case-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #00875a;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.infra-case-link:hover {
    color: #006644;
    gap: 10px;
}

.infra-case-header-link {
    color: #0066cc;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.infra-case-header-link:hover {
    color: #004d99;
    gap: 10px;
}

/* 6. MODERN BOTTOM CTA BANNER (SCREENSHOT REPLACEMENT) */
.infra-cta-modern-wrap {
    padding: 60px 0 80px;
    background-color: #ffffff;
}

.infra-cta-modern-box {
    position: relative;
    border-radius: 20px;
    background-color: #051329;
    background-image: url('/static/img/it-infra-cta-bg-clean.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    min-height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 52px 58px;
    box-shadow: 0 20px 45px rgba(5, 25, 55, 0.18);
}

.infra-cta-modern-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, 
        rgba(5, 19, 41, 0.85) 0%, 
        rgba(5, 19, 41, 0.58) 45%, 
        rgba(5, 19, 41, 0.15) 70%, 
        rgba(5, 19, 41, 0) 100%);
    z-index: 1;
}

.infra-cta-modern-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
}

.infra-cta-modern-title {
    font-size: clamp(2.1rem, 3.4vw, 3rem);
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 1.1rem;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.6);
}

.infra-cta-modern-title .text-cyan {
    color: #00b4d8;
}

.infra-cta-modern-desc {
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 2.2rem;
    max-width: 520px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.infra-cta-modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #38d9a9;
    color: #041e30 !important;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(56, 217, 169, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.infra-cta-modern-btn:hover {
    background: #4ae0b2;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(56, 217, 169, 0.55);
    color: #02121d !important;
}

.infra-cta-modern-sidebar {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.35;
}

.infra-cta-modern-sidebar .sidebar-text {
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #cbd5e1;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.infra-cta-modern-sidebar .sidebar-text-highlight {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #00b4d8;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.infra-cta-modern-sidebar .sidebar-accent-line {
    width: 36px;
    height: 3px;
    background: #38d9a9;
    margin-top: 10px;
    border-radius: 2px;
}

/* RESPONSIVENESS */
@media (max-width: 1200px) {
    .infra-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .infra-why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .infra-cloud-callout {
        display: none;
    }
    .infra-ambient-callout {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .infra-hero-section {
        aspect-ratio: auto;
        height: auto;
        min-height: 560px;
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
        background-size: cover;
        background-position: 65% center;
    }
    .infra-hero-overlay {
        background: linear-gradient(180deg, 
            rgba(5, 19, 41, 0.85) 0%, 
            rgba(5, 19, 41, 0.75) 60%, 
            rgba(5, 19, 41, 0.9) 100%);
    }
    .infra-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .infra-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .infra-stat-item {
        border-left: none;
        padding-left: 0;
    }
    .infra-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .infra-cases-grid {
        grid-template-columns: 1fr;
        max-width: 580px;
        margin-left: auto;
        margin-right: auto;
    }
    .infra-beyond-tags-wrap {
        display: none;
    }
    .infra-cta-modern-box {
        padding: 40px 32px;
        min-height: 340px;
        background-position: 75% center;
    }
    .infra-cta-modern-overlay {
        background: linear-gradient(180deg, 
            rgba(5, 19, 41, 0.88) 0%, 
            rgba(5, 19, 41, 0.75) 60%, 
            rgba(5, 19, 41, 0.9) 100%);
    }
}

@media (max-width: 575.98px) {
    .infra-hero-title {
        font-size: 2.2rem;
    }
    .infra-services-grid {
        grid-template-columns: 1fr;
    }
    .infra-why-grid {
        grid-template-columns: 1fr;
    }
    .infra-stats-row {
        grid-template-columns: 1fr;
    }
    .infra-hero-chips {
        flex-direction: column;
        align-items: flex-start;
    }
    .infra-hero-chip {
        width: 100%;
    }
    .infra-hero-btn {
        width: 100%;
        justify-content: center;
    }
    .infra-cta-modern-box {
        padding: 36px 22px;
    }
    .infra-cta-modern-btn {
        width: 100%;
        justify-content: center;
    }
}
