* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: #f5f7fa;
}

/* NAV */
.nav {
  position: sticky; /* change from absolute */
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 0;
  z-index: 100;
  background: #f5f7fa; /* needs a bg since it's no longer over hero */
}

.brand-name {
  color: #1a1a1a;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.logo img {
  width: 65px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}


.nav-links a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
}

.cta-nav {
  background: #ff6a00;
  color: white !important;
  padding: 10px 18px;
  border-radius: 6px;
}

/* HERO */

.hero {
  position: relative;
  padding: 220px 0;
  background: url("assets/herobckground.png") no-repeat center right;
  background-size: cover;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 37, 64, 0.85) 0%,
    rgba(10, 37, 64, 0.75) 40%,
    rgba(10, 37, 64, 0.3) 60%,
    rgba(10, 37, 64, 0) 75%
  );
  z-index: 1;
}

.hero-content {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.hero-left {
  color: white;
  width: 55%;
}

.hero-left h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-left p {
  font-size: 18px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.hero-bullets {
  list-style: none;
  margin-bottom: 30px;
}

.hero-bullets li {
  margin-bottom: 10px;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.btn {
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.primary {
  background: #1930a1;
  color: white;
}

.secondary {
  background: white;
  color: #1930a1;
}

.how-link {
  color: white;
  font-weight: 600;
  text-decoration: none;
}

.hero-right img {
  width: 400px;
}

/* HOW IT WORKS */
.how {
  padding: 80px 20px;
  max-width: 1200px;
  width: 100%;
  margin: auto;
  text-align: center;
}
.divider1 {
  flex:1;
  height: 2px;
  background: #e5e7eb;
}

.how-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.how h2 {
  font-size: 32px;
  color: #1930a1;

}

.how-grid {
  display: flex;
  gap: 30px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  flex: 1;
}

.icon {
  height: 150px;;
  width: 200px;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 15px;
}

.divider {
  max-width: 1200px;
  width: 100%;
  height: 2px;
  background: #e5e7eb;
  margin: auto;
}


/* FEATURES */

.features {
  max-width: 1200px;
  width: 100%;
  margin: 80px auto;
  display: flex;
  gap: 40px;
  padding: 0 20px;
}
.divider3 {
  height: 2px;
  background: #e5e7eb;
  width: 100%;
}

.feature-box {
  background: white;
  padding: 0px;
  height: 260px;
  border-radius: 12px;
  flex: 1;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.feature-title {
  color: #1930a1;
  text-align: center;
  font-weight: 700;
}

.feature-box h3 {
  margin-bottom: 35px;
  text-align: center;
  margin-top: 35px;
}
.grey-box {
  background: #f5f7fa;
  flex: 1;
  border-radius: 0 0 12px 12px;
  
}

.feature-box ul {
  list-style: none;
  margin-left: 40px;
  margin-top: 20px;
}

.feature-box li {
  margin-bottom: 15px;
  font-weight: 600;
  gap:10
}
.checktext {
  color: #1930a1;
  
}

.checkmark {
  color: #ff6a00;
  font-weight: 800;
}
.text{
  color: #1930a1;

}



/* Mobile */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #1930a1;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 768px) {
   .nav-container {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #f5f7fa;
    padding: 16px 20px;
    gap: 16px;
    order: 3; 
    
  }

  .nav-links.open {
    display: flex;
    
  }

  .logo {
    order: 1;
    margin-left: 20px;
  }

  .hamburger {
    order: 2;
    display: block;
    margin-right: 20px;
  }

  .hero {
    padding: 140px 0 60px;
  }

  .hero-left {
    width: 100%;
  }

  .hero-left h1 {
    font-size: 32px;
  }

  .hero-content,
  .how,
  .features {
    width: 100%;
    padding: 0 20px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }

  .how-grid {
    flex-direction: column;
  }

  .features {
    flex-direction: column;
    margin: 40px auto;
  }
    .how {
    padding-top: 40px;
  }

  .divider {
    max-width: calc(100% - 40px);
    margin: 20px auto;
  }
  .checkmark {
  color: #ff6a00 !important;
}

.checktext {
  color: #1930a1 !important;
}

.text {
  color: #1930a1 !important;
}
}

@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 26px;
  }

  .btn {
    width: 100%;
  }

  .feature-box {
    width: 100%;
  }
}