/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: hsl(210, 25%, 7.8%);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.icon-xs { width: 0.875rem; height: 0.875rem; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.75rem; height: 1.75rem; }

/* ===== Design tokens ===== */
:root {
  --brand-blue: hsl(224, 100%, 56%);
  --brand-blue-hover: hsl(224, 100%, 50%);
  --brand-orange: hsl(22, 100%, 50%);
  --brand-orange-hover: hsl(22, 100%, 45%);
  --dark-blue: hsl(224, 76%, 43%);
  --light-blue: hsl(224, 100%, 95%);
  --gray-50: hsl(210, 40%, 98%);
  --gray-100: hsl(220, 14%, 96%);
  --gray-200: hsl(214, 32%, 91%);
  --gray-300: hsl(213, 27%, 84%);
  --gray-600: hsl(215, 16%, 47%);
  --gray-700: hsl(215, 19%, 35%);
  --gray-900: hsl(221, 39%, 11%);
  --radius: 0.75rem;
  --container-width: 1152px;
}

/* ===== Layout ===== */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 1rem; }
.pt-header { padding-top: 80px; }
section { position: relative; }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.grid-2-fixed { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2-fixed { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.text-center { text-align: center; }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
.h1 { font-size: 2.25rem; font-weight: 700; line-height: 1.15; margin-bottom: 1.5rem; }
.h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
.h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.lead { font-size: 1.25rem; color: var(--gray-600); }
@media (min-width: 1024px) {
  .h1 { font-size: 3.75rem; }
  .h2 { font-size: 2.25rem; }
}

.text-brand-blue { color: var(--brand-blue); }
.text-brand-orange { color: var(--brand-orange); }
.text-white { color: #fff; }
.text-gray-600 { color: var(--gray-600); }
.text-blue-100 { color: hsl(224, 100%, 90%); }

.bg-brand-blue { background: var(--brand-blue); }
.bg-brand-orange { background: var(--brand-orange); }
.bg-light-blue { background: var(--light-blue); }
.bg-gray-50 { background: var(--gray-50); }
.brand-gradient { background: linear-gradient(135deg, var(--brand-blue) 0%, var(--dark-blue) 100%); }
.page-header-gradient { background: linear-gradient(to right, var(--brand-blue), var(--dark-blue)); }

/* ===== Page header (shared across inner pages) ===== */
.page-header { padding: 5rem 0; color: #fff; text-align: center; }
.page-header .h1 { font-size: 2rem; margin-bottom: 1rem; }
.page-header p { font-size: 1.25rem; max-width: 48rem; margin: 0 auto; color: hsl(224,100%,92%); }
@media (min-width: 1024px) { .page-header .h1 { font-size: 2.5rem; } }

/* ===== Benefit list (check items) ===== */
.benefit-list { display: flex; flex-direction: column; gap: 1rem; }
.benefit-item { display: flex; align-items: center; gap: 0.75rem; font-size: 1.125rem; }
.benefit-item svg { color: hsl(142, 71%, 45%); flex-shrink: 0; width: 1.25rem; height: 1.25rem; }

/* ===== Feature icon card ===== */
.feature-card { text-align: center; }
.feature-card .icon-badge { background: var(--light-blue); }
.feature-card .icon-badge svg { color: var(--brand-blue); }

/* ===== University name card ===== */
.university-card { text-align: center; font-weight: 600; font-size: 1.05rem; }

/* ===== Process step card ===== */
.step-card { display: flex; flex-direction: column; }
.step-number { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 9999px; background: var(--brand-blue); color: #fff; font-weight: 700; font-size: 1.125rem; flex-shrink: 0; }
.step-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }

/* ===== Round stat (services why-choose) ===== */
.round-stat { width: 5rem; height: 5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: #fff; font-weight: 700; font-size: 1.5rem; }

/* ===== Testimonial ===== */
.testimonial { background: var(--light-blue); border-radius: var(--radius); padding: 2.5rem; text-align: center; }
.testimonial svg { color: var(--brand-blue); width: 2rem; height: 2rem; margin: 0 auto 1rem; }
.testimonial p.quote-text { font-size: 1.125rem; font-style: italic; margin-bottom: 1rem; }

/* ===== Order swap on desktop (image/content reversal) ===== */
@media (min-width: 1024px) {
  .order-lg-1 { order: 1; }
  .order-lg-2 { order: 2; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}
.btn-orange { background: var(--brand-orange); color: #fff; }
.btn-orange:hover { background: var(--brand-orange-hover); }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-outline { background: transparent; border: 1px solid var(--gray-200); color: var(--gray-700); }

/* ===== Cards ===== */
.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card-shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.08); transition: box-shadow 0.2s ease; }
.card-shadow:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.icon-badge {
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.icon-badge svg { width: 1.75rem; height: 1.75rem; }

/* ===== Header / Navbar ===== */
.site-header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(0,0,0,0.08);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.site-logo img { height: 48px; width: auto; }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a { font-weight: 500; color: var(--gray-700); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-blue); }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 0.25rem; font-weight: 500; color: var(--gray-700); background: none; border: none; font-size: 1rem; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  min-width: 12rem;
  padding: 0.25rem;
  margin-top: 0.5rem;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 0.5rem 0.75rem; border-radius: 0.375rem; color: var(--gray-700); }
.nav-dropdown-menu a:hover { background: var(--gray-100); }

.nav-phones { display: none; flex-direction: column; align-items: flex-end; font-size: 0.875rem; }
.nav-phones a { font-weight: 700; }
.nav-phones a.blue { color: var(--brand-blue); }
.nav-phones a.orange { color: var(--brand-orange); }

.nav-cta { display: none; }
.mobile-menu-toggle {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; padding: 0.5rem;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-phones { display: flex; }
  .nav-cta { display: inline-flex; margin-left: 1rem; }
  .mobile-menu-toggle { display: none; }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 85%; max-width: 320px;
  background: #fff;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  z-index: 60;
  padding: 1.5rem;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 55;
}
.mobile-menu-overlay.open { display: block; }
.mobile-menu a { display: block; padding: 0.75rem 0; font-size: 1.125rem; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); }
.mobile-menu .btn { width: 100%; margin-top: 1rem; }

/* ===== Hero ===== */
.hero { padding: 5rem 0; color: #fff; }
.hero video { width: 100%; height: auto; border-radius: 0.75rem; box-shadow: 0 25px 50px rgba(0,0,0,0.25); background: #000; }

/* ===== Stats ===== */
.stat-card { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
@media (min-width: 1024px) { .stat-number { font-size: 2.25rem; } }
.stat-label { color: var(--gray-600); font-weight: 500; }

/* ===== Sections spacing ===== */
.section-py { padding: 5rem 0; }
.section-py-sm { padding: 4rem 0; }

/* ===== Quick links (brand-blue section) ===== */
.quicklink-card {
  background: #fff;
  color: var(--brand-blue);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
  transition: all 0.2s;
}
.quicklink-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.quicklink-card.orange { background: var(--brand-orange); color: #fff; }
.quicklink-card.orange:hover { background: var(--brand-orange-hover); }

/* ===== Footer ===== */
.site-footer { background: var(--gray-900); color: #fff; padding: 3rem 0; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-heading { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.footer-col p, .footer-col li { color: hsl(220, 9%, 75%); font-size: 0.9rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a:hover { color: #fff; }
.footer-office-label { color: hsl(220, 9%, 55%); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.footer-contact-block { margin-bottom: 0.75rem; }
.footer-phone { font-weight: 700; }
.footer-phone.blue { color: hsl(224, 100%, 70%); }
.footer-phone.orange { color: hsl(22, 100%, 65%); }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a { color: hsl(220, 9%, 75%); font-size: 1.25rem; }
.footer-bottom { border-top: 1px solid hsl(215, 14%, 24%); margin-top: 2rem; padding-top: 2rem; text-align: center; font-size: 0.875rem; color: hsl(220, 9%, 75%); }
.footer-bottom a { color: var(--brand-blue); margin-left: 0.25rem; }
.footer-bottom a:hover { color: hsl(224, 100%, 75%); }

/* ===== Modal (Get Free Counselling popup) ===== */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 100;
  align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 1rem;
  max-width: 900px; width: 100%;
  max-height: 90vh;
  overflow: hidden auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .modal-box { grid-template-columns: 1fr 1fr; } }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.9);
  border: none; border-radius: 9999px;
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.modal-visual {
  display: none;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--dark-blue) 100%);
  color: #fff;
  padding: 2rem;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 768px) { .modal-visual { display: flex; } }
.modal-form { padding: 1.5rem; }
@media (min-width: 640px) { .modal-form { padding: 2rem; } }

.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 500; margin-bottom: 0.375rem; font-size: 0.9rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
.field input:focus, .field select:focus { outline: 2px solid var(--brand-blue); outline-offset: 1px; }
.phone-field { display: flex; height: 2.75rem; border: 1px solid var(--gray-200); border-radius: 0.5rem; overflow: hidden; }
.phone-field .flag { display: flex; align-items: center; gap: 0.25rem; padding: 0 0.75rem; background: var(--gray-50); border-right: 1px solid var(--gray-200); }
.phone-field .prefix { display: flex; align-items: center; padding: 0 0.5rem; font-weight: 500; color: var(--gray-700); }
.phone-field input { flex: 1; border: none; padding: 0 0.75rem; font-size: 1rem; font-family: inherit; }
.phone-field input:focus { outline: none; }
.checkbox-row { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--gray-600); margin-bottom: 1rem; }
.checkbox-row a { color: var(--brand-blue); }
.form-error { color: hsl(0, 84%, 55%); font-size: 0.85rem; margin-top: 0.25rem; }
.form-success { background: hsl(140, 60%, 95%); color: hsl(140, 60%, 25%); padding: 0.75rem 1rem; border-radius: 0.5rem; margin-bottom: 1rem; font-size: 0.9rem; }

/* Utility spacing */
.mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }

/* ===== Forminator form styling overrides (match site design) ===== */
.mcf-forminator .forminator-label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 0.375rem; color: var(--gray-700); }
.mcf-forminator .forminator-required { color: hsl(0, 84%, 55%); }
.mcf-forminator .forminator-input,
.mcf-forminator .forminator-textarea,
.mcf-forminator select.forminator-select,
.mcf-forminator .forminator-select2-container {
  width: 100% !important;
  border: 1px solid var(--gray-200) !important;
  border-radius: 0.5rem !important;
  font-size: 1rem !important;
  font-family: inherit !important;
  padding: 0 0.75rem !important;
  background: #fff !important;
}
.mcf-forminator .forminator-input { height: 2.75rem !important; }
.mcf-forminator .forminator-textarea { padding: 0.75rem !important; min-height: 120px !important; }
.mcf-forminator .forminator-input:focus,
.mcf-forminator .forminator-textarea:focus,
.mcf-forminator select.forminator-select:focus {
  outline: 2px solid var(--brand-blue) !important;
  outline-offset: 1px;
  border-color: var(--brand-blue) !important;
}
.mcf-forminator .forminator-row { margin-bottom: 1rem !important; }
.mcf-forminator .forminator-button-submit {
  background: var(--brand-orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  padding: 0.75rem 1.5rem !important;
  width: 100%;
  font-size: 1rem !important;
  cursor: pointer;
}
.mcf-forminator .forminator-button-submit:hover { background: var(--brand-orange-hover) !important; }
.mcf-forminator .forminator-pagination-current-page,
.mcf-forminator .forminator-pagination { color: var(--gray-600); font-size: 0.875rem; }
.mcf-forminator .forminator-pagination-progress-bar,
.mcf-forminator .forminator-pagination-bar { background: var(--brand-orange) !important; }
.mcf-forminator .forminator-response-message.forminator-success {
  background: hsl(140, 60%, 95%); color: hsl(140, 60%, 25%);
  padding: 0.75rem 1rem; border-radius: 0.5rem; margin-bottom: 1rem; font-size: 0.9rem;
}
.mcf-forminator .forminator-response-message.forminator-error:not(:empty) {
  background: hsl(0, 84%, 96%); color: hsl(0, 70%, 40%);
  padding: 0.75rem 1rem; border-radius: 0.5rem; margin-bottom: 1rem; font-size: 0.9rem;
}
.mcf-forminator .forminator-error-message { color: hsl(0, 84%, 55%); font-size: 0.85rem; margin-top: 0.25rem; }
.mcf-forminator .forminator-btn-back { background: transparent !important; border: 1px solid var(--gray-200) !important; color: var(--gray-700) !important; }
.modal-form.mcf-forminator { width: 100%; }
