/* ═══════════════════════════════════════════════════
   TIH TUITION CLASSES – MAIN STYLESHEET
   ═══════════════════════════════════════════════════ */

:root {
  --navy:      #1a2a72;
  --navy-d:    #0f1a52;
  --navy-l:    #2d3f9e;
  --sky:       #4da6e8;
  --sky-l:     #a8d8f5;
  --gold:      #f5c842;
  --gold-d:    #d4a800;
  --white:     #ffffff;
  --off:       #f4f7fc;
  --gray:      #6b7280;
  --lgray:     #e2e8f0;
  --text:      #1e2436;
  --muted:     #5a627a;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(26,42,114,0.10);
  --shadow-lg: 0 12px 40px rgba(26,42,114,0.16);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Nunito', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ── UTILITIES ─────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.bg-off { background: var(--off); }
.bg-navy { background: var(--navy-d); }
.text-center { text-align: center; }

.section-label {
  font-size: 12px; font-weight: 800; letter-spacing: 2.5px;
  color: var(--sky); text-transform: uppercase; margin-bottom: 8px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700; color: var(--navy-d); line-height: 1.22; margin-bottom: 14px;
}
.section-sub {
  font-size: 16px; color: var(--muted); line-height: 1.75;
  max-width: 580px; font-weight: 600;
}
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: white;
  padding: 13px 28px; border-radius: var(--radius);
  font-weight: 800; font-size: 15px; border: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover { background: var(--navy-l); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy-d);
  padding: 13px 28px; border-radius: var(--radius);
  font-weight: 800; font-size: 15px; border: none; cursor: pointer;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 20px rgba(245,200,66,.35);
}
.btn-gold:hover { background: #ffd000; transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--navy); color: var(--navy);
  padding: 11px 26px; border-radius: var(--radius);
  font-weight: 800; font-size: 15px; background: transparent;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--navy); color: white; }

/* ── ANNOUNCEMENT BAR ────────────────────────────── */
.ann-bar {
  background: var(--navy-d); color: white;
  text-align: center; padding: 8px 24px;
  font-size: 13px; font-weight: 700;
}
.ann-bar a { color: var(--gold); margin: 0 6px; }
.ann-bar a:hover { text-decoration: underline; }

/* ── HEADER ──────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: white;
  box-shadow: 0 1px 0 var(--lgray), 0 4px 20px rgba(0,0,0,.06);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  height: 68px;
}
.site-logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.logo-icon {
  width: 42px; height: 42px; background: var(--navy);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 900; color: white; letter-spacing: -1px;
}
.logo-text strong { display: block; font-size: 14px; font-weight: 800; color: var(--navy-d); line-height: 1.2; }
.logo-text span { font-size: 10px; color: var(--muted); font-weight: 600; }

.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 8px 14px; font-size: 14px; font-weight: 700; color: var(--muted);
  border-radius: 8px; transition: color .2s, background .2s;
  display: block; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--navy); background: var(--off); }
.main-nav .has-dropdown { position: relative; }
.main-nav .dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: white; min-width: 200px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--lgray);
  padding: 8px; z-index: 100;
}
.main-nav .has-dropdown:hover .dropdown { display: block; }
.main-nav .dropdown a { padding: 8px 12px; color: var(--text); font-size: 13px; border-radius: 6px; }
.main-nav .dropdown a:hover { background: var(--off); color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-whatsapp {
  display: flex; align-items: center; gap: 6px;
  background: #25d366; color: white;
  padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 800;
  transition: background .2s;
}
.btn-whatsapp:hover { background: #1ebe5b; }
.btn-demo {
  background: var(--gold); color: var(--navy-d);
  padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 800;
  transition: background .2s;
}
.btn-demo:hover { background: #ffd000; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; border-radius: 2px; transition: .3s; }

/* ── HERO ────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy-d) 0%, var(--navy) 55%, var(--navy-l) 100%);
  padding: 80px 0 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .04;
  background-image: 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='white' fill-opacity='1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: var(--sky-l); padding: 6px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px; margin-bottom: 20px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px,4.5vw,54px); font-weight: 900; color: white; line-height: 1.15; margin-bottom: 18px; }
.hero h1 .hl { color: var(--gold); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.78); line-height: 1.7; margin-bottom: 28px; font-weight: 600; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.hero-chip {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  color: white; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 6px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 26px; font-weight: 900; color: white; }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,.55); font-weight: 600; }

/* Hero right card */
.hero-card {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px; padding: 32px; color: white;
}
.hero-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 20px; color: var(--gold); }
.hero-form { display: flex; flex-direction: column; gap: 12px; }
.hero-form input, .hero-form select {
  border: 1.5px solid rgba(255,255,255,.25); border-radius: 8px;
  padding: 11px 14px; background: rgba(255,255,255,.1);
  color: white; font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 600;
  outline: none; width: 100%;
}
.hero-form input::placeholder { color: rgba(255,255,255,.5); }
.hero-form select option { background: var(--navy-d); color: white; }
.hero-form input:focus, .hero-form select:focus { border-color: var(--gold); background: rgba(255,255,255,.15); }
.hero-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-form .btn-gold { width: 100%; justify-content: center; font-size: 15px; padding: 13px; }

/* ── BOARDS STRIP ─────────────────────────────────── */
.boards-strip { background: var(--navy-d); padding: 18px 0; }
.boards-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.boards-label { color: rgba(255,255,255,.45); font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.board-pill {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: white; font-size: 13px; font-weight: 800; padding: 6px 18px; border-radius: 6px;
}

/* ── STATS BAR ────────────────────────────────────── */
.stats-bar { background: var(--navy); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 8px 20px; border-right: 1px solid rgba(255,255,255,.12); }
.stat-item:last-child { border-right: none; }
.stat-item strong { display: block; font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-item span { font-size: 13px; color: rgba(255,255,255,.65); font-weight: 700; margin-top: 4px; display: block; }

/* ── PROGRAMS GRID ─────────────────────────────────── */
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prog-card {
  background: white; border: 2px solid var(--lgray); border-radius: 16px;
  padding: 28px 24px; transition: all .25s; position: relative; overflow: hidden;
}
.prog-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--navy); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.prog-card:hover { border-color: var(--sky); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prog-card:hover::before { transform: scaleX(1); }
.prog-card.featured { border-color: var(--navy); background: linear-gradient(160deg, #eef1ff 0%, #fff 100%); }
.prog-badge { position: absolute; top: 16px; right: 16px; background: var(--gold); color: var(--navy-d); font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 20px; }
.prog-icon { width: 52px; height: 52px; background: var(--navy); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.prog-card h3 { font-size: 17px; font-weight: 800; color: var(--navy-d); margin-bottom: 8px; }
.prog-card p { font-size: 14px; color: var(--muted); line-height: 1.65; font-weight: 600; margin-bottom: 16px; }
.prog-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.prog-tag { background: var(--off); color: var(--navy); font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 4px; border: 1px solid var(--lgray); }

/* ── WHY GRID ─────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { background: white; border-radius: 14px; padding: 26px 22px; border-left: 4px solid var(--navy); box-shadow: var(--shadow); }
.why-num { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 900; color: var(--lgray); line-height: 1; margin-bottom: 8px; }
.why-card h4 { font-size: 15px; font-weight: 800; color: var(--navy-d); margin-bottom: 6px; }
.why-card p { font-size: 13px; color: var(--muted); line-height: 1.65; font-weight: 600; }

/* ── TESTIMONIALS ────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testi-card { background: white; border-radius: 16px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--lgray); }
.testi-stars { color: var(--gold); font-size: 16px; margin-bottom: 12px; }
.testi-text { font-size: 15px; color: var(--muted); line-height: 1.7; font-weight: 600; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: white; flex-shrink: 0; }
.testi-name strong { display: block; font-size: 14px; font-weight: 800; color: var(--navy-d); }
.testi-name span { font-size: 12px; color: var(--muted); }

/* ── GALLERY ─────────────────────────────────────── */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center; }
.gal-filter {
  padding: 7px 18px; border-radius: 8px; border: 2px solid var(--lgray);
  font-size: 13px; font-weight: 800; color: var(--muted); cursor: pointer;
  transition: all .2s; background: white;
}
.gal-filter.active, .gal-filter:hover { border-color: var(--navy); color: var(--navy); background: var(--off); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gal-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: pointer; position: relative; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .4s; }
.gal-item:hover img { transform: scale(1.08); }
.gal-overlay { position: absolute; inset: 0; background: rgba(15,26,82,.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-overlay span { color: white; font-size: 14px; font-weight: 800; }

/* ── EVENTS ──────────────────────────────────────── */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--lgray); transition: transform .25s, box-shadow .25s; }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.event-img { height: 200px; object-fit: cover; object-position: top; width: 100%; background: var(--off); display: block; }
.event-img-placeholder { height: 180px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-l) 100%); display: flex; align-items: center; justify-content: center; font-size: 40px; }
.event-body { padding: 20px; }
.event-meta { display: flex; gap: 12px; margin-bottom: 10px; }
.event-date { font-size: 12px; font-weight: 800; color: var(--sky); }
.event-status { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 4px; }
.status-upcoming { background: #e8f5e9; color: #1b5e20; }
.status-completed { background: var(--lgray); color: var(--muted); }
.status-ongoing { background: #fff3e0; color: #e65100; }
.event-card h3 { font-size: 16px; font-weight: 800; color: var(--navy-d); margin-bottom: 8px; line-height: 1.35; }
.event-card p { font-size: 13px; color: var(--muted); line-height: 1.6; font-weight: 600; }

/* ── FAQ ─────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--lgray); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-size: 16px; font-weight: 700; color: var(--navy-d);
  cursor: pointer; gap: 16px;
}
.faq-q:hover { color: var(--navy-l); }
.faq-icon { font-size: 20px; flex-shrink: 0; transition: transform .3s; }
.faq-a { font-size: 15px; color: var(--muted); line-height: 1.7; font-weight: 600; padding-bottom: 18px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── DEMO BANNER ─────────────────────────────────── */
.demo-banner { background: var(--gold); padding: 28px 0; }
.demo-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.demo-banner p { font-size: 20px; font-weight: 900; color: var(--navy-d); }
.demo-banner-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── CONTACT FORM ─────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 52px; align-items: start; }
.contact-info-items { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.c-item { display: flex; gap: 16px; align-items: flex-start; }
.c-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--off); border: 2px solid var(--lgray); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.c-item strong { display: block; font-size: 11px; color: var(--muted); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.c-item a, .c-item p { color: var(--text); font-size: 15px; font-weight: 700; }
.c-item a:hover { color: var(--navy); }

.contact-form-wrap { background: white; border-radius: 20px; padding: 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--lgray); }
.contact-form-wrap h3 { font-size: 22px; font-weight: 900; color: var(--navy-d); margin-bottom: 6px; }
.contact-form-wrap > p { font-size: 14px; color: var(--muted); margin-bottom: 24px; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .8px; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  border: 2px solid var(--lgray); border-radius: 8px; padding: 11px 14px;
  font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 600; color: var(--text);
  background: var(--off); outline: none; width: 100%;
  transition: border-color .2s, background .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); background: white; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit { width: 100%; background: var(--navy); color: white; border: none; padding: 14px; border-radius: 10px; font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 800; cursor: pointer; transition: background .2s, transform .2s; }
.form-submit:hover { background: var(--navy-l); transform: translateY(-1px); }
.form-success { display: none; background: #e8f5e9; border: 2px solid #4caf50; border-radius: 10px; padding: 16px; text-align: center; color: #1b5e20; font-weight: 700; margin-top: 12px; }

/* ── BREADCRUMB ──────────────────────────────────── */
.breadcrumb { background: var(--off); padding: 12px 0; border-bottom: 1px solid var(--lgray); }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.breadcrumb-inner a { color: var(--navy); }
.breadcrumb-inner span { color: var(--muted); }

/* ── PAGE HERO (inner pages) ─────────────────────── */
.page-hero { background: linear-gradient(135deg, var(--navy-d) 0%, var(--navy) 100%); padding: 52px 0; text-align: center; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: white; margin-bottom: 10px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,.75); font-weight: 600; }

/* ── BLOG ────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: white; border-radius: 16px; overflow: hidden; border: 1px solid var(--lgray); box-shadow: var(--shadow); transition: transform .25s; }
.blog-card:hover { transform: translateY(-4px); }
.blog-img { height: 220px; object-fit: cover; object-position: top; width: 100%; background: var(--off); display: block; }
.blog-body { padding: 22px; }
.blog-cat { font-size: 11px; font-weight: 800; color: var(--sky); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.blog-card h3 { font-size: 17px; font-weight: 800; color: var(--navy-d); margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; font-weight: 600; }
.blog-meta { font-size: 12px; color: var(--muted); font-weight: 700; }
.blog-read-more { font-size: 13px; font-weight: 800; color: var(--navy); border-top: 1px solid var(--lgray); padding: 12px 22px; display: block; transition: background .2s; }
.blog-read-more:hover { background: var(--off); }

/* ── LIGHTBOX ────────────────────────────────────── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; object-fit: contain; }
.lb-close { position: absolute; top: 20px; right: 28px; color: white; font-size: 36px; cursor: pointer; font-weight: 300; line-height: 1; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 40px; cursor: pointer; background: rgba(255,255,255,.1); width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* ── WHATSAPP FLOAT ──────────────────────────────── */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 800; background: #25d366; border-radius: 50%; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* ── FOOTER ──────────────────────────────────────── */
.site-footer { background: #0c1445; }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo strong { display: block; color: white; font-size: 14px; font-weight: 800; }
.footer-logo span { color: rgba(255,255,255,.45); font-size: 11px; }
.footer-about { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.75; font-weight: 600; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.65); transition: all .2s; }
.footer-socials a:hover { background: var(--navy-l); color: white; }
.footer-col h4 { color: white; font-size: 13px; font-weight: 800; letter-spacing: .5px; margin-bottom: 16px; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.55); font-weight: 600; transition: color .2s; }
.footer-col ul a:hover { color: white; }
.footer-col address p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 6px; font-weight: 600; }
.footer-col address a { color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col address a:hover { color: var(--sky-l); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom-inner p { font-size: 12px; color: rgba(255,255,255,.3); font-weight: 600; }

/* ── ADMIN NAV ──── (shared by admin) ────────────── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--navy-d); flex-shrink: 0; }
.admin-content { flex: 1; background: var(--off); min-height: 100vh; }
.admin-topbar { background: white; padding: 0 24px; height: 60px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--lgray); }
.admin-topbar h1 { font-size: 18px; font-weight: 800; color: var(--navy-d); }
.admin-main { padding: 28px 24px; }

.sidebar-logo { padding: 20px 20px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.sidebar-logo span { color: white; font-size: 15px; font-weight: 800; }
.sidebar-logo small { display: block; color: rgba(255,255,255,.4); font-size: 11px; }

.sidebar-nav { padding: 12px 0; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; color: rgba(255,255,255,.65); font-size: 14px; font-weight: 700;
  transition: all .2s; border-left: 3px solid transparent;
}
.sidebar-nav a:hover, .sidebar-nav a.active { color: white; background: rgba(255,255,255,.1); border-left-color: var(--gold); }
.sidebar-nav .nav-section { padding: 14px 20px 6px; color: rgba(255,255,255,.3); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }

.admin-card { background: white; border-radius: var(--radius); padding: 24px; border: 1px solid var(--lgray); margin-bottom: 24px; }
.admin-card h2 { font-size: 16px; font-weight: 800; color: var(--navy-d); margin-bottom: 16px; border-bottom: 1px solid var(--lgray); padding-bottom: 12px; }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { background: var(--off); text-align: left; padding: 10px 14px; font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .5px; border-bottom: 2px solid var(--lgray); }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--lgray); color: var(--text); vertical-align: middle; }
.data-table tr:hover td { background: var(--off); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 800; }
.badge-new { background: #e3f2fd; color: #0d47a1; }
.badge-contacted { background: #fff3e0; color: #bf360c; }
.badge-enrolled { background: #e8f5e9; color: #1b5e20; }
.badge-not_interested { background: var(--lgray); color: var(--muted); }
.badge-upcoming { background: #e8f5e9; color: #1b5e20; }
.badge-completed { background: var(--lgray); color: var(--muted); }
.btn-sm { padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 800; cursor: pointer; border: none; }
.btn-edit { background: var(--off); color: var(--navy); border: 1px solid var(--lgray); }
.btn-del { background: #fce4e4; color: #c62828; }
.btn-edit:hover { background: var(--navy); color: white; }
.btn-del:hover { background: #c62828; color: white; }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: white; border-radius: var(--radius); padding: 20px; border: 1px solid var(--lgray); }
.stat-card .num { font-size: 32px; font-weight: 900; color: var(--navy); font-family: 'Playfair Display', serif; }
.stat-card .lbl { font-size: 12px; color: var(--muted); font-weight: 700; margin-top: 4px; }
.stat-card .icon { font-size: 28px; float: right; opacity: .6; }


/* ══════════════════════════════════════════════════════
   RESPONSIVE – MOBILE FIRST COMPLETE FIX
   ══════════════════════════════════════════════════════ */

/* ── 1024px TABLET ───────────────────────────────────── */
@media (max-width: 1024px) {
  .programs-grid        { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid         { grid-template-columns: repeat(3, 1fr); }
  .footer-grid          { grid-template-columns: 1fr 1fr; gap: 28px; }
  .why-grid             { grid-template-columns: repeat(2, 1fr); }
  .hero h1              { font-size: 36px; }
  .stat-cards           { grid-template-columns: repeat(2, 1fr); }
  /* Admin */
  .admin-sidebar        { width: 200px; }
}

/* ── 900px TABLET/LARGE MOBILE ───────────────────────── */
@media (max-width: 900px) {
  /* Header */
  .main-nav, .header-cta { display: none; }
  .nav-toggle           { display: block; }
  .header-inner         { height: 60px; }

  /* Hero */
  .hero                 { padding: 48px 0 40px; }
  .hero-wrap            { grid-template-columns: 1fr; gap: 0; }
  .hero-card            { display: none; }
  .hero h1              { font-size: clamp(26px, 6vw, 36px); }
  .hero-sub             { font-size: 15px; }
  .hero-stats           { gap: 16px; flex-wrap: wrap; }
  .hero-stat strong     { font-size: 22px; }
  .hero-btns            { flex-direction: column; gap: 10px; }
  .hero-btns a          { text-align: center; justify-content: center; }

  /* Sections */
  .section              { padding: 56px 0; }
  .section-title        { font-size: 26px; }
  .why-grid             { grid-template-columns: 1fr 1fr; gap: 16px; }
  .testi-grid           { grid-template-columns: 1fr; }
  .contact-grid         { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid           { grid-template-columns: repeat(2, 1fr); }
  .events-grid          { grid-template-columns: 1fr 1fr; gap: 16px; }
  .blog-grid            { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-cards           { grid-template-columns: repeat(2, 1fr); }

  /* About page grid */
  .container > div[style*="grid-template-columns: 1fr 1fr"] { display: block !important; }

  /* Admin – slide sidebar off canvas */
  .admin-layout         { position: relative; }
  .admin-sidebar {
    position: fixed; top: 0; left: -260px; width: 240px;
    height: 100vh; z-index: 1000;
    transition: left .3s ease;
    overflow-y: auto;
  }
  .admin-sidebar.open   { left: 0; box-shadow: 4px 0 20px rgba(0,0,0,.3); }
  .admin-content        { width: 100%; }
  .admin-topbar         { padding: 0 16px; }
  .admin-topbar h1      { font-size: 15px; }
  .admin-main           { padding: 16px 12px; }
  .stat-cards           { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sidebar-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.45); z-index: 999;
  }
  .sidebar-overlay.open { display: block; }
  .admin-menu-btn {
    display: flex !important; align-items: center; justify-content: center;
    width: 36px; height: 36px; background: var(--navy);
    border: none; border-radius: 8px; cursor: pointer;
    color: white; font-size: 18px;
  }
}

/* ── 640px MOBILE ─────────────────────────────────────── */
@media (max-width: 640px) {
  /* Container */
  .container            { padding: 0 16px; }

  /* Typography */
  .section              { padding: 44px 0; }
  .section-sm           { padding: 36px 0; }
  .section-title        { font-size: 22px; }
  .section-sub          { font-size: 14px; }
  .section-label        { font-size: 11px; }

  /* Header */
  .logo-text span       { display: none; }
  .header-inner         { height: 56px; }
  .logo-icon            { width: 36px; height: 36px; font-size: 14px; }

  /* Announcement bar */
  .ann-bar              { font-size: 11px; padding: 6px 12px; }
  .ann-bar a            { display: none; }
  .ann-bar a:first-of-type { display: inline; }

  /* Hero */
  .hero                 { padding: 36px 0 32px; }
  .hero h1              { font-size: 24px; line-height: 1.25; }
  .hero-sub             { font-size: 14px; line-height: 1.65; margin-bottom: 20px; }
  .hero-chips           { gap: 6px; margin-bottom: 20px; }
  .hero-chip            { font-size: 11px; padding: 3px 10px; }
  .hero-btns            { gap: 8px; }
  .btn-gold, .btn-primary, .btn-outline { font-size: 14px; padding: 11px 20px; }
  .hero-stats           { gap: 12px; padding-top: 20px; margin-top: 28px; }
  .hero-stat strong     { font-size: 20px; }
  .hero-stat span       { font-size: 11px; }

  /* Boards strip */
  .boards-strip         { padding: 12px 0; }
  .boards-inner         { gap: 8px; }
  .board-pill           { font-size: 11px; padding: 4px 12px; }
  .boards-label         { display: none; }

  /* Stats bar */
  .stats-bar            { padding: 20px 0; }
  .stats-grid           { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item            { padding: 12px 10px; border-right: 1px solid rgba(255,255,255,.12); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,.12); }
  .stat-item strong     { font-size: 26px; }
  .stat-item span       { font-size: 11px; }

  /* Programs */
  .programs-grid        { grid-template-columns: 1fr; gap: 14px; }
  .prog-card            { padding: 20px 16px; }
  .prog-icon            { width: 44px; height: 44px; font-size: 20px; margin-bottom: 12px; }
  .prog-card h3         { font-size: 15px; }
  .prog-card p          { font-size: 13px; }

  /* Why grid */
  .why-grid             { grid-template-columns: 1fr; gap: 12px; }
  .why-card             { padding: 18px 16px; }
  .why-num              { font-size: 26px; }

  /* Gallery */
  .gallery-grid         { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-filters      { gap: 8px; }
  .gal-filter           { font-size: 12px; padding: 5px 12px; }

  /* Events */
  .events-grid          { grid-template-columns: 1fr; gap: 14px; }
  .event-img, .event-img-placeholder { height: 160px; }
  .event-body           { padding: 16px; }
  .event-card h3        { font-size: 15px; }

  /* Testimonials */
  .testi-grid           { grid-template-columns: 1fr; gap: 14px; }
  .testi-card           { padding: 20px 16px; }
  .testi-text           { font-size: 14px; }

  /* FAQ */
  .faq-q                { font-size: 14px; padding: 14px 0; }
  .faq-a                { font-size: 13px; }

  /* Demo banner */
  .demo-banner          { padding: 20px 0; }
  .demo-banner-inner    { flex-direction: column; text-align: center; gap: 14px; }
  .demo-banner p        { font-size: 15px; }
  .demo-banner-btns     { flex-direction: column; gap: 8px; align-items: center; }
  .demo-banner-btns a   { width: 100%; max-width: 260px; justify-content: center; }

  /* Contact */
  .contact-grid         { gap: 28px; }
  .contact-form-wrap    { padding: 22px 16px; border-radius: 14px; }
  .contact-form-wrap h3 { font-size: 18px; }
  .form-grid            { grid-template-columns: 1fr; }
  .c-item               { gap: 10px; }
  .c-icon               { width: 36px; height: 36px; font-size: 16px; }

  /* Footer */
  .footer-grid          { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner  { flex-direction: column; text-align: center; gap: 6px; }
  .footer-bottom-inner p { font-size: 11px; }
  .footer-top           { padding: 40px 0 28px; }
  .footer-col h4        { font-size: 12px; margin-bottom: 12px; }

  /* Blog */
  .blog-grid            { grid-template-columns: 1fr; gap: 14px; }
  .blog-img             { height: 200px; object-position: top !important; }

  /* Page hero */
  .page-hero            { padding: 36px 0; }
  .page-hero h1         { font-size: 24px; }
  .page-hero p          { font-size: 14px; }

  /* Breadcrumb */
  .breadcrumb-inner     { font-size: 12px; }

  /* WhatsApp float */
  .whatsapp-float       { width: 50px; height: 50px; bottom: 20px; right: 16px; }

  /* Admin */
  .stat-cards           { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card            { padding: 14px 12px; }
  .stat-card .num       { font-size: 24px; }
  .stat-card .icon      { font-size: 22px; }
  .admin-main           { padding: 12px 10px; }
  .admin-card           { padding: 16px 12px; }
  .admin-card h2        { font-size: 14px; }
  .data-table           { font-size: 12px; }
  .data-table th, .data-table td { padding: 8px 8px; }
  .table-wrap           { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ── 380px SMALL PHONES ───────────────────────────────── */
@media (max-width: 380px) {
  .hero h1              { font-size: 21px; }
  .hero-btns            { gap: 6px; }
  .stats-grid           { grid-template-columns: 1fr 1fr; }
  .stat-item strong     { font-size: 22px; }
  .gallery-grid         { grid-template-columns: 1fr 1fr; gap: 8px; }
  .programs-grid        { gap: 10px; }
  .stat-cards           { grid-template-columns: 1fr 1fr; }
  .btn-gold, .btn-primary { font-size: 13px; padding: 10px 16px; }
}

/* ── ANIMATIONS ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp .6s ease both; }
.fade-up-1 { animation-delay: .1s; }
.fade-up-2 { animation-delay: .2s; }
.fade-up-3 { animation-delay: .3s; }

/* ── MOBILE NAV MENU ─────────────────────────────────── */
.main-nav.open {
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: white; padding: 72px 20px 20px;
  z-index: 850; overflow-y: auto;
}
.main-nav.open ul     { flex-direction: column; gap: 2px; }
.main-nav.open > ul > li > a {
  font-size: 16px; font-weight: 800; color: var(--navy-d);
  padding: 12px 16px; border-radius: 10px; display: block;
  border-bottom: 1px solid var(--lgray);
}
.main-nav.open .dropdown {
  display: block; position: static;
  box-shadow: none; border: none;
  padding: 4px 0 4px 16px; background: transparent;
}
.main-nav.open .dropdown a {
  font-size: 14px; padding: 8px 14px; color: var(--muted);
}
.nav-close-btn {
  display: none; position: absolute; top: 16px; right: 16px;
  background: var(--off); border: none; border-radius: 8px;
  width: 36px; height: 36px; font-size: 20px; cursor: pointer;
  align-items: center; justify-content: center; color: var(--navy-d);
}
.main-nav.open .nav-close-btn { display: flex; }

/* ── ADMIN MOBILE TOPBAR MENU BTN ────────────────────── */
.admin-menu-btn { display: none; }
@media (max-width: 900px) {
  .admin-menu-btn { display: flex !important; }
}

/* ══════════════════════════════════════════════════════════════
   REGISTRATION PAGES – MOBILE FIXES
   ══════════════════════════════════════════════════════════════ */

/* ── Event Registration ────────────────────────────────────── */
.reg-hero        { background: linear-gradient(135deg, var(--navy-d), var(--navy)); padding: 56px 0 40px; text-align: center; color: white; }
.reg-hero h1     { font-size: clamp(20px,5vw,32px); font-weight: 900; margin: 0 0 10px; }
.ev-meta         { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.ev-pill         { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); border-radius: 20px; padding: 5px 14px; font-size: 13px; font-weight: 700; }
.status-badge    { background: var(--gold); color: var(--navy-d); border-radius: 20px; padding: 4px 14px; font-size: 12px; font-weight: 800; margin-bottom: 12px; display: inline-block; }
.reg-wrap        { max-width: 620px; margin: 0 auto; padding: 0 16px; }
.reg-card        { background: white; border-radius: 20px; box-shadow: 0 8px 40px rgba(26,42,114,.1); padding: 36px 36px; margin: -28px auto 48px; position: relative; }
.reg-grid        { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ev-img-banner   { width: 100%; height: 200px; object-fit: cover; border-radius: 16px; margin-bottom: 20px; }
.success-icon    { font-size: 60px; margin-bottom: 16px; }
.wa-btn          { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: white; padding: 13px 28px; border-radius: 12px; font-weight: 800; font-size: 15px; text-decoration: none; transition: .2s; }
.wa-btn:hover    { background: #1da851; transform: translateY(-2px); }

/* ── Program Registration ──────────────────────────────────── */
.preg-hero       { background: linear-gradient(135deg, var(--navy-d), var(--navy-l)); padding: 56px 0 44px; text-align: center; color: white; }
.preg-hero h1    { font-size: clamp(20px,5vw,32px); font-weight: 900; margin: 0 0 8px; }
.type-toggle     { display: inline-flex; background: rgba(255,255,255,.12); border-radius: 40px; padding: 4px; margin-top: 18px; }
.type-btn        { padding: 9px 22px; border-radius: 36px; font-weight: 800; font-size: 14px; text-decoration: none; color: rgba(255,255,255,.75); transition: .25s; }
.type-btn.active { background: var(--gold); color: var(--navy-d); box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.preg-wrap       { max-width: 660px; margin: 0 auto; padding: 0 16px; }
.preg-card       { background: white; border-radius: 20px; box-shadow: 0 8px 48px rgba(26,42,114,.12); padding: 36px 36px; margin: -32px auto 48px; position: relative; }
.prog-select-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 10px; margin-bottom: 20px; }
.prog-sel-item   { border: 2px solid var(--lgray); border-radius: 12px; padding: 12px; text-align: center; cursor: pointer; transition: .2s; font-weight: 700; font-size: 13px; color: var(--navy-d); }
.prog-sel-item:hover   { border-color: var(--navy); background: var(--off); }
.prog-sel-item.selected{ border-color: var(--navy); background: #eef1ff; }
.perk-chips      { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.perk-chip       { background: #eef1ff; color: var(--navy); font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 20px; }
.section-divider { height: 1px; background: var(--lgray); margin: 20px 0; }

/* ── Registrations Admin Tabs ──────────────────────────────── */
.tab-bar         { display: flex; gap: 0; border-bottom: 2px solid var(--lgray); margin-bottom: 0; overflow-x: auto; }
.tab-btn         { padding: 11px 20px; font-size: 13px; font-weight: 800; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: .2s; }
.tab-btn.active  { color: var(--navy); border-bottom-color: var(--navy); }
.stat-mini       { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.stat-m          { background: white; border-radius: 10px; padding: 10px 16px; border: 1px solid var(--lgray); font-size: 12px; font-weight: 800; }
.stat-m span     { font-size: 20px; font-weight: 900; display: block; color: var(--navy-d); }
.wa-mini         { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: #25D366; border-radius: 6px; color: white; text-decoration: none; font-size: 14px; vertical-align: middle; margin-left: 4px; }
.export-btn      { display: inline-flex; align-items: center; gap: 6px; background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; padding: 7px 14px; border-radius: 8px; font-size: 12px; font-weight: 800; text-decoration: none; transition: .2s; white-space: nowrap; }
.export-btn:hover{ background: #1b5e20; color: white; }
.status-sel      { font-size: 12px; font-weight: 700; border: none; border-radius: 6px; padding: 4px 6px; cursor: pointer; }
.empty-state     { text-align: center; padding: 60px 20px; color: var(--muted); }
.reg-phone       { font-size: 13px; font-weight: 800; color: var(--navy); }
.reg-phone a     { color: inherit; text-decoration: none; }
.reg-phone a:hover { text-decoration: underline; }

/* ── Mobile overrides for registration pages ───────────────── */
@media (max-width: 640px) {
  .reg-card          { padding: 22px 16px; margin: -20px auto 36px; border-radius: 16px; }
  .reg-grid          { grid-template-columns: 1fr; }
  .reg-hero          { padding: 40px 0 32px; }
  .reg-hero h1       { font-size: 20px; }
  .ev-pill           { font-size: 12px; padding: 4px 12px; }
  .preg-card         { padding: 22px 16px; margin: -24px auto 36px; border-radius: 16px; }
  .preg-hero         { padding: 40px 0 36px; }
  .preg-hero h1      { font-size: 20px; }
  .type-btn          { padding: 7px 14px; font-size: 12px; }
  .prog-select-grid  { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .prog-sel-item     { padding: 10px 8px; font-size: 12px; }
  .wa-btn            { padding: 11px 20px; font-size: 14px; width: 100%; justify-content: center; }
  .share-btn         { font-size: 12px; padding: 7px 14px; }
  .admin-topbar      { flex-wrap: wrap; gap: 8px; height: auto !important; padding: 10px 12px !important; }
  .export-btn        { font-size: 11px; padding: 6px 10px; }
  .tab-btn           { padding: 10px 14px; font-size: 12px; }
  .stat-mini         { gap: 8px; }
  .stat-m            { padding: 8px 12px; }
  .stat-m span       { font-size: 18px; }
}

@media (max-width: 400px) {
  .reg-card          { padding: 18px 12px; }
  .preg-card         { padding: 18px 12px; }
  .type-toggle       { width: 100%; justify-content: center; }
  .prog-select-grid  { grid-template-columns: 1fr 1fr; }
  .ev-meta           { gap: 8px; }
}

/* ── Blog single post mobile ───────────────────────────────── */
@media (max-width: 640px) {
  .post-body         { padding: 0 0; }
  .post-content      { font-size: 15px; line-height: 1.8; padding-top: 24px; }
  .post-meta         { gap: 8px; font-size: 12px; }
  .related-grid      { grid-template-columns: 1fr; gap: 14px; }
}

/* ── Contact map – full width on mobile ────────────────────── */
@media (max-width: 640px) {
  .contact-grid iframe { height: 220px; }
}

/* ── Fix overflow issues globally on mobile ─────────────────── */
@media (max-width: 640px) {
  html, body              { overflow-x: hidden; }
  [style*="grid-template-columns: 1fr 1fr"] { 
    display: block !important; 
  }
  [style*="grid-template-columns:1fr 2fr"]  {
    display: block !important;
  }
}

/* ══════════════════════════════════════════════════
   NOTICE / PROMOTIONS STRIP
   ══════════════════════════════════════════════════ */
.notice-strip-section { background: var(--off); padding: 40px 0; }
.notice-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.notice-card {
  background: white; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--lgray); box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.notice-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.notice-img-wrap { width: 100%; height: 180px; overflow: hidden; flex-shrink: 0; background: var(--off); }
.notice-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top; display: block;
  transition: transform .4s;
}
.notice-card:hover .notice-img { transform: scale(1.04); }
.notice-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.notice-title { font-size: 15px; font-weight: 800; color: var(--navy-d); line-height: 1.35; }
.notice-sub   { font-size: 13px; color: var(--muted); line-height: 1.6; font-weight: 600; flex: 1; }
.notice-link  { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--navy); margin-top: 8px; transition: gap .2s; }
.notice-link:hover { gap: 8px; }

/* ══════════════════════════════════════════════════
   ALL IMAGE FIXES
   ══════════════════════════════════════════════════ */

/* Gallery items — square crop */
.gal-item {
  border-radius: 10px; overflow: hidden;
  aspect-ratio: 1/1; cursor: pointer;
  position: relative; background: var(--off);
  display: block;
}
.gal-item img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; object-position: center !important;
  display: block !important; transition: transform .4s;
  position: absolute; inset: 0;
}
.gal-item:hover img { transform: scale(1.08); }

/* Event card image */
.event-img {
  width: 100% !important; height: 200px !important;
  object-fit: cover !important; object-position: top !important;
  display: block !important;
}
.event-img-placeholder {
  height: 200px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-l) 100%);
  display: flex; align-items: center; justify-content: center; font-size: 40px;
}

/* Blog card image */
.blog-img {
  width: 100% !important; height: 220px !important;
  object-fit: cover !important; object-position: top !important;
  display: block !important;
}

/* Lightbox */
#lightbox img {
  max-width: 92vw !important; max-height: 88vh !important;
  object-fit: contain !important; border-radius: 8px;
  display: block;
}

/* Notice strip mobile */
@media (max-width: 640px) {
  .notice-strip-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .notice-img-wrap   { height: 110px; }
  .notice-body       { padding: 10px 12px 12px; }
  .notice-title      { font-size: 13px; }
  .notice-sub        { display: none; }
}
@media (max-width: 400px) {
  .notice-strip-grid { grid-template-columns: 1fr; }
  .notice-img-wrap   { height: 160px; }
}
