:root {
  --navy: #04234a;
  --navy-deep: #031a37;
  --navy-800: #06305f;
  --teal: #0f6f8f;
  --teal-light: #1b8fb3;
  --sand: #f4f6f9;
  --ink: #1b2430;
  --muted: #5b6b7c;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(4, 35, 74, 0.14);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: "Montserrat", sans-serif; line-height: 1.1; }

.eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--teal-light); }

.section { padding: 96px 0; }

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.section__title .accent { color: var(--teal); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 14px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__brand img { height: 58px; width: auto; transition: height 0.3s ease; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25)); }

.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(4, 35, 74, 0.10);
  padding: 8px 0;
}
.nav.scrolled .nav__brand img { height: 46px; filter: none; }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--teal-light); }
.nav.scrolled .nav__links a { color: var(--navy); }
.nav.scrolled .nav__links a:hover { color: var(--teal); }

.nav__cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav__cta:hover { background: var(--teal-light); transform: translateY(-2px); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--white); border-radius: 3px; transition: 0.3s; }
.nav.scrolled .nav__toggle span { background: var(--navy); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(3, 26, 55, 0.9) 0%, rgba(4, 35, 74, 0.6) 45%, rgba(4, 35, 74, 0.15) 100%);
}
.hero__content { position: relative; padding-top: 90px; max-width: 720px; }
.hero__eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--teal-light);
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.hero__title span { color: var(--teal-light); font-weight: 700; }
.hero__tag {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  margin-top: 14px;
  letter-spacing: 0.01em;
}
.hero__tag em { color: var(--teal-light); font-style: normal; }
.hero__lead { margin-top: 18px; font-size: 1.1rem; color: rgba(255,255,255,0.85); max-width: 520px; }
.hero__actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 32px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
}
.btn--primary { background: var(--teal); color: var(--white); box-shadow: 0 12px 30px rgba(15, 111, 143, 0.4); }
.btn--primary:hover { background: var(--teal-light); transform: translateY(-3px); }
.btn--ghost { border: 2px solid rgba(255,255,255,0.6); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }

.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.6); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--white); border-radius: 3px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 50% { opacity: 1; } 100% { opacity: 0; top: 22px; } }

/* ---------- ABOUT ---------- */
.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.about__text p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.about__stats { display: flex; gap: 36px; margin-top: 34px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: "Montserrat", sans-serif; font-size: 1.9rem; font-weight: 800; color: var(--navy); }
.stat span { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.04em; }
.about__image img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 420px; object-fit: cover; }

/* ---------- SERVICES ---------- */
.services { background: var(--sand); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(4, 35, 74, 0.06);
  border: 1px solid rgba(4, 35, 74, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__icon {
  width: 62px; height: 62px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: var(--white); margin-bottom: 22px;
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); }

/* ---------- PARTNER ---------- */
.partner { background: var(--navy); color: var(--white); }
.partner__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.partner__image img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 360px; object-fit: cover; }
.partner .section__title { color: var(--white); }
.partner__text p { color: rgba(255,255,255,0.82); margin-top: 16px; font-size: 1.05rem; }
.partner__list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.partner__list li { position: relative; padding-left: 30px; color: rgba(255,255,255,0.9); }
.partner__list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--teal-light);
  box-shadow: 0 0 0 4px rgba(27, 143, 179, 0.25);
}

/* ---------- GALLERY ---------- */
.gallery { background: var(--white); }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery__item { overflow: hidden; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(4,35,74,0.08); }
.gallery__item--wide { grid-column: 1 / -1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery__item--wide img { height: 420px; }
.gallery__item:not(.gallery__item--wide) img { height: 300px; }
.gallery__item:hover img { transform: scale(1.06); }

/* ---------- LOCATION ---------- */
.location { background: var(--sand); }
.location__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: stretch; }
.location__info { display: flex; flex-direction: column; }
.location__info h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: 12px; }
.location__info > p { color: var(--muted); font-size: 1.05rem; }
.location__details { list-style: none; margin: 26px 0 30px; display: grid; gap: 0; }
.location__details li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(4, 35, 74, 0.1);
}
.location__label {
  flex: 0 0 130px;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal);
}
.location__value { color: var(--ink); font-weight: 500; }
.location__info .btn { align-self: flex-start; margin-top: auto; }

.location__map {
  position: relative; display: block; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); min-height: 340px;
}
.location__map img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.location__map:hover img { transform: scale(1.05); }
.location__pin {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--teal); color: var(--white);
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.85rem;
  padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 111, 143, 0.45);
}

/* ---------- CONTACT ---------- */
.contact { background: var(--navy-deep); color: var(--white); }
.contact__head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.contact .section__title { color: var(--white); }
.contact__head p { color: rgba(255,255,255,0.8); margin-top: 14px; }
.contact__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact__card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}
a.contact__card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.contact__label {
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-light);
}
.contact__value { font-size: 1.05rem; font-weight: 500; }

/* ---------- FOOTER ---------- */
.footer { background: #020f22; color: rgba(255,255,255,0.7); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__logo { height: 62px; width: auto; background: rgba(255,255,255,0.92); border-radius: 10px; padding: 8px 12px; }
.footer__copy { font-size: 0.9rem; }
.footer__partner { font-size: 0.9rem; }
.footer__partner strong { color: var(--teal-light); }

/* ---------- REVEAL ANIM ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about__grid, .partner__grid, .location__grid { grid-template-columns: 1fr; gap: 40px; }
  .services__grid, .contact__cards { grid-template-columns: 1fr; }
  .partner__image { order: -1; }
  .location__map { min-height: 280px; }
}

@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; right: 16px; left: 16px;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--white); border-radius: 14px; padding: 16px;
    box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav__links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { color: var(--navy); padding: 10px 12px; border-radius: 8px; }
  .nav__links a:hover { background: var(--sand); }
  .nav__cta { text-align: center; }
  .gallery__grid { grid-template-columns: 1fr; }
  .footer__inner { justify-content: center; text-align: center; flex-direction: column; }
}
