/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #D3D3D3;
  color: #0f172a;
  line-height: 1.6;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
}

.hero-buttons {
  margin-top: 25px;
}

.hero .btn {
  display: inline-block;
  padding: 12px 26px;
  margin: 0 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero .btn.primary {
  background: #22c55e;
  color: #0f172a;
}

.hero .btn {
  background: #ffffff;
  color: #1e40af;
}

.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* SECTIONS */
section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ABOUT */
.about h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

.about p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* COURSES */
.courses h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.course-card {
  background: #00000;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.course-card h3 {
  margin-bottom: 10px;
}

.course-card p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.course-card button {
  margin-top: 15px;
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #1e40af, #2563eb);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(30,64,175,0.35);
}

/* WHY */
.why h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

.why ul {
  max-width: 600px;
  margin: 0 auto;
  list-style: none;
}

.why li {
  background: #ffffff;
  padding: 12px 18px;
  margin-bottom: 10px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

/* TESTIMONIALS */
.testimonials h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}

.testimonials blockquote {
  background: #ffffff;
  border-left: 6px solid #22c55e;
  padding: 20px;
  margin: 15px auto;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-style: italic;
}

.testimonials span {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  font-style: normal;
}

/* CONTACT */
.contact h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 2rem;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
}

.contact textarea {
  resize: none;
  height: 120px;
}

.contact button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  color: #0f172a;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(34,197,94,0.35);
}

/* CTA STRIP ABOVE FOOTER */
/* CTA STRIP ABOVE FOOTER */
.cta-strip {
  background: linear-gradient(135deg, #1e40af, #2563eb); /* professional blue gradient */
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 16px;
  margin: 40px auto;
}

.cta-strip h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta-strip p {
  font-size: 1.05rem;
  opacity: 0.95;
}

.cta-strip .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: #22c55e; /* green CTA button */
  color: #0f172a;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-strip .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
}


/* IMPROVED FOOTER */
footer {
  background: #1e3a8a; /* dark blue to match gradient */
  color: #e5e7eb;
  text-align: center;
  padding: 35px 15px;
  border-radius: 0 0 16px 16px;
}





/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .btn {
    margin: 8px 5px;
  }
}
/* ===== MOBILE RESPONSIVE FIX FOR ACE COACHING CENTER ===== */
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  /* NAVBAR */
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 12px;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    text-align: center;
  }

  /* HERO SECTION */
  .hero {
    flex-direction: column;
    padding: 20px;
    text-align: center;
    min-height: auto;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* INFO / FEATURES / DETAILS SECTIONS */
  .details,
  .features,
  .info-section,
  .cards,
  .services {
    grid-template-columns: 1fr !important;
    padding: 30px 15px;
  }

  /* CARDS */
  .card,
  .detail-card,
  .service-card {
    width: 100%;
  }

  /* TABLES (if any) */
  table {
    width: 100%;
    display: block;
    overflow-x: auto;
  }

  /* CONTACT SECTION */
  .contact {
    grid-template-columns: 1fr;
    padding: 30px 15px;
    text-align: center;
  }

  .contact-form,
  .contact-info {
    width: 100%;
  }

  /* FORM INPUTS */
  input,
  textarea,
  button {
    width: 100%;
    font-size: 1rem;
  }

  /* FOOTER */
  footer {
    text-align: center;
    padding: 20px;
  }

}
