/* ============================================
   NORTH WEST ACADEMY — CLEAN STYLES
   ============================================ */

/* ─── Variables ─── */
:root {
  --bg: #fafaf9;
  --bg-card: #ffffff;
  --bg-dark: #0a0f1e;
  --bg-dark-secondary: #111827;

  --text: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --text-on-dark: rgba(255,255,255,0.75);
  --text-on-dark-muted: rgba(255,255,255,0.45);

  --accent: #00a651;
  --accent-hover: #008c44;
  --accent-light: rgba(0,166,81,0.1);

  --border: #e5e7eb;
  --border-dark: rgba(255,255,255,0.08);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --header-h: 68px;
  --container: 1200px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ─── Container ─── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { color: var(--text-secondary); line-height: 1.75; }

/* ─── Buttons ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 24px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; transition: all 0.2s var(--ease); white-space: nowrap; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,166,81,0.3); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-white { background: #fff; color: var(--text); }
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-on-dark); border: 1.5px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 15px; }

/* ─── Cards ─── */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ─── Grids ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr; } }

/* ─── Section ─── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 17px; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-dark);
  transition: box-shadow 0.3s var(--ease);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

.header-inner {
  display: flex; align-items: center;
  height: 100%; gap: 32px;
}

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.logo-img { height: 36px; width: auto; display: block; }

/* Nav */
.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px; font-size: 14px; font-weight: 500;
  color: var(--text-on-dark); border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s; white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-link.active { color: #fff; font-weight: 600; }
.nav-arrow { transition: transform 0.2s; opacity: 0.5; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown — Premium Animated & Highly Specific */
.nav-item .dropdown {
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  position: absolute !important; 
  top: 100% !important; 
  left: 0;
  margin-top: 6px;
  min-width: 280px; 
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  padding: 8px !important;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-spring), transform 0.25s var(--ease-spring), visibility 0.25s;
}

/* Invisible bridge for hover gap so menu stays open */
.nav-item .dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.nav-item:hover > .dropdown { 
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-item .dropdown-item {
  display: flex !important; 
  align-items: center; 
  gap: 14px;
  padding: 12px 14px !important; 
  border-radius: var(--radius) !important;
  color: var(--text-secondary); 
  font-size: 14px; 
  font-weight: 500;
  transition: all 0.2s var(--ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.nav-item .dropdown-item:hover { 
  background: var(--accent-light) !important; 
  color: var(--text) !important;
  transform: translateX(4px);
}

.nav-item .dropdown-item:hover .dropdown-icon { 
  background: var(--accent) !important; 
  color: #fff !important; 
  transform: scale(1.1);
}

.nav-item .dropdown-item:hover .dropdown-item-name { 
  color: var(--accent) !important; 
}

.nav-item .dropdown-item:hover .dropdown-item-desc { 
  color: var(--text-secondary) !important; 
}

.nav-item .dropdown-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: rgba(0, 166, 81, 0.08); color: var(--accent); flex-shrink: 0;
  transition: transform 0.25s var(--ease-spring), background 0.2s, color 0.2s;
}

.nav-item .dropdown-item-name { 
  font-size: 14px; font-weight: 700; color: var(--text); transition: color 0.15s; 
}

.nav-item .dropdown-item-desc { 
  font-size: 12px; color: var(--text-muted); margin-top: 2px; transition: color 0.15s; 
}

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-cta { font-size: 13px; padding: 9px 20px; }

/* Mobile Toggle */
.mobile-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  color: var(--text-on-dark); transition: background 0.15s; flex-shrink: 0;
}
.mobile-toggle:hover { background: rgba(255,255,255,0.08); }

@media (max-width: 1024px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .mobile-toggle { display: flex; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 999;
  background: var(--bg-dark); overflow-y: auto;
  display: none; padding: 16px 0 100px;
}
.mobile-menu.open { display: block; }

.mobile-nav-link {
  display: block; font-size: 15px; font-weight: 600;
  color: var(--text-on-dark); padding: 12px 24px;
  border-bottom: 1px solid var(--border-dark);
}
.mobile-nav-link:hover { color: #fff; background: rgba(255,255,255,0.04); }
.mobile-nav-link.active { color: var(--accent); }

.mobile-sub-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 24px 10px 36px; font-size: 14px;
  color: var(--text-on-dark-muted); transition: color 0.15s;
}
.mobile-sub-link:hover { color: #fff; }
.mobile-sub-icon {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 6px;
  background: rgba(0,166,81,0.15); color: var(--accent); flex-shrink: 0;
}
.mobile-sub-name { font-weight: 500; }
.mobile-sub-desc { font-size: 12px; opacity: 0.6; margin-top: 1px; }

.mobile-actions { padding: 20px 24px 0; }
.mobile-divider { height: 1px; background: var(--border-dark); margin: 4px 0; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../assets/img/hero-classes.jpg');
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,15,30,0.75) 0%, rgba(10,15,30,0.5) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,166,81,0.15); border: 1px solid rgba(0,166,81,0.3);
  color: #4ade80; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 20px; font-weight: 800; }
.hero p { color: rgba(255,255,255,0.7); font-size: 18px; max-width: 520px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-value { font-size: 28px; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 20px; }
  .hero-stat-value { font-size: 22px; }
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.trust-item svg { color: var(--accent); flex-shrink: 0; }
.trust-item strong { color: var(--text); }
@media (max-width: 768px) { .trust-inner { gap: 20px; } }

/* ============================================
   PROGRAMMES
   ============================================ */
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .programs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .programs-grid { grid-template-columns: 1fr; } }

.program-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.program-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.program-card-img { position: relative; height: 200px; overflow: hidden; }
.program-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.program-card:hover .program-card-img img { transform: scale(1.04); }
.program-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff; padding: 4px 10px;
  border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.program-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.program-card h3 { margin-bottom: 8px; }
.program-card p { font-size: 14px; margin-bottom: 16px; flex: 1; }
.program-card-link { font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; transition: gap 0.15s; }
.program-card-link:hover { gap: 8px; }

/* ============================================
   WHY DERRY
   ============================================ */
.derry-section { background: var(--bg-card); }
.derry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.derry-content h2 { margin-bottom: 20px; }
.derry-content p { margin-bottom: 24px; }
.derry-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.derry-feature { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--text); }
.derry-feature svg { color: var(--accent); flex-shrink: 0; }
.derry-img { border-radius: var(--radius-lg); overflow: hidden; height: 400px; }
.derry-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .derry-grid { grid-template-columns: 1fr; } .derry-img { height: 280px; } }

/* ============================================
   FEATURES
   ============================================ */
.features-section { background: var(--bg-dark); }
.features-section h2, .features-section p { color: rgba(255,255,255,0.9); }
.features-section .section-header p { color: rgba(255,255,255,0.5); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--bg-dark-secondary); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 24px; transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(0,166,81,0.3); transform: translateY(-2px); }
.feature-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: rgba(0,166,81,0.12); color: var(--accent); margin-bottom: 16px;
}
.feature-card h3 { color: #fff; font-size: 15px; margin-bottom: 8px; }
.feature-card p { color: rgba(255,255,255,0.45); font-size: 14px; }

/* ============================================
   STATS
   ============================================ */
.stats-section { background: var(--accent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 40px 20px; border-right: 1px solid rgba(255,255,255,0.15); }
.stat-item:last-child { border-right: none; }
.stat-value { font-size: 40px; font-weight: 900; color: #fff; line-height: 1; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 6px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); } .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); } }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-stars svg { color: #f59e0b; }
.testimonial-text { font-size: 15px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.7; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-country { font-size: 12px; color: var(--text-muted); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #008c44 100%);
  padding: 72px 0; text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 14px 0; position: sticky; top: var(--header-h); z-index: 99;
}
.filter-inner { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-inner .btn { font-size: 13px; padding: 7px 14px; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.55); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.06); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; text-decoration: none; }
.footer-logo img { height: 32px; width: auto; }
.footer-brand-name { font-weight: 700; font-size: 15px; color: #fff; }
.footer-brand-sub { font-size: 11px; color: rgba(255,255,255,0.4); }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 280px; }

.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-link:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 12px; }
.footer-contact-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-social { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5); transition: background 0.15s, color 0.15s; }
.footer-social:hover { background: var(--accent); color: #fff; }

.footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copyright { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.35); transition: color 0.15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ============================================
   PAGE HERO (subdirectory pages)
   ============================================ */
.page-hero {
  position: relative; min-height: 340px;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  background: var(--bg-dark);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay { position: absolute; inset: 0; background: rgba(10,15,30,0.65); }
.page-hero-content { position: relative; z-index: 1; max-width: 640px; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 17px; }
.page-hero-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 10px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.45); flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.15s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: 0.4; }

/* ============================================
   CHATBOT
   ============================================ */
.chat-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,166,81,0.4);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
  cursor: pointer; border: none;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,166,81,0.5); }
.chat-fab-badge {
  position: absolute; top: -4px; right: -4px;
  background: #ef4444; color: #fff;
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}

.chat-window {
  position: fixed; bottom: 90px; right: 24px; z-index: 901;
  width: 380px; max-width: calc(100vw - 48px);
  background: var(--bg-card); border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  display: none; flex-direction: column;
  max-height: 540px;
}
.chat-window.open { display: flex; }

.chat-header {
  background: linear-gradient(135deg, var(--accent) 0%, #008c44 100%);
  color: #fff; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; flex-shrink: 0;
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-header-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.chat-header-name { font-weight: 700; font-size: 15px; }
.chat-header-status { font-size: 12px; opacity: 0.8; display: flex; align-items: center; gap: 6px; }
.chat-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.chat-close {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; transition: background 0.15s;
}
.chat-close:hover { background: rgba(255,255,255,0.25); }

.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }

.chat-msg { display: flex; gap: 10px; align-items: flex-start; }
.chat-msg.bot { }
.chat-msg.user { flex-direction: row-reverse; }
.chat-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-msg.user .chat-avatar { background: var(--bg-dark); color: #fff; }
.chat-bubble {
  max-width: 260px; padding: 12px 16px; border-radius: 14px;
  font-size: 14px; line-height: 1.6;
}
.chat-msg.bot .chat-bubble { background: var(--bg); color: var(--text); border-bottom-left-radius: 4px; }
.chat-msg.user .chat-bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble p { margin: 0; font-size: 14px; color: inherit; }
.chat-bubble p + p { margin-top: 6px; }

.chat-quick { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.chat-quick-btn {
  background: var(--bg-card); border: 1.5px solid var(--border);
  color: var(--text); padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; text-align: left; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.chat-quick-btn:hover { border-color: var(--accent); background: var(--accent-light); }

.chat-cta-card {
  background: linear-gradient(135deg, var(--accent) 0%, #008c44 100%);
  border-radius: var(--radius); padding: 16px; margin-top: 8px; color: #fff;
}
.chat-cta-card h4 { color: #fff; font-size: 14px; margin-bottom: 6px; }
.chat-cta-card p { color: rgba(255,255,255,0.8); font-size: 12px; margin-bottom: 12px; }
.chat-cta-btn { background: #fff; color: var(--accent); padding: 8px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; display: inline-block; transition: background 0.15s; }
.chat-cta-btn:hover { background: rgba(255,255,255,0.9); }

.chat-typing { display: flex; gap: 4px; padding: 12px 16px; background: var(--bg); border-radius: 14px; border-bottom-left-radius: 4px; width: fit-content; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); animation: typing-bounce 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce { 0%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-6px); } }

.chat-footer { padding: 12px 16px; border-top: 1px solid var(--border); flex-shrink: 0; }
.chat-footer-note { font-size: 11px; color: var(--text-muted); text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; }
.chat-footer-note svg { color: var(--accent); }

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 600; color: var(--text); text-align: left;
  background: none; border: none; cursor: pointer; gap: 12px;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--bg); }
.faq-question svg { flex-shrink: 0; color: var(--text-muted); transition: transform 0.2s; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease);
}
.faq-answer-inner { padding: 0 20px 18px; font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 300px; }

/* ============================================
   FORMS
   ============================================ */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-input {
  padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text); background: var(--bg-card);
  transition: border-color 0.15s, box-shadow 0.15s; outline: none;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,166,81,0.1); }
.form-input.error { border-color: #ef4444; }
.form-error { font-size: 12px; color: #ef4444; }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-success { text-align: center; padding: 40px; }
.form-success svg { color: var(--accent); margin-bottom: 12px; }
.form-success h3 { margin-bottom: 8px; }

/* ============================================
   ACCREDITATION
   ============================================ */
.accreditation-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 768px) { .accreditation-grid { grid-template-columns: repeat(3, 1fr); } }
.accreditation-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; align-items: center; justify-content: center; }
.accreditation-item img { max-height: 40px; width: auto; opacity: 0.7; transition: opacity 0.2s; }
.accreditation-item:hover img { opacity: 1; }

/* ============================================
   TABS
   ============================================ */
.tab-nav { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 24px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 18px; font-size: 14px; font-weight: 600;
  color: var(--text-secondary); background: none; border: none;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  cursor: pointer; transition: color 0.15s, border-color 0.15s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
