:root {
  --primary: #07112a;
  --accent: #007bff;
  --light-bg: #f6f9fc;
  --text-dark: #1a1a1a;
  --text-soft: #555;
}

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

html,
body {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  /* Disable blue highlight on button click */
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  color: var(--text-dark);
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  /* pushes footer down */
}

/* Header layout */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: var(--primary);
  color: white;
  position: relative;
}

.nav a {
  color: #ffffff;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover {
  text-shadow: 0 0 10px #ffffff;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    gap: 10px;
    padding: 12px 18px;
    background: #f8fafc;
    border-radius: 8px;
    width: fit-content;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.breadcrumbs a {
    text-decoration: none;
    color: #2563eb;
    position: relative;
    transition: all 0.3s ease;
}

.breadcrumbs a:hover {
    color: #1e40af;
}

.breadcrumbs a::after {
    content: "/";
    margin-left: 10px;
    color: #94a3b8;
}

.breadcrumbs span {
    color: #0f172a;
    font-weight: 600;
}

/* subtle animation */
.breadcrumbs a:hover {
    transform: translateY(-1px);
}

/* Mobile Nav */
@media(max-width:900px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav a {
    padding: 15px 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav.open {
    max-height: 500px;
    z-index: 1;
  }
}

.logo {
  width: 150px;
}

section {
  padding: 20px 10px;
  text-align: center;
}

h1 {
  font-size: 58px;
  font-weight: 700;
}

h2 {
  font-size: 36px;
  margin-bottom: 25px;
}

p {
  color: var(--text-soft);
  line-height: 1.8;
}

h1:hover,
h2:hover,
p:hover {
  text-shadow: 0px 0px 10px #00000070;
}

.hero {
  display: flex;
  align-items: center;
  background: #ffffff;
  height: 94vh;
  justify-content: space-between;
}

.hero-content {
  width: 100%;
  text-align: center;
}

.hero-bg {
  width: 45%;
}

.sub {
  font-size: 20px;
  margin: 20px 0;
}

.btn-primary,
.btn-secondary {
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0px 0px 10px #007bff;
}

.btn-secondary {
  border: 2px solid var(--accent);
  color: var(--accent);
}

.hero-trust {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-soft);
}

.trust-strip {
  background: var(--light-bg);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: white;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px #007bff;
}

.card h3 {
  padding: 10px
}

.about,
.why,
.process {
  background: var(--light-bg);
}

.cta {
  background: var(--primary);
  color: white;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

footer {
  background: #07122d;
  color: #aaa;
  padding: 20px;
  text-align: center;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.9s;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media(max-width:900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content,
  .hero-bg {
    width: 100%;
  }

  h1 {
    font-size: 36px;
  }
}

/* ================= MEGA MENU OVERLAY ================= */

.overlay-menu {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: #07112a;
  backdrop-filter: blur(6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  /* depth */
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
  z-index: 999;
}

.overlay-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.overlay-content {
  display: flex;
  gap: clamp(40px, 8vw, 120px);
  /* responsive spacing */
  padding: 40px 8% 60px;
  color: #fff;
  align-items: flex-start;
}

/* ================= PANELS ================= */

.panel {
  display: none;
  flex-direction: column;
  min-width: 260px;
  opacity: 0;
  transform: translateY(10px);
  animation: panelFade .35s ease forwards;
}

.panel.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

@keyframes panelFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel h3 {
  margin-bottom: 20px;
  font-weight: 600;
}

.panel a {
  display: block;
  color: #bbb;
  text-decoration: none;
  margin-bottom: 12px;
  transition: .25s;
}

/* hover glow only */
.panel a:hover {
  color: #fff;
  padding-left: 6px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* ================= LEVEL SEPARATION ================= */

.level-2 {
  border-left: 1px solid #007bff;
  padding-left: 40px;
}

@media (max-width: 900px) {
  .overlay-content {
    flex-direction: column;
    gap: 25px;
  }

  .level-2 {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
  }
}