﻿/* ============================================
   HAYAGRIVA VIDHYASHRAM SCHOOL - MAIN STYLESHEET
   Foundation: CSS Reset, Variables, Base Styles
   Components: Navigation, Hero, Features, Footer
   Responsive: 4-Point Grid System (4 8 12 16 20 24 32 40 48 64 80)
============================================ */

/* ============================================
   CSS RESET & BASE
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333333;
    background: #FFFFFF;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ============================================
   LAYOUT CONTAINERS
============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: #FAFAFA;
}

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #1A1A1A;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 16px;
    color: #555555;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: #FFFFFF;
    color: #FF6B35;
    border: 2px solid #FF6B35;
}

.btn-secondary:hover {
    background: #FF6B35;
    color: #FFFFFF;
}

/* ============================================
   TOP BAR
============================================ */
.top-bar {
    background: linear-gradient(135deg, #001a4d 0%, #003d99 100%);
    color: #FFFFFF;
    padding: 12px 0;
    font-size: 0.875rem;
}

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

.top-bar-contacts {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.top-bar-contacts span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ============================================
   HEADER & NAVIGATION
============================================ */
.header {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.nav-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: center;
    padding: 12px 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-emblem {
    width: 72px;
    height: 72px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    flex-shrink: 0;
    overflow: visible;
    padding: 0;
}

.brand-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 0;
}

.brand-text h1 {
    font-size: 1.15rem;
    color: #FFFFFF;
    margin-bottom: 0;
    white-space: nowrap;
}

.brand-text p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    color: #FFFFFF;
    transition: all 0.3s ease;
    display: block;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-dropdown-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    min-width: 220px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    transform: rotate(45deg);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 10px 20px;
    border-radius: 0;
    font-size: 0.9rem;
    color: #FF6B35;
}

.dropdown-menu li a:hover {
    background: #FFF3E0;
    color: #FF6B35;
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   CAROUSEL HERO SECTION
============================================ */
.carousel-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #1A1A1A;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel-nav:hover {
    background: #FFFFFF;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav svg {
    width: 24px;
    height: 24px;
    fill: #FF6B35;
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

/* ============================================
   STATS SECTION
============================================ */
.stats-section {
    padding: 32px 0;
    margin-top: -48px;
    position: relative;
    z-index: 10;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: #FFFFFF;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: #666666;
    font-weight: 500;
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    padding: 80px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    color: #1A1A1A;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE5CC 100%);
    color: #FF6B35;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-text {
    margin-bottom: 32px;
}

.hero-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555555;
}

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

/* ============================================
   SLOGAN BANNER
============================================ */
.slogan-banner {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: #FFFFFF;
    padding: 32px 0;
    text-align: center;
}

.slogan-primary {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.slogan-secondary {
    font-size: 1.125rem;
    color: #FFFFFF;
    font-weight: 400;
}

/* ============================================
   SECTION TITLES
============================================ */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title .badge {
    margin-bottom: 16px;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    margin: 16px auto;
    border-radius: 2px;
}

.section-title h2 {
    font-size: 2.25rem;
    color: #1A1A1A;
}

/* ============================================
   FEATURES GRID (Why Choose Us)
============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    min-height: 280px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px;
    color: #FFFFFF;
    font-size: 1.125rem;
    z-index: 2;
    font-weight: 600;
}

.feature-card-1 { background: url('../image/why1.png') center/cover; }
.feature-card-2 { background: url('../image/why2.jpeg') center/cover; }
.feature-card-3 { background: url('../image/why3.png') center/cover; }
.feature-card-4 { background: url('../image/why4.png') center/cover; }
.feature-card-5 { background: url('../image/why5.png') center/cover; }
.feature-card-6 { background: url('../image/why6.jpeg') center/cover; }

/* ============================================
   VISION & MISSION SECTION
============================================ */
.vision-mission-section {
    background: #FAFAFA;
}

.vision-mission-container {
    display: flex;
    gap: 48px;
    align-items: stretch;
}

.vm-card {
    flex: 1;
    background: #FFFFFF;
    padding: 48px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.vm-tag {
    display: inline-block;
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE5CC 100%);
    color: #FF6B35;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.vm-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #1A1A1A;
}

.vm-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555555;
}

.vm-divider {
    width: 2px;
    background: linear-gradient(to bottom, #FFE5CC, #FF6B35, #FFE5CC);
    margin: 0 32px;
}

.mission-list {
    list-style: none;
    padding: 0;
}

.mission-list li {
    padding-left: 32px;
    position: relative;
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555555;
}

.mission-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FF6B35;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ============================================
   HIGHLIGHTS SECTION
============================================ */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.highlight-card {
    background: #FFFFFF;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.highlight-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE5CC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon svg {
    width: 32px;
    height: 32px;
    fill: #FF6B35;
}

.highlight-card h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: #1A1A1A;
}

.highlight-card p {
    font-size: 0.95rem;
    color: #666666;
    margin: 0;
}

/* Highlights Quotes */
.highlights-quotes {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.quote-line {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    padding: 32px 28px;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid #FFFFFF;
}

.quote-line p {
    font-size: 1.125rem;
    color: #FFFFFF;
    font-weight: 500;
    margin: 0;
    font-style: italic;
}

/* ============================================
   CORRESPONDENT'S MESSAGE SECTION
============================================ */
.correspondent-section {
    padding: 80px 0;
}

.correspondent-title-main {
    text-align: center;
    margin-bottom: 48px;
}

.correspondent-title-main h2 {
    font-size: 2.25rem;
    color: #1A1A1A;
}

.correspondent-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: start;
}

.correspondent-image-wrapper {
    position: relative;
}

.correspondent-quote-icon-left,
.correspondent-quote-icon-right {
    position: absolute;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    z-index: 2;
}

.correspondent-quote-icon-left {
    top: -16px;
    left: -16px;
}

.correspondent-quote-icon-right {
    bottom: -16px;
    right: -16px;
}

.correspondent-quote-icon-left svg,
.correspondent-quote-icon-right svg {
    width: 24px;
    height: 24px;
    fill: #FFFFFF;
}

.correspondent-image {
    width: 100%;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: #F5F5F5;
}

.correspondent-image img {
    width: 100%;
    min-height: 480px;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    background: #FFFFFF;
}

.correspondent-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.correspondent-placeholder-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE5CC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.correspondent-placeholder-icon svg {
    width: 60px;
    height: 60px;
    fill: #FF6B35;
}

.correspondent-placeholder-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #666666;
    text-align: center;
}

.correspondent-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    position: relative;
}

.correspondent-greeting {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FF6B35;
    margin-bottom: 20px;
}

.correspondent-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 20px;
    text-align: justify;
}

.correspondent-signature-box {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #FFE5CC;
}

.correspondent-name-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 4px;
}

.correspondent-position {
    font-size: 1rem;
    color: #FF6B35;
    font-weight: 500;
}

/* ============================================
   FOOTER
============================================ */
.footer-logo-wrap {
    margin-bottom: 12px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
}
.footer {
    background: linear-gradient(135deg, #001a4d 0%, #003d99 100%);
    color: #FFFFFF;
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-column h4 {
    color: #FFFFFF;
    margin-bottom: 20px;
    font-size: 1.125rem;
}

.footer-column p {
    color: #CCCCCC;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #CCCCCC;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: #FF6B35;
}

.footer-map {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    border: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: #CCCCCC;
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN — 4-POINT GRID SYSTEM
   Breakpoints:
     xs  — mobile      ≤ 480px
     sm  — large mobile 481–640px
     md  — tablet       641–968px
     lg  — laptop/desk  969px+  (base styles)
   Spacing: 4px base (4 8 12 16 20 24 32 40 48 64 80)
============================================ */

/* ── MD — Tablet (641–968px) ── */
@media (max-width: 968px) {
    .container { padding: 0 24px; }
    .section   { padding: 48px 0; }
    h2 { font-size: 1.875rem; }

    /* Footer */
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

    /* Hero */
    .hero { padding: 48px 0; }
    .hero-container { grid-template-columns: 1fr; gap: 32px; }
    .hero-image  { height: 320px; }
    .hero h1     { font-size: 2rem; text-align: center; }
    .hero-content, .hero-text { text-align: center; }
    .hero-text    { font-size: 1rem; margin-bottom: 24px; }
    .hero-actions { justify-content: center; gap: 12px; }

    /* Stats */
    .stats-section { padding: 24px 0; margin-top: -32px; }
    .stats-section .hero-stats { padding: 20px; gap: 16px; }

    /* Carousel */
    .carousel-hero { height: 380px; }
    .carousel-nav  { width: 40px; height: 40px; }
    .carousel-nav svg { width: 20px; height: 20px; }
    .carousel-nav.prev { left: 12px; }
    .carousel-nav.next { right: 12px; }

    /* Features 2-col */
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .feature-card { min-height: 240px; }

    /* Vision Mission */
    .vision-mission-container { flex-direction: column; }
    .vm-divider { width: auto; height: 1px; margin: 0 24px; }
    .vm-card    { padding: 32px 24px; }
    .vm-card h3 { font-size: 1.35rem; }

    /* Highlights */
    .highlights-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .highlight-icon { width: 56px; height: 56px; margin-bottom: 16px; }
    .highlight-icon svg { width: 28px; height: 28px; }
    .quote-line { padding: 24px 20px; }
    .quote-line p { font-size: 1rem; }

    /* Correspondent */
    .correspondent-section { padding: 48px 0; }
    .correspondent-container { grid-template-columns: 1fr; gap: 32px; }
    .correspondent-image { min-height: 320px; }
    .correspondent-content-wrapper { min-height: auto; }
    .correspondent-title-main h2 { font-size: 1.75rem; }

    /* Nav - Mobile Navigation */
    .header { position: fixed !important; top: 0 !important; left: 0; width: 100%; z-index: 1000; }
    body { padding-top: 72px; }
    
    .nav-container {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
    }
    
    .hamburger { 
        display: flex; 
        order: 0; 
        flex-shrink: 0; 
        padding: 4px;
    }
    .hamburger span { width: 20px; height: 2px; }
    
    .brand { 
        order: 1; 
        flex-shrink: 1; 
        min-width: 0; 
        gap: 8px;
    }
    .brand-emblem { 
        width: 52px; 
        height: 52px; 
        font-size: 0.9rem; 
        flex-shrink: 0; 
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        padding: 0;
        overflow: visible;
    }
    .brand-text h1 { 
        font-size: 1rem; 
        white-space: normal; 
        line-height: 1.3; 
    }
    .brand-text p { display: none; }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background: #FFFFFF;
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        align-items: flex-start;
        gap: 4px;
        overflow-y: auto;
        justify-content: flex-start;
    }
    .nav-menu > li > a {
        color: #333333;
    }
    .nav-menu > li > a:hover,
    .nav-menu > li > a.active {
        background: #FFF3E0;
        color: #FF6B35;
    }
    .nav-menu.active { left: 0; }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid #FFE5CC;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        min-width: unset;
        background: #FAFAFA;
    }
    .dropdown-menu li a {
        color: #333333;
    }
    .dropdown-menu li a:hover {
        color: #FF6B35;
        background: #FFF3E0;
    }
    .dropdown-menu::before { display: none; }
    .nav-dropdown.open .dropdown-menu { max-height: 300px; }
    .nav-dropdown-toggle svg { margin-left: auto; }

    .section-title { margin-bottom: 32px; }
}

/* ── SM — Large mobile (481–640px) ── */
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .section   { padding: 40px 0; }
    h2 { font-size: 1.625rem; }
    h3 { font-size: 1.375rem; }
    .top-bar { display: none; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer { padding: 40px 0 0; }
    .footer-map { height: 160px; }
    .footer-column h4 { margin-bottom: 12px; font-size: 1rem; }

    /* Stats */
    .stats-section { margin-top: -24px; padding: 16px 0; }
    .stats-section .hero-stats {
        padding: 16px; gap: 12px;
        grid-template-columns: repeat(2, 1fr); border-radius: 12px;
    }
    .stat-value { font-size: 1.5rem; }
    .stat-label { font-size: 0.7rem; }

    /* Carousel */
    .carousel-hero { height: 240px; }
    .carousel-nav  { width: 36px; height: 36px; }
    .carousel-nav svg { width: 16px; height: 16px; }
    .carousel-nav.prev { left: 8px; }
    .carousel-nav.next { right: 8px; }

    /* Hero */
    .hero { padding: 40px 0; }
    .hero-image { height: 240px; border-radius: 12px; }
    .hero h1    { font-size: 1.625rem; }
    .hero-text  { font-size: 0.95rem; margin-bottom: 20px; }
    .hero-actions { flex-direction: column; gap: 12px; }
    .hero-actions .btn { width: 100%; text-align: center; padding: 12px 16px; }
    .hero-container { gap: 24px; }

    /* Slogan */
    .slogan-banner { padding: 20px 0; }
    .slogan-primary   { font-size: 1rem; margin-bottom: 4px; }
    .slogan-secondary { font-size: 0.875rem; }

    /* Section titles */
    .section-title { margin-bottom: 24px; }
    .section-title h2 { font-size: 1.5rem; }
    .badge { font-size: 0.75rem; padding: 4px 12px; margin-bottom: 12px; }
    .divider { width: 60px; height: 3px; }

    /* Features 1-col */
    .features-grid { grid-template-columns: 1fr; gap: 12px; }
    .feature-card { min-height: 200px; }
    .feature-card h3 { font-size: 1rem; padding: 16px 12px; }

    /* Vision Mission */
    .vm-card { padding: 24px 16px; }
    .vm-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
    .vm-card p  { font-size: 0.95rem; }
    .vm-divider { margin: 0 16px; }
    .mission-list li { font-size: 0.95rem; }
    .vision-mission-section .section-title { margin-bottom: 20px; }

    /* Highlights */
    .highlights-grid { grid-template-columns: 1fr; gap: 12px; }
    .highlight-card  { padding: 20px 16px; }
    .highlight-icon  { width: 52px; height: 52px; margin-bottom: 12px; }
    .highlight-icon svg { width: 26px; height: 26px; }
    .highlight-card h4 { font-size: 1rem; margin-bottom: 4px; }
    .highlight-card p  { font-size: 0.875rem; }
    .highlights-quotes { gap: 12px; margin-top: 24px; }
    .quote-line { padding: 20px 16px; }
    .quote-line p { font-size: 0.95rem; }

    /* Correspondent */
    .correspondent-section { padding: 40px 0; }
    .correspondent-title-main { margin-bottom: 24px; }
    .correspondent-title-main h2 { font-size: 1.5rem; }
    .correspondent-container { gap: 24px; }
    .correspondent-image { min-height: 260px; }
    .correspondent-placeholder-icon { width: 80px; height: 80px; }
    .correspondent-placeholder-icon svg { width: 48px; height: 48px; }
    .correspondent-placeholder-text { font-size: 1rem; }
    .correspondent-quote-icon-left, .correspondent-quote-icon-right { width: 36px; height: 36px; }
    .correspondent-quote-icon-left  { top: -8px; left: -8px; }
    .correspondent-quote-icon-right { bottom: -8px; right: -8px; }
    .correspondent-quote-icon-left svg, .correspondent-quote-icon-right svg { width: 18px; height: 18px; }
    .correspondent-greeting { font-size: 1rem; margin-bottom: 12px; }
    .correspondent-text p   { font-size: 0.9rem; margin-bottom: 12px; }
    .correspondent-greeting, .correspondent-text, .correspondent-signature-box { text-align: center; }
    .correspondent-name-title { font-size: 1rem; }
    .correspondent-position   { font-size: 0.875rem; }
    .correspondent-content-wrapper { min-height: auto; }
}

/* ── XS — Small mobile (≤ 480px) ── */
@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .section   { padding: 32px 0; }
    h2 { font-size: 1.375rem; }
    .section-title h2 { font-size: 1.25rem; }

    /* Stats */
    .stats-section .hero-stats { padding: 12px; gap: 8px; }
    .stat-value { font-size: 1.25rem; }
    .stat-label { font-size: 0.65rem; }

    /* Carousel */
    .carousel-hero { height: 200px; }
    .carousel-nav  { width: 32px; height: 32px; }
    .carousel-nav svg { width: 14px; height: 14px; }

    /* Hero */
    .hero-image { height: 200px; }
    .hero h1 { font-size: 1.375rem; }

    /* Features */
    .feature-card { min-height: 180px; }

    /* Footer */
    .footer-bottom { padding: 16px 0; font-size: 0.75rem; }
}
