/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Brand Colors */
:root {
  --yellow: #ffd700;
  --black: #000000;
  --grey-light: #f4f4f4;
  --grey-dark: #444;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background-color: var(--black);
  color: var(--yellow);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px 0;
}


.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* hide nav menu by default on small screens */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  nav ul.show {
    display: flex;
    flex-direction: column;
    background: var(--black);
    position: absolute;
    top: 70px;
    right: 0;
    width: 220px;
    padding: 1rem 0;
    border-radius: 0 0 8px 8px;
    z-index: 1001;
  }
}


nav ul li {
  margin: 0 12px;
}
nav ul li a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  transition: background-color 0.3s ease;
  border-radius: 3px;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: var(--yellow);
  color: var(--black);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80')
      no-repeat center center/cover;
  color: var(--yellow);
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-buttons .btn {
  margin: 0 0.5rem;
}

/* Buttons */
.btn {
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 3px;
  border: none;
  transition: background-color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.btn-primary {
  background-color: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  background-color: #e6c200;
}

.btn-secondary {
  background-color: transparent;
  color: var(--yellow);
  border: 2px solid var(--yellow);
}

.btn-secondary:hover {
  background-color: var(--yellow);
  color: var(--black);
}

/* Sections */
.section {
  padding: 4rem 0;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 1rem;
  text-align: center;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--black);
}

/* About */
.about-section p,
.about-section ul {
  max-width: 900px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.1rem;
  color: var(--grey-dark);
}

.about-section ul {
  list-style-type: disc;
  padding-left: 1.25rem;
}

/* Programs */
.programs-section {
  background-color: var(--grey-light);
}

.program-category {
  max-width: 800px;
  margin: 1rem auto 2rem auto;
  padding: 1rem 2rem;
  background: white;
  border-radius: 5px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.program-category ul {
  list-style-type: circle;
  padding-left: 1.5rem;
  font-size: 1.1rem;
  color: var(--grey-dark);
}

/* Registration Form */
.registration-section form,
.contact-section form {
  max-width: 500px;
  margin: 1rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-weight: 600;
  color: var(--black);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  padding: 0.5rem;
  border-radius: 3px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
}

textarea {
  resize: vertical;
}

/* News */
.news-section article {
  max-width: 900px;
  margin: 1.5rem auto;
  background: var(--grey-light);
  padding: 1rem 1.5rem;
  border-radius: 5px;
  box-shadow: inset 0 0 5px #ddd;
}

.news-section h3 {
  margin-bottom: 0.5rem;
  color: var(--black);
}

.news-section p em {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.75rem;
  display: block;
}

/* Contact */
.contact-section p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.map-container {
  margin-top: 2rem;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background-color: var(--black);
  color: var(--yellow);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-contact {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}


/* Hide menu-toggle by default for desktop */
.menu-toggle {
  display: none;
}
/* Hero Slider */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fade 30s infinite;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }
.slide:nth-child(4) { animation-delay: 18s; }
.slide:nth-child(5) { animation-delay: 24s; }

@keyframes fade {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  20%  { opacity: 1; }
  30%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Hero Text */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 40px;
  border-radius: 8px;
}
.hero-text img {
  border-radius: 5px; /* optional */
}
.hero-text h1 {
  font-size: 2rem;
  font-weight: bold;
  color: yellow; /* make it pop */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6); /* ensures background is still visible */
}
/*header nav ul {*/
  display: flex;              /* makes items line up horizontally */
  flex-wrap: nowrap;          /* prevents breaking into multiple lines */
/*  list-style: none;*/
/*  margin: 0;*/
/*  padding: 0;*/
/*}*/

/*header nav ul li {*/
  margin: 0 15px;             /* spacing between items */
  white-space: nowrap;        /* keeps "News & Events" in one line */
/*}*/

.testimonials-section {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #333;
}

.testimonial-box {
  background: white;
  border-left: 5px solid #f4c542; /* yellow accent */
  margin: 20px auto;
  padding: 20px;
  max-width: 700px;
  font-style: italic;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* =========================
   RESPONSIVE DESIGN
========================= */

/* Default hidden hamburger */
.menu-toggle {
  display: none;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    background: var(--black);
    position: absolute;
    top: 70px;
    right: 0;
    width: 220px;
    display: none;
    padding: 1rem 0;
    border-radius: 0 0 8px 8px;
    z-index: 1001;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    color: var(--yellow);
    font-size: 2rem;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .hero-text h1 {
    font-size: 1.4rem;
  }

  .hero-text img {
    height: 80px;
  }

  section {
    padding: 2rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }
}

/* TABLET VIEW */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }
  .hero-text img {
    height: 120px;
  }
}

