﻿/* SLBC Brand Design System */
:root {
    --primary: #007A3D;
    --primary-dark: #005c2e;
    --primary-light: #00994d;
    --accent: #3D3D3D;
    --accent-dark: #2D2D2D;
    --accent-silver: #C0C0C0;
    --text: #222222;
    --text-body: #222222;
    --text-light: #555555;
    --bg: #F8F9FA;
    --white: #FFFFFF;
    --border: #dde2e8;
    --shadow: 0 2px 16px rgba(0, 122, 61, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 122, 61, 0.12);
    --radius: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --font: 'Cairo', sans-serif;
    --nav-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.75; font-size: 1.05rem; -webkit-font-smoothing: antialiased; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: #f2f2f2; border-bottom: 1px solid #e0e0e0;
    transition: var(--transition);
    isolation: isolate;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-container {
    display: flex; align-items: center; justify-content: space-between;
    min-height: var(--nav-height);
    height: auto;
    padding: 10px 0;
    overflow: visible;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--primary-dark);
    flex-shrink: 0;
    max-width: min(380px, 42vw);
    background: transparent;
    overflow: visible;
    line-height: normal;
}
.logo-img {
    height: 52px;
    width: auto;
    max-height: 56px;
    max-width: none;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
    display: block;
    background: transparent;
    mix-blend-mode: normal;
}
.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    overflow: visible;
    gap: 2px;
}
.logo-title {
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--primary-dark);
    overflow: visible;
    white-space: normal;
}
.logo-sub { font-size: 0.65rem; color: var(--primary); font-weight: 600; letter-spacing: 1.5px; line-height: 1.2; }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu a {
    text-decoration: none; color: var(--text); font-weight: 500;
    font-size: 0.88rem; padding: 8px 14px; border-radius: 6px; transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); background: rgba(26, 92, 58, 0.06); }

.lang-switch {
    display: flex; align-items: center; gap: 6px;
    margin-inline-start: 8px; padding-inline-start: 12px;
    border-inline-start: 1px solid var(--border);
}
.lang-switch a { font-size: 0.82rem !important; padding: 4px 8px !important; }
.lang-switch a.active { color: var(--primary) !important; font-weight: 700 !important; }
.lang-switch span { color: var(--border); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--primary-dark); }

/* Hero */
.hero-slider, .cafsy-hero {
    position: relative; height: 85vh; min-height: 520px;
    overflow: hidden; margin-top: var(--nav-height);
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.active { opacity: 1; }
.slide-bg {
    position: absolute; inset: 0; background-size: cover;
    background-position: center; transform: scale(1.04); transition: transform 8s ease;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,45,30,0.55) 0%, rgba(15,45,30,0.75) 100%);
}
.slide-content {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center; padding: 40px 20px;
}
.slide-content h1 {
    font-size: clamp(1.8rem, 4.5vw, 3rem); color: var(--white);
    max-width: 800px; line-height: 1.35; font-weight: 700;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.hero-subtitle {
    color: rgba(255,255,255,0.92); font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 700px; margin-top: 20px; line-height: 1.7;
}

.slider-dots {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 10;
}
.slider-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: var(--transition);
}
.slider-dot.active { background: var(--white); transform: scale(1.2); }

.slider-arrows {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 10; width: 100%; display: flex;
    justify-content: space-between; padding: 0 24px; pointer-events: none;
}
.slider-arrow {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
    color: var(--white); cursor: pointer; pointer-events: all;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); }

/* Hero video (replaces image slider on homepage) */
.hero-video-hero {
    position: relative;
    margin-top: var(--nav-height);
    width: 100%;
    height: calc(100vh - var(--nav-height));
    overflow: hidden;
    background: #007A3D;
}
.hero-video-hero .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.hero-video-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #007A3D 0%, #005c2e 100%);
}

/* Sections */
.section { padding: 72px 0; }
.section-light { background: var(--bg); }
.section-white { background: var(--white); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem); color: var(--primary-dark);
    margin-bottom: 12px; font-weight: 700;
}
.section-header p { color: var(--text-light); max-width: 640px; margin: 0 auto; font-size: 1rem; }
.section-cta { text-align: center; margin-top: 40px; }

/* Institutional */
.institutional-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.institutional-image {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); aspect-ratio: 4/3;
}
.institutional-image img { width: 100%; height: 100%; object-fit: cover; }
.institutional-text h2 {
    font-size: 1.5rem; color: var(--primary-dark); margin-bottom: 16px; font-weight: 700;
}
.institutional-text p { color: #222222; margin-bottom: 12px; font-size: 0.95rem; }
.institutional-extended { font-size: 0.9rem; }

/* Stats */
.stats-section { background: var(--primary-dark); padding: 56px 0; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat-item .stat-number {
    display: block; font-size: 3rem; font-weight: 800; color: var(--white); line-height: 1;
}
.stat-item .stat-label { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-top: 8px; }

/* Pillars */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 28px 24px; box-shadow: var(--shadow);
    border: 1px solid var(--border); transition: var(--transition);
    position: relative;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.pillar-num {
    font-size: 2rem; font-weight: 800; color: var(--primary);
    opacity: 0.25; line-height: 1; margin-bottom: 8px;
}
.pillar-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(26, 92, 58, 0.1); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; margin-bottom: 14px;
}
.pillar-card h3 { font-size: 1rem; color: var(--primary-dark); margin-bottom: 8px; font-weight: 700; }
.pillar-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

/* Vision Mission */
.vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card {
    padding: 36px; border-radius: var(--radius-lg);
    position: relative; overflow: hidden;
}
.vision-card { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); }
.mission-card { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); color: var(--white); }
.vm-card i { font-size: 2rem; opacity: 0.3; margin-bottom: 12px; }
.vm-card h2 { font-size: 1.3rem; margin-bottom: 14px; font-weight: 700; }
.vm-card p { opacity: 0.92; line-height: 1.8; font-size: 0.95rem; }

/* Join CTA */
.join-cta-section {
    padding: 48px 0 72px;
    background: #eceeed;
    margin-bottom: 0;
}
.join-cta-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    box-shadow: 0 20px 50px rgba(15, 45, 30, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.join-cta-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
    pointer-events: none;
}
.join-cta-pattern::after {
    content: '';
    position: absolute; top: -50%; right: -20%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.join-cta-content {
    position: relative; z-index: 1;
    text-align: center;
    padding: 52px 40px 56px;
    color: var(--white);
}
.join-cta-icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: #f7f9f8;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #3D3D3D;
    border: 1px solid rgba(61, 61, 61, 0.15);
}
.join-cta-icon i {
    color: #3D3D3D;
}
.join-cta-card h2 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.join-cta-card p {
    max-width: 620px;
    margin: 0 auto 32px;
    font-size: 1.05rem;
    line-height: 1.85;
    font-weight: 500;
    opacity: 0.92;
}
.join-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-cta-main {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-cta-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-cta-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.08);
    transition: var(--transition);
}
.btn-cta-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Legacy alias */
.join-cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 56px 40px; text-align: center; color: var(--white);
    border-radius: 20px;
}
.join-cta-box h2 { font-size: 1.8rem; margin-bottom: 12px; font-weight: 700; }
.join-cta-box p { max-width: 600px; margin: 0 auto 28px; opacity: 0.92; font-size: 1rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 6px; font-weight: 600;
    font-size: 0.92rem; text-decoration: none; transition: var(--transition);
    border: none; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary-dark); }
.btn-white:hover { background: var(--bg); transform: translateY(-2px); }

/* News Cards */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.news-card {
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow); transition: var(--transition);
    text-decoration: none; color: inherit; display: block; border: 1px solid var(--border);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card-image { position: relative; height: 200px; overflow: hidden; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
    pointer-events: none;
}
.news-media-badge {
    position: absolute;
    bottom: 12px;
    inset-inline-end: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 122, 61, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
}
.news-card:hover .news-card-image img,
.news-card:hover .news-card-video-thumb { transform: scale(1.06); }
.news-category {
    position: absolute; top: 12px; inset-inline-start: 12px;
    padding: 4px 12px; border-radius: 4px; font-size: 0.72rem;
    font-weight: 600; color: var(--white);
}
.cat-laws { background: #3D3D3D; }
.cat-events { background: var(--primary); }
.cat-meetings { background: #805ad5; }
.cat-visits { background: #dd6b20; }
.cat-activities { background: #3182ce; }
.news-card-body { padding: 20px; }
.news-card-date { font-size: 0.78rem; color: #3D3D3D; margin-bottom: 8px; font-weight: 600; }
.news-card-body h3 { font-size: 1.05rem; color: var(--primary-dark); margin-bottom: 10px; line-height: 1.4; }
.read-more-link { color: var(--primary); font-weight: 600; font-size: 0.88rem; }

/* Page Header */
.page-header {
    background: #007A3D;
    padding: calc(var(--nav-height) + 48px) 0 56px;
    text-align: center;
}
.page-header h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--white); font-weight: 700; }
.page-header p { color: rgba(255,255,255,0.85); margin-top: 10px; font-size: 1.05rem; }

/* Board */
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.member-card {
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow); text-align: center;
    border: 1px solid var(--border); transition: var(--transition);
}
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.member-photo { height: 260px; overflow: hidden; position: relative; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-role-badge {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(15,45,30,0.9));
    color: var(--white); padding: 24px 12px 10px; font-weight: 600; font-size: 0.82rem;
}
.member-info { padding: 20px; }
.member-info h3 { color: var(--primary-dark); font-size: 1.1rem; margin-bottom: 6px; }
.member-info p { color: var(--text-light); font-size: 0.88rem; }

/* About Page */
.about-hero,
.page-hero {
    position: relative; min-height: 320px;
    display: flex; align-items: center; justify-content: center;
    margin-top: var(--nav-height); overflow: hidden;
}
.about-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.05);
}
.about-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.5) 100%);
}
.about-hero-content {
    position: relative; z-index: 2;
    text-align: center; padding: 56px 20px; color: var(--white);
}
.about-hero-badge {
    display: inline-block; padding: 6px 18px;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px; font-size: 0.82rem; font-weight: 600;
    margin-bottom: 16px; backdrop-filter: blur(8px);
}
.about-hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800;
    margin-bottom: 12px; letter-spacing: -0.02em;
}
.about-hero p {
    font-size: 1.1rem; max-width: 560px; margin: 0 auto;
    color: rgba(255,255,255,0.92); line-height: 1.8; font-weight: 500;
}

/* Join / membership hero — show flags at bottom of artwork */
.page-hero-join {
    min-height: 380px;
}
.page-hero-join .about-hero-bg {
    background-position: 52% 78%;
    background-size: cover;
    transform: scale(1.02);
}
/* Contact hero — center boardroom / flags artwork */
.page-hero-contact .about-hero-bg {
    background-position: center 42%;
    background-size: cover;
}
@media (max-width: 768px) {
    .page-hero-join {
        min-height: 300px;
    }
    .page-hero-join .about-hero-bg {
        background-position: 48% 82%;
    }
    .page-hero-contact .about-hero-bg {
        background-position: center 38%;
    }
}

.about-intro-section { padding-top: 64px; }
.about-intro-grid {
    display: grid; grid-template-columns: 0.95fr 1.05fr;
    gap: 56px; align-items: center;
}
.about-intro-visual {
    display: flex; align-items: center; justify-content: center;
}
.about-intro-logo-wrap {
    width: 100%; max-width: 420px; margin: 0 auto;
    background: var(--white); border-radius: var(--radius-lg);
    border: 2px solid var(--accent-silver);
    box-shadow: var(--shadow-lg);
    padding: 40px 32px;
    display: flex; align-items: center; justify-content: center;
}
.about-intro-logo-wrap img {
    width: 100%; max-width: 320px; height: auto;
    object-fit: contain; display: block;
}
.about-intro-logo-wrap.about-intro-logo-icon {
    max-width: 220px;
    margin-inline: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    overflow: visible;
}
.about-intro-logo-wrap.about-intro-logo-icon img {
    width: auto;
    max-width: 200px;
    max-height: 220px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    mix-blend-mode: normal;
}
.about-intro-logo-wrap.about-intro-logo-official {
    max-width: 440px;
    margin-inline: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    overflow: visible;
}
.about-intro-logo-wrap.about-intro-logo-official img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}
.about-intro-president {
    display: grid;
    grid-template-columns: minmax(140px, 0.42fr) 1fr;
    gap: 24px;
    align-items: center;
    width: 100%;
    max-width: 520px;
    margin-inline-start: auto;
}
.about-intro-president-photo {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--accent-silver);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3 / 4;
    background: var(--white);
    transition: var(--transition);
    text-decoration: none;
}
.about-intro-president-photo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.about-intro-president-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.about-intro-president-word {
    text-align: start;
}
.about-intro-president-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #007A3D;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.about-intro-president-label i {
    color: #C0C0C0;
    font-size: 0.9rem;
}
.about-intro-president-word blockquote {
    margin: 0 0 14px;
    padding: 0;
    border: none;
    font-size: 0.92rem;
    line-height: 1.85;
    color: #222222;
    font-weight: 500;
}
.about-intro-president-word cite {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-style: normal;
    font-size: 0.84rem;
    color: #555555;
}
.about-intro-president-word cite strong {
    color: #007A3D;
    font-size: 0.92rem;
}
.about-intro-grid-home {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
    gap: 56px;
    align-items: center;
}
.about-intro-president-word-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border-radius: var(--radius-lg);
    padding: 8px;
    margin: -8px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.about-intro-president-word-link:hover {
    box-shadow: 0 8px 28px rgba(0, 122, 61, 0.12);
    transform: translateY(-2px);
}
.about-intro-president-word-link:focus-visible {
    outline: 2px solid #007A3D;
    outline-offset: 4px;
}
html[dir="ltr"] .about-intro-grid-home {
    grid-template-columns: 1.1fr minmax(260px, 0.9fr);
}
html[dir="ltr"] .about-intro-grid-home .about-intro-president-word-only {
    order: 1;
}
html[dir="ltr"] .about-intro-grid-home .about-intro-photo-home-slot {
    order: 2;
}
.about-intro-photo-home-slot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
html[dir="ltr"] .about-intro-photo-home-slot {
    justify-content: flex-start;
}
.about-intro-president-photo-home {
    display: block;
    max-width: 420px;
    width: 100%;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dde2e8;
    box-shadow: 0 8px 24px rgba(0, 122, 61, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.about-intro-president-photo-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 122, 61, 0.15);
}
.about-intro-president-photo-home:focus-visible {
    outline: 2px solid #007A3D;
    outline-offset: 4px;
}
.about-intro-president-photo-home img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    object-position: top center;
}
.about-intro-president-word-only {
    width: 100%;
    max-width: 100%;
}
html[dir="rtl"] .about-intro-grid {
    grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
}
html[dir="rtl"] .about-intro-visual {
    justify-content: center;
}
html[dir="ltr"] .about-intro-grid {
    grid-template-columns: 1.1fr minmax(260px, 0.9fr);
}
html[dir="ltr"] .about-intro-visual {
    order: 2;
    justify-content: flex-end;
}
html[dir="ltr"] .about-intro-text {
    order: 1;
}

.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--primary); font-weight: 700; font-size: 0.9rem;
    margin-bottom: 12px;
}
.about-intro-text h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    color: var(--primary-dark); font-weight: 800;
    margin-bottom: 24px; line-height: 1.45;
}
.about-prose {
    color: var(--text-body); font-size: 1.08rem;
    line-height: 2.1; font-weight: 500;
    text-align: justify;
}
.about-prose p { margin-bottom: 1em; }

.about-highlights {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.about-highlight-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 28px 22px; border: 1px solid var(--border);
    box-shadow: var(--shadow); transition: var(--transition);
    text-align: center;
}
.about-highlight-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-lg);
    border-color: rgba(26, 92, 58, 0.25);
}
.highlight-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white); display: flex; align-items: center;
    justify-content: center; font-size: 1.25rem;
    margin: 0 auto 16px;
}
.about-highlight-card h3 {
    font-size: 1rem; color: var(--primary-dark);
    font-weight: 700; margin-bottom: 10px;
}
.about-highlight-card p {
    font-size: 0.92rem; color: var(--text-body);
    line-height: 1.75; font-weight: 500;
}

.about-vm-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.about-vm-card {
    border-radius: var(--radius-lg); padding: 40px 36px;
    display: flex; gap: 24px; align-items: flex-start;
    box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.about-vm-card::before {
    content: ''; position: absolute; top: -40px; inset-inline-end: -40px;
    width: 140px; height: 140px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.about-vm-card.vision-card {
    background: linear-gradient(145deg, var(--primary-dark), var(--primary-light));
    color: var(--white);
}
.about-vm-card.mission-card {
    background: linear-gradient(145deg, #1e293b, #334155);
    color: var(--white);
}
.about-vm-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: rgba(255,255,255,0.15); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.about-vm-body h2 {
    font-size: 1.35rem; font-weight: 800; margin-bottom: 14px;
}
.about-vm-body p {
    font-size: 1.05rem; line-height: 2; font-weight: 500;
    opacity: 0.95;
}

.about-cta-section { padding: 0 0 72px; }
.about-cta-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-lg); padding: 48px 40px;
    text-align: center; color: var(--white);
    box-shadow: var(--shadow-lg);
}
.about-cta-box h2 {
    font-size: 1.6rem; font-weight: 800; margin-bottom: 12px;
}
.about-cta-box p {
    max-width: 620px; margin: 0 auto 28px;
    font-size: 1.05rem; line-height: 1.85; font-weight: 500;
    opacity: 0.92;
}
.about-cta-actions {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.btn-outline-light {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
    padding: 12px 28px; border-radius: 6px;
    font-weight: 600; text-decoration: none; transition: var(--transition);
}
.btn-outline-light:hover {
    background: var(--white); color: var(--primary-dark);
    border-color: var(--white);
}

/* Legacy about (other pages) */
.about-content { max-width: 860px; margin: 0 auto; }
.about-block {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 36px; margin-bottom: 24px; box-shadow: var(--shadow);
    border-inline-start: 4px solid var(--primary);
}
.about-block h2 { color: var(--primary-dark); margin-bottom: 14px; font-size: 1.4rem; font-weight: 700; }
.about-block p { color: var(--text-body); line-height: 2; font-size: 1.05rem; font-weight: 500; }

/* News filter & detail */
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
    padding: 8px 18px; border-radius: 6px; border: 1px solid var(--border);
    background: var(--white); color: var(--text); font-weight: 500;
    cursor: pointer; text-decoration: none; font-family: inherit; font-size: 0.88rem; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

.news-detail { max-width: 860px; margin: 0 auto; }

/* News detail — top bar */
.news-detail-topbar {
    margin-top: var(--nav-height);
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
}
.news-detail-topbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007A3D 0%, #00994d 50%, #3D3D3D 100%);
}
.news-detail-topbar .container {
    padding-top: 22px;
    padding-bottom: 24px;
}
.news-detail-topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}
.news-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #007A3D;
    border: 1px solid rgba(0, 122, 61, 0.25);
    border-radius: 8px;
    padding: 7px 14px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(0, 122, 61, 0.05);
    transition: var(--transition);
}
.news-detail-back:hover {
    background: #007A3D;
    color: #FFFFFF;
    border-color: #007A3D;
}
.news-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.news-detail-category { position: static !important; display: inline-block; margin: 0; }
.news-detail-date {
    font-size: 0.88rem;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.news-detail-date i { color: #3D3D3D; }
.news-detail-title {
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.45;
    text-align: start;
}

.news-detail-section { background: #F8F9FA; padding: 32px 0 64px; }
.news-detail-card {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 36px 36px;
    box-shadow: var(--shadow);
}
.news-detail-image {
    max-width: 420px;
    margin: 0 auto 28px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #F3F4F6;
    border: 1px solid var(--border);
    text-align: center;
}
.news-detail-image img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    padding: 8px;
}
.news-detail-video {
    max-width: 100%;
    margin: 0 auto 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #000;
}
.news-detail-video video { width: 100%; max-height: 480px; display: block; background: #000; }
.news-detail-body { width: 100%; }
.news-detail-content {
    width: 100%;
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text);
    text-align: start;
}
.news-detail-gallery-wrap { margin-top: 28px; }
.news-detail-gallery-wrap h3 { color: #3D3D3D; font-size: 1.05rem; margin-bottom: 14px; }
.news-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.news-gallery img { width: 100%; height: 140px; object-fit: cover; border-radius: var(--radius); cursor: pointer; border: 1px solid var(--border); }
.news-gallery-video {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #000;
}
.news-gallery-video video {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}
.news-share-box {
    margin-top: 36px;
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #FAFBFC;
}
.news-share-title {
    color: #007A3D;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
    justify-content: flex-start;
}
.share-btn {
    min-width: 108px;
    height: auto;
    min-height: 44px;
    border-radius: 10px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 12px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.05rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.share-btn span { font-size: 0.72rem; font-weight: 600; line-height: 1.2; }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); color: #FFFFFF; }
.share-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.share-facebook { background: #1877f2; }
.share-x { background: #000000; }
.share-whatsapp { background: #25d366; }
.share-linkedin { background: #0a66c2; }
.share-telegram { background: #0088cc; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-info-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border);
}
.contact-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(26, 92, 58, 0.1); color: var(--primary);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item h4 { color: var(--primary-dark); margin-bottom: 4px; font-size: 0.88rem; }
.contact-item a, .contact-item p { color: var(--text-light); text-decoration: none; font-size: 0.9rem; }
.contact-item a:hover { color: var(--primary); }
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 400px; }
.map-container iframe { width: 100%; height: 100%; min-height: 400px; border: 0; }
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 24px; }
.social-card {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 16px; background: var(--bg); border-radius: var(--radius);
    text-decoration: none; color: var(--text); transition: var(--transition); border: 1px solid var(--border);
}
.social-card:hover { background: var(--white); box-shadow: var(--shadow); }
.social-card i { font-size: 1.5rem; color: var(--primary); }
.social-card span { font-size: 0.8rem; font-weight: 500; }
.themed-social .social-card.social-instagram i { color: #E4405F; }
.themed-social .social-card.social-whatsapp i { color: #25D366; }
.themed-social .social-card.social-facebook i { color: #1877F2; }
.themed-social .social-card.social-linkedin i { color: #0A66C2; }
.themed-social .social-card.social-telegram i { color: #26A5E4; }
.themed-social .social-card.social-x i { color: #000000; }
.themed-social .social-card.social-instagram:hover { border-color: #E4405F; }
.themed-social .social-card.social-whatsapp:hover { border-color: #25D366; }
.themed-social .social-card.social-facebook:hover { border-color: #1877F2; }
.themed-social .social-card.social-linkedin:hover { border-color: #0A66C2; }
.themed-social .social-card.social-telegram:hover { border-color: #26A5E4; }
.themed-social .social-card.social-x:hover { border-color: #000000; }
.footer-contact-list .footer-whatsapp-link i { color: #25D366; }

/* Homepage contact */
.home-contact-section {
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
    position: relative;
}
.home-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #007A3D;
}
.home-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}
.home-contact-info h3,
.home-contact-form-card h3 {
    color: #007A3D;
    font-size: 1.35rem;
    margin-bottom: 20px;
    font-weight: 800;
}
.home-contact-form-card .contact-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1B2A47;
    font-size: 0.9rem;
}
.home-contact-form-card .contact-form label i {
    color: #007A3D;
    width: 18px;
    text-align: center;
}
.home-contact-form-card .form-group input,
.home-contact-form-card .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dde2e8;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    background: #FAFBFC;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.home-contact-form-card .form-group input:focus,
.home-contact-form-card .form-group textarea:focus {
    outline: none;
    border-color: #007A3D;
    box-shadow: 0 0 0 3px rgba(0, 122, 61, 0.12);
    background: #FFFFFF;
}
.home-contact-more {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.home-contact-info .contact-logo {
    display: block;
    margin-inline: auto;
    height: 72px;
    width: auto;
    object-fit: contain;
}
.home-contact-info h3 {
    text-align: center;
}

/* Forms */
.form-container {
    max-width: 680px; margin: 0 auto; background: var(--white);
    border-radius: var(--radius-lg); padding: 36px;
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--primary-dark); font-size: 0.88rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 11px 14px; border: 1px solid var(--border);
    border-radius: 8px; font-family: inherit; font-size: 0.92rem;
    background: var(--bg); transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 92, 58, 0.12); background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 500; }
.alert-success { background: #f0fff4; color: #276749; border: 1px solid #9ae6b4; }
.alert-error { background: #fff5f5; color: #c53030; border: 1px solid #feb2b2; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-light); }
.empty-state i { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.3; }

/* Footer — compact */
.footer {
    background: #f2f2f2;
    color: #444444;
    padding: 0 0 16px;
    position: relative;
}
.footer-accent {
    height: 3px;
    background: #007A3D;
}
.footer-inner { padding-top: 28px; }
.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1.1fr auto;
    gap: 28px 32px;
    align-items: start;
    padding-bottom: 20px;
}
.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 8px;
}
.footer-logo-icon {
    height: 48px;
    width: auto;
    max-height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    background: transparent;
    mix-blend-mode: normal;
}
.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.footer-logo { height: 40px; width: auto; display: block; }
.footer-brand-name {
    color: #007A3D;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    max-width: 220px;
}
.footer-brand-sub {
    color: #007A3D;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    line-height: 1.2;
    opacity: 0.85;
}
.footer-tagline {
    font-size: 0.78rem;
    line-height: 1.65;
    color: #666666;
    margin: 0;
    max-width: 280px;
}
.footer h4 {
    color: #007A3D;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0, 122, 61, 0.25);
    display: inline-block;
}
.footer-nav-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 12px;
}
.footer-nav-list a {
    color: #555555;
    text-decoration: none;
    font-size: 0.8rem;
    line-height: 1.9;
    transition: var(--transition);
}
.footer-nav-list a:hover { color: #007A3D; }
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-contact-list li,
.footer-contact-list a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #555555;
    text-decoration: none;
    transition: var(--transition);
}
.footer-contact-list a:hover { color: #007A3D; }
.footer-contact-list i {
    color: #007A3D;
    font-size: 0.72rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #dddddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007A3D;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}
.social-links a.social-instagram { color: #E4405F; }
.social-links a.social-instagram:hover {
    background: #E4405F;
    border-color: #E4405F;
    color: #FFFFFF;
}
.social-links a.social-whatsapp { color: #25D366; }
.social-links a.social-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: #FFFFFF;
}
.social-links a.social-facebook { color: #1877F2; }
.social-links a.social-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #FFFFFF;
}
.social-links a.social-linkedin { color: #0A66C2; }
.social-links a.social-linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    color: #FFFFFF;
}
.social-links a.social-telegram { color: #26A5E4; }
.social-links a.social-telegram:hover {
    background: #26A5E4;
    border-color: #26A5E4;
    color: #FFFFFF;
}
.social-links a.social-x { color: #000000; }
.social-links a.social-x:hover {
    background: #000000;
    border-color: #000000;
    color: #FFFFFF;
}
.footer-bottom {
    text-align: center;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.72rem;
    color: #888888;
}
.footer-bottom p { margin: 0; }

/* Legacy footer classes (admin etc.) */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-about p { font-size: 0.88rem; line-height: 1.7; }
.footer-links ul { list-style: none; }
.footer-links a {
    color: #555555; text-decoration: none;
    font-size: 0.88rem; line-height: 2.2; transition: var(--transition);
}
.footer-links a:hover { color: #007A3D; }
.footer-contact li {
    font-size: 0.82rem; margin-bottom: 8px;
    display: flex; align-items: flex-start; gap: 8px;
}
.footer-contact i { color: var(--primary-light); margin-top: 3px; }

/* Scroll top */
.scroll-top {
    position: fixed; bottom: 24px; inset-inline-end: 24px;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    border: none; cursor: pointer; z-index: 99;
    opacity: 0; visibility: hidden; transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-dark); }

/* Animations — visible by default; hidden only when JS scroll observer runs */
.fade-in { opacity: 1; transform: none; }
html.js .fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s, transform 0.5s; }
html.js .fade-in.visible { opacity: 1; transform: translateY(0); }

.news-video { margin: 24px 0; border-radius: var(--radius-lg); overflow: hidden; }
.news-video video { width: 100%; max-height: 480px; }

/* Responsive */
@media (max-width: 992px) {
    .institutional-grid, .contact-grid, .vision-mission-grid, .footer-grid,
    .about-intro-grid, .about-vm-grid { grid-template-columns: 1fr; }
    html[dir="rtl"] .about-intro-grid,
    html[dir="ltr"] .about-intro-grid,
    html[dir="rtl"] .about-intro-grid-home,
    html[dir="ltr"] .about-intro-grid-home {
        grid-template-columns: 1fr !important;
        gap: 28px;
    }
    .about-intro-grid-home .about-intro-president-word-only,
    html[dir="ltr"] .about-intro-grid-home .about-intro-president-word-only {
        order: 1;
    }
    .about-intro-grid-home .about-intro-photo-home-slot,
    html[dir="ltr"] .about-intro-grid-home .about-intro-photo-home-slot {
        order: 2;
        justify-content: center;
    }
    .about-intro-visual {
        justify-content: center;
        width: 100%;
    }
    html[dir="rtl"] .about-intro-visual,
    html[dir="ltr"] .about-intro-visual {
        justify-content: center;
    }
    .about-intro-logo-wrap.about-intro-logo-official {
        margin-inline: auto;
        max-width: 100%;
    }
    .about-intro-text {
        width: 100%;
        text-align: start;
    }
    .about-intro-text h2 {
        text-align: start;
        line-height: 1.45;
    }
    .about-prose {
        text-align: start;
        line-height: 1.85;
    }
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .footer-brand { grid-column: 1 / -1; }
    .about-highlights { grid-template-columns: repeat(2, 1fr); }
    .about-intro-logo-wrap { padding: 28px 20px; max-width: 360px; }
    .about-intro-president {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin-inline: 0;
        gap: 20px;
    }
    .about-intro-president-photo { max-width: 220px; margin-inline: auto; }
    .about-intro-president-word,
    .about-intro-president-word-only {
        text-align: start;
    }
    .about-intro-president-word blockquote,
    .about-intro-president-word-only blockquote {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    .about-intro-president-photo-home {
        max-width: min(280px, 100%);
        margin-inline: auto;
    }
    .about-intro-president-photo-home img {
        max-height: 240px;
    }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    body { overflow-x: hidden; }
    .container { padding: 0 16px; }
    .nav-toggle { display: flex; z-index: 1002; flex-shrink: 0; }
    .logo {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        flex: 1;
        max-width: calc(100% - 48px);
        text-decoration: none;
    }
    .logo-text {
        display: flex !important;
        flex-direction: column;
        min-width: 0;
        flex: 1;
    }
    .logo-title {
        font-size: clamp(0.62rem, 2.9vw, 0.78rem);
        line-height: 1.35;
        white-space: normal;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .logo-sub {
        font-size: 0.58rem;
        line-height: 1.2;
    }
    .nav-container {
        position: relative;
        gap: 12px;
        padding-inline: 4px;
    }
    .logo-img {
        height: 52px;
        max-height: 56px;
        max-width: none;
        width: auto;
        object-fit: contain;
        object-position: center;
        mix-blend-mode: normal;
    }
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        inset-inline: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px 16px 20px;
        background: #f2f2f2;
        box-shadow: var(--shadow-lg);
        z-index: 1001;
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav-menu > li { width: 100%; }
    .nav-menu a {
        display: block;
        width: 100%;
        padding: 12px 16px !important;
        border-radius: 8px;
    }
    .lang-switch {
        border: none !important;
        padding: 8px 0 0 !important;
        margin: 8px 0 0 !important;
        justify-content: center;
        width: 100%;
    }
    body.nav-open { overflow: hidden; }
    .pillars-grid, .stats-row, .about-highlights { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .section { padding: 48px 0; }
    .about-intro-section { padding: 40px 0; }
    .hero-slider, .cafsy-hero { min-height: 0; }
    .hero-video-hero {
        height: 56vh;
        min-height: 260px;
        max-height: 420px;
    }
    .hero-video-hero .hero-video {
        object-fit: cover;
        object-position: center center;
    }
    .footer-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-nav-list { grid-template-columns: 1fr 1fr; }
    .footer-inner { padding-top: 22px; }
    .news-detail-card { padding: 22px 18px 26px; }
    .news-detail-image { max-width: 100%; }
    .news-detail-image img { max-height: 180px; }
    .news-detail-topbar-row { flex-direction: column; align-items: flex-start; }
    .news-detail-meta { width: 100%; justify-content: space-between; }
    .share-btn { min-width: calc(50% - 6px); flex: 1 1 calc(50% - 6px); }
}
