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

:root {
  --navy: #1a3a6b;
  --teal: #2ab5a5;
  --green: #7ec45c;
  --navy-dark: #0f2447;
  --navy-mid: #1e4080;
  --light-grey: #f5f7fa;
  --mid-grey: #e8ecf2;
  --text-dark: #1a2a3a;
  --text-mid: #4a5a6a;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #1a3a6b 0%, #2ab5a5 60%, #7ec45c 100%);
  --gradient-soft: linear-gradient(135deg, rgba(26,58,107,0.08) 0%, rgba(42,181,165,0.08) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mid-grey);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 32px rgba(26,58,107,0.12); }

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-icon {
  width: 48px; height: 48px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.nav-logo-text .top { font-family: 'Playfair Display', serif; font-size: 15px; color: var(--navy); font-weight: 700; line-height: 1.1; letter-spacing: 0.5px; }
.nav-logo-text .bottom { font-size: 10px; color: var(--teal); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  text-decoration: none; color: var(--text-mid); font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: 8px; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--gradient-soft); }
.nav-cta {
  background: var(--gradient) !important;
  color: white !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.9 !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(42,181,165,0.3) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* ─── INNER HERO ─── */
.inner-hero {
  background: var(--navy-dark); padding: 120px 5% 80px;
  position: relative; overflow: hidden;
}
.inner-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0f2447 0%, #1a3a6b 60%, #1a4a5a 100%);
}
.inner-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(42,181,165,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(42,181,165,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.inner-hero-content { position: relative; z-index: 2; max-width: 800px; }
.inner-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); color: white; margin-bottom: 16px; }
.inner-hero p { color: rgba(255,255,255,0.65); font-size: 17px; line-height: 1.7; }

/* ─── SECTION TAG ─── */
.section-tag {
  display: inline-block;
  background: rgba(42,181,165,0.15); border: 1px solid rgba(42,181,165,0.3);
  color: var(--teal); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 16px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  padding: 14px 28px; border-radius: 10px;
  background: var(--gradient); color: white;
  font-weight: 600; font-size: 15px; border: none; cursor: pointer;
  transition: all 0.25s; text-decoration: none; display: inline-block;
  box-shadow: 0 8px 24px rgba(42,181,165,0.35);
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(42,181,165,0.45); }
.btn-outline {
  padding: 14px 28px; border-radius: 10px;
  background: transparent; color: white;
  font-weight: 500; font-size: 15px;
  border: 1px solid rgba(255,255,255,0.3); cursor: pointer;
  transition: all 0.25s; text-decoration: none; display: inline-block;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

/* ─── DETAIL CARDS ─── */
.services-detail { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.services-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.detail-card {
  background: white; border: 1px solid var(--mid-grey);
  border-radius: 18px; padding: 36px;
  transition: all 0.3s;
}
.detail-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(26,58,107,0.1); }
.detail-card-header { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 20px; }
.detail-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.detail-card h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.detail-card .sub { font-size: 12px; color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.detail-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.detail-features { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.detail-feat { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-mid); }
.detail-feat::before {
  content: '✓'; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gradient); color: white; font-size: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ─── MTD BANNER ─── */
.mtd-banner {
  background: var(--navy-dark); border-radius: 20px; padding: 48px;
  color: white; margin: 48px 0;
  display: flex; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.mtd-banner::before {
  content: '';
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,181,165,0.15), transparent 70%);
}
.mtd-banner-icon { font-size: 60px; flex-shrink: 0; }
.mtd-banner h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 10px; }
.mtd-banner p { color: rgba(255,255,255,0.65); font-size: 15px; line-height: 1.7; max-width: 600px; }
.mtd-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.mtd-pill {
  background: rgba(42,181,165,0.15); border: 1px solid rgba(42,181,165,0.3);
  color: var(--teal); padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy-dark);
  padding: 60px 5% 32px;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo-text .top { font-family: 'Playfair Display', serif; font-size: 16px; color: white; font-weight: 700; }
.footer-brand .logo-text .bottom { font-size: 10px; color: var(--teal); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-top: 16px; max-width: 260px; }
.footer-col h4 { color: white; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; font-size: 12px;
}
.footer-bottom span { color: rgba(255,255,255,0.35); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .services-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mtd-banner { flex-direction: column; gap: 24px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 76px; left: 0; right: 0;
    background: white; padding: 20px;
    border-bottom: 1px solid var(--mid-grey); z-index: 999;
  }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
}
