* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  background: #f9f9f9;
  color: #222;
  overflow-x: hidden;
}

    /* Header */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 1000;
}
.navbar h1 a {
  text-decoration: none;
  color: #111;
  font-weight: 700;
  font-size: 1.5rem;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #007bff;
}

    /* Mobile menu */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    flex-direction: column;
    background: #fff;
    padding-top: 5rem;
    transition: right 0.3s ease-in-out;
  }
  .nav-links.active {
    right: 0;
  }
  .menu-toggle {
    display: block;
  }
}

    /* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: white;
}
.hero h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}
.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2rem;
  animation: fadeInUp 1.5s ease-out;
}
.cta-button {
  background: white;
  color: #007bff;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: fadeInUp 2s ease-out;
}
.cta-button:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

    /* How it Works */
#how-it-works {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
}

#how-it-works h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.how-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.how-card {
  background: #f9fbff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.how-card .icon {
  font-size: 2rem;
  color: #2563eb; /* Blue highlight */
  margin-bottom: 15px;
}

.how-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.how-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}


    /* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: black; /* dark navy */
  color: white;
  padding: 15px 50px;
  flex-wrap: wrap;
}

.footer-left a {
  color: white;
  margin-right: 15px;
  font-size: 20px;
  transition: color 0.3s ease;
}

.footer-left a:hover {
  color: #38bdf8; /* sky blue hover */
}

.footer-center {
  display: flex;
  gap: 10px;
  font-size: 14px;
}

.footer-center a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-center a:hover {
  color: #38bdf8;
}

.footer-right p {
  font-size: 14px;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px; /* hidden by default */
  width: 250px;
  height: 100%;
  background: #1e1e2f; /* dark sidebar */
  color: #fff;
  transition: left 0.3s ease-in-out;
  padding-top: 60px;
  z-index: 1000;
  box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}

.sidebar.active {
  left: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  margin: 20px 0;
  text-align: center;
}

.sidebar ul li a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  display: block;
  transition: background 0.2s, color 0.2s;
  padding: 12px;
  border-radius: 8px;
}

.sidebar ul li a:hover {
  background: #007bff;
  color: #fff;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  transition: opacity 0.3s ease-in-out;
}

.overlay.hidden {
  display: none;
  opacity: 0;
}

/* Mobile Menu Toggle (☰) */
.menu-toggle {
  font-size: 24px;
  cursor: pointer;
  display: block;
  color: #333;
}

@media (min-width: 768px) {
  /* Hide mobile sidebar on bigger screens */
  .sidebar, .overlay, .menu-toggle {
    display: none;
  }
}
