:root {
  --brand-deep: #0a4a70;
  --brand-sky: #2b9ac0;
  --ink: #102036;
  --muted: #67758b;
  --paper: #f8fbff;
  --card: #ffffff;
  --line: #d7e3ee;
  --highlight: #ffcc70;
  --shadow: 0 10px 30px rgba(16, 32, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 8%, #e2f2fb 0, transparent 34%),
    radial-gradient(circle at 90% 20%, #ddf6f6 0, transparent 29%),
    linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}

.orb-one {
  width: 280px;
  height: 280px;
  background: #71c3e2;
  top: -90px;
  right: -60px;
}

.orb-two {
  width: 320px;
  height: 320px;
  background: #90d9b0;
  bottom: -120px;
  left: -110px;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 251, 255, 0.92);
  border-bottom: 1px solid rgba(10, 74, 112, 0.12);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 205px;
  max-height: 58px;
  object-fit: contain;
}

.brand-fallback {
  display: none;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 1.45rem;
  flex-wrap: wrap;
}

.nav-mobile-cta {
  display: none !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #c8d9e8;
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brand-deep);
  border-radius: 6px;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--brand-deep);
}

.nav-links a[aria-current="page"] {
  color: var(--brand-deep);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(120deg, var(--brand-deep), var(--brand-sky));
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-small {
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
}

.btn-ghost {
  background: #fff;
  color: var(--brand-deep);
  border: 1px solid rgba(10, 74, 112, 0.25);
  box-shadow: none;
}

.hero {
  padding: 5.5rem 0 3rem;
}

.page-hero {
  padding-top: 4.5rem;
  padding-bottom: 2rem;
}

.page-hero h1 {
  max-width: 18ch;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--brand-sky);
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  max-width: 18ch;
}

.hero-copy {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.hero-points {
  margin-top: 1.1rem;
  padding-left: 1rem;
}

.hero-points li {
  margin-bottom: 0.35rem;
}

.hero-card {
  background: linear-gradient(165deg, #ffffff 0%, #edf6ff 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.hero-media-card {
  padding: 1rem;
}

.hero-media-stack {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.hero-banner {
  width: 100%;
  display: block;
  height: 250px;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transition: transform 0.35s ease-out;
  border-radius: 14px;
  border: 1px solid #d9e8f4;
  margin-bottom: 0.9rem;
}

.hero-banner-main {
  height: 320px;
  margin-bottom: 0;
  border: 0;
}

.hero-banner-secondary {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42%;
  height: 118px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 26px rgba(7, 24, 42, 0.26);
}

.hero-floating-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  margin: 0;
  background: rgba(8, 34, 58, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

.hero-card-head {
  margin-top: 0.85rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}

.hero-card-head span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.page-banner {
  width: 100%;
  max-width: 100%;
  display: block;
  height: 360px;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transition: transform 0.35s ease-out;
  margin: 1.2rem auto 0;
  border-radius: 18px;
  border: 1px solid #d7e5f1;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.35rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.8rem;
}

.stats article {
  background: #fff;
  border: 1px solid #e1edf5;
  border-radius: 14px;
  padding: 0.8rem;
}

.stat-number {
  display: block;
  font-weight: 800;
  color: var(--brand-deep);
  font-size: 1.45rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.section {
  padding: 4.2rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(232, 244, 252, 0.55));
  border-top: 1px solid rgba(10, 74, 112, 0.08);
  border-bottom: 1px solid rgba(10, 74, 112, 0.08);
}

.home-banner-wrap {
  padding-top: 1rem;
}

.home-feature-banner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #d2e3f1;
  box-shadow: var(--shadow);
}

.home-feature-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-feature-overlay {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  max-width: 620px;
  background: rgba(7, 29, 49, 0.76);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1rem;
  backdrop-filter: blur(6px);
}

.home-feature-overlay h2 {
  font-size: clamp(1.35rem, 2.7vw, 2rem);
}

.home-feature-overlay p {
  margin: 0.55rem 0 0;
}

.section-head {
  margin-bottom: 1.1rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 25ch;
}

.country-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.country-tab {
  border: 1px solid #c6d8e8;
  background: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
}

.country-tab.active {
  background: var(--brand-deep);
  color: #fff;
  border-color: var(--brand-deep);
}

.country-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.country-panel h3 {
  margin-bottom: 0.7rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.two-col ul {
  margin: 0;
  padding-left: 1rem;
}

.note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.prep .timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.timeline article {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #dce8f2;
  padding: 1rem;
  position: relative;
}

.timeline span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(43, 154, 192, 0.17);
  color: var(--brand-deep);
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.feature-grid article {
  background: #fff;
  border: 1px solid #dce8f2;
  border-radius: 14px;
  padding: 0.95rem;
  font-weight: 500;
}

.split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.4rem;
}

.university-list {
  background: #fff;
  border: 1px solid #dce8f2;
  border-radius: 16px;
  padding: 1rem 1rem 1rem 1.4rem;
}

.university-list li {
  margin-bottom: 0.6rem;
}

.card-form {
  background: #fff;
  border: 1px solid #dce8f2;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.card-form h3 {
  margin-bottom: 0.8rem;
}

.card-form label {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
}

input,
select {
  width: 100%;
  border: 1px solid #c4d8e8;
  border-radius: 10px;
  padding: 0.62rem;
  margin-top: 0.35rem;
  font: inherit;
}

.form-result {
  min-height: 1.4rem;
  margin: 0.75rem 0 0;
  font-weight: 600;
}

.exam-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.exam-grid article {
  text-align: center;
  padding: 1rem;
  border-radius: 13px;
  background: linear-gradient(140deg, #fff, #edf7ff);
  border: 1px solid #d5e5f3;
  font-weight: 700;
}

.app-card {
  background: #fff;
  border: 1px solid #dce8f2;
  border-radius: 13px;
  padding: 0.95rem;
  margin-bottom: 0.8rem;
}

.languages .language-box {
  background: linear-gradient(150deg, var(--brand-deep), #116fa0);
  color: #fff;
  border-radius: 16px;
  padding: 1rem;
}

.language-box p {
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.language-box ul {
  margin: 0;
  padding-left: 1rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.testimonial-grid blockquote {
  margin: 0;
  background: #fff;
  border: 1px solid #dce8f2;
  border-radius: 16px;
  padding: 1rem;
  font-size: 0.97rem;
}

.testimonial-grid cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-box {
  text-align: center;
  background: linear-gradient(145deg, #0b4f79, #2f95bc);
  color: #fff;
  padding: 2rem 1rem;
  border-radius: 20px;
}

.cta-box h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.cta-box p {
  margin: 0.7rem auto 1rem;
  max-width: 50ch;
}

.cta-box .btn {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: none;
}

.site-footer {
  padding: 1.4rem 0 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-float-btn {
  border: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  padding: 0;
  /* background: linear-gradient(120deg, #0f7c4e, #20a56c); */
  color: transparent;
  font-size: 0;
  line-height: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(15, 124, 78, 0.34);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float-btn img {
  width: 60px;
  height: 60px;
}

.whatsapp-float-panel {
  display: none;
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  width: 230px;
  background: #ffffff;
  border: 1px solid #d4e3ef;
  border-radius: 12px;
  padding: 0.7rem;
  box-shadow: var(--shadow);
}

.whatsapp-float.open .whatsapp-float-panel {
  display: block;
}

.whatsapp-float-panel p {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-weight: 700;
}

.whatsapp-float-panel a {
  display: block;
  text-decoration: none;
  color: var(--brand-deep);
  font-weight: 600;
  padding: 0.38rem 0.2rem;
}

.whatsapp-float-panel a:hover {
  color: #0f7c4e;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1.3rem;
}

.contact-map-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
}

.map-card {
  margin: 0;
  border: 1px solid #d5e5f2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.location-card {
  background: linear-gradient(170deg, #ffffff, #f2f8ff);
}

.location-card p {
  margin-top: 0.7rem;
}

.location-coords {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: var(--brand-deep);
}

.contact-grid .btn-small {
  margin-top: 0.75rem;
}

.info-list {
  margin: 0;
  padding-left: 1rem;
}

.info-list li {
  margin-bottom: 0.5rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.photo-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.photo-card {
  position: relative;
  background: #fff;
  border: 1px solid #d7e6f3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(16, 32, 54, 0.18);
}

.photo-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
  cursor: zoom-in;
}

.photo-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52%;
  background: linear-gradient(to top, rgba(9, 24, 44, 0.82), rgba(9, 24, 44, 0));
  pointer-events: none;
}

.photo-card p {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.65rem;
  z-index: 2;
  margin: 0;
  padding: 0;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(2, 12, 22, 0.62);
}

.section-visual-wide {
  width: 100%;
  display: block;
  height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  border: 1px solid #d5e5f2;
  margin: 0.3rem 0 1rem;
  box-shadow: var(--shadow);
}

.section-visual-mini {
  width: 100%;
  display: block;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  border: 1px solid #d5e5f2;
  margin: 0.8rem 0;
}

.language-visual {
  width: 100%;
  display: block;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-bottom: 0.8rem;
  background: rgba(255, 255, 255, 0.12);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 13, 25, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  z-index: 120;
}

.lightbox.open {
  display: flex;
}

.lightbox-image {
  max-width: min(1100px, 94vw);
  max-height: 84vh;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  background: rgba(5, 20, 36, 0.68);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #0a4a70;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: #ffffff;
  color: #0a4a70;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner,
  .page-banner,
  .photo-card {
    transition: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 700ms ease forwards;
}

.reveal:nth-of-type(2) {
  animation-delay: 80ms;
}

.reveal:nth-of-type(3) {
  animation-delay: 140ms;
}

.reveal:nth-of-type(4) {
  animation-delay: 200ms;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .prep .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exam-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .photo-grid,
  .photo-grid-4,
  .photo-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .nav-wrap {
    position: relative;
    grid-template-columns: auto 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    grid-column: 2;
  }

  .btn-small {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    background: rgba(248, 251, 255, 0.98);
    border: 1px solid #d4e3ef;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0.7rem;
    z-index: 80;
  }

  .site-header.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 0.55rem 0.4rem;
  }

  .nav-mobile-cta {
    display: inline-flex !important;
    margin-top: 0.35rem;
    width: 100%;
  }

  .hero-grid,
  .contact-grid,
  .contact-map-layout,
  .split,
  .two-col {
    grid-template-columns: 1fr;
  }

  .prep .timeline,
  .feature-grid,
  .testimonial-grid,
  .exam-grid,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 3.2rem 0;
  }

  .hero-banner-main {
    height: 280px;
  }
}

@media (max-width: 520px) {
  .prep .timeline,
  .feature-grid,
  .testimonial-grid,
  .exam-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .btn,
  .btn-small {
    width: 100%;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-banner {
    height: 220px;
    margin-top: 1rem;
    border-radius: 14px;
  }

  .hero-banner,
  .section-visual-wide,
  .section-visual-mini,
  .language-visual {
    height: 170px;
  }

  .hero-banner-main {
    height: 220px;
  }

  .hero-banner-secondary {
    display: none;
  }

  .hero-card-head {
    display: block;
  }

  .hero-card-head span {
    display: block;
    margin-top: 0.25rem;
  }

  .home-feature-image {
    height: 280px;
  }

  .home-feature-overlay {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    border-radius: 12px;
    padding: 0.75rem;
  }

  .section-visual-wide,
  .section-visual-mini,
  .language-visual {
    border-radius: 10px;
  }

  .photo-grid,
  .photo-grid-4,
  .photo-grid-3 {
    grid-template-columns: 1fr;
  }

  .photo-card img {
    height: 200px;
  }

  .lightbox-nav {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .lightbox-caption {
    width: calc(100% - 2rem);
    text-align: center;
    border-radius: 12px;
  }

  .whatsapp-float {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .whatsapp-float-btn {
    width: 56px;
    height: 56px;
  }
}
