:root {
  --bg: #f5f3ef;
  --surface: #fffdfa;
  --surface-soft: #f1ece4;
  --ink: #1e2f33;
  --ink-soft: #526266;
  --brand: #0d6c63;
  --brand-deep: #074f49;
  --accent: #c18b33;
  --border: #dbcdb9;
  --shadow: 0 20px 40px rgba(20, 26, 36, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, #fff9ee 0, transparent 35%),
    radial-gradient(circle at 90% 20%, #e6f4ef 0, transparent 30%),
    var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(245, 243, 239, 0.88);
  border-bottom: 1px solid rgba(219, 205, 185, 0.7);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-family: "Cinzel", serif;
  font-weight: 700;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Cinzel", serif;
  font-size: 1rem;
  letter-spacing: 0.2px;
}

.brand-text small {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.main-nav {
  display: flex;
  gap: 1.1rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
}

.header-cta {
  display: flex;
  gap: 0.6rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-solid {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 10px 20px rgba(13, 108, 99, 0.25);
}

.btn-outline {
  border-color: var(--brand-deep);
  color: var(--brand-deep);
  background: transparent;
}

.menu-btn {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 3rem 0 1.75rem;
}

.hero.home-banner {
  padding: 0;
  overflow: hidden;
}

.home-banner {
  width: 100%;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
}

.hero-shape-one {
  width: 360px;
  height: 360px;
  right: -100px;
  top: 40px;
  background: radial-gradient(circle, rgba(193, 139, 51, 0.24), rgba(193, 139, 51, 0));
}

.hero-shape-two {
  width: 280px;
  height: 280px;
  left: -80px;
  bottom: -60px;
  background: radial-gradient(circle, rgba(13, 108, 99, 0.19), rgba(13, 108, 99, 0));
}

.hero-slider {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
  background: linear-gradient(140deg, #fffdfa, #f2ede5);
  padding: 2rem;
}

.hero-slider.banner-only {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.slides {
  position: relative;
  min-height: 430px;
}

.slide {
  display: none;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2rem;
  align-items: center;
  animation: fadeIn 550ms ease;
}

.slide.active {
  display: grid;
}

.home-banner .hero-slider {
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: #000;
}

.home-banner .slides {
  min-height: 100vh;
}

.home-banner .slide-media img {
  min-height: 100vh;
  object-fit: cover;
}

.banner-only .slide {
  grid-template-columns: 1fr;
}

.banner-only .banner-media {
  margin: 0;
}

.banner-only .banner-media img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

.banner-only .banner-media figcaption {
  display: none;
}

.eyebrow {
  display: inline-flex;
  padding: 0.23rem 0.7rem;
  border-radius: 999px;
  background: #eaf4f2;
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 0.65rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1,
h2 {
  font-family: "Cinzel", serif;
  letter-spacing: 0.3px;
}

.slide-copy h1,
.slide-copy h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.slide-copy p {
  color: var(--ink-soft);
}

.slide-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.slide-media {
  margin: 0;
  position: relative;
}

.slide-media img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 22px rgba(24, 30, 42, 0.16);
}

.slide-media figcaption {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.slider-controls {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.home-banner .slider-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  margin-top: 0;
}

.slider-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--brand-deep);
  cursor: pointer;
  font-size: 1.05rem;
}

.dots {
  display: flex;
  gap: 0.45rem;
}

.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #c8c4bd;
  padding: 0;
}

.dots button.active {
  background: var(--brand);
}

.stats-section {
  padding: 1rem 0 0.6rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.stats-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}

.stats-grid h3 {
  color: var(--brand-deep);
  margin-bottom: 0.35rem;
  font-size: 1.45rem;
}

.stats-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.section {
  padding: 3.2rem 0;
}

.muted {
  background: var(--surface-soft);
  border-top: 1px solid #ece0ce;
  border-bottom: 1px solid #ece0ce;
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
  align-items: start;
}

.tick-list {
  list-style: none;
  padding: 0;
}

.tick-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.35rem;
  position: relative;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 12px 24px rgba(25, 30, 44, 0.08);
}

.panel-card ol {
  margin: 0;
  padding-left: 1rem;
  color: var(--ink-soft);
}

.panel-card li {
  margin-bottom: 0.75rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.countries {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}

.info-card p,
.doc-card p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.docs-grid {
  grid-template-columns: repeat(3, 1fr);
}

.doc-card {
  display: grid;
  gap: 0.9rem;
}

.doc-card img {
  border-radius: 10px;
  border: 1px solid #d8d8d8;
  width: 100%;
}

.apply-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.apply-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
  display: grid;
  gap: 0.85rem;
}

.apply-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  border: 1px solid #d5c8b6;
  border-radius: 10px;
  padding: 0.7rem;
  font: inherit;
  background: #fff;
}

.form-note {
  margin: 0;
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: var(--brand-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}

.contact-card h3 {
  margin-bottom: 0.15rem;
}

.contact-card p {
  margin-top: 0;
  color: var(--ink-soft);
}

.contact-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  background: #f2ede4;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-wrap p {
  margin: 0;
  color: var(--ink-soft);
}

.footer-wrap a {
  color: var(--brand-deep);
  text-decoration: none;
  font-weight: 600;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 78px;
    left: 4%;
    right: 4%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.8rem;
    flex-direction: column;
    z-index: 30;
  }

  .slide,
  .two-col,
  .apply-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .countries,
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-banner {
    min-height: 100vh;
  }

  .home-banner .slides,
  .home-banner .slide-media img {
    min-height: 100vh;
  }

  .banner-only .banner-media img {
    width: 100vw;
    height: 100vh;
  }
}

@media (max-width: 640px) {
  .hero-slider:not(.banner-only) {
    padding: 1.2rem;
  }

  .slides:not(.banner-only .slides) {
    min-height: auto;
  }

  .banner-only .banner-media img {
    width: 100vw;
    height: 100vh;
  }
}

@media (max-width: 640px) {
  .hero-slider:not(.banner-only) {
    padding: 1.2rem;
  }

  .slides:not(.banner-only .slides) {
    min-height: auto;
  }

  .banner-only .banner-media img {
    width: 100vw;
    height: 100vh;
  }

  .stats-grid,
  .countries,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
