:root {
  --bg: #f6fbff;
  --bg-2: #eef7ff;
  --card: rgba(255,255,255,0.82);
  --text: #10223e;
  --muted: #5b6b84;
  --line: rgba(16,34,62,0.08);
  --primary: #2367ff;
  --primary-2: #38a8ff;
  --accent: #12c2a9;
  --shadow: 0 20px 50px rgba(35,103,255,0.12);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(circle at 10% 10%, rgba(56,168,255,0.20), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(18,194,169,0.14), transparent 28%),
    radial-gradient(circle at 65% 65%, rgba(35,103,255,0.12), transparent 32%);
}
.glass {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.topbar-inner, .nav, .footer-grid, .highlight-grid, .topbar-left, .social-links, .hero-actions, .hero-stats, .chat-head, .chat-title-wrap, .map-actions {
  display: flex;
  align-items: center;
}
.topbar-inner { justify-content: space-between; gap: 16px; min-height: 48px; }
.topbar-left, .social-links { gap: 12px; color: var(--muted); flex-wrap: wrap; }
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16,34,62,0.06);
}
.nav { justify-content: space-between; min-height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 66px; height: 66px; object-fit: contain; }
.brand strong { display: block; font-size: 18px; }
.brand span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-cta {
  padding: 12px 18px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white;
  box-shadow: 0 16px 30px rgba(35,103,255,0.22);
}
.nav-cta:hover, .btn:hover, .chat-toggle:hover, .icon-btn:hover { transform: translateY(-1px); }
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; padding: 48px 0 24px;
}
.hero-copy, .hero-visual, .section-head, .country-copy, .contact-card, .form-card, .detail-card, .card, .timeline-item, .flag-card, .map-card { border-radius: var(--radius); }
.hero-copy { padding: 18px 0 0; }
.eyebrow {
  display: inline-flex; padding: 9px 14px; border-radius: 999px;
  background: rgba(35,103,255,0.10); color: var(--primary); font-size: 13px; font-weight: 700;
}
.eyebrow.dark { background: rgba(16,34,62,0.10); color: var(--text); }
.hero h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.02; margin: 16px 0 16px; max-width: 12ch; }
.hero p { font-size: 18px; color: var(--muted); line-height: 1.7; max-width: 60ch; }
.hero-actions { gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn { padding: 14px 22px; font-weight: 700; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 18px 34px rgba(35,103,255,.22); }
.btn-secondary { background: #fff; color: var(--text); border: 1px solid var(--line); }
.hero-stats { gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats > div {
  min-width: 150px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
}
.hero-stats strong { display: block; font-size: 15px; }
.hero-stats span { color: var(--muted); font-size: 13px; }
.hero-visual { padding: 18px; position: relative; }
.hero-badge {
  display: inline-flex; background: linear-gradient(135deg, rgba(18,194,169,.16), rgba(56,168,255,.16));
  color: #0f5f71; border-radius: 999px; padding: 10px 14px; font-weight: 700; font-size: 13px; margin-bottom: 14px;
}
.hero-grid, .grid, .student-service-grid, .timeline, .country-panels { display: grid; gap: 16px; }
.hero-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.info-card, .card, .detail-card, .timeline-item, .flag-card { background: #fff; border: 1px solid var(--line); padding: 20px; }
.info-card span, .timeline-item span {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(35,103,255,0.1); color: var(--primary); font-weight: 800; margin-bottom: 12px;
}
.info-card.active { background: linear-gradient(135deg, #ffffff, #f1f7ff); }
.accent-card { background: linear-gradient(135deg, #1f68ff, #36a4ff); color: white; }
.section { padding: 34px 0; }
.logo-strip { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.mini-pill {
  padding: 12px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted);
  box-shadow: 0 8px 20px rgba(16,34,62,.04);
}
.section-head { text-align: center; margin-bottom: 22px; }
.section-head.left { text-align: left; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin: 14px 0 8px; }
.section-sub { color: var(--muted); max-width: 780px; margin: 0 auto; line-height: 1.7; }
.grid.cards-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.service-card h3, .detail-card h3, .card h3, .timeline-item h3 { margin-top: 0; }
.highlight-band { background: linear-gradient(135deg, #eaf5ff, #f7fffd); border-top: 1px solid rgba(16,34,62,.04); border-bottom: 1px solid rgba(16,34,62,.04); }
.highlight-grid { justify-content: space-between; gap: 22px; }
.highlight-points { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; width: 100%; }
.highlight-points > div { background: #fff; border-radius: 20px; padding: 18px; border: 1px solid var(--line); }
.highlight-points span, .card p, .detail-card p, .timeline-item p, .country-copy p, .form-msg, .small-note, .footer p { color: var(--muted); line-height: 1.7; }
.country-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.tab-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 12px 18px; cursor: pointer; font-weight: 700; color: var(--muted);
}
.tab-btn.active { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; border-color: transparent; }
.country-panels { position: relative; }
.country-panel { display: none; padding: 28px; }
.country-panel.active { display: block; }
.country-copy h3 { margin-top: 0; font-size: 30px; }
.bullet-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.bullet-grid > div {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px;
}
.bullet-grid strong { display: block; margin-bottom: 8px; }
.bullet-grid span { color: var(--muted); line-height: 1.6; }
.student-service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.detail-card ul { margin: 14px 0 0 18px; padding: 0; color: var(--muted); line-height: 1.8; }
.timeline { grid-template-columns: repeat(3, minmax(0,1fr)); }
.timeline-item { position: relative; }
.split, .contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-card, .contact-card, .map-card { padding: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; border-radius: 16px; border: 1px solid rgba(16,34,62,0.12); background: #fff; padding: 14px 16px; color: var(--text);
}
.form-grid textarea { min-height: 120px; resize: vertical; grid-column: 1 / -1; }
.form-grid button, .form-grid .form-msg { grid-column: 1 / -1; }
.contact-list { display: grid; gap: 14px; }
.contact-list a { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); padding: 16px; border-radius: 18px; }
.contact-list span { color: var(--muted); }
.map-preview { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: #fff; }
.map-preview iframe { width: 100%; min-height: 360px; border: 0; }
.map-actions { justify-content: space-between; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.footer { padding: 34px 0 18px; border-top: 1px solid var(--line); background: rgba(255,255,255,0.76); margin-top: 26px; }
.footer-grid { align-items: start; justify-content: space-between; gap: 24px; }
.footer-grid > div { flex: 1; display: grid; gap: 10px; }
.footer h4 { margin: 0 0 6px; }
.footer-brand img { width: 56px; height: 56px; }
.copyright { text-align: center; color: var(--muted); padding-top: 24px; }
.whatsapp-float {
  position: fixed; right: 20px; bottom: 22px; z-index: 20; padding: 14px 18px; border-radius: 999px;
  background: linear-gradient(135deg, #21c963, #16a34a); color: #fff; box-shadow: 0 18px 30px rgba(33,201,99,.28); font-weight: 800;
}
.chatbot-shell { position: fixed; right: 20px; bottom: 88px; z-index: 25; }
.chat-toggle {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 14px; border: none; border-radius: 999px; background: #fff; box-shadow: var(--shadow); cursor: pointer;
}
.chat-toggle-face, .ai-avatar {
  width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-size: 12px; font-weight: 800;
}
.chatbot {
  width: min(360px, calc(100vw - 32px)); overflow: hidden; margin-top: 12px; border-radius: 24px;
}
.hidden { display: none !important; }
.chat-head { justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.9); }
.chat-head span { color: var(--muted); font-size: 13px; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 20px;
}
.chat-quick { display: flex; gap: 8px; padding: 12px 14px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.chat-quick button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; cursor: pointer; color: var(--muted); font-size: 13px;
}
.chat-body { max-height: 360px; overflow: auto; padding: 16px 14px; background: linear-gradient(180deg, #fbfdff 0%, #f4f9ff 100%); }
.msg { display: flex; margin-bottom: 12px; }
.msg.user { justify-content: flex-end; }
.bubble {
  max-width: 85%; padding: 12px 14px; border-radius: 18px; line-height: 1.6; font-size: 14px; white-space: pre-line;
}
.msg.bot .bubble { background: #fff; border: 1px solid var(--line); }
.msg.user .bubble { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input {
  border-radius: 999px; border: 1px solid rgba(16,34,62,0.12); padding: 12px 14px;
}
.admin-body { min-height: 100vh; background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%); }
.admin-wrap { padding: 42px 0; }
.admin-login, .admin-dashboard, .table-card { padding: 24px; border-radius: 24px; }
.compact { max-width: 420px; }
.admin-stats { margin: 22px 0; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
@media (max-width: 1080px) {
  .hero, .split, .contact-section, .highlight-grid { grid-template-columns: 1fr; }
  .grid.cards-3, .timeline, .student-service-grid, .highlight-points { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  nav { display: none; }
  .hero-grid, .grid.cards-3, .student-service-grid, .timeline, .bullet-grid, .highlight-points, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .brand img { width: 54px; height: 54px; }
  .topbar-inner { padding: 8px 0; }
  .topbar-left, .social-links { gap: 8px; }
  .form-grid textarea, .form-grid button, .form-grid .form-msg { grid-column: auto; }
  .chatbot-shell { right: 12px; bottom: 82px; }
  .whatsapp-float { right: 12px; bottom: 18px; }
}



.page-hero { padding: 72px 0 28px; }
.page-hero .hero-copy { max-width: 860px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 16px; }
.breadcrumbs { display:flex; gap:10px; flex-wrap:wrap; color: var(--muted); font-size:14px; margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }
.page-intro { color: var(--muted); max-width: 820px; font-size: 17px; line-height: 1.75; }
.page-nav { display:flex; gap:10px; flex-wrap: wrap; margin-top: 22px; }
.page-nav a { background:#fff; border:1px solid var(--line); padding:10px 14px; border-radius:999px; color: var(--muted); font-weight:600; }
.feature-grid-4 { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:18px; }
.feature-grid-4 .card h3 { margin-top: 0; }
.why-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap:18px; }
.country-index { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:18px; }
.country-card h3 { margin-top: 0; }
.country-card .btn { margin-top: 16px; }
.detail-list { display:grid; gap:14px; margin-top: 20px; }
.detail-list > div { background:#fff; border:1px solid var(--line); border-radius:18px; padding:18px; }
.detail-list strong { display:block; margin-bottom:8px; }
.long-copy { display:grid; gap:18px; }
.long-copy p { margin:0; color: var(--muted); line-height:1.85; }
.long-copy h2, .long-copy h3 { margin: 0; }
.two-col { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:18px; }
.cta-band { background: linear-gradient(135deg, #10223e, #1d62f0); color:#fff; border-radius:30px; padding:28px; display:grid; gap:16px; }
.cta-band p { color: rgba(255,255,255,.88); margin:0; }
.cta-actions { display:flex; gap:12px; flex-wrap:wrap; }
.cta-band .btn-secondary { background: rgba(255,255,255,.1); color:#fff; border-color: rgba(255,255,255,.25); }
.notice-card { background: linear-gradient(180deg, #fff9ec 0%, #fff 100%); border:1px solid #f6ddb0; }
.small-muted { color: var(--muted); font-size: 14px; }
.spacious-list { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.9; }
@media (max-width: 1080px) {
  .feature-grid-4, .country-index, .two-col, .why-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .feature-grid-4, .country-index, .two-col, .why-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 42px; }
}


/* FINAL RESPONSIVE UPGRADE */
.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  box-shadow: 0 12px 24px rgba(16,34,62,.08);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.menu-toggle span { transform: translateY(-1px); }
.detail-list, .spacious-list, .cta-actions { display: grid; gap: 14px; }
.notice-card ul { margin: 0; padding-left: 18px; }
.small-muted { color: var(--muted); line-height: 1.7; }
.cta-band {
  background: linear-gradient(135deg, #eaf4ff, #f8fffd);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  text-align: center;
}
.cta-band p { color: var(--muted); max-width: 760px; margin: 12px auto 0; line-height: 1.7; }
.cta-actions { grid-auto-flow: column; justify-content: center; margin-top: 20px; }
body.mobile-nav-open { overflow: hidden; }

@media (max-width: 920px) {
  .hero, .why-grid, .country-index, .split, .contact-section, .highlight-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 24px, 1180px); }
  .topbar-inner {
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
  }
  .topbar-left span { display: none; }
  .topbar-left { display: grid; gap: 4px; }
  .header { position: sticky; top: 0; }
  .nav {
    min-height: 76px;
    padding: 10px 0;
    gap: 10px;
  }
  .brand { gap: 10px; max-width: calc(100% - 64px); }
  .brand img { width: 46px; height: 46px; }
  .brand strong { font-size: 16px; }
  .brand span { font-size: 12px; }
  .menu-toggle { display: inline-flex; }
  .header nav {
    position: fixed;
    top: 76px;
    left: 12px;
    right: 12px;
    z-index: 40;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(16,34,62,.14);
    max-height: calc(100vh - 110px);
    overflow: auto;
  }
  body.mobile-nav-open .header nav { display: flex; }
  .header nav a {
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(16,34,62,0.08);
  }
  .header nav .nav-cta {
    width: 100%;
    padding: 14px 18px;
  }
  .hero {
    padding: 24px 0 20px;
    gap: 18px;
  }
  .hero-copy { padding-top: 0; }
  .hero h1 {
    font-size: clamp(34px, 11vw, 46px);
    line-height: 1.04;
    max-width: 9ch;
    margin: 14px 0;
  }
  .hero p, .page-intro { font-size: 16px; line-height: 1.65; }
  .hero-actions, .cta-actions { grid-auto-flow: row; width: 100%; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-stats > div { min-width: 100%; }
  .hero-visual { padding: 14px; }
  .hero-grid, .grid.cards-3, .student-service-grid, .timeline, .bullet-grid, .highlight-points, .form-grid, .footer-grid, .feature-grid-4, .country-index {
    grid-template-columns: 1fr;
  }
  .page-hero { padding: 36px 0 18px; }
  .page-hero h1 { font-size: clamp(32px, 10vw, 42px); }
  .country-panel { padding: 18px; }
  .country-copy h3 { font-size: 24px; }
  .section { padding: 24px 0; }
  .section-head h2 { margin-top: 10px; }
  .card, .detail-card, .timeline-item, .flag-card, .map-card, .form-card, .contact-card, .cta-band { padding: 18px; border-radius: 20px; }
  .map-preview, .map-preview iframe { min-height: 260px; }
  .footer { padding-top: 26px; }
  .footer-grid { display: grid; }
  .footer-grid > div { gap: 8px; }
  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    padding: 12px 16px;
    font-size: 14px;
  }
  .chatbot-shell {
    right: 12px;
    bottom: 72px;
  }
  .chat-toggle {
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .chat-toggle > span:last-child { display: none; }
  .chatbot {
    width: min(360px, calc(100vw - 24px));
    max-height: 70vh;
  }
  .chat-body { max-height: 300px; }
}
