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

:root {
  --blue: #2AACE2;
  --blue-dark: #1A8BBF;
  --blue-light: #E8F6FD;
  --charcoal: #1E2530;
  --charcoal-mid: #2D3748;
  --gray: #64748B;
  --gray-light: #F1F5F9;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --font-display: 'Inter', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(42,172,226,0.10);
  --shadow-card: 0 2px 16px rgba(30,37,48,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex; gap: 2rem; list-style: none; align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--charcoal-mid);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; color: var(--white) !important; }

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

/* ── DROPDOWN & SUBMENU STYLES (DESKTOP) ── */
.nav-links .dropdown {
  position: relative;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-caret {
  transition: transform 0.2s ease;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(30, 37, 48, 0.1);
  min-width: 210px;
  list-style: none;
  padding: 0.5rem 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 110;
}

.submenu li a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  color: var(--charcoal-mid);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.submenu li a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

@media (min-width: 769px) {
  .dropdown:hover .submenu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
  }
  
  .dropdown:hover .dropdown-caret {
    transform: rotate(180deg);
  }
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(42,172,226,0.35);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(42,172,226,0.4); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
}
.btn-white:hover { background: var(--blue-light); }

/* ── SECTIONS ── */
section { padding: 80px 2rem; }

.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--charcoal);
  padding: 64px 2rem;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: #94A3B8;
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 2rem 28px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img { height: 40px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { color: #94A3B8; font-size: 0.9rem; line-height: 1.7; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #CBD5E1;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--blue); }

.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p { color: #64748B; font-size: 0.82rem; }
.footer-bottom a { color: var(--blue); text-decoration: none; }

/* ── MOBILE NAV RESET ── */
@media (max-width: 768px) {
  /* Ensure the navbar container stays absolutely flushed against the browser ceiling */
  nav {
    top: 0 !important;
    left: 0;
    right: 0;
    margin-top: 0 !important;
  }

  .hamburger { display: flex; }

  /* Updated mobile drawer configuration */
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    
    /* FIX: Switch from translateY to display/visibility toggles so it doesn't leave an invisible ghost container pushing down your main header wrapper */
    display: none; 
    z-index: 99;
  }

  /* When the hamburger menu is clicked, display it instantly */
  .nav-links.open { 
    display: flex; 
  }

/* Mobile Adjustments for Submenu Accordion */
  .nav-links .dropdown {
    width: 100%;
  }

  .submenu {
    display: none; /* Hide by default on mobile phones */
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  /* When active, show the sub-links */
  .submenu.open {
    display: block;
  }

  .submenu li a {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--gray);
  }
  
  /* Keep the arrow visible on mobile so they know it's a dropdown menu */
  .dropdown-caret {
    display: inline-block;
    transition: transform 0.2s ease;
  }
  
  /* Spin the arrow upside down when active */
  .dropdown-trigger.open .dropdown-caret {
    transform: rotate(180deg);
  }oter-bottom { flex-direction: column; text-align: center; }
}

/* ── ABOUT STORY & FOUNDER CARD ── */
.founder-img {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1.5px solid var(--blue); 
  background: var(--gray-light);
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  text-decoration: none;
  margin-top: 0.35rem;
  margin-bottom: 1.25rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.founder-linkedin:hover {
  color: var(--blue);
  transform: translateY(-1px);
}

.founder-linkedin svg {
  fill: currentColor;
}