/* ===== Homepage (index.html) CSS ===== */

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #2D9CDB, #56CCF2);
  color: white;
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 1200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

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

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
}

/* Call-to-action Button */
.cta-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: white;
  color: #2D9CDB;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #2D9CDB, #56CCF2);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.intro {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
}

.intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

/* Dark Mode */
body.dark-mode .hero {
  background: #1e1e1e;
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.05);
}

body.dark-mode .intro h2 {
  color: #fff;
}

body.dark-mode .intro p {
  color: #ddd;
}

body.dark-mode .cta-btn {
  background: linear-gradient(135deg, #56CCF2, #2D9CDB);
  color: white;
}

body.dark-mode .cta-btn:hover {
  background: linear-gradient(135deg, #2D9CDB, #56CCF2);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {

  /* ===== Homepage Mobile Styles ===== */

  /* Hero Section */
  .hero {
    min-height: 60vh;
    padding: 2rem 1rem;
    margin: 1rem auto;
    max-width: 95%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

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

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
  }

  .intro {
    max-width: 95%;
    margin: 2rem auto;
    padding: 1.5rem;
  }

  .intro h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .intro p {
    font-size: 1rem;
    line-height: 1.5;
  }
}
