/* ====================================================
   VSA INDIA – STYLE.CSS
   Responsive cho mọi thiết bị
   ==================================================== */

/* ---------- RESET / BASE ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-dark);
}

ul,
ol {
    list-style: none;
}

/* ---------- DESIGN TOKENS ---------- */
:root {
    /* Colors */
    --color-primary: #8B1A1A;
    --color-primary-dark: #6B1414;
    --color-primary-light: #A82828;
    --color-secondary: #C49B5E;
    --color-secondary-light: #D4B07A;
    --color-background: #F9F6F0;
    --color-surface: #FFFFFF;
    --color-surface-alt: #F5F0E8;
    --color-text: #2C2C2C;
    --color-text-muted: #6B6B6B;
    --color-text-light: #9A9A9A;
    --color-border: #E5DDD2;
    --color-cta: #8B1A1A;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;

    --font-size-base: 16px;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.25rem;

    --line-height-base: 1.65;
    --line-height-heading: 1.2;
    --line-height-sm: 1.4;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;

    /* Container */
    --container-width: 1200px;
    --container-padding: 1.5rem;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--line-height-heading);
    color: var(--color-text);
}

h1 {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

p {
    margin-bottom: var(--space-sm);
    max-width: 70ch;
}

.text-muted {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.text-sm {
    font-size: var(--font-size-sm);
}

.text-xs {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition-base), color var(--transition-base), transform var(--transition-fast);
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text);
}

.btn-secondary:hover {
    background: var(--color-text);
    color: #fff;
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-cta {
    background: var(--color-cta);
    color: #fff;
    font-size: var(--font-size-md);
    padding: 1rem 3rem;
}

.btn-cta:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

/* ---------- CONTAINER / GRID ---------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.grid-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* ---------- SECTION HEADER ---------- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.section-header h2 {
    margin-bottom: 0;
}

.view-all {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-primary);
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition-fast);
    white-space: nowrap;
}

.view-all:hover {
    border-bottom-color: var(--color-primary);
}

/* ---------- HEADER / NAVIGATION ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: var(--space-sm);
}

/* ---------- LOGO ---------- */
.logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text);
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.logo-text-wrapper {
    display: none; /* Mặc định ẩn trên desktop nhỏ */
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.logo-india {
    color: var(--color-primary);
}

.logo-sub {
    font-size: 0.625rem;
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 1px;
    white-space: nowrap;
}

/* ---------- HIỆN LOGO TEXT TRÊN MÀN HÌNH LỚN ---------- */
@media (min-width: 1400px) {
    .logo-text-wrapper {
        display: flex !important;
    }
    
    .logo-img {
        height: 50px;
    }
}

/* ---------- HIỆN LOGO TEXT TRÊN TABLET & MOBILE ---------- */
@media (max-width: 1023px) {
    .logo-text-wrapper {
        display: flex !important;
    }
    
    .logo-img {
        height: 36px;
    }
    
    .logo-text {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 767px) {
    .logo-img {
        height: 32px;
    }
    
    .logo-text {
        font-size: var(--font-size-md);
    }
    
    .logo-sub {
        font-size: 0.5rem;
    }
}

@media (max-width: 399px) {
    .logo-img {
        height: 28px;
    }
    
    .logo-text {
        font-size: var(--font-size-sm);
    }
    
    .logo-sub {
        font-size: 0.4rem;
    }
}

/* ---------- MAIN NAV ---------- */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 1;
    min-width: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.nav-list::-webkit-scrollbar {
    display: none;
}

.nav-list li a {
    display: block;
    padding: 0.4rem 0.7rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}

.nav-list li a:hover {
    background: var(--color-surface-alt);
    color: var(--color-primary);
}

.nav-list li a.active {
    color: var(--color-primary);
    background: var(--color-surface-alt);
}

/* ---------- LANGUAGE SWITCH ---------- */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: var(--space-xs);
    font-size: var(--font-size-sm);
    font-weight: 500;
    flex-shrink: 0;
}

.lang-btn {
    background: none;
    border: none;
    padding: 0.25rem 0.4rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.lang-btn:hover {
    color: var(--color-text);
}

.lang-btn.active {
    color: var(--color-primary);
    font-weight: 600;
}

.lang-divider {
    color: var(--color-border);
}

/* ---------- MOBILE MENU TOGGLE ---------- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.menu-toggle:hover {
    background: var(--color-surface-alt);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle.open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- PAGE SECTIONS ---------- */
.page-section {
    display: none;
    padding: var(--space-xl) 0;
    min-height: 60vh;
}

.page-section.active {
    display: block;
}

.placeholder-text {
    color: var(--color-text-muted);
    font-style: italic;
    padding: var(--space-lg) 0;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--color-primary-dark);
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(139, 26, 26, 0.9) 0%, rgba(107, 20, 20, 0.7) 100%),
        url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"%3E%3Cpath fill="%23ffffff" opacity="0.05" d="M0 0h400v400H0z"/%3E%3C/svg%3E');
    background-size: cover;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-5xl);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
    max-width: 100%;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: #fff;
    color: var(--color-primary);
}

.hero .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.hero .btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ---------- ABOUT PREVIEW ---------- */
.section-about {
    background: var(--color-surface);
    padding: var(--space-2xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-text p {
    font-size: var(--font-size-md);
    line-height: 1.8;
}

.about-text .btn {
    margin-top: var(--space-sm);
}

.about-image-placeholder {
    aspect-ratio: 4 / 3;
    background: var(--color-surface-alt);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    border: 2px dashed var(--color-border);
}

/* ---------- ACTIVITIES PREVIEW ---------- */
.section-activities {
    background: var(--color-background);
    padding: var(--space-2xl) 0;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.activity-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow var(--transition-base), transform var(--transition-fast);
}

.activity-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.activity-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xs);
}

/* ---------- NEWS PREVIEW ---------- */
.section-news {
    background: var(--color-surface);
    padding: var(--space-2xl) 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.news-card {
    padding: var(--space-md);
    border-bottom: 2px solid var(--color-border);
    transition: border-color var(--transition-fast);
}

.news-card:hover {
    border-bottom-color: var(--color-primary);
}

.news-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xs);
}

/* ---------- BLOG PREVIEW ---------- */
.section-blog {
    background: var(--color-background);
    padding: var(--space-2xl) 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.blog-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: box-shadow var(--transition-base), transform var(--transition-fast);
}

.blog-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.blog-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xs);
}

/* ---------- MAP PREVIEW ---------- */
.section-map-preview {
    background: var(--color-surface-alt);
    padding: var(--space-2xl) 0;
}

.map-subtitle {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.map-wrapper {
    display: block !important;
    width: 100% !important;
    margin-bottom: var(--space-md);
}

/* ---------- MAP FIX ---------- */
#vsa-map {
    display: block !important;
    height: 500px !important;
    width: 100% !important;
    min-height: 400px !important;
    background: #e8e4de !important;
    border-radius: var(--radius-md);
    position: relative !important;
    z-index: 1 !important;
}

#home-vsa-map {
    display: block !important;
    height: 350px !important;
    width: 100% !important;
    min-height: 250px !important;
    background: #e8e4de !important;
    border-radius: var(--radius-md);
    position: relative !important;
    z-index: 1 !important;
}

.leaflet-container {
    height: 100% !important;
    width: 100% !important;
    min-height: 250px !important;
}

.map-info {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-top: var(--space-md);
}

.map-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-sm);
}

.map-info-item {
    padding: var(--space-sm);
    background: var(--color-background);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-primary);
}

.map-info-item .city-name {
    font-weight: 600;
    font-size: var(--font-size-md);
}

.map-info-item .city-detail {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

/* ---------- GALLERY PREVIEW ---------- */
.section-gallery {
    background: var(--color-surface);
    padding: var(--space-2xl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.gallery-item {
    aspect-ratio: 1 / 1;
    background: var(--color-surface-alt);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    border: 2px dashed var(--color-border);
    transition: transform var(--transition-fast);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

/* ---------- CTA ---------- */
.section-cta {
    background: var(--color-primary);
    color: #fff;
    padding: var(--space-2xl) 0;
}

.cta-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-box h2 {
    color: #fff;
    margin-bottom: var(--space-sm);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
    max-width: 100%;
}

.btn-cta {
    background: #fff;
    color: var(--color-primary);
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-lg) 0;
    margin-top: var(--space-xl);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: #fff;
}

.footer-brand p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0;
}

/* ---------- ABOUT PAGE ---------- */
.about-page {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.about-hero {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.about-hero h1 {
    margin-bottom: var(--space-xs);
}

.about-hero-sub {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    font-style: italic;
}

.about-mission {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.mission-card {
    background: var(--color-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-top: 4px solid var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mission-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

.mission-card p {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    max-width: 100%;
}

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

.value-list li {
    padding: var(--space-xs) 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.value-list li:last-child {
    border-bottom: none;
}

.about-text-full {
    margin-bottom: var(--space-2xl);
}

.about-text-full h2 {
    margin-bottom: var(--space-md);
}

.about-text-full p {
    font-size: var(--font-size-md);
    line-height: 1.8;
    max-width: 100%;
}

.about-timeline {
    margin-bottom: var(--space-xl);
}

.about-timeline h2 {
    margin-bottom: var(--space-lg);
}

.timeline-item {
    display: flex;
    align-items: baseline;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    gap: var(--space-md);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--font-size-lg);
    color: var(--color-primary);
    min-width: 60px;
}

.timeline-desc {
    font-size: var(--font-size-md);
    color: var(--color-text);
}

/* ---------- MEMBERS PAGE ---------- */
.members-page {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.members-page h1 {
    text-align: center;
    margin-bottom: var(--space-xs);
}

.members-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    font-size: var(--font-size-md);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-lg);
}

.member-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow var(--transition-base), transform var(--transition-fast);
}

.member-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.member-image {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-sm);
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-surface-alt);
}

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

.member-card h3 {
    font-size: var(--font-size-md);
    margin-bottom: var(--space-xs);
}

.member-position {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.member-city {
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.member-bio {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    max-width: 100%;
}

/* ---------- ACTIVITIES PAGE ---------- */
.activities-page {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.activities-page h1 {
    text-align: center;
    margin-bottom: var(--space-xs);
}

.activities-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    font-size: var(--font-size-md);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.filter-btn {
    padding: 0.4rem 1.2rem;
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    font-weight: 500;
    background: transparent;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    color: var(--color-text);
    background: var(--color-surface-alt);
}

.filter-btn.active {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: rgba(139, 26, 26, 0.05);
}

.activities-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.activity-item {
    display: flex;
    gap: var(--space-md);
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow var(--transition-base), transform var(--transition-fast);
}

.activity-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.activity-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.activity-item-content h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 0;
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
}

/* ---------- NEWS PAGE ---------- */
.news-page {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.news-page h1 {
    text-align: center;
    margin-bottom: var(--space-xs);
}

.news-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    font-size: var(--font-size-md);
}

.news-featured {
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    display: none;
}

.news-featured-item h2 {
    color: #fff;
    margin-bottom: var(--space-xs);
    font-size: var(--font-size-2xl);
}

.news-featured-item .news-meta {
    color: rgba(255, 255, 255, 0.7);
}

.news-featured-item .badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.news-featured-item .text-muted {
    color: rgba(255, 255, 255, 0.8);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.news-item {
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition-fast), padding-left var(--transition-fast);
}

.news-item:hover {
    background: var(--color-surface-alt);
    padding-left: calc(var(--space-md) + 4px);
}

.news-item h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xs);
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    margin-bottom: var(--space-xs);
}

.badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    background: var(--color-surface-alt);
    color: var(--color-text-muted);
}

/* ---------- BLOG PAGE ---------- */
.blog-page {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.blog-page h1 {
    text-align: center;
    margin-bottom: var(--space-xs);
}

.blog-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    font-size: var(--font-size-md);
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.blog-item {
    display: flex;
    gap: var(--space-md);
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow var(--transition-base), transform var(--transition-fast);
}

.blog-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.blog-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.blog-item-content h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 0;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
}

/* ---------- GUIDE PAGE ---------- */
.guide-page {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.guide-page h1 {
    text-align: center;
    margin-bottom: var(--space-xs);
}

.guide-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    font-size: var(--font-size-md);
}

.guide-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.guide-item {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow var(--transition-base), transform var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.guide-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.guide-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-sm);
}

.guide-item-header h3 {
    font-size: var(--font-size-md);
    margin-bottom: 0;
    flex: 1;
}

.guide-item .badge {
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-updated {
    color: var(--color-text-light);
    margin-top: var(--space-xs);
}

/* ---------- MAP PAGE ---------- */
.map-page {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.map-page h1 {
    text-align: center;
    margin-bottom: var(--space-xs);
}

/* ---------- GALLERY PAGE ---------- */
.gallery-page {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.gallery-page h1 {
    text-align: center;
    margin-bottom: var(--space-xs);
}

.gallery-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    font-size: var(--font-size-md);
}

.gallery-page .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.gallery-album {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow var(--transition-base), transform var(--transition-fast);
    cursor: pointer;
}

.gallery-album:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.gallery-album-cover {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--color-surface-alt);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-album-cover .placeholder-icon {
    font-size: 3rem;
    color: var(--color-text-muted);
}

.gallery-album-info {
    padding: var(--space-md);
}

.gallery-album-info h3 {
    font-size: var(--font-size-md);
    margin-bottom: var(--space-xs);
}

.gallery-album-info .album-meta {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.gallery-album-info .album-count {
    font-size: var(--font-size-sm);
    color: var(--color-primary);
    font-weight: 500;
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease;
}

.lightbox-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    margin-top: var(--space-sm);
    text-align: center;
    max-width: 80%;
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-sm);
    margin-top: var(--space-xs);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-fast);
    z-index: 10;
}

.lightbox-close:hover {
    color: #fff;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: color var(--transition-fast);
    z-index: 10;
}

.lightbox-nav:hover {
    color: #fff;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ====================================================
   RESPONSIVE – TẤT CẢ THIẾT BỊ
   ==================================================== */

/* ---------- MÀN HÌNH NGANG ≥1400px: HIỆN LOGO TEXT ---------- */
@media (min-width: 1400px) {
    /* Hiện text logo */
    .logo-text-wrapper {
        display: flex !important;
    }
    
    /* Điều chỉnh header để có đủ không gian */
    .header-inner {
        gap: var(--space-lg);
    }
    
    /* Tăng khoảng cách giữa các nav items */
    .nav-list {
        gap: 0.25rem;
    }
    
    .nav-list li a {
        padding: 0.5rem 0.875rem;
        font-size: var(--font-size-sm);
    }
    
    /* Đảm bảo nav không bị tràn */
    .main-nav {
        flex-shrink: 1;
        min-width: 0;
        gap: var(--space-md);
    }
    
    /* Logo không bị co */
    .logo a {
        flex-shrink: 0;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .logo-text {
        font-size: var(--font-size-xl);
    }
}

/* ---------- LAPTOP LỚN (1440px+) ---------- */
@media (min-width: 1440px) {
    :root {
        --container-width: 1280px;
        --font-size-5xl: 4rem;
        --font-size-4xl: 3rem;
    }
    
    .hero {
        min-height: 70vh;
    }
}

/* ---------- LAPTOP (1200-1439px) ---------- */
@media (min-width: 1200px) and (max-width: 1439px) {
    :root {
        --container-width: 1140px;
    }
    
    .nav-list li a {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* ---------- LAPTOP NHỎ (992-1199px) ---------- */
@media (min-width: 992px) and (max-width: 1199px) {
    :root {
        --container-width: 960px;
        --font-size-5xl: 3rem;
        --font-size-4xl: 2.5rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .nav-list li a {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .nav-list {
        gap: 0.1rem;
    }
    
    .main-nav {
        gap: 0.5rem;
    }
    
    .hero {
        min-height: 60vh;
    }
}

/* ---------- TABLET LỚN / LANDSCAPE (768-991px) ---------- */
@media (min-width: 768px) and (max-width: 991px) {
    :root {
        --container-width: 720px;
        --font-size-5xl: 2.75rem;
        --font-size-4xl: 2.25rem;
        --space-xl: 3rem;
        --space-2xl: 4rem;
    }
    
    /* Hiện text logo trên tablet */
    .logo-text-wrapper {
        display: flex;
    }
    
    .logo-img {
        height: 38px;
    }
    
    .logo-text {
        font-size: var(--font-size-lg);
    }
    
    .nav-list li a {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .nav-list {
        gap: 0.1rem;
    }
    
    .main-nav {
        gap: 0.4rem;
    }
    
    .activities-grid,
    .news-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-mission {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-mission .mission-card:last-child {
        grid-column: span 2;
    }
    
    .guide-list {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-page .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero {
        min-height: 55vh;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* ---------- TABLET NHỎ / PORTRAIT (576-767px) ---------- */
@media (min-width: 576px) and (max-width: 767px) {
    :root {
        --container-padding: 1rem;
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
        --space-xl: 2.5rem;
        --space-2xl: 3.5rem;
    }
    
    /* Mobile menu */
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-surface);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-md);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
        z-index: 999;
        border-top: 1px solid var(--color-border);
    }
    
    .main-nav.open {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow: visible;
    }
    
    .nav-list li a {
        padding: 0.75rem 1rem;
        font-size: var(--font-size-md);
    }
    
    .lang-switch {
        margin-left: 0;
        padding: var(--space-sm) 0;
        border-top: 1px solid var(--color-border);
        justify-content: center;
    }
    
    /* Hiện text logo */
    .logo-text-wrapper {
        display: flex;
    }
    
    .logo-img {
        height: 36px;
    }
    
    .logo-text {
        font-size: var(--font-size-lg);
    }
    
    .activities-grid,
    .news-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-mission {
        grid-template-columns: 1fr;
    }
    
    .about-mission .mission-card:last-child {
        grid-column: span 1;
    }
    
    .guide-list {
        grid-template-columns: 1fr;
    }
    
    .gallery-page .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-md);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .members-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .member-image {
        width: 80px;
        height: 80px;
    }
    
    .page-section {
        padding: var(--space-lg) 0;
        min-height: 40vh;
    }
    
    .footer-inner {
        gap: var(--space-sm);
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .activity-item {
        flex-direction: column;
        padding: var(--space-sm);
    }
    
    .blog-item {
        flex-direction: column;
        padding: var(--space-sm);
    }
    
    .filter-bar {
        gap: var(--space-xs);
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .news-featured {
        padding: var(--space-md);
    }
    
    .news-featured-item h2 {
        font-size: var(--font-size-xl);
    }
    
    .news-item h3 {
        font-size: var(--font-size-md);
    }
    
    .guide-item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .guide-item-header h3 {
        font-size: var(--font-size-md);
    }
    
    .about-hero-sub {
        font-size: var(--font-size-md);
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 0;
        padding: var(--space-sm) 0;
    }
    
    .timeline-year {
        font-size: var(--font-size-md);
    }
    
    #vsa-map {
        height: 350px !important;
    }
    #home-vsa-map {
        height: 250px !important;
    }
    
    .lightbox-content {
        max-width: 95%;
    }
    .lightbox-content img {
        max-height: 60vh;
    }
    .lightbox-nav {
        font-size: 1.5rem;
        padding: 0.3rem 0.6rem;
    }
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 2rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ---------- MOBILE LỚN (400-575px) ---------- */
@media (min-width: 400px) and (max-width: 575px) {
    :root {
        --container-padding: 0.75rem;
        --font-size-5xl: 2.25rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 3rem;
        --space-lg: 1.75rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-surface);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-md);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
        z-index: 999;
        border-top: 1px solid var(--color-border);
    }
    
    .main-nav.open {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow: visible;
    }
    
    .nav-list li a {
        padding: 0.6rem 0.875rem;
        font-size: var(--font-size-sm);
    }
    
    .lang-switch {
        margin-left: 0;
        padding: var(--space-sm) 0;
        border-top: 1px solid var(--color-border);
        justify-content: center;
    }
    
    .logo-text-wrapper {
        display: flex;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .logo-text {
        font-size: var(--font-size-md);
    }
    
    .logo-sub {
        font-size: 0.5rem;
    }
    
    .header-inner {
        height: 64px;
    }
    
    .activities-grid,
    .news-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-mission {
        grid-template-columns: 1fr;
    }
    
    .guide-list {
        grid-template-columns: 1fr;
    }
    
    .gallery-page .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        min-height: 45vh;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-sm);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
        padding: 0.6rem 1rem;
        font-size: var(--font-size-sm);
    }
    
    .members-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .member-image {
        width: 70px;
        height: 70px;
    }
    
    .member-card h3 {
        font-size: var(--font-size-sm);
    }
    
    .page-section {
        padding: var(--space-md) 0;
        min-height: 35vh;
    }
    
    .section-header h2 {
        font-size: var(--font-size-2xl);
    }
    
    .filter-btn {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .activity-item {
        flex-direction: column;
        padding: var(--space-sm);
    }
    
    .blog-item {
        flex-direction: column;
        padding: var(--space-sm);
    }
    
    #vsa-map {
        height: 280px !important;
    }
    #home-vsa-map {
        height: 200px !important;
    }
    
    .lightbox-nav {
        font-size: 1.2rem;
        padding: 0.2rem 0.4rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ---------- MOBILE NHỎ (<399px) ---------- */
@media (max-width: 399px) {
    :root {
        --container-padding: 0.5rem;
        --font-size-5xl: 1.75rem;
        --font-size-4xl: 1.5rem;
        --font-size-3xl: 1.25rem;
        --font-size-2xl: 1.125rem;
        --font-size-lg: 1rem;
        --space-xl: 1.5rem;
        --space-2xl: 2.5rem;
        --space-lg: 1.25rem;
        --space-md: 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-surface);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-sm);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
        z-index: 999;
        border-top: 1px solid var(--color-border);
    }
    
    .main-nav.open {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow: visible;
    }
    
    .nav-list li a {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .lang-switch {
        margin-left: 0;
        padding: var(--space-xs) 0;
        border-top: 1px solid var(--color-border);
        justify-content: center;
        font-size: 0.75rem;
    }
    
    .logo-text-wrapper {
        display: flex;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .logo-text {
        font-size: var(--font-size-md);
    }
    
    .logo-sub {
        font-size: 0.45rem;
    }
    
    .header-inner {
        height: 60px;
    }
    
    .activities-grid,
    .news-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:first-child {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-mission {
        grid-template-columns: 1fr;
    }
    
    .guide-list {
        grid-template-columns: 1fr;
    }
    
    .gallery-page .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        min-height: 40vh;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-sm);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .member-image {
        width: 80px;
        height: 80px;
    }
    
    .page-section {
        padding: var(--space-md) 0;
        min-height: 30vh;
    }
    
    .section-header h2 {
        font-size: var(--font-size-xl);
    }
    
    .filter-bar {
        justify-content: center;
        gap: 0.2rem;
    }
    
    .filter-btn {
        padding: 0.15rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .activity-item {
        flex-direction: column;
        padding: var(--space-xs);
    }
    
    .blog-item {
        flex-direction: column;
        padding: var(--space-xs);
    }
    
    .blog-item-image {
        height: 120px;
    }
    
    #vsa-map {
        height: 220px !important;
        min-height: 200px !important;
    }
    #home-vsa-map {
        height: 180px !important;
        min-height: 150px !important;
    }
    
    .lightbox-content {
        max-width: 98%;
    }
    .lightbox-content img {
        max-height: 50vh;
    }
    .lightbox-nav {
        font-size: 1rem;
        padding: 0.15rem 0.3rem;
    }
    .lightbox-close {
        top: 5px;
        right: 10px;
        font-size: 1.5rem;
    }
    .lightbox-caption {
        font-size: 0.7rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-logo-img {
        height: 30px;
    }
    .footer-brand .footer-logo {
        font-size: var(--font-size-md);
    }
}

/* ---------- IPAD PRO 12.9" LANDSCAPE (1024x1366) ---------- */
@media (min-width: 1024px) and (max-width: 1024px) and (min-height: 1366px) {
    .nav-list li a {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .logo-img {
        height: 38px;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
}

/* ---------- IPAD PRO 11" LANDSCAPE (834x1194) ---------- */
@media (min-width: 834px) and (max-width: 834px) and (min-height: 1194px) {
    .nav-list li a {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .logo-img {
        height: 36px;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
}

/* ---------- IPAD MINI LANDSCAPE (768x1024) ---------- */
@media (min-width: 768px) and (max-width: 768px) and (min-height: 1024px) {
    .nav-list li a {
        padding: 0.25rem 0.4rem;
        font-size: 0.65rem;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
}

/* ---------- IPHONE 12/13/14 PRO MAX (430x932) ---------- */
@media (min-width: 430px) and (max-width: 430px) and (min-height: 932px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .members-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- IPHONE 12/13/14 (390x844) ---------- */
@media (min-width: 390px) and (max-width: 390px) and (min-height: 844px) {
    .hero-title {
        font-size: var(--font-size-2xl);
    }
}

/* ---------- IPHONE SE (375x667) ---------- */
@media (min-width: 375px) and (max-width: 375px) and (min-height: 667px) {
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .member-image {
        width: 60px;
        height: 60px;
    }
}

/* ---------- IPHONE 5/SE CŨ (320x568) ---------- */
@media (max-width: 320px) {
    :root {
        --container-padding: 0.4rem;
        --font-size-5xl: 1.5rem;
        --font-size-4xl: 1.25rem;
        --font-size-3xl: 1.125rem;
        --font-size-2xl: 1rem;
        --space-xl: 1.25rem;
        --space-2xl: 2rem;
        --space-lg: 1rem;
    }
    
    .logo-img {
        height: 24px;
    }
    
    .logo-text {
        font-size: 0.875rem;
    }
    
    .logo-sub {
        font-size: 0.4rem;
    }
    
    .header-inner {
        height: 56px;
    }
    
    .main-nav {
        top: 56px;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-actions .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .nav-list li a {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    #vsa-map {
        height: 180px !important;
    }
    #home-vsa-map {
        height: 150px !important;
    }
}

/* ---------- DETAIL IMAGE ---------- */
.detail-image-wrapper {
    margin: var(--space-md) 0;
    text-align: center;
}

.detail-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.detail-image-caption {
    margin-top: var(--space-xs);
    font-style: italic;
    color: var(--color-text-muted);
}

.detail-image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    background: var(--color-surface-alt);
    border-radius: var(--radius-md);
    font-size: 3rem;
    color: var(--color-text-muted);
}
.back-link {
    display: inline-block;
    margin-bottom: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--color-primary);
}

/* ---------- PAGINATION ---------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.75rem;
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    font-weight: 500;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--color-surface-alt);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-info {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-left: var(--space-sm);
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .pagination-btn {
        min-width: 32px;
        height: 32px;
        font-size: 0.75rem;
        padding: 0 0.5rem;
    }
}
/* ---------- THUMBNAIL ---------- */
.news-thumbnail,
.blog-thumbnail,
.activity-thumbnail {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: var(--color-surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.news-thumbnail img,
.blog-thumbnail img,
.activity-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-fallback {
    font-size: 2.5rem;
    color: var(--color-text-muted);
}

/* Card có thumbnail */
.news-card,
.blog-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow var(--transition-base), transform var(--transition-fast);
    padding: 0;
}

.news-card:hover,
.blog-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.news-card .news-content,
.blog-card .blog-content {
    padding: var(--space-md);
}

/* ---------- THUMBNAIL ---------- */
.news-thumbnail,
.blog-thumbnail,
.activity-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: var(--color-surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.news-thumbnail img,
.blog-thumbnail img,
.activity-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-fallback {
    font-size: 2.5rem;
    color: var(--color-text-muted);
}

/* Card có thumbnail */
.news-item,
.blog-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow var(--transition-base), transform var(--transition-fast);
    padding: 0;
    margin-bottom: var(--space-md);
}

.news-item:hover,
.blog-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.news-content,
.blog-content {
    padding: var(--space-md);
}

.news-card,
.blog-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow var(--transition-base), transform var(--transition-fast);
    padding: 0;
}

.news-card:hover,
.blog-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.news-card .news-content,
.blog-card .blog-content {
    padding: var(--space-md);
}

/* ---------- DETAIL PAGE STYLES ---------- */
.detail-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-xs);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.detail-meta .badge {
    background: var(--color-surface-alt);
    color: var(--color-text-muted);
    padding: 0.15rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
}

.detail-divider {
    border: none;
    height: 1px;
    background: var(--color-border);
    margin: var(--space-md) 0 var(--space-lg) 0;
    width: 100%;
}

.detail-author {
    font-style: italic;
}

/* Responsive */
@media (max-width: 767px) {
    .detail-title {
        font-size: var(--font-size-3xl);
    }
    
    .detail-meta {
        font-size: 0.75rem;
        gap: var(--space-xs);
    }
}

@media (max-width: 399px) {
    .detail-title {
        font-size: var(--font-size-2xl);
    }
}
/* ---------- DETAIL PAGE STYLES ---------- */
.detail-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-xs);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.detail-meta .badge {
    background: var(--color-surface-alt);
    color: var(--color-text-muted);
    padding: 0.15rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
}

.detail-author {
    font-weight: 500;
    color: var(--color-text);
}

.detail-author::before {
    content: '✍️ ';
}

.detail-divider {
    border: none;
    height: 1px;
    background: var(--color-border);
    margin: var(--space-md) 0 var(--space-lg) 0;
    width: 100%;
}

/* Responsive */
@media (max-width: 767px) {
    .detail-title {
        font-size: var(--font-size-3xl);
    }
    
    .detail-meta {
        font-size: 0.75rem;
        gap: var(--space-xs);
    }
}

@media (max-width: 399px) {
    .detail-title {
        font-size: var(--font-size-2xl);
    }
}
.detail-location {
    color: var(--color-text-muted);
}

.detail-location::before {
    content: '📍 ';
}
/* ====================================================
   CONTACT PAGE
   ==================================================== */

.contact-page {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.contact-header h1 {
    margin-bottom: var(--space-xs);
}

.contact-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

/* Contact Info */
.contact-info h2,
.contact-form-wrapper h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-md);
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-label {
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.contact-info-item a {
    color: var(--color-primary);
    font-size: var(--font-size-md);
    transition: color var(--transition-fast);
}

.contact-info-item a:hover {
    color: var(--color-primary-dark);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-form .form-group {
    margin-bottom: var(--space-md);
}

.contact-form label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: var(--font-size-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-background);
    transition: border-color var(--transition-fast);
    color: var(--color-text);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--color-text-light);
}

.contact-form .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
}

.form-success {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: #e8f5e9;
    border-radius: var(--radius-sm);
    color: #2e7d32;
    font-size: var(--font-size-sm);
    text-align: center;
    display: none;
}

/* Emergency Section */
.emergency-section {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: #fff3e0;
    border-radius: var(--radius-md);
    border-left: 4px solid #e65100;
}

.emergency-section h2 {
    font-size: var(--font-size-2xl);
    color: #e65100;
    margin-bottom: var(--space-xs);
}

.emergency-section > p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.emergency-card {
    background: var(--color-surface);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.emergency-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xs);
}

.emergency-phone {
    font-size: var(--font-size-md);
    font-weight: 500;
    color: var(--color-primary);
}

.emergency-address {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1023px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .contact-form-wrapper {
        padding: var(--space-md);
    }
    
    .emergency-section {
        padding: var(--space-md);
    }
}