/* #region Stats section */

.stats-section {
    background-color: var(--primary-navy);
    color: white;
}

.stat-card {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* #endregion */



/* Info Section */
.info-section {
    background-color: var(--white);
}

.info-card {
    padding: 2rem;
    height: 100%;
    border-radius: 12px;
    background: var(--bg-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

.info-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.info-card h4 {
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Zones Section */
.zones-section {
    background-color: var(--bg-light);
}

.zone-group {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    height: 100%;
}

    .zone-group h3 {
        color: var(--primary-navy);
        font-weight: 700;
    }

.zone-card {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 5px solid;
    transition: transform 0.3s ease;
}

    .zone-card:hover {
        transform: translateX(5px);
    }

.zone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.zone-number {
    font-weight: 700;
    font-size: 1.125rem;
}

.zone-category {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.zone-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Zone Colors */
.zone-0 {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left-color: #f59e0b;
}

.zone-1 {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    border-left-color: #ea580c;
}

.zone-2 {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    border-left-color: #dc2626;
}

.zone-20 {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    border-left-color: #7c3aed;
}

.zone-21 {
    background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%);
    border-left-color: #2563eb;
}

.zone-22 {
    background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 100%);
    border-left-color: #059669;
}

/* Services Section */
.services-section {
    background-color: var(--white);
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    height: 100%;
    border: 2px solid var(--bg-light);
    transition: all 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-orange);
    }

.service-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.service-card h4 {
    color: var(--primary-navy);
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .service-features li {
        color: var(--text-dark);
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }

    .service-features i {
        color: var(--success-green);
    }

/* Protection Section */
.protection-section {
    background-color: var(--bg-light);
}

.protection-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .protection-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-orange);
    }

.protection-code {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0f1a2e 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-family: "Courier New", monospace;
}

.protection-card h5 {
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.protection-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.protection-card .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Industries ATEX Section */
.industries-atex-section {
    background-color: var(--white);
}

.industry-atex-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid var(--bg-light);
}

    .industry-atex-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-orange);
    }

    .industry-atex-card i {
        font-size: 3rem;
        color: var(--primary-navy);
        margin-bottom: 1rem;
    }

    .industry-atex-card h5 {
        color: var(--primary-navy);
        font-weight: 600;
        margin-bottom: 0;
    }

/* Case Studies Section */
.case-studies-section {
    background-color: var(--bg-light);
}

.case-study-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

    .case-study-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    }

.case-study-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

    .case-study-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.case-study-content {
    padding: 2rem;
}

    .case-study-content h4 {
        color: var(--primary-navy);
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .case-study-content p {
        color: var(--text-muted);
        margin-bottom: 1.5rem;
    }

.case-results {
    display: flex;
    gap: 2rem;
    border-top: 2px solid var(--bg-light);
    padding-top: 1.5rem;
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .result-item strong {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--primary-orange);
    }

    .result-item span {
        font-size: 0.875rem;
        color: var(--text-muted);
    }

/* Standards Section */
.standards-section {
    background-color: var(--white);
}

.standard-badge {
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid var(--bg-light);
    transition: all 0.3s ease;
    height: 100%;
}

    .standard-badge:hover {
        border-color: var(--primary-orange);
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .standard-badge i {
        font-size: 1.5rem;
        color: var(--success-green);
        flex-shrink: 0;
    }

    .standard-badge span {
        color: var(--primary-navy);
        font-weight: 600;
    }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0f1a2e 100%);
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: "";
        position: absolute;
        top: -50%;
        right: -10%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
        border-radius: 50%;
    }

.cta-buttons .btn {
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.cta-buttons .btn-warning {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

    .cta-buttons .btn-warning:hover {
        background-color: #d97706;
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
    }

.cta-buttons .btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-orange);
    border: none;
    color: white;
    font-size: 1.25rem;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

    #backToTop:hover {
        background-color: #d97706;
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Responsive Design */
@media (max-width: 992px) {
    .atex-hero {
        padding: 5rem 0;
    }

        .atex-hero h1 {
            font-size: 2.5rem;
        }

    .stat-number {
        font-size: 2.5rem;
    }

    .case-results {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .atex-hero {
        padding: 3rem 0;
    }

        .atex-hero h1 {
            font-size: 2rem;
        }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

        .hero-buttons .btn:last-child {
            margin-bottom: 0;
        }

    .stat-number {
        font-size: 2rem;
    }

    .service-card,
    .info-card {
        margin-bottom: 1.5rem;
    }

    .zone-group {
        margin-bottom: 2rem;
    }
}
