:root {
    /* Color Palette */
    --primary-color: #00306e;
    --secondary-color: #d2093c;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --white: #ffffff;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Spacing */
    --container-width: 1400px;
    --section-padding: 100px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    padding-top: 40px; /* Space for the solid top-bar */
}

h1, h2, h3, .nav-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.header-fixed.scrolled {
    background: var(--white);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.top-bar {
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 25px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.top-bar-right a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.top-bar-right a:hover {
    opacity: 1;
    transform: translateY(-2px);
    color: var(--secondary-color);
}

@media (max-width: 576px) {
    .top-bar-left {
        gap: 12px;
    }
    .top-bar {
        font-size: 0.75rem;
    }
}

.navbar {
    height: 80px;
    background: transparent;
    display: flex;
    align-items: center;
    width: 100%;
    transition: var(--transition);
}

.header-fixed.scrolled .navbar {
    height: 70px;
    background: var(--white);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.header-fixed.scrolled .logo-img {
    filter: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.school-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.header-fixed.scrolled .school-name {
    color: var(--primary-color);
}

.school-location {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    margin-top: 2px;
    transition: var(--transition);
}

.header-fixed.scrolled .school-location {
    color: var(--secondary-color);
}

.mobile-action {
    display: none;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.header-fixed.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a.active, 
.nav-links a:hover,
.header-fixed.scrolled .nav-links a.active,
.header-fixed.scrolled .nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown > a i {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: var(--transition);
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--white);
    min-width: 300px;
    width: max-content;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-top: 4px solid var(--secondary-color);
    overflow: hidden; /* Garante que o efeito de hover não quebre o layout */
}


.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--secondary-color);
    transform: translateX(5px);
}


.dropdown-menu li a::after {
    display: none; /* Remove underline for dropdown items */
}


.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-portal {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.full-text {
    display: inline;
}

.short-text {
    display: none;
}

.btn-portal:hover {
    background: var(--secondary-color);
}

.btn-email {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-email:hover {
    background: var(--primary-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    display: flex;
    width: 300%; /* 3 slides */
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
    flex: 0 0 33.333%; /* Each slide takes 1/3 of the 300% width */
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 48, 110, 0.85) 0%, rgba(0, 48, 110, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* Animations for slide content */
.slide .badge, .slide h1, .slide p, .slide .hero-btns {
    opacity: 1;
    transform: none;
}


.badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-slider h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
}

.hero-slider h1 span {
    color: var(--white);
    border-bottom: 4px solid var(--secondary-color);
}

.hero-slider p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    color: var(--white);
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
    pointer-events: none;
}

.slider-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-nav button:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary-color);
    width: 30px;
    border-radius: 10px;
}

/* Buttons */
.btn {
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--white);
    transform: translateY(-5px);
}

.btn-secondary {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-header h2 span {
    color: var(--secondary-color);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--bg-light);
    padding: 50px 40px;
    border-radius: 20px;
    transition: var(--transition);
    text-align: center;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--white);
    border-color: #eee;
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 48, 110, 0.08);
}

.feature-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.feature-card h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Team Section */
.team {
    padding: var(--section-padding);
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(210, 9, 60, 0.04) 0%, transparent 70%);
    z-index: 0;
}

.team .container {
    position: relative;
    z-index: 1;
}

.team .section-header {
    margin-bottom: 60px;
}

.team-group {
    margin-bottom: 60px;
}

.team-group:last-child {
    margin-bottom: 0;
}

.team-group-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
    padding-bottom: 18px;
    border-bottom: 2px solid rgba(0, 48, 110, 0.08);
}

.team-group-header i {
    width: 48px;
    height: 48px;
    background: var(--white);
    color: var(--secondary-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 48, 110, 0.08);
    flex-shrink: 0;
}

.team-group-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.team-card {
    background: var(--white);
    padding: 35px 25px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 48, 110, 0.1);
    border-color: rgba(0, 48, 110, 0.06);
}

.team-card:hover .team-avatar {
    transform: scale(1.08);
    box-shadow: 0 12px 25px rgba(0, 48, 110, 0.2);
}

.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color) 0%, #004a9e 100%);
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(0, 48, 110, 0.15);
}

.team-card:nth-child(3n+2) .team-avatar {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e8305a 100%);
    box-shadow: 0 8px 20px rgba(210, 9, 60, 0.15);
}

.team-card:nth-child(3n) .team-avatar {
    background: linear-gradient(135deg, #004a9e 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
}

.team-card h4 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .team-card {
        padding: 25px 15px 20px;
    }

    .team-avatar {
        width: 65px;
        height: 65px;
        font-size: 1.4rem;
    }

    .team-group-header h3 {
        font-size: 1.25rem;
    }
}

/* Footer Styles */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 80px;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 25px;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-info p {
    opacity: 0.7;
    margin-bottom: 30px;
    max-width: 380px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 18px;
}

.footer-links ul li a {
    opacity: 0.7;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    opacity: 1;
    padding-left: 10px;
}

.footer-contact ul li {
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.footer-contact p {
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; /* Fix below navbar */
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 10px 0;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        border-top: 1px solid rgba(0,0,0,0.05);
        animation: slideDown 0.4s ease forwards;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 30px;
        width: 100%;
        font-size: 1.05rem;
        color: var(--primary-color);
        border-bottom: 1px solid rgba(0,0,0,0.02);
    }

    .nav-links li a.active {
        background: rgba(0, 48, 110, 0.03);
        color: var(--secondary-color);
        border-left: 4px solid var(--secondary-color);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-top: none;
        padding: 0;
        min-width: 100%;
        display: none;
        background: #fcfcfc;
        margin-top: 0;
        border-radius: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        border-top: 1px solid rgba(0,0,0,0.03);
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }
    
    .dropdown:hover .dropdown-menu {
        transform: none;
    }

    .dropdown-menu li a {
        white-space: normal;
        padding: 15px 30px 15px 50px;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(0,0,0,0.01);
    }
    
    .nav-actions {
        gap: 10px;
    }

    .nav-actions .btn-email,
    .nav-actions .btn-portal {
        display: none;
    }

    .mobile-action {
        display: block;
    }

    .mobile-action a {
        background: rgba(0,0,0,0.02) !important;
        margin: 10px 20px !important;
        width: calc(100% - 40px) !important;
        border-radius: 10px !important;
        border: 1px solid rgba(0,0,0,0.05) !important;
        justify-content: center !important;
    }

    .mobile-action:last-child a {
        background: var(--primary-color) !important;
        color: var(--white) !important;
    }

    .btn-email i, .btn-portal i {
        margin-right: 5px;
    }
    
    .mobile-toggle {
        display: block;
        margin-left: 5px;
    }

    .full-text {
        display: none;
    }

    .short-text {
        display: inline;
    }
    
    .hero {
        text-align: center;
        justify-content: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }

    @media (max-width: 576px) {
        .school-name {
            font-size: 0.95rem;
        }
        .school-location {
            font-size: 0.7rem;
        }
    }
    
    .hero-btns {
        justify-content: center;
    }
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

/* Subtle background shape */
.about::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 48, 110, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

/* Decorative border behind image */
.about-image-wrapper::after {
    content: '';
    position: absolute;
    top: 30px;
    left: -30px;
    width: 100%;
    height: 100%;
    border: 10px solid var(--bg-light);
    border-radius: 30px;
    z-index: -1;
}

.about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 48, 110, 0.12);
}

.about-image img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-image:hover img {
    transform: scale(1.08);
}

/* Badge on image */
.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
}

.about-badge i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.about-badge span {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.2;
}

.about-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--primary-color);
    line-height: 1.15;
    margin-bottom: 30px;
    font-weight: 800;
}

.about-content h2 em {
    font-style: normal;
    font-weight: 400;
    font-size: 0.45em;
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.about-content h2 span {
    color: var(--secondary-color);
    display: inline;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.7;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--secondary-color);
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.btn-about {
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(0, 48, 110, 0.15);
    border: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-about:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(210, 9, 60, 0.3);
}

.support-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 20px 5px 5px;
    background: transparent;
    border-radius: 50px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.support-box:hover {
    background: var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.support-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.support-info span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.support-info a {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.05rem;
}

@media (max-width: 1200px) {
    .about-grid {
        gap: 60px;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 80px;
        text-align: center;
    }
    
    .about-image-wrapper::after {
        left: 20px;
    }
    
    .about-content p {
        border-left: none;
        border-top: 3px solid var(--secondary-color);
        padding-left: 0;
        padding-top: 20px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-actions {
        justify-content: center;
        flex-wrap: wrap; /* Allow wrapping on mobile */
        gap: 20px;
    }
    
    .about-badge {
        right: 50%;
        transform: translateX(50%);
        bottom: -20px;
        white-space: nowrap;
    }
}

/* Footer Support Overrides */
.footer-support {
    margin-top: 35px;
    padding: 0;
    background: transparent;
    border: none;
}

.footer-support .support-icon {
    background: rgba(255, 255, 255, 0.08);
    color: var(--secondary-color);
    box-shadow: none;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
}

.footer-support .support-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.footer-support .support-info a {
    color: var(--white);
    font-size: 0.95rem;
}

.footer-support:hover {
    background: transparent;
    box-shadow: none;
}

.footer-support:hover .support-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-support:hover .support-info a {
    color: var(--secondary-color);
}

/* Contact Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #001a3d 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.page-header h1 span {
    color: var(--secondary-color);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-card:hover {
    transform: translateX(10px);
    border-color: var(--secondary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    color: var(--secondary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.card-text h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.card-text p {
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-map {
    height: 100%;
    min-height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        height: 400px;
        min-height: auto;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
}

/* Courses Pages */
.course-content {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.course-layout {
    display: grid;
    gap: 30px;
}

.course-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid transparent;
    transition: var(--transition);
}

.course-card:hover {
    border-color: var(--secondary-color);
}

.course-card-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.course-copy p + p {
    margin-top: 12px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.course-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 2px dashed #cdd8e4;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fbff;
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .course-card {
        padding: 24px;
    }

    .course-card-header {
        flex-direction: column;
        gap: 12px;
    }

    .course-image-placeholder {
        font-size: 0.95rem;
    }
}

/* Areas Pages */
.area-content {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #f4f8fd 0%, #ffffff 100%);
}

.area-intro-card {
    background: var(--white);
    border-radius: 24px;
    padding: 36px;
    border: 1px solid #e5edf8;
    box-shadow: 0 14px 35px rgba(0, 22, 61, 0.08);
    margin-bottom: 30px;
}

.area-intro-card h2,
.area-gallery-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.area-intro-card p,
.area-gallery-header p {
    color: var(--text-muted);
    line-height: 1.7;
}

.area-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.highlight-card {
    background: var(--white);
    border: 1px solid #e5edf8;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 10px 24px rgba(0, 22, 61, 0.06);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.highlight-card i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.highlight-card h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.highlight-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.area-gallery-header {
    margin-bottom: 18px;
}

.area-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.area-image-card {
    margin: 0;
}

.area-image-trigger {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: zoom-in;
}

.area-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    border: 2px dashed #cdd8e4;
    background: #f8fbff;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
    padding: 16px;
}

.area-gallery-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    object-fit: cover;
    display: block;
    box-shadow: 0 8px 24px rgba(0, 22, 61, 0.15);
}

.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(4, 10, 20, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    z-index: 2000;
}

.image-lightbox.active {
    display: flex;
}

.image-lightbox-content {
    max-width: min(1200px, 92vw);
    max-height: 88vh;
    position: relative;
}

.image-lightbox-content img {
    width: 100%;
    height: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 14px;
}

.image-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 992px) {
    .area-highlights,
    .area-gallery-grid {
        grid-template-columns: 1fr;
    }

    .area-intro-card {
        padding: 28px;
    }
}

/* Documents Page */
.documents-content {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
}

.documents-panel {
    background: #f4f8ff;
    border: 1px solid #e3ecf8;
    border-radius: 28px;
    padding: 46px;
    box-shadow: 0 18px 40px rgba(0, 22, 61, 0.08);
}

.documents-panel h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--primary-color);
    margin-bottom: 10px;
}

.documents-panel p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.document-card {
    background: var(--white);
    border-radius: 18px;
    padding: 28px;
    border: 1px solid #edf2fb;
    box-shadow: 0 8px 24px rgba(0, 22, 61, 0.06);
    transition: var(--transition);
}

.document-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.document-icon {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1f4;
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.document-card h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.document-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 11px 18px;
    border-radius: 10px;
}

.document-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

@media (max-width: 992px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }

    .documents-panel {
        padding: 28px;
    }
}

