/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: #f6f9fc;
  color: #1f2937;
  line-height: 1.6;
}

/* ================= COLORS (Professional Palette) ================= */
:root {
  --primary: #00b894;
  --primary-dark: #019875;
  --dark: #111827;
  --gray: #6b7280;
  --light: #f9fafb;
  --border: #e5e7eb;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: linear-gradient(135deg, #0f172a, #020617);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links a {
  margin-left: 28px;
  text-decoration: none;
  color: #e5e7eb;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ================= SUBHEADING ================= */
.subheading {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, #ecfdf5, #f0fdfa);
}

.subheading h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #064e3b;
  margin-bottom: 10px;
}

.subheading p {
  font-size: 1.1rem;
  color: #065f46;
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: #000;
}

/* Background slider */
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 2;
}

/* Slider */
.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease-in-out, transform 6s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

/* ================= HERO TEXT ================= */
.hero-text {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding: 110px 60px;
  color: white;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--primary);
}

.hero-text p {
  font-size: 1.25rem;
  color: #e5e7eb;
  margin-bottom: 28px;
}

/* CTA Button */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 184, 148, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 184, 148, 0.45);
}

/* ================= SLIDER DOTS ================= */
.slider-dots {
  position: absolute;
  bottom: 25px;
  width: 100%;
  text-align: center;
  z-index: 4;
}

.dot {
  width: 12px;
  height: 12px;
  background: #d1d5db;
  border-radius: 50%;
  display: inline-block;
  margin: 0 6px;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ================= FEATURES ================= */
.features {
  padding: 80px 20px;
  background: white;
  text-align: center;
}

.features h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #0f172a;
}

.feature-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.feature-card {
  background: linear-gradient(180deg, #ffffff, #f9fafb);
  padding: 30px 26px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s, box-shadow 0.4s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.12);
}

.feature-card span {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--gray);
  font-size: 1rem;
}

/* ================= FOOTER ================= */
footer {
  background: linear-gradient(135deg, #020617, #0f172a);
  color: #e5e7eb;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.95rem;
}

footer p {
  margin-bottom: 6px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  .hero {
    height: auto;
  }

  .hero-text {
    padding: 60px 20px;
    text-align: center;
    margin: auto;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #020617;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 14px 24px;
    border-top: 1px solid #1f2937;
  }
}





