/* HSE Online - Modern Premium Design System (v8.0) */

:root {
    --primary-deep: #002e5b;
    /* Deep Navy */
    --accent-gold: #e2a856;
    /* Tech Gold */
    --accent-orange: #ff6600;
    /* Safety Orange */
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #001f3f;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --glass: rgba(255, 255, 255, 0.98);
    --shadow-soft: 0 10px 30px -5px rgba(0, 46, 91, 0.1);
    --shadow-strong: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    --radius: 12px;
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glass-bg: rgba(0, 0, 0, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --aura-blue: rgba(0, 46, 91, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Ensure contrast in all sections */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-deep);
}

p {
    color: var(--text-dark);
}

.container {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
}

/* --- 1. Top Bar (Informative) --- */
.top-bar {
    background: var(--primary-deep);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 3px solid var(--accent-gold);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--accent-gold);
}

.social-top {
    display: flex;
    gap: 20px;
}

.social-top a {
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.social-top a:hover {
    color: var(--accent-gold);
    transform: translateY(-2px);
}

/* --- 2. Main Navbar (Premium v8.2) --- */
.main-nav {
    padding: 10px 0;
    background: var(--glass);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-gold);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--primary-deep);
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-brand img {
    height: 55px !important;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-deep);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-pill {
    display: flex;
    align-items: center;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,46,91,0.2);
}

.footer-v8 {
    background: #00152b;
    color: #cbd5e1;
    padding: 80px 0 30px;
}

.footer-v8 h4 {
    color: var(--accent-gold);
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-v8 p, 
.footer-v8 li,
.footer-v8 a {
    color: #e2e8f0 !important; /* Force light gray visibility on dark navy background */
    font-size: 0.95rem;
}

.footer-v8 a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-v8 .footer-contact p,
.footer-v8 .footer-contact i,
.footer-v8 .footer-contact a {
    color: #f8fafc !important; /* Force high contrast on dark footer */
}

.footer-v8 a:hover {
    color: var(--accent-gold);
}

.cart-pill:hover {
    transform: translateY(-2px);
    background: #001f3f;
    box-shadow: 0 10px 25px rgba(0,46,91,0.4);
}

.cart-icon-wrapper {
    position: relative;
    margin-right: 12px;
}

.cart-badge {
    position: absolute;
    top: -10px;
    right: -12px;
    background: var(--accent-orange);
    color: white;
    font-size: 0.75rem;
    padding: 2px 7px;
    border-radius: 10px;
    border: 2px solid var(--primary-deep);
}

.cart-total {
    font-weight: 700;
}

.login-link {
    text-decoration: none;
    color: var(--primary-deep);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.login-link:hover {
    color: var(--accent-orange);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-deep);
    cursor: pointer;
}

/* --- 3. Hero Banner (Below Nav) --- */
.hero-v8 {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(0, 46, 91, 0.9) 0%, rgba(0, 25, 50, 0.95) 100%), url('ban1.png') center/cover;
    color: white;
    overflow: hidden;
}

.hero-v8::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 184, 28, 0.15) 0%, transparent 70%);
}

.hero-content-v8 {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.hero-tag {
    background: var(--accent-gold);
    color: var(--primary-deep);
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero-v8 h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    color: white; /* Ensure text is visible on dark background */
}

.hero-v8 h1 span {
    color: var(--accent-gold);
}

.hero-v8 p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
}

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

.btn-main {
    padding: 18px 35px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-primary-v8 {
    background: var(--accent-orange);
    color: white;
}

.btn-primary-v8:hover {
    background: var(--white);
    color: var(--primary-deep);
    transform: translateY(-5px);
}

.btn-outline-v8 {
    border: 2px solid white;
    color: white;
}

.btn-outline-v8:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- Courses Grid --- */
.featured-header {
    margin: 80px 0 50px;
    text-align: center;
}

.featured-header h2 {
    font-size: 2.5rem;
    color: var(--primary-deep);
    position: relative;
    display: inline-block;
}

.featured-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
}

.courses-grid-polisura {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    justify-content: center;
}

.course-card-polisura {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid #E2E8F0;
}

.course-card-polisura:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.course-img-wrapper {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card-polisura:hover .course-img-wrapper img {
    transform: scale(1.1);
}

.course-overlay-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-orange);
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 4px;
}

.course-content {
    padding: 25px;
}

.course-category-tag {
    color: var(--accent-orange);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.course-content h3 {
    font-size: 1.2rem;
    color: var(--primary-deep);
    margin-bottom: 15px;
}

.btn-buy {
    background: var(--primary-deep);
    color: white;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-buy:hover {
    background: var(--accent-orange);
}


/* --- 4. Trust & Experience Section --- */
.trust-section {
    padding: 100px 0;
    background: #00152b; /* Dark specific for trust section */
    position: relative;
    color: white;
}

.trust-section h2 {
    color: white !important;
}

.trust-section p {
    color: #cbd5e1 !important;
}

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

.trust-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.trust-content p {
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.stats-flex {
    display: flex;
    gap: 30px;
}

.stat-box {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--accent-orange);
    flex: 1;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-deep);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-orange);
    text-transform: uppercase;
}

.credential-card {
    background: var(--primary-deep);
    color: white;
    padding: 50px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.credential-card::after {
    content: '\f518';
    /* FontAwesome Seal */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    bottom: -30px;
    right: -20px;
    font-size: 12rem;
    opacity: 0.05;
}

.credential-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.credential-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    color: var(--primary-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

.credential-card h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.credential-code {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 6px;
    display: inline-block;
    font-family: monospace;
    font-size: 1.1rem;
    border: 1px dashed var(--accent-gold);
    margin-top: 20px;
}

@media (max-width: 900px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trust-content {
        text-align: center;
    }

    .stats-flex {
        justify-content: center;
    }
}

/* --- 5. Ing. Erazo Special Page Styles (Premium v2) --- */
.erazo-section {
    padding: 100px 0;
    margin-top: -80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: #fdfdfd;
    position: relative;
    overflow: hidden;
}

.erazo-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(225, 238, 255, 1) 0%, rgba(225, 238, 255, 0) 70%);
    z-index: 1;
}

.erazo-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 40px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0;
    align-items: center;
    overflow: visible;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: 2;
    border: 1px solid var(--glass-border);
    margin-top: -80px;
    /* Overlap with hero */
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-premium-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff8c00 100%);
    color: white;
}

.btn-premium-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 126, 0, 0.3);
}

.btn-premium-outline {
    background: transparent;
    border: 2px solid var(--primary-deep);
    color: var(--primary-deep);
}

.btn-premium-outline:hover {
    background: var(--primary-deep);
    color: white;
}

.erazo-img-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.2), transparent);
}

.erazo-img-container img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.erazo-card:hover .erazo-img-container img {
    transform: scale(1.03);
}

.erazo-ribbon {
    position: absolute;
    bottom: 40px;
    left: 0;
    background: linear-gradient(90deg, #0076e4 0%, #005bb5 100%);
    color: white;
    padding: 20px 60px 20px 40px;
    font-size: 2.2rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
    clip-path: polygon(0% 0%, 94% 0%, 100% 50%, 94% 100%, 0% 100%);
    white-space: nowrap;
}

.erazo-ribbon span {
    font-weight: 300;
    opacity: 0.85;
    font-family: 'Outfit', sans-serif;
}

.erazo-text-side {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.erazo-text-side span.hola {
    color: #0076e4;
    font-size: 1.4rem;
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.erazo-text-side h2 {
    font-size: 2.8rem;
    color: var(--primary-deep);
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
    text-transform: uppercase;
}

.erazo-text-side p {
    color: #334155;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 550px;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--accent-gold);
}

.btn-erazo {
    background: linear-gradient(135deg, #0076e4 0%, #004d96 100%);
    color: white;
    padding: 20px 50px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 15px 35px rgba(0, 118, 228, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    border: none;
    text-align: center;
}

.btn-erazo:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 118, 228, 0.6);
    filter: brightness(1.15);
}

/* Animations */
.animate-up {
    animation: fadeInUp 1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .erazo-card {
        grid-template-columns: 1fr;
        border-radius: 20px;
        margin: 0 15px;
    }

    .erazo-img-container {
        height: 400px;
        justify-content: center;
        align-items: flex-end;
    }

    .erazo-img-container img {
        width: auto;
        max-width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .erazo-text-side {
        padding: 40px 25px;
        text-align: center;
        align-items: center;
    }

    .erazo-text-side h2 {
        font-size: 2.2rem;
    }

    .erazo-text-side p {
        border-left: none;
        border-top: 4px solid var(--accent-gold);
        padding-left: 0;
        padding-top: 20px;
    }
}

@media (max-width: 600px) {
    .erazo-ribbon {
        font-size: 1.5rem;
        padding: 15px 40px 15px 25px;
        bottom: 20px;
    }

    .erazo-text-side h2 {
        font-size: 2rem;
    }
}

/* --- 6. Global Premium Footer --- */
.footer-v8 {
    padding: 100px 0 40px;
    background: #001f3f;
    color: white;
    font-family: 'Outfit', sans-serif;
}

.footer-v8 .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-v8 .footer-about img {
    height: 50px;
    width: 50px;
    background: white;
    padding: 6px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: contain;
    filter: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: inline-block;
}

.footer-v8 .footer-about p {
    opacity: 0.7;
    line-height: 1.8;
    font-size: 1rem;
    color: white;
}

.social-links-v8 {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links-v8 a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links-v8 a:hover {
    background: var(--accent-orange);
    transform: translateY(-5px);
}

.footer-v8 h4 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--accent-orange);
    display: inline-block;
    padding-bottom: 10px;
}

.footer-v8 ul {
    list-style: none;
    padding: 0;
}

.footer-v8 ul li {
    margin-bottom: 15px;
}

.footer-v8 ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-v8 ul li a:hover {
    opacity: 1;
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-v8 .footer-contact p {
    margin-bottom: 15px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-v8 .footer-contact i {
    color: var(--accent-orange);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.5;
    font-size: 0.9rem;
}

@media (max-width: 1200px) {
    .hero-v8 h1 {
        font-size: 3.2rem;
    }

    .erazo-card {
        grid-template-columns: 1fr;
        border-radius: 0;
    }

    .erazo-section {
        margin-top: 0;
        padding: 60px 0;
        min-height: auto;
    }

    .erazo-img-container {
        height: 500px;
        justify-content: center;
        align-items: flex-end;
    }

    .erazo-img-container img {
        width: auto;
        max-width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .erazo-text-side {
        padding: 60px 40px;
        text-align: center;
        align-items: center;
    }

    .erazo-text-side h2 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .erazo-text-side p {
        border-left: none;
        border-top: 4px solid var(--accent-gold);
        padding-left: 0;
        padding-top: 20px;
    }
}

@media (max-width: 991px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-width: none;
        height: auto;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        gap: 15px;
        padding: 0 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
        z-index: 1000;
        
        /* Hidden state */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
    }

    .nav-menu.active {
        max-height: 600px;
        padding: 20px;
        opacity: 1;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .cart-pill {
        width: 100%;
        justify-content: center;
    }

    .login-link {
        width: 100%;
        text-align: center;
    }

    .footer-v8 .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-v8 {
        padding: 80px 0;
        text-align: center;
    }

    .hero-content-v8 {
        margin: 0 auto;
    }

    .hero-v8 h1 {
        font-size: 2.5rem;
    }

    .featured-header h2 {
        font-size: 2rem;
    }

    .courses-grid-polisura {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .detail-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .nav-brand span {
        font-size: 1.2rem;
    }

    .nav-brand img {
        height: 45px;
    }

    .footer-v8 .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-v8 h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-v8 .footer-contact p {
        justify-content: center;
    }

    .social-links-v8 {
        justify-content: center;
    }

    .erazo-ribbon {
        font-size: 1.2rem;
        padding: 12px 25px;
        bottom: 15px;
        width: auto;
        max-width: 90%;
    }

    .erazo-text-side h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-v8 h1 {
        font-size: 2.2rem;
    }

    .top-bar {
        display: none;
    }
}

/* --- 8. Nav Toggle Styles --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-deep);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}