/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --teal: rgb(61, 168, 159);
  --teal-dark: rgb(42, 124, 111);
  --teal-light: rgb(189, 233, 226);
  --teal-lighter: rgb(238, 250, 247);
  --cream: rgb(255, 254, 252);
  --purple: rgb(124, 150, 249);
  --blue-dark: rgb(29, 103, 205);
  --white: #ffffff;
  --text-dark: #333;
  --font-heading: "Poppins", sans-serif;
  --font-body: "Poppins", "Avenir", "Helvetica Neue", sans-serif;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Header / Nav ===== */
.site-header {
  background: var(--teal);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  transition: opacity 0.2s;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width 0.2s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  background: var(--white);
  color: var(--text-dark);
  padding: 6rem 2rem 8rem;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  color: var(--teal-dark);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--teal);
  max-width: 500px;
}

.hero-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-social a {
  display: inline-block;
  width: 32px;
  height: 32px;
  transition: transform 0.2s;
}

.hero-social a:hover {
  transform: scale(1.1);
}

.hero-social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-image {
  flex: 0 0 400px;
}

.hero-image img {
  width: 100%;
  height: auto;
}

/* ===== Container ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===== Sections ===== */
.section {
  padding: 4rem 2rem;
}

.section--teal {
  background: var(--teal);
  color: var(--white);
}

.section--cream {
  background: var(--cream);
}

.section--light {
  background: var(--teal-light);
}

.section__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--teal-dark);
}

.section--teal .section__title {
  color: var(--white);
}

/* ===== Services Section ===== */
.services-section {
  scroll-margin-top: 80px;
  position: relative;
  background: rgb(30, 60, 60);
  padding: 5rem 2rem;
  overflow: hidden;
}

.services-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 50, 50, 0.92),
    rgba(30, 70, 65, 0.88)
  );
  z-index: 0;
}

.services-container {
  position: relative;
  z-index: 1;
}

.services-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-align: center;
  padding: 2rem 1rem 1.5rem;
  transition:
    transform 0.2s,
    background 0.2s;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
}

.service-card img {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.service-number {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  width: 26px;
  height: 26px;
  line-height: 26px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

.services-cta {
  text-align: center;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  background: var(--teal-dark);
  color: var(--white);
  padding: 0.85rem 2.5rem;
  border: none;
  border-radius: 0;
  font-size: 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.5px;
}

.btn:hover {
  background: rgb(28, 83, 74);
}

.btn--submit {
  background: var(--white);
  color: var(--teal-dark);
  padding: 0.9rem 3rem;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.btn--submit:hover {
  background: var(--teal-light);
}

.btn-arrow {
  margin-left: 0.3rem;
  font-size: 1.2em;
}

.btn--solid {
  background: var(--teal-dark);
  color: var(--white);
  border-radius: 4px;
}

.btn--solid:hover {
  background: rgb(28, 83, 74);
}

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--teal-dark);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
  background: var(--white);
  padding: 5rem 2rem;
}

.testimonials-intro {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.testimonials-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--teal);
}

.testimonials-intro-text h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.testimonials-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: underline;
}

.testimonials-name:hover {
  color: var(--teal-dark);
}

.testimonial-carousel {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  padding: 0 3.5rem;
}

.carousel-track {
  overflow: hidden;
  background: var(--teal-lighter);
  border-radius: 16px;
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem 2rem;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-quote {
  font-size: 3.5rem;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}

.carousel-slide blockquote {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1rem;
  padding: 0;
}

.carousel-slide cite {
  font-style: normal;
  font-weight: 600;
  color: var(--teal-dark);
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--teal);
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}

.carousel-arrow:hover {
  background: var(--teal-dark);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--teal-light);
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.dot.active {
  background: var(--teal-dark);
}

/* ===== Submission Section ===== */
.submission-section {
  scroll-margin-top: 80px;
  background: var(--teal-dark);
  padding: 5rem 2rem;
}

.form-card {
  max-width: 550px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 3rem 2.5rem;
}

.form-icon {
  text-align: center;
  margin-bottom: 0.75rem;
}

.form-card h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--teal-dark);
}

/* ===== Forms ===== */
.form-container {
  max-width: 550px;
  margin: 0 auto;
}

.form-container h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--teal-dark);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  background: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--teal-dark);
}

.form-group textarea {
  resize: vertical;
  min-height: 60px;
}

.file-hint {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 0.3rem;
  text-align: center;
}

.btn--upload {
  background: transparent;
  border: 1px solid var(--teal-dark);
  color: var(--teal-dark);
  border-radius: 20px;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.btn--upload:hover {
  background: rgba(42, 124, 111, 0.1);
}

.btn--outline-dark {
  background: transparent;
  border: 1px solid var(--teal-dark);
  color: var(--teal-dark);
  border-radius: 20px;
  padding: 0.7rem 2rem;
}

.btn--outline-dark:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  font-size: 1.1rem;
}

/* ===== Maintenance Overlay ===== */
.maintenance-wrapper {
  position: relative;
}

.maintenance-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: inherit;
  padding: 2rem;
  text-align: center;
}

.maintenance-overlay p {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--teal-dark);
  line-height: 1.6;
}

.maintenance-overlay p:first-child {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.maintenance-overlay a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

.maintenance-overlay a:hover {
  color: var(--teal-dark);
}

.maintenance-overlay--dark {
  background: rgba(42, 124, 111, 0.94);
}

.maintenance-overlay--dark p {
  color: var(--white);
}

.maintenance-overlay--dark a {
  color: var(--teal-light);
}

.maintenance-overlay--dark a:hover {
  color: var(--white);
}

/* ===== Sponsors Section ===== */
.sponsors-section {
  padding: 4rem 2rem;
}

.sponsors-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--teal-dark);
}

.sponsors-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  justify-items: center;
}

.sponsors-gallery img {
  width: 100%;
  max-width: 160px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* ===== Page Transitions ===== */
body {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== About Page ===== */
.about-hero {
  background: var(--teal);
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.about-hero p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 0.92;
}

.about-coordinator {
  background: var(--white);
  padding: 5rem 2rem;
}

.about-content {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.about-photo {
  flex: 0 0 220px;
}

.about-photo img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--teal);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-family: var(--font-heading);
  color: var(--teal-dark);
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.about-text .role {
  color: var(--teal);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ===== Contact Page ===== */
.contact-hero {
  background: var(--teal);
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.contact-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-hero p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 0.92;
}

.contact-content {
  background: var(--white);
  padding: 4rem 2rem 5rem;
}

.contact-grid {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info {
  flex: 0 0 280px;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 1.5rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.contact-item a {
  color: var(--teal);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--teal-dark);
}

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.contact-social a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: color 0.2s;
}

.contact-social a:hover {
  color: var(--teal);
}

.contact-social img {
  width: 22px;
  height: 22px;
}

.contact-form-wrap {
  flex: 1;
  background: var(--teal-lighter);
  border-radius: 16px;
  padding: 2.5rem;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--teal-dark);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 2rem;
}

.footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.footer-top a {
  color: var(--white);
  text-decoration: underline;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-top a:hover {
  opacity: 1;
}

.footer-email {
  font-size: 0.85rem;
}

.footer-complaints {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  transition: opacity 0.2s;
}

.footer-complaints:hover {
  opacity: 0.8;
}

.footer-complaints img {
  height: 45px;
  margin: 0 auto;
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--teal);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-links a::after {
    display: none;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    flex: 0 0 auto;
    max-width: 300px;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-social {
    justify-content: center;
  }

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

  .testimonials-intro {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-carousel {
    padding: 0 2.5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

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

  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-photo {
    flex: 0 0 auto;
  }

  .contact-grid {
    flex-direction: column;
  }

  .contact-info {
    flex: 0 0 auto;
    text-align: center;
  }

  .contact-social {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2rem;
  }
}
