/* ============================================================
   Bubble Vergo — Public Site Styles
   Brand: Blue #1a56db | Red #e02424 | Dark #0f1923
   ============================================================ */

:root {
  --blue:        #1a56db;
  --blue-dark:   #1e40af;
  --blue-light:  #dbeafe;
  --red:         #e02424;
  --red-dark:    #b91c1c;
  --dark:        #0f1923;
  --dark-2:      #1a2535;
  --gray-900:    #111827;
  --gray-700:    #374151;
  --gray-500:    #6b7280;
  --gray-300:    #d1d5db;
  --gray-100:    #f3f4f6;
  --white:       #ffffff;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow:      0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.15);
  --trans:       all .25s ease;
  --font:        'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--blue); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--blue-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide { max-width: 1400px; }
.container--narrow { max-width: 800px; }

.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 120px 0; }

/* --- Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.navbar__logo img {
  height: 40px;
  width: auto;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--radius);
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--trans);
}

.navbar__link:hover, .navbar__link--active {
  background: var(--blue-light);
  color: var(--blue);
}

.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 0;
  z-index: 100;
}

.navbar__dropdown:hover .navbar__dropdown-menu { display: block; }

.navbar__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--trans);
}

.navbar__dropdown-menu a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius);
  color: var(--gray-700);
}

.navbar__toggle:hover { background: var(--gray-100); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: var(--trans);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font);
}

.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,86,219,.35);
}

.btn--danger {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--danger:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--blue);
}

.btn--ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}
.btn--ghost:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.btn--sm { padding: 7px 16px; font-size: 0.8rem; }
.btn--lg { padding: 15px 32px; font-size: 1rem; }
.btn--full { width: 100%; }

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}
.btn--whatsapp:hover { background: #1ebe57; color: var(--white); }

/* --- Hero Section --- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #1e3a5f 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a56db' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,86,219,.2);
  border: 1px solid rgba(26,86,219,.4);
  color: #93c5fd;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero__title {
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__title span {
  background: linear-gradient(135deg, var(--blue) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  color: rgba(255,255,255,.75);
  font-size: 1.125rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero__stat strong {
  display: block;
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.hero__stat span {
  color: rgba(255,255,255,.6);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__visual {
  position: relative;
}

.hero__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}

.hero__img-wrap img { width: 100%; height: 500px; object-fit: cover; }

.hero__float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
}

.hero__float-card--1 { bottom: -20px; left: -20px; }
.hero__float-card--2 { top: 32px; right: -20px; }

.hero__float-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.section-title { margin-bottom: 14px; }

.section-sub {
  color: var(--gray-500);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--trans);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__img--tall { height: 260px; }

.card__body { padding: 20px 24px; }

.card__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--blue-light);
  color: var(--blue);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card__tag--red { background: #fee2e2; color: var(--red); }
.card__tag--green { background: #dcfce7; color: #16a34a; }

.card__title { margin-bottom: 8px; font-size: 1.05rem; }
.card__text { color: var(--gray-500); font-size: 0.875rem; line-height: 1.6; margin-bottom: 16px; }

.card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-500);
  font-size: 0.8rem;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
  flex-wrap: wrap;
}

.card__meta-item { display: flex; align-items: center; gap: 4px; }

.card__footer {
  padding: 16px 24px;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Grid Layouts --- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --- Country Card --- */
.country-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--trans);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.country-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.country-card__cover {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.country-card__body {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.country-card__flag {
  width: 40px;
  height: 28px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--gray-300);
  flex-shrink: 0;
}

.country-card__flag-placeholder {
  width: 40px;
  height: 28px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
}

.country-card__name { font-weight: 700; font-size: 1rem; color: var(--gray-900); margin-bottom: 2px; }
.country-card__meta { font-size: 0.75rem; color: var(--gray-500); }

/* --- Services Section --- */
.services { background: var(--gray-100); }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--trans);
  border: 1px solid transparent;
  text-align: center;
}

.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-light);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px;
  background: var(--blue-light);
  color: var(--blue);
}

.service-card__icon--red { background: #fee2e2; color: var(--red); }
.service-card__icon--green { background: #dcfce7; color: #16a34a; }

.service-card__title { margin-bottom: 10px; font-size: 1.1rem; }
.service-card__text { color: var(--gray-500); font-size: 0.875rem; line-height: 1.65; }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(26,86,219,.15) 0%, transparent 60%);
}

.cta-section__inner { position: relative; z-index: 1; }

.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-bottom: 32px; }
.cta-section__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- Testimonials / Stats --- */
.stats-bar {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 48px 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-bar__item { color: var(--white); }

.stats-bar__number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.stats-bar__label {
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand { }

.footer__logo { margin-bottom: 16px; }
.footer__logo img { height: 36px; width: auto; }

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,.6);
}

.footer__socials { display: flex; gap: 10px; }

.footer__social {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 0.9rem;
  transition: var(--trans);
}

.footer__social:hover { background: var(--blue); color: var(--white); }

.footer__col-title {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer__links { display: flex; flex-direction: column; gap: 10px; }

.footer__links a {
  color: rgba(255,255,255,.6);
  font-size: 0.875rem;
  transition: var(--trans);
}

.footer__links a:hover { color: var(--white); padding-left: 4px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,.4); margin: 0; }
.footer__bottom a { color: rgba(255,255,255,.4); font-size: 0.8rem; }
.footer__bottom a:hover { color: rgba(255,255,255,.7); }

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { color: var(--blue-dark); }
.breadcrumb__sep { color: var(--gray-300); }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(26,86,219,.2) 0%, transparent 60%);
}

.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { color: var(--white); margin-bottom: 10px; }
.page-hero__sub,
.page-hero__subtitle { color: var(--white); font-size: 1.05rem; font-weight: 500; }

/* --- Tab Component --- */
.tabs {
  border-bottom: 2px solid var(--gray-300);
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 32px;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 12px 22px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-500);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
  display: flex;
  align-items: center;
  gap: 7px;
}
.tab-btn:hover { color: var(--blue); }
.tab-btn.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* --- Alerts / Flash Messages --- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.alert--success { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.alert--error   { background: #fef2f2; border-color: #fecaca; color: #dc2626; }
.alert--warning { background: #fffbeb; border-color: #fde68a; color: #d97706; }
.alert--info    { background: #eff6ff; border-color: #bfdbfe; color: #2563eb; }

/* --- Forms --- */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-label .required { color: var(--red); }

.form-control {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--trans);
  font-family: var(--font);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}

.form-control::placeholder { color: var(--gray-300); }
.form-control--error { border-color: var(--red); }
.form-control--error:focus { box-shadow: 0 0 0 3px rgba(224,36,36,.12); }

select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }

textarea.form-control { resize: vertical; min-height: 120px; }

.form-error {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-help { color: var(--gray-500); font-size: 0.8rem; margin-top: 4px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* --- Auth pages --- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, #1e3a5f 100%);
  padding: 40px 0;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
}

.auth-card__logo { text-align: center; margin-bottom: 28px; }
.auth-card__logo img { height: 44px; width: auto; }

.auth-card__title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 6px;
}

.auth-card__sub {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 28px;
}

.auth-divider {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 20px 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-300);
}

.auth-divider span { background: var(--white); padding: 0 10px; position: relative; z-index: 1; }

/* --- Badges & Status --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge--pending      { background: #fffbeb; color: #d97706; }
.badge--under-review { background: #eff6ff; color: var(--blue); }
.badge--approved     { background: #f0fdf4; color: #16a34a; }
.badge--rejected     { background: #fef2f2; color: var(--red); }

/* --- Tabs --- */
.tabs { border-bottom: 2px solid var(--gray-300); display: flex; gap: 0; margin-bottom: 32px; }

.tab-btn {
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--trans);
}

.tab-btn--active, .tab-btn:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* --- Pagination --- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  transition: var(--trans);
}

.page-link:hover, .page-link--active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-2);
  color: rgba(255,255,255,.85);
  padding: 16px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0,0,0,.2);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner p { font-size: 0.85rem; margin: 0; }
.cookie-banner a { color: #93c5fd; }

.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* --- Filter Bar --- */
.filter-bar {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 32px;
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.filter-bar .form-group { margin-bottom: 0; flex: 1; min-width: 160px; }

/* --- Detail Page --- */
.detail-hero {
  height: 360px;
  position: relative;
  overflow: hidden;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
}

.detail-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  color: var(--white);
}

.detail-body { padding: 48px 0; }

.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.detail-sidebar {
  position: sticky;
  top: 88px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-card__title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.info-list { display: flex; flex-direction: column; gap: 12px; }

.info-item { display: flex; align-items: flex-start; gap: 10px; }

.info-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item__label { font-size: 0.75rem; color: var(--gray-500); }
.info-item__value { font-size: 0.9rem; font-weight: 600; color: var(--gray-900); }

/* --- WhatsApp floating button --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 999;
  transition: var(--trans);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .navbar__menu { display: none; }
  .navbar__toggle { display: flex; }
  .navbar__menu--open { display: flex; flex-direction: column; position: fixed; inset: 72px 0 0 0; background: var(--white); padding: 16px 0; z-index: 999; overflow-y: auto; }
  .navbar__menu--open > li { width: 100%; display: block; border-bottom: 1px solid var(--gray-100); }
  .navbar__menu--open .navbar__link { display: flex; width: 100%; padding: 13px 24px; font-size: 1rem; border-radius: 0; border-left: 3px solid transparent; }
  .navbar__menu--open .navbar__link:hover, .navbar__menu--open .navbar__link--active { background: var(--blue-light); border-left-color: var(--blue); color: var(--blue); }
  .navbar__menu--open .navbar__dropdown-menu { display: none; position: static; box-shadow: none; border: none; border-top: none; background: var(--gray-100); padding: 4px 0; border-radius: 0; }
  .navbar__menu--open .navbar__dropdown-menu a { padding: 11px 24px 11px 40px; font-size: 0.925rem; }
  .navbar__menu--open .navbar__dropdown.open .navbar__dropdown-menu { display: block; }
  .navbar__menu--open .navbar__dropdown > .navbar__link { justify-content: space-between; }
  .navbar__menu--open .navbar__dropdown.open > .navbar__link { background: var(--blue-light); border-left-color: var(--blue); color: var(--blue); }
  .navbar__menu--open .navbar__dropdown > .navbar__link .fa-chevron-down { transition: transform .2s ease; }
  .navbar__menu--open .navbar__dropdown.open > .navbar__link .fa-chevron-down { transform: rotate(180deg); }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .hero__inner { padding: 48px 0; }
  .hero__stats { gap: 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; }
  .detail-hero { height: 240px; }
  .filter-bar { flex-direction: column; }
  .filter-bar .form-group { min-width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { flex-direction: column; }
  .cta-section__actions { flex-direction: column; align-items: center; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mt-4  { margin-top: 1rem; }
.mb-4  { margin-bottom: 1rem; }
.mt-8  { margin-top: 2rem; }
.mb-8  { margin-bottom: 2rem; }
.mt-12 { margin-top: 3rem; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-4  { gap: 1rem; }
.gap-2  { gap: 0.5rem; }
.font-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }
.text-muted { color: var(--gray-500); }
.divider { border: none; border-top: 1px solid var(--gray-300); margin: 24px 0; }
.prose p { margin-bottom: 1rem; color: var(--gray-700); line-height: 1.75; }
.prose h3 { margin: 24px 0 10px; }
.prose ul { list-style: disc; padding-left: 24px; }
.prose ul li { margin-bottom: 6px; color: var(--gray-700); }
.empty-state { text-align: center; padding: 64px 20px; color: var(--gray-500); }
.empty-state__icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state p { font-size: 1rem; }

/* ============================================================
   Course Cards
   ============================================================ */
.course-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--trans);
  box-shadow: var(--shadow-sm);
  color: inherit;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.course-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 0;
}
.course-card__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--gray-300);
  background: #f9fafb;
  flex-shrink: 0;
}
.course-card__logo-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.course-card__uni {
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.3;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.course-card__body {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.course-card__badge {
  display: inline-block;
  padding: 2px 10px;
  background: #ede9fe;
  color: #7c3aed;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  width: fit-content;
}
.course-card__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.35;
  margin: 0;
}
.course-card__faculty {
  font-size: .8rem;
  color: var(--gray-500);
}
.course-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: .78rem;
  color: var(--gray-500);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--gray-100);
}

/* ============================================================
   Spotlight Card (Country / University Spotlight)
   ============================================================ */
.spotlight-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-300);
  background: var(--white);
}
.spotlight-card--reverse {
  direction: rtl;
}
.spotlight-card--reverse > * {
  direction: ltr;
}
.spotlight-card__img {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: var(--dark);
}
.spotlight-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.spotlight-card__img-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.spotlight-card__flag {
  width: 36px;
  height: 26px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,.6);
}
.spotlight-card__label {
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.spotlight-card__content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.spotlight-card__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 6px;
}
.spotlight-card__sub {
  font-size: .875rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.spotlight-card__desc {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: .95rem;
}
.spotlight-card__stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.spotlight-card__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.spotlight-card__stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.spotlight-card__stat span {
  font-size: .72rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 2px;
}
@media (max-width: 768px) {
  .spotlight-card,
  .spotlight-card--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .spotlight-card--reverse > * { direction: ltr; }
  .spotlight-card__img { min-height: 220px; }
  .spotlight-card__content { padding: 24px 20px; }
  .spotlight-card__title { font-size: 1.3rem; }
  .spotlight-card__stats { gap: 16px; }
  .spotlight-card__stat strong { font-size: 1.2rem; }
}

