/* ─── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
    --primary: #1a3c5e;
    --accent: #f5a623;
    --accent2: #e84393;
    --light: #f8fafc;
    --text: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --radius: 12px;
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

/* ─── Navbar ─────────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 999;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.12); }
.nav-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; height: 70px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon {
    width: 44px; height: 44px; border-radius: 10px;
    /*background: linear-gradient(135deg, var(--primary), #2563eb);*/
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 20px;
}
.brand-icon.large { width: 56px; height: 56px; font-size: 26px; }
.brand-name { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--primary); line-height: 1.1; }
.brand-sub { display: block; font-size: 11px; color: var(--text-muted); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link {
    padding: 8px 14px; border-radius: 8px; text-decoration: none;
    color: var(--text); font-weight: 500; font-size: 14px; transition: all .2s;
}
.nav-link:hover { background: var(--light); color: var(--primary); }
.btn-nav-login {
    padding: 8px 20px; border-radius: 8px; background: var(--light);
    color: var(--primary); text-decoration: none; font-weight: 600; font-size: 14px;
    border: 2px solid var(--border); transition: all .2s;
}
.btn-nav-login:hover { border-color: var(--primary); }
.btn-nav-register {
    padding: 8px 20px; border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: white; text-decoration: none; font-weight: 600; font-size: 14px;
    transition: all .2s; box-shadow: 0 2px 12px rgba(245,166,35,0.4);
}
.btn-nav-register:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(245,166,35,0.5); }
.btn-nav-logout {
    all: unset; padding: 8px 16px; border-radius: 8px; cursor: pointer;
    color: #dc2626; font-weight: 500; font-size: 14px; transition: all .2s;
}
.btn-nav-logout:hover { background: #fef2f2; }
.nav-toggle { display: none; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text); }

/* ─── Hero Section ───────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(135deg, #0f2444 0%, #1a3c5e 50%, #0c4a6e 100%);
    position: relative; overflow: hidden; padding-top: 70px;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-container { max-width: 1200px; margin: 0 auto; padding: 80px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,166,35,0.15); border: 1px solid rgba(245,166,35,0.3); color: var(--accent); padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.hero-title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 45px); color: white; line-height: 1.15; margin-bottom: 20px; }
.hero-title span { color: var(--accent); }
.hero-desc { font-size: 17px; color: rgba(255,255,255,0.75); margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
    padding: 14px 32px; border-radius: 10px; font-weight: 700; font-size: 15px;
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: white; text-decoration: none; border: none; cursor: pointer;
    transition: all .25s; box-shadow: 0 4px 20px rgba(245,166,35,0.4);
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,166,35,0.5); }
.btn-outline {
    padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 15px;
    background: transparent; color: white; text-decoration: none;
    border: 2px solid rgba(255,255,255,0.3); cursor: pointer; transition: all .25s;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; }
.hero-stat .stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--accent); }
.hero-stat .stat-label { font-size: 13px; color: rgba(255,255,255,0.6); }
.hero-visual { position: relative; }
.hero-card {
    background: rgba(255,255,255,0.08); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 20px;
    padding: 32px; color: white;
}
.hero-card-title { font-family: var(--font-display); font-size: 22px; margin-bottom: 20px; }
.course-pill {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    background: rgba(255,255,255,0.08); border-radius: 10px; margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.08); transition: all .2s;
}
.course-pill:hover { background: rgba(255,255,255,0.14); }
.course-pill-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.course-pill-name { font-weight: 500; font-size: 14px; flex: 1; }
.course-pill-fee { font-size: 13px; color: var(--accent); font-weight: 600; }
.floating-card {
    position: absolute; background: white; border-radius: 14px; padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 12px;
    animation: floatAnim 3s ease-in-out infinite;
}
.floating-card.top { top: -24px; right: -20px; }
.floating-card.bottom { bottom: -20px; left: -20px; animation-delay: 1.5s; }
.fc-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.fc-icon.green { background: #dcfce7; color: #16a34a; }
.fc-icon.blue { background: #dbeafe; color: #2563eb; }
.fc-text { font-size: 12px; color: var(--text-muted); }
.fc-value { font-size: 16px; font-weight: 700; color: var(--text); }
.fa-icon {
    background-image: url('../logo/Logo.png');
    content: "";
    display: inline-block;
    width: 45px; 
    height: 45px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
@keyframes floatAnim { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ─── Section Styles ─────────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--light); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; background: rgba(26,60,94,0.08); color: var(--primary); padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); color: var(--text); margin-bottom: 16px; }
.section-subtitle { font-size: 16px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.text-justify { text-align: justify;text-justify: inter-word;}
/* ─── Course Cards ───────────────────────────────────────────────────────────── */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.course-card {
    background: white; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--border); transition: all .3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.course-thumb {
    height: 180px; background: linear-gradient(135deg, var(--primary), #2563eb);
    display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.course-thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-thumb-icon { font-size: 48px; color: rgba(255,255,255,0.3); }
.course-cat-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--accent); color: white; padding: 4px 10px;
    border-radius: 6px; font-size: 11px; font-weight: 700;
}
.course-offer-badge {
    position: absolute; top: 12px; right: 12px;
    background: #dc2626; color: white; padding: 4px 10px;
    border-radius: 6px; font-size: 11px; font-weight: 700;
}
.course-body { padding: 20px; }
.course-title { font-weight: 700; font-size: 17px; margin-bottom: 8px; color: var(--text); }
.course-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.course-meta { display: flex; gap: 16px; margin-bottom: 16px; }
.course-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.course-meta-item i { color: var(--primary); }
.course-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.course-fee { font-size: 22px; font-weight: 800; color: var(--primary); }
.course-fee span { font-size: 12px; font-weight: 400; color: var(--text-muted); }

/* ─── Why Choose Us ──────────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.feature-card {
    padding: 32px; border-radius: 16px; text-align: center; transition: all .3s;
    border: 1px solid var(--border); background: white;
}
.feature-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }
.feature-icon {
    width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.feature-icon.blue { background: #dbeafe; color: #2563eb; }
.feature-icon.orange { background: #ffedd5; color: #ea580c; }
.feature-icon.green { background: #dcfce7; color: #16a34a; }
.feature-icon.purple { background: #f3e8ff; color: #9333ea; }
.feature-title { font-weight: 700; font-size: 17px; margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── Testimonials ───────────────────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
    background: white; border-radius: 16px; padding: 28px;
    border: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.testimonial-stars { color: var(--accent); margin-bottom: 14px; font-size: 15px; }
.testimonial-text { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #2563eb); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; }
.testimonial-name { font-weight: 700; font-size: 15px; }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ─── Alert Toast ─────────────────────────────────────────────────────────────── */
.alert-toast {
    position: fixed; top: 80px; right: 20px; z-index: 9999;
    padding: 14px 20px; border-radius: 10px; font-weight: 500; font-size: 14px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15); animation: slideIn .3s ease;
}
.alert-toast.success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.alert-toast.error { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
@keyframes slideIn { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer { background: #0f172a; color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; }
.footer-brand h3 { font-family: var(--font-display); color: white; font-size: 22px; margin: 16px 0 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); text-decoration: none; transition: all .2s; }
.social-links a:hover { background: var(--accent); color: white; }
.footer-links h4, .footer-contact h4 { color: white; font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-links ul li a:hover { color: var(--accent); }
.footer-contact p { font-size: 14px; display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact p i { color: var(--accent); margin-top: 3px; min-width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); text-align: center; padding: 20px 24px; margin-top: 48px; font-size: 13px; }

/* ─── Login Page ─────────────────────────────────────────────────────────────── */
.auth-page { min-height: 100vh; display: flex; padding-top: 70px; }
.auth-visual { flex: 1; 
    /*background: linear-gradient(135deg, #0f2444, #1a3c5e);*/ 
    background: linear-gradient(135deg, rgb(43 84 70 / 93%), #eff5f4);
    display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 40px; color: white; }
.auth-visual h2 { font-family: var(--font-display); font-size: 36px; margin-bottom: 16px; }
.auth-visual p { font-size: 16px; opacity: 0.75; line-height: 1.7; max-width: 380px; text-align: center; }
.auth-form-wrap { width: 480px; max-width: 100%; display: flex; flex-direction: column; justify-content: center; padding: 60px 48px; }
.auth-form-wrap h1 { font-family: var(--font-display); font-size: 30px; margin-bottom: 8px; }
.auth-form-wrap p { color: var(--text-muted); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: var(--text); }
.form-control {
    width: 100%; padding: 12px 16px; border-radius: 10px;
    border: 2px solid var(--border); font-size: 15px; font-family: var(--font-body);
    transition: border-color .2s; outline: none; background: white;
}
.form-control:focus { border-color: var(--primary); }
.form-control.is-invalid { border-color: #dc2626; }
.validation-message { font-size: 12px; color: #dc2626; margin-top: 4px; }
.input-group { position: relative; }
.input-group .form-control { padding-left: 44px; }
.input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.btn-block { width: 100%; }
.auth-links { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.auth-links a { color: var(--primary); font-weight: 600; text-decoration: none; }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .footer-container { grid-template-columns: 1fr; gap: 32px; }
    .auth-visual { display: none; }
    .auth-form-wrap { width: 100%; padding: 40px 24px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: white; padding: 20px; border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 998; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .courses-grid, .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════════════════════════════ */
.hero-slider {
    position: relative; overflow: hidden;
    height: 100vh; min-height: 580px; max-height: 760px;
    margin-top: 70px;
}
.hero-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    opacity: 0; transition: opacity .8s ease;
    padding-top: 0;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.05); transition: transform 8s ease;
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,36,68,.92), rgba(0,0,0,.55));
}
.hero-slide-content {
    position: relative; z-index: 3;
    max-width: 760px; margin: 0 auto;
    padding: 0 24px; color: white; text-align: center;
    width: 100%;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5.5vw, 62px);
    line-height: 1.12; margin-bottom: 20px;
}
.hero-title span { color: var(--accent); }
.hero-desc {
    font-size: clamp(15px, 2vw, 19px);
    opacity: .82; margin-bottom: 36px; line-height: 1.65;
    max-width: 600px; margin-left: auto; margin-right: auto;
}
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 10; background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.3); color: white;
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 16px; transition: all .2s;
}
.slider-btn:hover { background: rgba(255,255,255,.35); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }
.slider-dots {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 10;
}
.slider-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: all .2s;
}
.slider-dot.active { background: white; width: 28px; border-radius: 5px; }

/* ═══════════════════════════════════════════════════════════════
   STATS TICKER
═══════════════════════════════════════════════════════════════ */
.stats-ticker {
    background: white; border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.stats-ticker-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-around; align-items: center;
    flex-wrap: wrap; gap: 0;
}
.stat-ticker-item {
    display: flex; align-items: center; gap: 14px;
    padding: 20px 16px; flex: 1; min-width: 140px;
    border-right: 1px solid var(--border);
}
.stat-ticker-item:last-child { border-right: none; }
.stat-ticker-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.stat-ticker-num {
    font-family: var(--font-display); font-size: 26px; font-weight: 900;
    color: var(--text); line-height: 1;
}
.stat-ticker-label { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* ═══════════════════════════════════════════════════════════════
   NEWS GRID
═══════════════════════════════════════════════════════════════ */
.news-grid {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px;
}
.news-featured {
    background: white; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--border); box-shadow: var(--shadow);
}
.news-img {
    height: 260px; background-size: cover; background-position: center;
    background-color: #dbeafe;
}
.news-img-placeholder {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1a3c5e, #2563eb);
}
.news-img-placeholder i { font-size: 64px; color: rgba(255,255,255,.25); }
.news-body { padding: 24px; }
.news-cat {
    display: inline-block; padding: 3px 10px; border-radius: 50px;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    margin-bottom: 10px;
}
.news-cat.announcement { background: #dbeafe; color: #1d4ed8; }
.news-cat.achievement { background: #dcfce7; color: #15803d; }
.news-cat.event { background: #ffedd5; color: #c2410c; }
.news-cat.notice { background: #fef9c3; color: #b45309; }
.news-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.news-summary { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.news-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.news-meta i { margin-right: 4px; }
.btn-news-read {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--primary); font-weight: 700; font-size: 14px; text-decoration: none;
    border-bottom: 2px solid var(--primary); padding-bottom: 2px; transition: gap .2s;
}
.btn-news-read:hover { gap: 10px; }
.news-sidebar {
    display: flex; flex-direction: column; gap: 12px;
}
.news-sidebar-item {
    background: white; border-radius: 12px; overflow: hidden;
    border: 1px solid var(--border); display: flex; gap: 0;
    text-decoration: none; color: var(--text); transition: all .2s;
}
.news-sidebar-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.news-sidebar-img {
    width: 90px; min-height: 80px; background-size: cover; background-position: center;
    background-color: #dbeafe; flex-shrink: 0;
}
.news-sidebar-placeholder {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1a3c5e, #2563eb);
}
.news-sidebar-placeholder i { font-size: 24px; color: rgba(255,255,255,.3); }
.news-sidebar-body { padding: 10px 12px; flex: 1; }
.news-sidebar-title { font-size: 13px; font-weight: 600; line-height: 1.4; margin-top: 4px; }
.news-sidebar-date { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.btn-view-all {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px; border-radius: 10px; background: var(--light);
    color: var(--primary); font-weight: 700; font-size: 14px;
    text-decoration: none; border: 1px solid var(--border); transition: all .2s;
}
.btn-view-all:hover { background: var(--primary); color: white; }

/* ═══════════════════════════════════════════════════════════════
   GALLERY MASONRY
═══════════════════════════════════════════════════════════════ */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
}
.gallery-item-link {
    position: relative; overflow: hidden; border-radius: 12px;
    display: block; text-decoration: none;
}
.gallery-item-large { grid-column: span 2; grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }
.gallery-item { grid-column: span 1; }
.gallery-item-link img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.gallery-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1a3c5e, #2563eb);
    display: flex; align-items: center; justify-content: center;
}
.gallery-placeholder i { font-size: 48px; color: rgba(255,255,255,.25); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 60%);
    opacity: 0; transition: opacity .3s;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
    color: white;
}
.gallery-item-link:hover .gallery-overlay { opacity: 1; }
.gallery-item-link:hover img { transform: scale(1.05); }
.gallery-overlay-cat {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    background: var(--accent); padding: 2px 8px; border-radius: 4px;
    width: fit-content; margin-bottom: 6px;
}
.gallery-overlay-title { font-weight: 700; font-size: 14px; line-height: 1.3; }
@media (hover: none), (max-width: 767px) {
    .gallery-item-link .gallery-overlay,
    .gallery-grid-item .gallery-overlay { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS SLIDER
═══════════════════════════════════════════════════════════════ */
.testimonials-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.testimonials-slider::-webkit-scrollbar { display: none; }
.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.testimonials-track {
    display: flex;
    gap: 16px;
}
.testimonial-card {
    padding: 28px; background: white; border-radius: 16px;
    border: 1px solid var(--border); box-shadow: var(--shadow);
    box-sizing: border-box;
    flex: 0 0 calc((100% - 32px) / 3);
    scroll-snap-align: start;
}
@media (max-width: 1023px) {
    .testimonial-card { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 639px) {
    .testimonial-card { flex-basis: 100%; }
}
.slider-btn-sm {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--light); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 14px; transition: all .2s; color: var(--text);
}
.slider-btn-sm:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════════ */
.cta-section {
    background: linear-gradient(135deg, #1a3c5e, #2563eb);
    padding: 80px 24px; color: white;
}

/* ═══════════════════════════════════════════════════════════════
   NEWS & GALLERY PUBLIC PAGES
═══════════════════════════════════════════════════════════════ */
.page-hero {
    background: linear-gradient(135deg, #1a3c5e, #2563eb);
    padding: 70px 0 50px; text-align: center; color: white;
    margin-top: 70px;
}
.page-hero h1 { font-family: var(--font-display); font-size: clamp(28px,4vw,46px); margin-bottom: 10px; }
.page-hero p { font-size: 16px; opacity: .8; }
.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-chip {
    padding: 7px 18px; border-radius: 50px; border: 2px solid var(--border);
    background: white; color: var(--text); font-weight: 600; font-size: 13px;
    cursor: pointer; text-decoration: none; transition: all .2s;
}
.filter-chip:hover, .filter-chip.active {
    background: var(--primary); color: white; border-color: var(--primary);
}
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.news-list-card {
    background: white; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--border); transition: all .3s;
    text-decoration: none; color: var(--text); display: block;
}
.news-list-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.news-list-thumb { height: 200px; background-size: cover; background-position: center; background-color: #dbeafe; }
.news-list-thumb-placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#1a3c5e,#2563eb); }
.news-list-thumb-placeholder i { font-size: 56px; color: rgba(255,255,255,.2); }
.news-list-body { padding: 20px; }
.news-list-title { font-weight: 700; font-size: 17px; margin: 8px 0; line-height: 1.4; }
.news-list-summary { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.news-list-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gallery-grid-item { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; position: relative; cursor: pointer; }
.gallery-grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-image-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 2px; background: white; }
.gallery-image-grid.single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery-grid-item .gallery-image-grid img { min-width: 0; min-height: 0; }
.gallery-image-count { position: absolute; right: 10px; bottom: 10px; padding: 5px 9px; border-radius: 4px; background: rgba(0,0,0,.72); color: white; font-size: 13px; font-weight: 700; }
.gallery-grid-item:hover img { transform: scale(1.06); }
.gallery-grid-item .gallery-overlay { opacity: 0; transition: opacity .3s; }
.gallery-grid-item:hover .gallery-overlay { opacity: 1; }
.about-paragraph { color: var(--text-muted); line-height: 1.8; margin: 0 0 16px; text-align: justify; }
.about-paragraph p { margin: 0 0 12px; }
.about-paragraph p:last-child { margin-bottom: 0; }
.about-paragraph.lead { font-size: 18px; line-height: 1.9; }
.about-paragraph.lead p { font-size: inherit; line-height: inherit; }
.about-paragraph.highlight { padding: 16px 18px; border-left: 3px solid var(--accent); background: var(--light); border-radius: 0 8px 8px 0; }
.about-paragraph.centered, .about-paragraph.centered p { text-align: center; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .news-grid { grid-template-columns: 1fr; }
    .gallery-masonry { grid-template-columns: repeat(2,1fr); grid-auto-rows: 160px; }
    .gallery-item-large { grid-column: span 2; }
    .stats-ticker-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; gap: 0; }
    .stat-ticker-item { border-right: 1px solid var(--border); min-width: 140px; }
}
@media (max-width: 640px) {
    .gallery-masonry { grid-template-columns: 1fr; }
    .gallery-item-large, .gallery-item-wide { grid-column: span 1; }
    .hero-slider { height: auto; min-height: 540px; }
    .news-sidebar { display: none; }
}
