@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Raleway:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0A2A43;
  --navy-dark: #061828;
  --sky: #55B4D4;
  --sky-light: #a8d8eb;
  --cream: #F5F2EB;
  --cream-dark: #ede9df;
  --white: #ffffff;
  --text: #0A2A43;
  --text-muted: #5a7080;
  --grad: linear-gradient(135deg, #0A2A43 0%, #1a5276 50%, #55B4D4 100%);
  --grad-soft: linear-gradient(135deg, rgba(10,42,67,0.85) 0%, rgba(85,180,212,0.7) 100%);
  --shadow: 0 8px 32px rgba(10,42,67,0.14);
  --shadow-lg: 0 20px 60px rgba(10,42,67,0.22);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.32s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: 'Raleway', sans-serif; color: var(--text); background: var(--cream); line-height: 1.7; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(245,242,235,0.96);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(10,42,67,0.08);
  transition: var(--transition);
}
nav.scrolled { box-shadow: 0 4px 30px rgba(10,42,67,0.12); }

.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex; align-items: center; gap: 0; text-decoration: none;
}
.nav-logo img {
  height: 64px; width: auto;
  /* floating logo effect */
  filter: drop-shadow(0 4px 12px rgba(10,42,67,0.22));
  transition: var(--transition);
  margin-top: -6px; /* float above nav bar slightly */
}
.nav-logo img:hover { transform: translateY(-3px) scale(1.04); filter: drop-shadow(0 8px 20px rgba(10,42,67,0.32)); }

.nav-links {
  display: flex; align-items: center; gap: 2.2rem; list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--text); font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase;
  position: relative; padding-bottom: 4px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--sky); border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 0.6rem 1.5rem !important;
  background: var(--grad) !important;
  color: white !important; border-radius: 50px !important;
  text-transform: uppercase !important; letter-spacing: 0.06em !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(10,42,67,0.3) !important; color: white !important; }

/* Mobile menu */
.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 4px;
}
.hamburger span { width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); display: block; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-block; padding: 0.85rem 2.2rem;
  border-radius: 50px; font-family: 'Raleway', sans-serif;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  cursor: pointer; border: none; transition: var(--transition);
}
.btn-primary { background: var(--grad); color: white; box-shadow: 0 4px 20px rgba(10,42,67,0.25); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(10,42,67,0.35); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.8); }
.btn-outline:hover { background: white; color: var(--navy); }
.btn-outline-dark { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: white; }

/* ─── SECTION SCAFFOLDING ─── */
.section-pad { padding: 7rem 2rem; }
.section-pad-sm { padding: 5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }

.section-label {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
  line-height: 1.15; color: var(--navy); margin-bottom: 1.2rem;
}
.section-subtitle { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ─── CARDS ─── */
.card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

/* ─── FOOTER ─── */
footer {
  background: var(--navy-dark); color: white;
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-logo img { height: 80px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-about { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.8; max-width: 280px; }
.footer-col h5 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); margin-bottom: 1.4rem; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.footer-col ul a:hover { color: white; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 0.85rem; }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center;
  justify-content: center; text-decoration: none; font-size: 1.1rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--sky); transform: translateY(-3px); }

/* ─── DIVIDER ─── */
.wave-divider { line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hamburger { display: flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(245,242,235,0.98); backdrop-filter: blur(18px);
    flex-direction: column; padding: 1.5rem 2rem; gap: 0;
    border-bottom: 1px solid rgba(10,42,67,0.1);
    display: none; align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 0.9rem 0; display: block; border-bottom: 1px solid rgba(10,42,67,0.06); }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 0.5rem; border-radius: 50px !important; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
