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

:root {
  --bg: #ffffff;
  --surface: #141414;
  --border: #2a2a2a;
  --primary: rgb(7, 104, 189);
  --accent: #c8a96e;
  --blue: rgb(13, 15, 16);
  --accent-dim: rgba(200, 169, 110, 0.12);
  --text-primary: #ffffff;
  --text-muted: #888;
  --nav-height: 68px;
  --radius: 6px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ── NAV WRAPPER ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(7, 104, 189);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.nav-inner {
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.Name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.04em;
  text-decoration: none;
  margin: 0;
  padding: 0;
  line-height: 1;
  display: block;
  white-space: nowrap;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
  margin-left: auto;
}

.menu > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-cta {
  margin-left: 20px;
  padding: 9px 22px;
  background: white;
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}




/* ── TOP-LEVEL LINKS ── */
.menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 18px;
  text-decoration: none;
  color: white;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: rgb(255, 255, 255);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.menu > li > a:hover,
.menu > li:hover > a {
  color: rgb(6, 71, 224);
  background-color: #ffffff;
  opacity: 0.9;
}

.menu > li > a:hover::after,
.menu > li:hover > a::after {
  transform: scaleX(1);
}

/* ── DROPDOWN ARROW ── */
.arrow {
  display: inline-flex;
  width: 14px;
  height: 14px;
  opacity: 0.5;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu > li:hover .arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── DROPDOWN PANEL ── */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--primary);
  border: 1px solid white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 0;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .25s ease,
    visibility .25s ease .15s;
}

.menu > li:hover .dropdown,
.menu > li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu > li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}
.menu > li:hover .dropdown {
  opacity: 1;
  pointer-events: all;
}

/* ── DROPDOWN ITEMS ── */
.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  text-decoration: none;
  color: white;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.02em;
  transition: color 0.15s ease, background 0.15s ease;
}

.dropdown a {
  color: white !important;
}

.dropdown a:hover {
  color: white !important;
  background: rgba(255,255,255,.15) !important;
}

.dropdown a .icon {
  width: 16px;
  height: 16px;
  opacity: 0.5;
  flex-shrink: 0;
}

.dropdown a:hover .icon {
  opacity: 1;
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.dropdown-label {
  padding: 10px 20px 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

/* ── CTA BUTTON ── */


.nav-cta:hover {
  background: #79aaff;
  color: rgb(255, 255, 255);
  transform: translateY(-1px);
}

/* ── HERO SECTION ── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 12px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.1;
  color: var(--blue);
  max-width: 600px;
}

.hero p {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 300;
  max-width: 480px;
  line-height: 1.7;
}

/* ── DECORATIVE LINE ── */
.deco-line {
  width: 48px;
  height: 2px;
  background: var(--primary);
  opacity: 1;
  margin-top: 2px;
}
.back-btn {
  display: inline-block;
  margin: 20px;

  padding: 10px 18px;
  border-radius: 8px;

  background-color: #ffffff;
  color: #333;
  text-decoration: none;
  font-weight: 500;

  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);

  transition: all 0.25s ease;
}

.back-btn:hover {
  background-color: #007BFF;
  color: white;
  border-color: #007BFF;

  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}


.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 5px;
  transition: 0.3s ease;
}

/* Mobile Nav */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
  }



/* Mobile styles */



  /* Hamburger Button */
  .hamburger {
    display: flex;
  }


  nav {
    height: auto;
  }


  .nav-inner {
    padding: 0 12px;
    min-height: 68px;
  }


  .Name {
    font-size: 16px;
  }


  .nav-logo {
    width: 34px;
    height: 34px;
  }


  /* Hide normal menu */
  .menu {
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgb(7,104,189);

    display: none;
    flex-direction: column;

    z-index: 999;

    padding: 10px 0;
}

  /* Show menu when clicked */
  .menu.active {
    display: flex;
  }


  .menu > li {
    width: 100%;
    height: auto;
  }


  .menu > li > a {
    height: 55px;
    padding: 0 20px;
    justify-content: space-between;
  }


  /* Dropdown */
  /* Mobile Dropdown Fix */
  .dropdown {
    position: static;
    left: auto !important;
    transform: none !important;
    width: 100%;
    margin: 0;
    display: none;
    opacity: 1;
    box-shadow: none;
    border: none;
    background: rgb(5,80,145);
  }

  .menu > li.open .dropdown,
  .menu > li:focus-within .dropdown {
    display: block;
  }

  .menu > li.open > a {
    background: rgb(7,104,189);
    color: white;
  }

  .dropdown a {
    color: white !important;
    background: transparent;
    padding: 12px 30px;
    font-size: 16px;
  }

  .dropdown a:hover {
    color: white !important;
    background: rgba(255,255,255,.15) !important;
  }

  .nav-cta {
    display: none;
  }



  /* Existing Development mobile styles */
  .development-page {
    padding: 90px 16px 40px;
  }

  .timeline {
    padding-left: 2rem;
  }

  .summary {
    gap: 0.5rem;
  }

  .title {
    font-size: 0.98rem;
  }

}
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #333;
  }
  
  .nav-toggle {
    display: block;
  }
}
