/* --- Basis & Reset --- */
:root{
  --primary-blue:#0047ff;
  --dark-blue:#0b1b3a;
  --text-gray:#4b5563;
  --light-bg:#f6f8fb;
  --border-color:#e5e7eb;

  /* Missing vars (fixes broken layout/colors) */
  --white:#ffffff;
  --text-dark:#0f172a;
  --shadow: 0 18px 45px rgba(2, 8, 23, 0.10);
}

*,
*::before,
*::after{
  box-sizing: border-box;
}

html, body{
  width: 100%;
}

body {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  scroll-behavior: smooth;
}

img{
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

/* Optional helper */
.container{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* --- Navigation --- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 5%;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
}

.nav-links li a:hover {
  color: var(--primary-blue);
}

.sticky-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-blue);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 71, 255, 0.20);
  white-space: nowrap;
}

.sticky-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 71, 255, 0.28);
}

/* Burger is a button: remove default styles */
.burger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 8px 10px;
  line-height: 1;
  color: var(--text-dark);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 520px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  z-index: -1;
}

.hero-text {
  text-align: center;
  max-width: 860px;
  padding: 20px;
}

.hero-text h1 {
  font-size: 3.2rem;
  margin: 0 0 18px 0;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-text p {
  font-size: 1.25rem;
  margin: 0 0 28px 0;
  opacity: 0.92;
}

/* micro legal */
.micro-legal{
  font-size: 0.9rem;
  opacity: 0.85;
}

/* --- Trust bar --- */
.trust-bar{
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 26px 0;
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.trust-bar .benefit {
  text-align: center;
  min-width: 180px;
  color: var(--text-dark);
}

.trust-bar .benefit i{
  font-size: 1.6rem;
  color: var(--primary-blue);
  margin-bottom: 8px;
  display: inline-block;
}

/* --- Packages Section --- */
section.packages {
  padding: 90px 5%;
  max-width: 1200px;
  margin: auto;
}

.section-intro {
  text-align: center;
  margin-bottom: 60px;
}

.section-intro h2 {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin: 0 0 15px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

/* --- Package Cards --- */
.package {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 50px 35px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.package:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.package-header .category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-gray);
  display: block;
  margin-bottom: 10px;
}

.package h3 {
  font-size: 1.8rem;
  color: var(--dark-blue);
  margin: 0;
}

.price-tag {
  font-size: 3rem;
  font-weight: 800;
  margin: 26px 0;
  color: var(--text-dark);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 34px 0;
  text-align: left;
  flex-grow: 1;
}

.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
  color: var(--text-gray);
}

.feature-list li::before {
  content: "✓";
  color: var(--primary-blue);
  font-weight: 800;
  margin-right: 12px;
}

/* Featured Card Highlights */
.package-featured {
  border: 2px solid var(--primary-blue);
  box-shadow: 0 18px 45px rgba(0, 71, 255, 0.10);
  transform: scale(1.03);
}

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue);
  color: white;
  padding: 7px 22px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

/* --- Buttons --- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.button.primary {
  background: var(--primary-blue);
  color: var(--white) !important;
  box-shadow: 0 10px 22px rgba(0, 71, 255, 0.18);
}

.button.secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* --- Modals --- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  background-color: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--white);
  margin: 5% auto;
  padding: 50px;
  border-radius: 20px;
  max-width: 600px;
  position: relative;
}

.close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2rem;
  cursor: pointer;
  color: #aaa;
}

/* --- Footer --- */
footer {
  background: #0b1b3a;
  color: #cbd5e1;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
}

footer a {
  color: #cbd5e1;
  margin: 0 6px;
}

footer a:hover {
  color: #ffffff;
}

footer p {
  margin-top: 12px;
  color: #94a3b8;
  font-size: 0.85rem;
}

/* --- Additional Options --- */
.additional-options {
  text-align: center;
  margin-top: 60px;
  background: var(--light-bg);
  padding: 30px;
  border-radius: 12px;
}

.additional-options a {
  color: var(--primary-blue);
  font-weight: bold;
  text-decoration: underline;
}

/* --- Responsive Layout --- */
@media (max-width: 992px) {
  .package-featured { transform: none; }
  .grid { gap: 25px; }
  .hero-text h1{ font-size: 2.6rem; }
  .hero-text p{ font-size: 1.15rem; }
}

@media (max-width: 768px) {
  .navbar { padding: 12px 18px; }
  .nav-links { display: none; }
  .burger { display: inline-flex; }

  .sticky-cta{ display: none; }

  .hero { min-height: 520px; height: auto; padding: 70px 0; }
  .hero-text h1 { font-size: 2.1rem; }
  .hero-text p { font-size: 1.05rem; }

  .grid { grid-template-columns: 1fr; }
  .modal-content { width: 90%; padding: 30px; margin: 15% auto; }

  .trust-bar .container { gap: 26px; }
  .trust-bar .benefit { min-width: 140px; }

  /* ✅ Mobile menu open state (required for your JS nav-active toggle) */
  .nav-links.nav-active{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; /* navbar height */
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 20px;
    gap: 14px;
    z-index: 1200;
  }

  .nav-links.nav-active li a{
    display: block;
    padding: 10px 10px;
    border-radius: 10px;
  }

  .nav-links.nav-active li a:hover{
    background: #f1f5ff;
  }
}