/* Infrastructure Page Specific Styles */

/* Hero Section */
.inf-hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&q=80&w=1920') no-repeat right center/cover;
    color: var(--white);
    overflow: hidden;
    padding-left: 80px;
    /* Viewport relative padding for "true" left alignment */
}

.inf-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0) 80%);
    z-index: 1;
}

.inf-hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    text-align: left;
}

.inf-hero-subtitle {
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.inf-hero h1 {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 30px;
    text-transform: none;
    letter-spacing: -2px;
}

.inf-hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 500px;
    font-weight: 400;
}

.inf-hero-actions {
    display: flex;
    gap: 20px;
}

.inf-btn-white {
    background: var(--white);
    color: var(--dark-text);
}

.inf-btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

.inf-btn-ghost {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.inf-btn-ghost:hover {
    background: var(--white);
    color: var(--dark-text);
    transform: translateY(-3px);
}

/* Services Section */
.inf-services-section {
    padding: 100px 0;
    background-color: #fcfcfc;
}

.inf-section-header {
    text-align: center;
    margin-bottom: 70px;
}

.inf-section-subtitle {
    color: var(--primary-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.inf-section-header h2 {
    font-size: 36px;
    font-weight: 900;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.inf-header-line {
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin: 0 auto;
    border-radius: 2px;
}

/* Service Cards Grid */
.inf-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.inf-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.inf-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.inf-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.inf-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(228, 0, 0, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
}

.inf-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark-text);
}

.inf-card-img {
    width: 100%;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
}

.inf-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.inf-card:hover .inf-card-img img {
    transform: scale(1.1);
}

.inf-card-desc {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 25px;
}

.inf-card-list {
    list-style: none;
    margin-bottom: 30px;
    flex: 1;
}

.inf-card-list li {
    font-size: 13px;
    color: var(--dark-text);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.inf-card-list li::before {
    content: '';
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e40000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center center/contain;
    flex-shrink: 0;
}

.inf-learn-more {
    text-decoration: none;
    color: var(--primary-red);
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.inf-learn-more:hover {
    gap: 12px;
}

/* Projects Section */
.inf-projects-section {
    padding: 100px 0;
    background-color: var(--white);
}

.inf-project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.inf-filter-btn {
    padding: 10px 25px;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fcfcfc;
    color: var(--gray-text);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.inf-filter-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.inf-filter-btn.active {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(228, 0, 0, 0.2);
}

.inf-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.inf-project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #eee;
}

.inf-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.inf-project-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.inf-project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.inf-project-card:hover .inf-project-img img {
    transform: scale(1.1);
}

.inf-project-info {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inf-project-info h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.inf-project-info span {
    font-size: 12px;
    color: var(--gray-text);
    font-weight: 600;
}

.inf-project-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-weight: 900;
    transition: var(--transition);
}

.inf-project-card:hover .inf-project-arrow {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.inf-projects-footer {
    text-align: center;
}


/* Why Choose Us Section (New Dark Banner) */
.inf-why-choose-section {
    position: relative;
    padding: 100px 0;
    color: var(--white);
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    overflow: hidden;
}

.inf-why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    /* Deep dark overlay to match screenshot */
    z-index: 1;
}

/* Subtle structural pattern overlay */
.inf-why-choose-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}

.inf-why-choose-section .container {
    position: relative;
    z-index: 2;
}

.inf-why-header {
    text-align: center;
    margin-bottom: 60px;
}

.inf-why-subtitle {
    color: var(--primary-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.inf-why-header h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.inf-why-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
}

.inf-why-card {
    flex: 1;
    text-align: center;
    padding: 0 25px;
}

.inf-why-icon {
    color: var(--primary-red);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.inf-why-card h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--white);
}

.inf-why-card p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    font-weight: 500;
}

.inf-why-divider {
    width: 1px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    align-self: center;
}

/* Stats Bar */
.inf-stats-bar {
    background: linear-gradient(135deg, var(--primary-red) 0%, #a00000 100%);
    padding: 40px 0;
    color: var(--white);
}

.inf-stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inf-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: center;
}

.inf-stat-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.inf-stat-text h3 {
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}

.inf-stat-text p {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Work Process Section */
.inf-process-section {
    padding: 100px 0;
    background-color: var(--white);
}

.inf-process-grid {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

/* Connecting line - precisely centered behind the numbers */
.inf-process-grid::before {
    content: '';
    position: absolute;
    top: 16px; /* Exactly half of 32px (number circle height) */
    left: 10%;
    width: 80%;
    height: 1px;
    background: #e0e0e0;
    z-index: 1;
}

.inf-process-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

.inf-process-number {
    width: 32px;
    height: 32px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    margin: 0 auto 25px;
    position: relative;
    z-index: 3;
    border: 3px solid var(--white); /* White border to create the "break" in the line */
}

.inf-process-icon {
    width: 50px;
    height: 50px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.inf-process-item:hover .inf-process-icon {
    transform: translateY(-5px);
    color: var(--primary-red);
}

.inf-process-item h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.inf-process-item p {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.6;
    max-width: 180px;
    margin: 0 auto;
}


/* CTA Banner Section */
.inf-cta-banner-section {
    padding-bottom: 100px;
    background-color: var(--white);
}

.inf-cta-banner {
    background: linear-gradient(to right, #a50000 0%, #800000 100%);
    border-radius: 12px;
    padding: 60px 80px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Building silhouette background detail */
.inf-cta-image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=800') no-repeat center right/cover;
    mix-blend-mode: multiply;
    opacity: 0.3;
    pointer-events: none;
}

.inf-cta-left {
    position: relative;
    z-index: 3;
    flex: 1;
}

.inf-cta-subtitle {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    opacity: 0.9;
    margin-bottom: 15px;
    display: block;
}

.inf-cta-banner h2 {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}

.inf-cta-right {
    position: relative;
    z-index: 3;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-left: 50px;
}

.inf-cta-right p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0.95;
}

.inf-btn-cta {
    display: inline-block;
    padding: 14px 30px;
    background: var(--white);
    color: #a50000;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.inf-btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #f8f8f8;
}


/* Responsive adjustments */

@media (max-width: 1200px) {
    .inf-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .inf-hero h1 {
        font-size: 48px;
    }

    .inf-hero {
        height: auto;
        padding: 120px 40px 80px;
    }

    .inf-why-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .inf-why-divider {
        display: none;
    }

    .inf-why-card {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .inf-services-grid {
        grid-template-columns: 1fr;
    }

    .inf-hero-actions {
        flex-direction: column;
    }

    .inf-hero h1 {
        font-size: 40px;
    }

    .inf-hero {
        padding: 100px 25px 60px;
    }

    .inf-project-grid {
        grid-template-columns: 1fr;
    }

    .inf-stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .inf-process-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .inf-process-grid::before {
        display: none;
    }

    .inf-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .inf-cta-left {
        margin-bottom: 30px;
    }

    .inf-cta-right {
        padding-left: 0;
        align-items: center;
        text-align: center;
    }

    .inf-cta-action {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .inf-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



@media (max-width: 576px) {
    .inf-why-grid {
        grid-template-columns: 1fr;
    }

    .inf-why-header h2 {
        font-size: 26px;
    }

    .inf-stats-grid {
        grid-template-columns: 1fr;
    }

    .inf-process-grid {
        grid-template-columns: 1fr;
    }

    .inf-cta-banner h2 {
        font-size: 32px;
    }
}