/* ============================================================
   EduTrain Vietnam - Public Site Stylesheet
   ============================================================ */

:root {
    --primary: #0F4C81;
    --primary-dark: #0A3560;
    --primary-light: #1A6BB5;
    --accent: #F39C12;
    --accent-light: #F5B041;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-mid: #5D6D7E;
    --text-light: #95A5A6;
    --border: #E5E8EB;
    --success: #27AE60;
    --danger: #E74C3C;
    --warning: #F39C12;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: .25s ease;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; display: block; }

/* ─── Header ─────────────────────────────────────────────── */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 3px solid var(--primary);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.5rem; font-weight: 800; color: var(--primary);
    flex-shrink: 0;
    position: relative;
}
.logo:hover { color: var(--primary); }
.logo-icon { font-size: 1.8rem; color: var(--accent); }
.logo-accent { color: var(--accent); }
.logo-triangle {
    width: 24px; height: 24px;
    position: absolute; top: -6px; right: -20px;
}
.logo-icon { font-size: 1.8rem; color: var(--accent); }
.logo-accent { color: var(--accent); }

.nav-links {
    display: flex; align-items: center; gap: 4px;
    flex-wrap: nowrap;
}
.nav-links a {
    padding: 8px 12px; border-radius: var(--radius);
    color: var(--text-dark); font-weight: 500; font-size: .9rem;
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
    background: var(--primary); color: #fff;
}
.ext-icon { font-size: .6rem; margin-left: 3px; opacity: .7; }

.lang-switcher {
    display: flex; align-items: center; gap: 4px;
    margin-left: 8px; padding-left: 12px;
    border-left: 2px solid var(--border);
    flex-shrink: 0;
}
.lang-btn {
    padding: 4px 8px; border-radius: 4px;
    font-weight: 600; font-size: .85rem;
    color: var(--text-mid);
}
.lang-btn.active { background: var(--primary); color: #fff; }
.lang-btn:hover { background: var(--primary-light); color: #fff; }
.lang-divider { color: var(--text-light); }

.mobile-toggle {
    display: none; background: none; border: none;
    font-size: 1.5rem; color: var(--primary); cursor: pointer;
    padding: 8px; z-index: 1001;
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff; padding: 80px 0; text-align: center;
    position: relative; overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
    background: rgba(255,255,255,.05); border-radius: 50%;
}
.hero h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; position: relative; z-index: 1; }
.hero p { font-size: 1.15rem; max-width: 700px; margin: 0 auto 30px; opacity: .9; position: relative; z-index: 1; }
.hero-btn {
    display: inline-block; padding: 14px 36px; background: var(--accent);
    color: #fff; font-weight: 700; border-radius: 50px; font-size: 1rem;
    transition: all var(--transition); position: relative; z-index: 1;
}
.hero-btn:hover { background: var(--accent-light); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ─── Section Titles ─────────────────────────────────────── */
.section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.section-title p { font-size: 1.05rem; color: var(--text-mid); max-width: 600px; margin: 0 auto; }

/* ─── Service Cards ──────────────────────────────────────── */
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.service-card {
    background: var(--bg-white); border-radius: var(--radius-lg);
    padding: 40px 30px; text-align: center;
    box-shadow: var(--shadow-sm); transition: all var(--transition);
    border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card .icon {
    width: 70px; height: 70px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; color: #fff; font-size: 1.5rem;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--text-dark); }
.service-card p { color: var(--text-mid); font-size: .95rem; line-height: 1.7; }

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
    background: var(--primary); padding: 50px 0;
}
.stats-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    text-align: center; color: #fff;
}
.stat-item { text-align: center; }
.stat-item h3 { font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.stat-item p { font-size: .95rem; opacity: .85; margin-top: 5px; }

/* ─── CTA Section ────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #fff; padding: 70px 0; text-align: center;
}
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-section p { font-size: 1.1rem; margin-bottom: 30px; opacity: .9; }
.cta-btn {
    display: inline-block; padding: 14px 40px; background: var(--primary);
    color: #fff; font-weight: 700; border-radius: 50px; font-size: 1rem;
    transition: all var(--transition);
}
.cta-btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }

/* ─── About Page ─────────────────────────────────────────── */
.about-overview {
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.about-overview .text-content h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 16px; }
.about-overview .text-content p { color: var(--text-mid); line-height: 1.8; margin-bottom: 10px; }
.about-image-placeholder {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg); height: 350px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 4rem;
}

.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.mv-card {
    background: var(--bg-white); padding: 35px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); text-align: center;
    border-top: 4px solid var(--primary);
}
.mv-card h3 { color: var(--primary); margin-bottom: 12px; font-size: 1.15rem; }
.mv-card p { color: var(--text-mid); font-size: .95rem; line-height: 1.7; }

/* ─── Timeline ───────────────────────────────────────────── */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 30px; }
.timeline::before {
    content: ''; position: absolute; left: 15px; top: 0;
    width: 3px; height: 100%; background: var(--primary); opacity: .3;
}
.timeline-item {
    display: flex; margin-bottom: 30px; position: relative;
}
.timeline-content {
    width: 100%; padding: 25px; background: var(--bg-white);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    margin-left: 20px;
}
.timeline-content::before {
    content: ''; position: absolute; left: -24px; top: 30px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--primary); border: 3px solid #fff;
    box-shadow: var(--shadow-sm);
}
.timeline-content .year {
    display: inline-block; background: var(--primary); color: #fff;
    padding: 4px 14px; border-radius: 20px; font-weight: 700;
    font-size: .85rem; margin-bottom: 10px;
}
.timeline-content h4 { margin-bottom: 8px; color: var(--text-dark); }
.timeline-content p { color: var(--text-mid); font-size: .9rem; }

/* ─── Team Grid ──────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.team-card {
    background: var(--bg-white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm); text-align: center;
    transition: all var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-photo {
    height: 260px; background: linear-gradient(135deg, var(--primary), #2980B9);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 3.5rem;
    overflow: hidden;
}
.team-photo img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center top;
}
.team-info { padding: 20px; }
.team-info h4 { margin-bottom: 4px; color: var(--text-dark); }
.team-info .position { color: var(--primary); font-weight: 600; font-size: .85rem; margin-bottom: 10px; }
.team-info .team-contact { margin-bottom: 6px; font-size: .85rem; }
.team-info .team-contact a { color: var(--text-mid); text-decoration: none; }
.team-info .team-contact a:hover { color: var(--primary); }
.team-info .team-contact i { margin-right: 6px; color: var(--primary); }
.team-info p { color: var(--text-mid); font-size: .88rem; line-height: 1.6; }

/* ─── Steps / Roadmap ────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step-card {
    background: var(--bg-white); padding: 30px 20px; border-radius: var(--radius-lg);
    text-align: center; box-shadow: var(--shadow-sm);
    position: relative; transition: all var(--transition);
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-number {
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem;
    margin: 0 auto 15px;
}
.step-card h4 { font-size: .95rem; margin-bottom: 10px; color: var(--text-dark); }
.step-card p { color: var(--text-mid); font-size: .85rem; line-height: 1.6; }

/* ─── Partner Cards ──────────────────────────────────────── */
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.partner-card {
    background: var(--bg-white); border-radius: var(--radius-lg);
    padding: 25px; text-align: center; box-shadow: var(--shadow-sm);
    transition: all var(--transition); border: 1px solid var(--border);
}
.partner-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.partner-logo {
    height: 80px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 15px; color: var(--primary); font-size: 2.5rem;
}
.partner-card h4 { font-size: 1rem; margin-bottom: 6px; color: var(--text-dark); }
.partner-card .country { color: var(--primary); font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.partner-card p { color: var(--text-mid); font-size: .85rem; }

/* ─── Success Story ──────────────────────────────────────── */
.story-general {
    max-width: 800px; margin: 0 auto; text-align: center;
}
.story-general-image {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md); margin-bottom: 30px;
    max-width: 600px; margin-left: auto; margin-right: auto;
}
.story-general-image img { width: 100%; height: auto; display: block; cursor: pointer; }
.story-general-text p {
    font-size: 1.05rem; color: var(--text-mid); line-height: 1.9;
}

/* ─── Training Category Tabs ─────────────────────────────── */
.category-tabs {
    display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap;
}
.cat-tab {
    padding: 10px 24px; border-radius: 50px; border: 2px solid var(--primary);
    color: var(--primary); font-weight: 600; cursor: pointer;
    transition: all var(--transition); background: transparent;
}
.cat-tab.active, .cat-tab:hover { background: var(--primary); color: #fff; }

.training-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.training-card {
    background: var(--bg-white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm); display: flex;
    transition: all var(--transition);
}
.training-card:hover { box-shadow: var(--shadow-lg); }
.training-card .card-image {
    width: 200px; min-height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 3rem; flex-shrink: 0;
    aspect-ratio: 1; overflow: hidden;
}
.training-card .card-image img { width: 100%; height: 100%; object-fit: cover; }
.training-card .card-body { padding: 25px; flex: 1; }
.training-card .category-badge {
    display: inline-block; padding: 3px 12px; border-radius: 20px;
    font-size: .75rem; font-weight: 600; margin-bottom: 10px;
    background: rgba(15,76,129,.1); color: var(--primary);
}
.training-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text-dark); }
.training-card p { color: var(--text-mid); font-size: .9rem; margin-bottom: 12px; }
.feature-list { list-style: none; }
.feature-list li {
    padding: 3px 0; color: var(--text-mid); font-size: .85rem;
}
.feature-list li::before { content: '\2713 '; color: var(--success); font-weight: 700; }

/* ─── Activity Cards ─────────────────────────────────────── */
.activities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.activity-card {
    background: var(--bg-white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.activity-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.activity-card .card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), #2980B9);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 3rem;
}
.activity-card .card-image img { width: 100%; height: 100%; object-fit: cover; }
.activity-card .card-body { padding: 25px; }
.activity-card .date { color: var(--accent); font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.activity-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--text-dark); }
.activity-card p { color: var(--text-mid); font-size: .9rem; line-height: 1.6; }
.activity-card .location { color: var(--text-light); font-size: .85rem; margin-top: 10px; }
.activity-card .location i { margin-right: 5px; }

/* ─── Contact Page ───────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-form {
    background: var(--bg-white); padding: 40px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-weight: 600; margin-bottom: 6px;
    font-size: .9rem; color: var(--text-dark);
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 2px solid var(--border);
    border-radius: var(--radius); font-size: .95rem; font-family: inherit;
    transition: border-color var(--transition); background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
    padding: 14px 40px; background: var(--primary); color: #fff;
    border: none; border-radius: 50px; font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: all var(--transition); width: 100%;
}
.btn-submit:hover { background: var(--primary-dark); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }

.contact-info { display: flex; flex-direction: column; gap: 25px; }
.info-card {
    background: var(--bg-white); padding: 25px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); display: flex; gap: 15px; align-items: flex-start;
}
.info-card .icon-circle {
    width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.1rem; flex-shrink: 0;
}
.info-card h4 { font-size: .95rem; margin-bottom: 4px; color: var(--text-dark); }
.info-card p { color: var(--text-mid); font-size: .9rem; }
.map-container {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); margin-top: 10px;
}
.map-container iframe { width: 100%; height: 250px; border: 0; }

/* ─── Flash Messages ─────────────────────────────────────── */
.flash {
    padding: 14px 20px; border-radius: var(--radius);
    margin-bottom: 20px; font-weight: 500; font-size: .9rem;
}
.flash-success { background: #D4EDDA; color: #155724; border: 1px solid #C3E6CB; }
.flash-error { background: #F8D7DA; color: #721C24; border: 1px solid #F5C6CB; }
.flash-info { background: #D1ECF1; color: #0C5460; border: 1px solid #BEE5EB; }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
    background: #0A1929; color: rgba(255,255,255,.7); padding: 60px 0 0;
}
.footer-top {
    padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 30px;
}
.footer-brand h3 { color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
.footer-brand h3 i { color: var(--accent); margin-right: 6px; }
.footer-brand p { line-height: 1.7; font-size: .9rem; max-width: 500px; }
.footer-social { display: flex; gap: 12px; margin-top: 15px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7); transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-links-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-links-col h4 { color: #fff; font-size: 1rem; margin-bottom: 15px; }
.footer-links-col ul { list-style: none; }
.footer-links-col ul li { margin-bottom: 10px; }
.footer-links-col ul li a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color var(--transition); }
.footer-links-col ul li a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-contact li i { color: var(--accent); margin-top: 4px; flex-shrink: 0; }
.footer-bottom {
    padding: 20px 0; text-align: center; font-size: .85rem;
    color: rgba(255,255,255,.4);
}

/* ===========================================================
   RESPONSIVE - Tablet
   =========================================================== */
@media (max-width: 1024px) {
    .nav-links a { padding: 8px 10px; font-size: .85rem; }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-links-row { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* ===========================================================
   RESPONSIVE - Mobile Landscape & Small Tablet
   =========================================================== */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .mv-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .activities-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .about-overview { grid-template-columns: 1fr; gap: 30px; }
    .about-image-placeholder { height: 250px; }
    .training-grid { grid-template-columns: 1fr; }
    .story-general { max-width: 100%; }
}

/* ===========================================================
   RESPONSIVE - Mobile Portrait
   =========================================================== */
@media (max-width: 768px) {
    .container { padding: 0 16px; }

    .header-inner { overflow: visible; }
    .logo-triangle { width: 18px; height: 18px; top: -4px; right: -14px; }

    /* Mobile Navigation */
    .mobile-toggle { display: block; }
    .nav-links {
        display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: var(--bg-white); flex-direction: column;
        padding: 80px 24px 30px; gap: 0; z-index: 999;
        overflow-y: auto;
    }
    .nav-links.active { display: flex; }
    .nav-links a {
        padding: 14px 16px; width: 100%; font-size: 1rem;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }
    .lang-switcher {
        border: none; border-top: 1px solid var(--border);
        padding: 14px 16px 0; margin: 10px 0 0; justify-content: center;
    }

    /* Hero */
    .hero { padding: 50px 0; }
    .hero h1 { font-size: 1.8rem; line-height: 1.3; }
    .hero p { font-size: 1rem; padding: 0 10px; }
    .hero-btn { padding: 12px 28px; font-size: .95rem; }

    /* Sections */
    .section { padding: 40px 0; }
    .section-title { margin-bottom: 30px; }
    .section-title h2 { font-size: 1.5rem; }
    .section-title p { font-size: .95rem; }

    /* Grids → single column */
    .services-grid,
    .mv-grid,
    .steps-grid,
    .team-grid,
    .partners-grid,
    .activities-grid { grid-template-columns: 1fr; }

    /* Team photos: show full image on mobile to avoid head cropping */
    .team-photo { height: auto; }
    .team-photo img { height: auto; object-fit: contain; }

    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 30px; padding: 30px 0; }
    .stat-item h3 { font-size: 2rem; }

    /* Steps */
    .step-card { padding: 20px 16px; }

    /* Training */
    .training-card { flex-direction: column; }
    .training-card .card-image { width: 100%; min-height: 160px; }

    /* Stories */
    .story-general { max-width: 100%; }

    /* Timeline */
    .timeline { padding-left: 20px; }
    .timeline::before { left: 10px; }
    .timeline-content { margin-left: 15px; padding: 20px; }
    .timeline-content::before { left: -19px; width: 10px; height: 10px; }

    /* Contact */
    .contact-form { padding: 24px; }
    .contact-grid { gap: 30px; }

    /* CTA */
    .cta-section { padding: 50px 0; }
    .cta-section h2 { font-size: 1.5rem; }
    .cta-btn { padding: 12px 30px; }

    /* About */
    .about-image-placeholder { height: 200px; font-size: 3rem; }

    /* Footer */
    .footer-links-row { grid-template-columns: 1fr; gap: 30px; }
}

/* ===========================================================
   RESPONSIVE - Small Mobile
   =========================================================== */
@media (max-width: 480px) {
    .hero { padding: 40px 0; }
    .hero h1 { font-size: 1.5rem; }
    .hero p { font-size: .9rem; }

    .section-title h2 { font-size: 1.3rem; }

    .stats-inner { grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px 0; }
    .stat-item h3 { font-size: 1.6rem; }
    .stat-item p { font-size: .8rem; }

    .category-tabs { gap: 6px; }
    .cat-tab { padding: 8px 16px; font-size: .8rem; }

    .footer-links-row { grid-template-columns: 1fr; gap: 20px; }
    .footer-social { justify-content: center; }

    .logo { font-size: 1.3rem; }
    .logo-icon { font-size: 1.5rem; }
    .logo-triangle { width: 18px; height: 18px; top: -5px; right: -14px; }
}

/* ===========================================================
   LIGHTBOX
   =========================================================== */
.lightbox-overlay {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.85);
    z-index: 9999;
    justify-content: center; align-items: center;
    cursor: pointer;
    padding: 40px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    object-fit: contain;
    cursor: default;
}
.lightbox-close {
    position: absolute; top: 20px; right: 30px;
    color: #fff; font-size: 2rem; cursor: pointer;
    opacity: .7; transition: opacity .2s;
    background: none; border: none; padding: 8px;
    z-index: 10000;
}
.lightbox-close:hover { opacity: 1; }

.card-image { cursor: pointer; position: relative; }
.card-image img { transition: transform .3s; }
.card-image:hover img { transform: scale(1.03); }
.training-card .card-image img,
.activity-card .card-image img {
    object-fit: cover;
}
