/* ================== Reset & Base ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: #fefefe; /* light page background */
  color: #222;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================== Header ================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background-color: #0b0f19; /* dark header */
  color: #fff;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: background-color 0.3s, box-shadow 0.3s;
}

header.scrolled {
  background-color: #fff;
  color: #0b0f19;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.logo {
  height: 200px;
  width: auto;
  transition: height 0.3s;
}

header.scrolled .logo {
  height: 50px;
}

nav a {
  color: #fff;
  font-weight: 500;
  margin-left: 25px;
  transition: color 0.3s;
}

header.scrolled nav a {
  color: #0b0f19;
}

nav a:hover {
  color: #1abc9c;
}

/* ================== Hero Section ================== */
.hero {
  background: linear-gradient(to right, #0b0f19, #111827);
  color: #fff;
  padding: 120px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

/* ================== Buttons ================== */
.btn-primary {
  background-color: #1abc9c;
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
  background-color: #159e87;
  transform: scale(1.05);
}

/* ================== Sections ================== */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
  background-color: #fff;
  color: #222;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #555;
}

/* ================== Cards ================== */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.card {
  background: #fefefe;
  border: 1px solid #e5e7eb;
  padding: 30px;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card h3 {
  color: #0b0f19;
  margin-bottom: 10px;
}

.card p {
  color: #555;
}

/* ================== Stats ================== */
.stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
  font-size: 1.2rem;
  color: #0b0f19;
}

.stats span {
  font-size: 2rem;
  font-weight: bold;
  color: #1abc9c;
}

/* ================== Testimonials ================== */
.testimonials .cards .card {
  max-width: 400px;
  font-style: italic;
  color: #333;
}

/* ================== Footer ================== */
footer {
  background: #0b0f19;
  color: #fff;
  text-align: center;
  padding: 25px 20px;
  font-size: 0.9rem;
}

footer a {
  color: #1abc9c;
}

footer a:hover {
  text-decoration: underline;
}

/* ================== Responsive ================== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .cards, .stats {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }
}
