/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #333;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
}

/* HEADER & NAVIGATION */
.main-header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px; /* Adjust as needed */
  margin-right: 10px;
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1c8c3a;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links-desktop {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links-desktop a {
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links-desktop a:hover {
  color: #1c8c3a;
}

.nav-btn {
  background: #1c8c3a;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.nav-btn:hover {
  background: #176c2e;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%); /* Start off-screen to the right */
  transition: transform 0.4s ease-in-out;
  z-index: 999;
}

.mobile-nav-overlay.active {
  transform: translateX(0); /* Slide in */
}

.nav-links-mobile {
  list-style: none;
  padding: 0;
  text-align: center;
}

.nav-links-mobile li {
  margin: 1.5rem 0;
}

.nav-links-mobile a {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links-mobile a:hover {
  color: #1c8c3a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-links-desktop {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .site-title {
    font-size: 1.5rem;
  }

  .logo-img {
    height: 50px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.8rem 1rem;
  }

  .site-title {
    font-size: 1.2rem;
  }

  .logo-img {
    height: 40px;
  }

  .nav-links-mobile a {
    font-size: 1.5rem;
  }
}

/* Ensure content is pushed down by fixed header */
body {
  padding-top: 80px; /* Adjust based on header height */
}

@media (max-width: 768px) {
  body {
    padding-top: 70px; /* Adjust for smaller header on mobile */
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 60px; /* Adjust for even smaller header on mobile */
  }
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/hero-background.jpg') no-repeat center center/cover;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15,155,15,0.8), rgba(80,184,72,0.8));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  line-height: 1.2;
}
.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.btn {
  padding: 0.9rem 2.2rem;
  border-radius: 5px;
  transition: background 0.3s, transform 0.3s;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: #fff;
  color: #1c8c3a;
}
.btn-primary:hover {
  background: #e0e0e0;
  transform: translateY(-3px);
}

/* Registration Section */
.registration-section {
  background-color: #e6ffe6; /* Light green background */
  padding: 5rem 0; /* Ample vertical padding */
  text-align: center; /* Center content */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Subtle shadow */
  margin-top: -1px; /* To prevent margin collapse with previous section if any */
}

.registration-section h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #1c8c3a;
}

.registration-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Animation for fade-in on scroll */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments for registration section */
@media (max-width: 992px) {
  .registration-section h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .registration-section {
    padding: 4rem 0;
  }
  .registration-section h2 {
    font-size: 1.8rem;
  }
  .registration-section p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .registration-section {
    padding: 3rem 0;
  }
  .registration-section h2 {
    font-size: 1.5rem;
  }
  .registration-section p {
    font-size: 0.9rem;
  }
}

/* ABOUT AWARDS SECTION */
.about-awards {
  background: #f9f9f9;
  padding: 5rem 0;
  text-align: center;
}
.about-awards h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #1c8c3a;
}
.about-awards p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* HONOREES SECTION */
.honorees {
  padding: 5rem 0;
  background-color: #fff;
}
.honorees h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 3rem;
  color: #1c8c3a;
}
.honorees-year {
  margin-bottom: 4rem;
}
.honorees-year h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #1c8c3a;
  text-align: center;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.honoree-card {
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.honoree-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.honoree-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover; /* Cover the area without distortion */
  display: block;
}

/* MODAL STYLES */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px); /* Frosted glass effect */
}
.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 900px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.modal-content h2 {
  margin-bottom: 1.5rem;
  color: #1c8c3a;
  font-size: 2.2rem;
}
.close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 2.5rem;
  cursor: pointer;
  color: #555;
  transition: color 0.2s;
}
.close:hover {
  color: #000;
}
.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.modal-gallery img {
  width: 100%;
  height: 200px; /* Fixed height for modal images */
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

/* CONTACT SECTION */
.contact {
  padding: 5rem 1rem;
  text-align: center;
  background: #f0f0f0;
}

.contact h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #1c8c3a;
}

.contact p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.social-link {
  font-size: 1.1rem;
  color: #1c8c3a;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border: 2px solid #1c8c3a;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.social-link:hover {
  background-color: #1c8c3a;
  color: #fff;
  transform: translateY(-3px);
}

/* FOOTER */
.footer {
  background: #1c8c3a;
  color: #e0e0e0;
  text-align: center;
  padding: 2rem 0;
}
.footer p {
  font-size: 1rem;
}

/* Responsive adjustments for sections */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-content p {
    font-size: 1.2rem;
  }
  .about-awards h2,
  .honorees h2,
  .contact h2 {
    font-size: 2.5rem;
  }
  .honorees-year h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .btn {
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
  }
  .about-awards h2,
  .honorees h2,
  .contact h2 {
    font-size: 2rem;
  }
  .about-awards p,
  .contact p {
    font-size: 1rem;
  }
  .honorees-year h3 {
    font-size: 1.5rem;
  }
  .social-link {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
  .modal-content {
    padding: 1.5rem;
    margin: 10% auto;
  }
  .modal-content h2 {
    font-size: 1.8rem;
  }
  .close {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 70vh;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }
  .about-awards h2,
  .honorees h2,
  .contact h2 {
    font-size: 1.8rem;
  }
  .about-awards p,
  .contact p {
    font-size: 0.9rem;
  }
  .honorees-year h3 {
    font-size: 1.3rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .modal-gallery {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  .social-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  .footer p {
    font-size: 0.8rem;
  }
}

/* Form Section */
.form-section {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px); /* Adjust based on header height */
}

.form-section form {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  width: 100%;
  box-sizing: border-box;
}

.form-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.2rem;
  color: #1c8c3a;
}

.form-section label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #333;
}

.form-section input[type="text"],
.form-section input[type="email"],
.form-section input[type="tel"],
.form-section input[type="number"],
.form-section input[type="url"],
.form-section textarea {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.form-section input[type="text"]:focus,
.form-section input[type="email"]:focus,
.form-section input[type="tel"]:focus,
.form-section input[type="number"]:focus,
.form-section input[type="url"]:focus,
.form-section textarea:focus {
  border-color: #1c8c3a;
  outline: none;
}

.form-section textarea {
  resize: vertical;
  min-height: 100px;
}

.form-section fieldset {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background-color: #fdfdfd;
}

.form-section legend {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1c8c3a;
  padding: 0 0.5rem;
}

.form-inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.form-inline-options label {
  display: flex;
  align-items: center;
  font-weight: 400;
  margin-bottom: 0;
}

.form-inline-options input[type="radio"],
.form-inline-options input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(1.1);
}

.form-section button[type="submit"] {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: #1c8c3a;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 1.5rem;
}

.form-section button[type="submit"]:hover {
  background-color: #176c2e;
  transform: translateY(-2px);
}

.form-section button[type="submit"]:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  transform: none;
}

.form-error {
  color: #d9534f;
  background-color: #f2dede;
  border: 1px solid #ebccd1;
  border-radius: 4px;
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
  display: none; /* Hidden by default, shown by JS on error */
}

.loading {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #1c8c3a;
  display: none; /* Hidden by default, shown by JS on submit */
}

.hidden {
  display: none;
}

/* Responsive adjustments for form */
@media (max-width: 768px) {
  .form-section {
    padding: 2rem 0.5rem;
  }
  .form-section form {
    padding: 1.5rem;
  }
  .form-section h2 {
    font-size: 1.8rem;
  }
  .form-section label {
    font-size: 0.95rem;
  }
  .form-section input,
  .form-section textarea {
    padding: 0.7rem;
    font-size: 0.9rem;
  }
  .form-section fieldset {
    padding: 1rem;
  }
  .form-section legend {
    font-size: 1.1rem;
  }
  .form-inline-options {
    flex-direction: column;
    gap: 0.5rem;
  }
  .form-section button[type="submit"] {
    padding: 0.8rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .form-section form {
    padding: 1rem;
  }
  .form-section h2 {
    font-size: 1.5rem;
  }
  .form-section label {
    font-size: 0.9rem;
  }
  .form-section input,
  .form-section textarea {
    padding: 0.6rem;
    font-size: 0.85rem;
  }
  .form-section legend {
    font-size: 1rem;
  }
  .form-section button[type="submit"] {
    font-size: 0.9rem;
  }
}

/* Press Releases Section */
.press-releases {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.press-releases h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: #1c8c3a;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.press-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.press-item:hover {
  transform: translateY(-5px);
}

.press-item h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  color: #1c8c3a;
}

.press-item p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #555;
}

.btn-press {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #1c8c3a;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-press:hover {
  background-color: #15872e;
}

/* Responsive adjustments: 
   The grid layout automatically adapts thanks to auto-fit and minmax.
   For finer control, you can add media queries as shown below.
*/
@media (max-width: 600px) {
  .press-releases h2 {
    font-size: 2rem;
  }
  .press-item h3 {
    font-size: 1.3rem;
  }
  .press-item p {
    font-size: 0.9rem;
  }
}
@media (max-width: 400px) {
  .press-releases h2 {
    font-size: 1.8rem;
  }
  .press-item h3 {
    font-size: 1.2rem;
  }
  .press-item p {
    font-size: 0.8rem;
  }
}

