:root {
    --primary: #103770;       
    --primary-dark: #0a244d;   
    --gold: #c89d28;    
    --gold-dark: #9c7616;     
    --dark-top: #071529;      
    --footer-bg: #0b1626;      
    --text-dark: #222222;
    --text-muted: #555555;
    --bg-light: #f4f7fb;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    overflow-x: hidden;
}

.top-bar {
    background-color: var(--dark-top);
    color: #e2e8f0;
    padding: 8px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    border-bottom: 1px solid rgba(200, 157, 40, 0.3);
}

.top-bar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-left span i {
    color: var(--gold);
    margin-right: 6px;
}

.navbar {
    background-color: #ffffff;
    padding: 16px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 15px rgba(16, 55, 112, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    font-size: 28px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    padding-bottom: 6px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary);
}

.nav-links li a.active::after,
.nav-links li a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: var(--gold);
    border-radius: 2px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 26px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: 0.3s;
}

.hero-slider {
    width: 100%;
    height: 520px;
    position: relative;
    overflow: hidden;
    background-color: #111;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 6s ease-in-out;
    object-fit: cover;
    transform: scale(1);
}

.slide.active {
    opacity: 1;
    transform: scale(1.06);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 36, 77, 0.58);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #ffffff;
    width: 90%;
}

.hero-content h1 {
    font-size: 4.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 1.35rem;
    font-weight: 500;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: var(--gold);
    transform: scale(1.25);
    border: 2px solid #fff;
}

.welcome-slate {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-top: 3px solid var(--gold);
    padding: 45px 6% 180px 6%;
    color: #ffffff;
}

.welcome-container {
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-slate h2 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.overlap-wrapper {
    max-width: 1200px;
    margin: -145px auto 0 auto;
    padding: 0 6%;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 35px;
    position: relative;
    z-index: 10;
    align-items: stretch;
}

.about-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 38px 32px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--gold);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(16, 55, 112, 0.2);
}

.about-card h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 24px;
    text-align: justify;
}

.btn-purple {
    display: inline-block;
    background-color: var(--primary);
    color: #ffffff;
    padding: 11px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    align-self: flex-start;
    box-shadow: 0 6px 18px rgba(16, 55, 112, 0.3);
    transition: background 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--gold);
    cursor: pointer;
}

.btn-purple:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
}

.video-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
    position: relative;
    min-height: 330px;
    background: #000;
    transition: transform 0.35s ease;
}

.video-card:hover {
    transform: translateY(-6px);
}

.video-card iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
}

.stats-section {
    max-width: 1200px;
    margin: 55px auto 40px auto;
    padding: 0 6%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.3rem;
    color: var(--primary);
}

.stat-text h4 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.stat-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

.why-choose-section {
    max-width: 1200px;
    margin: 30px auto 65px auto;
    padding: 0 6%;
    text-align: center;
}

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 35px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 35px;
    text-align: left;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 10px;
    background: var(--bg-light);
    border-left: 3px solid var(--gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(16, 55, 112, 0.1);
    background: #ffffff;
}

.feature-box i {
    color: var(--primary);
    font-size: 1.25rem;
}

.feature-box span {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

.highlights-section {
    background: linear-gradient(rgba(10, 25, 50, 0.88), rgba(10, 25, 50, 0.92)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    padding: 60px 6%;
    color: #ffffff;
}

.highlights-container {
    max-width: 1200px;
    margin: 0 auto;
}

.highlights-header {
    text-align: center;
    margin-bottom: 35px;
}

.highlights-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

.highlights-header p {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 600;
    margin-top: 4px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.highlight-panel {
    display: flex;
    flex-direction: column;
}

.tab-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab-pill {
    background-color: #ffffff;
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 10px 10px 0 0;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
}

.tab-pill.dark-pill {
    background-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    backdrop-filter: blur(5px);
}

.tab-pill.dark-pill:hover {
    background-color: var(--gold-dark);
}

.view-all-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: opacity 0.3s;
}

.view-all-link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.glass-box {
    background: rgba(15, 30, 55, 0.85);
    border: 1px solid rgba(200, 157, 40, 0.25);
    border-radius: 0 12px 12px 12px;
    height: 250px;
    padding: 20px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(8px);
}

.notice-scroll-wrap {
    height: 100%;
    overflow-y: auto;
    padding-right: 10px;
}

.notice-scroll-track {
    animation: verticalMarquee 16s linear infinite;
}

.notice-scroll-wrap:hover .notice-scroll-track {
    animation-play-state: paused;
}

@keyframes verticalMarquee {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.notice-item {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-left: 3px solid var(--gold);
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.notice-item:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.1);
}

.notice-date {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
}

.notice-title {
    color: #f1f5f9;
    text-decoration: none;
    font-size: 0.98rem;
    line-height: 1.4;
}

.courses-scroll-wrap {
    height: 100%;
    overflow-y: auto;
    padding-right: 8px;
}

.course-mini-card {
    padding: 14px;
    border-left: 3px solid var(--gold);
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 14px;
    border-radius: 4px;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.course-mini-card:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.1);
}

.course-mini-card h4 {
    color: #ffffff;
    font-size: 1.08rem;
    margin-bottom: 5px;
}

.course-mini-card p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.45;
}

.notice-scroll-wrap::-webkit-scrollbar,
.courses-scroll-wrap::-webkit-scrollbar {
    width: 5px;
}

.notice-scroll-wrap::-webkit-scrollbar-thumb,
.courses-scroll-wrap::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.testimonial-section {
    background: linear-gradient(rgba(10, 28, 58, 0.78), rgba(10, 28, 58, 0.85)), url('https://images.unsplash.com/photo-1523580494863-6f3031224c94?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    padding: 70px 6%;
    text-align: center;
    color: #ffffff;
}

.testimonial-section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.testimonial-card {
    background: #ffffff;
    color: var(--text-dark);
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 45px;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-bottom: 4px solid var(--gold);
    transition: transform 0.35s ease;
}

.testimonial-card:hover {
    transform: scale(1.03);
}

.testimonial-card img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
    border: 3px solid var(--gold);
}

.testimonial-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-card h5 {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
}

.teachers-section {
    padding: 70px 0;
    text-align: center;
    background-color: var(--bg-light);
    position: relative;
}

.teachers-wrap {
    margin-top: 15px;
    padding: 45px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.teachers-track {
    display: inline-block;
    animation: scroll-teachers 42s linear infinite;
}

.teachers-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-teachers {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.teacher-card {
    display: inline-block;
    width: 230px;
    height: 310px;
    text-align: center;
    margin: 0 6px;
    white-space: normal;
    vertical-align: top;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    border-bottom: 3px solid var(--gold);
}

.teacher-card:hover {
    transform: scale(1.15);
    box-shadow: 0 20px 40px rgba(16, 55, 112, 0.22);
    background-color: #ffffff;
    z-index: 20;
}

.teacher-card img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.14);
    margin-top: 24px;
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.teacher-card:hover img {
    width: 100%;
    height: 205px;
    border-radius: 0;
    border: none;
    margin-top: 0;
    margin-bottom: 14px;
    box-shadow: none;
}

.teacher-card h4 {
    margin: 0 12px 6px 12px;
    color: var(--primary);
    font-size: 1.12rem;
    font-weight: 700;
    transition: all 0.4s ease;
}

.teacher-card p {
    margin: 0 12px;
    color: var(--gold-dark);
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.4s ease;
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    padding: 32px 6%;
    color: #ffffff;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-container h3 {
    font-size: 1.9rem;
    font-weight: 700;
}

.btn-outline-white {
    border: 2px solid var(--gold);
    color: #ffffff;
    background: transparent;
    padding: 10px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: var(--gold);
    color: var(--primary-dark);
    transform: scale(1.05);
}

.footer {
    background-color: var(--footer-bg);
    color: #a0aec0;
    padding: 65px 6% 25px 6%;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.1fr 1.2fr;
    gap: 40px;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
    color: var(--gold);
    font-size: 1.15rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col p {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-links a {
    color: #a0aec0;
    font-size: 1.1rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.contact-list i {
    color: var(--gold);
    margin-top: 4px;
}

.footer-map iframe {
    width: 100%;
    height: 165px;
    border: 0;
    border-radius: 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 22px auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #718096;
}

.back-to-top {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
}

.back-to-top:hover {
    color: #ffffff;
}

@media (max-width: 992px) {
    .overlap-wrapper {
        grid-template-columns: 1fr;
        margin-top: -120px;
    }
    .video-card {
        min-height: 300px;
    }
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 10px 4%;
    }
    .top-bar-left {
        flex-direction: column;
        gap: 4px;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 12px 25px rgba(0,0,0,0.1);
        padding: 20px 0;
        gap: 18px;
    }
    .nav-links.active {
        display: flex;
    }
    .hero-slider {
        height: 380px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.05rem;
    }
    .welcome-slate h2 {
        font-size: 1.75rem;
        text-align: center;
    }
    .stats-section {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .cta-container {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}