/* style.css (FINAL) */

}
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    background-color: #BEC055;
    color: #2E2E2E;
}
/* =========================
   NAV (desktop + mobile)
========================= */
.top-nav{
  
  top: 0;
  z-index: 1000;
  position: relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;

  padding:.85rem 1.25rem;
  background: black;
	color: white;
  box-shadow:0 2px 8px rgba(0,0,0,.06);

}

.top-nav .logo{
  font-weight:900;
  font-size:1.5rem;
  letter-spacing:.2px;
}

/* Desktop menu */
.nav-menu{
  list-style:none;
  display:flex;
  gap:.95rem;
  padding:0;
  margin:0;
}

.nav-menu a{
  text-decoration:none;
  color:white;
  font-size: 1.2rem;
  font-weight:800;
}

.nav-menu a:hover{ text-decoration:underline; }

/* Hamburger hidden on desktop */
.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
}

.nav-toggle span{
  display:block;
  width:24px;
  height:3px;
  background:#333;
  border-radius:2px;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle span + span{ margin-top:5px; }

/* hamburger -> X */
.nav-toggle.active span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2){ opacity:0; }
.nav-toggle.active span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* Mobile dropdown */
@media (max-width: 768px){
  .nav-toggle{ display:block; }

  .nav-menu{
    position:absolute;
    top:100%;
    left:0;
    right:0;

    background:black;
    display:none;
    flex-direction:column;
    gap:0;

    box-shadow:0 10px 25px rgba(0,0,0,.12);
  }

  .nav-menu.active{ display:flex; }

  .nav-menu li{
    border-top:1px solid #eee;
    text-align:center;
  }

  .nav-menu a{
    display:block;
    padding:1rem;
    font-size:1rem;
  }
}

/* BANNER / HERO (full width background image) */
.banner {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  background-image: url('images/banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 1rem 1.25rem;
  color: #fff;
}

.banner-content h1 {
  margin: 0 0 0.5rem;
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.banner-content p {
  margin: 0 auto 1.4rem;
  max-width: 700px;
  font-size: 1.05rem;
  text-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* BUTTON */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.45rem;
  border-radius: 999px;
  border: 0;
  background: #ff7b54;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.btn-primary:hover {
  background: #ff5f2e;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}

/* SECTIONS */
.section {
  padding: 3rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.85rem;
  text-align: center;
}

.section p {
  margin: 0.6rem auto 1.25rem;
  max-width: 760px;
  text-align: center;
  color: #333;
}

.section-alt {
  background: #fff;
  border-radius: 16px;
  margin: 2rem auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.card h3 { margin: 0 0 0.35rem; }
.card p { margin: 0.25rem 0 0; text-align: left; max-width: none; }

/* ALERTS */
.alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin: 1rem auto 1.5rem;
  max-width: 900px;
  font-weight: 650;
  font-size: 0.95rem;
}

.alert.success {
  background: #e7f7ec;
  color: #256c3b;
  border: 1px solid #b5e2c0;
}

.alert.error {
  background: #fdecea;
  color: #b3261e;
  border: 1px solid #f5c2c0;
}

/* FORM */
.enrollment-form { margin-top: 1.25rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group-full { grid-column: 1 / -1; }

.form-group label {
  font-weight: 800;
  font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #d0d0da;
  font-size: 0.98rem;
  outline: none;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #ff7b54;
  box-shadow: 0 0 0 3px rgba(255,123,84,0.18);
}

.enrollment-form button {
  display: block;
  margin: 1.25rem auto 0;
}

/* CONTACT */
.contact-info {
  text-align: center;
  margin-top: 1.25rem;
}

.contact-info p { margin: 0.25rem 0; }

/* FOOTER */
.footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  color: #666;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .banner-content h1 { font-size: 3rem; }
  .banner-content p { font-size: 1.2rem; }

  .cards { grid-template-columns: repeat(3, 1fr); }

  .form-grid { grid-template-columns: repeat(2, 1fr); }

  .section { padding: 3.25rem 1.5rem; }
}

@media (min-width: 1024px) {
  .banner { height: 75vh; }
  .top-nav { padding: 0.9rem 1.75rem; }
}
@media (max-width: 768px) {
  .nav-toggle span {
    background: #ffffff;
  }
}
