* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #e0fae7;
  color: #2d3e3f;
  padding-top: 90px;
}
.header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #2e7d32;
      color: white;
      padding: 10px 20px;
      flex-wrap: wrap;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .logo {
      display: flex;
      align-items: center;
      font-size: 1.2rem;
      font-weight: bold;
      gap: 10px;
    }

    .logo img {
      height: 60px;
      background-color: white;
      padding: 8px;
      border-radius: 10px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    .nav-links {
      list-style: none;
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
    }

    .nav-links li {
      position: relative;
    }

    .nav-links a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      padding: 10px;
      display: block;
      transition: background-color 0.3s ease;
    }

    @media (min-width: 769px) {
      .dropdown:hover .dropdown-menu {
        display: block;
      }
    }

    .dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      background-color: #388e3c;
      padding: 10px;
      list-style: none;
      min-width: 160px;
      z-index: 10;
      border-radius: 5px;
    }

    .dropdown-menu li a {
      padding: 8px 12px;
      color: white;
      display: block;
    }

    .dropdown-menu li a:hover {
      background-color: #2e7d32;
      border-radius: 4px;
    }

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

    .mobile-menu .line {
      width: 25px;
      height: 3px;
      background-color: white;
      border-radius: 2px;
    }

    @media (max-width: 768px) {
      .header {
        flex-direction: column;
        align-items: center;
      }

      .nav-links {
        display: none;
        flex-direction: column;
        align-items: left;
        width: 100%;
        background-color: #2e7d32;
        padding: 10px 0;
        text-align: left;
      }

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

      .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: #388e3c;
        border-radius: 0;
        text-align: left;
      }

      .mobile-menu {
        display: flex;
        margin-top: 10px;
      }
    }

    /* Mobile/Click-based dropdown behavior */
    .dropdown.open .dropdown-menu {
      display: block;
    }


/*--------------------------------Notice--------------------------------*/
.notice-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 10px;
  background: linear-gradient(135deg, #0f172a, #388e3c);
}

.notice-container {
  width: 90%;
  max-width: 1000px;
  border: 3px solid #918c8c;
  border-radius: 10px;
  background: rgba(45, 42, 42, 0.601);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 10px #7eec89;
}

.notice-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 1.6rem;
  font-weight: bold;
  background: linear-gradient(90deg, #f4f3f0, #89a382, #38bdf8);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: scroll-left 40s linear infinite, glowText 3s ease-in-out infinite;
  padding-left: 100%;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: #288f32;
  animation: pulse 1.0s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.2);
  }
}

/*---------------------------Introduction-------------------------*/
.intro {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 20px;
  justify-content: center;
  background-color: #e8f5e9; 
}

.intro-text {
  flex: 1;
  max-width: 600px;
  padding: 20px;
  font-size: 16px;
  line-height: 1.6;
}

.intro-text h2 {
  font-size: 2rem;
  color: #2e7d32;
  margin-bottom: 15px;
}

.intro-media {
  flex: 1;
  max-width: 500px;
  padding: 20px;
}

.intro-media img,
.intro-media iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    padding: 20px 10px;
  }

  .intro-text,
  .intro-media {
    max-width: 100%;
    padding: 10px;
  }

  .intro-text h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .intro-media img,
  .intro-media iframe {
    width: 100%;
    height: auto;
  }

  .intro-media p,
  .intro-text p {
    font-size: 15px;
  }
}


/*----------------Leader--------------------*/
.leader-section {
  background-color: #e0fae7;
  padding: 40px 20px;
  text-align: center;
}

.leader-section h2 {
  font-size: 2.2rem;
  color: #2e7d32;
  margin-bottom: 30px;
}

.leader-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #90b7ad;
  margin: 20px auto;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
}

.leader-image {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 10px;
}

.leader-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 300px;
}

.leader-info {
  flex: 2;
  min-width: 280px;
  padding: 10px 20px;
  text-align: left;
}

.leader-info h3 {
  font-size: 1.8rem;
  color: #1b5e20;
  margin-bottom: 10px;
}

.leader-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .leader-box {
    flex-direction: column;
    text-align: center;
  }

  .leader-info {
    text-align: center;
    padding: 10px;
  }

  .leader-info h3 {
    font-size: 1.5rem;
  }

  .leader-info p {
    text-align: justify; 
  }

  .leader-image {
    padding: 10px;
    text-align: center; 
  }

  .leader-image img {
    height: auto;
    width: 80%;         
    max-width: 300px;
    display: block;
    margin: 0 auto;   
  }
}



/*---------------partnership---------------*/
  h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 700;
  }
.partnership-container {
  
    max-width: 1000px;
    margin: 0 auto;
  }
.partnership-content {
    display: flex;
    gap: 50px;
    align-items: flex-start; /* align top */
    justify-content: center;
    /* force horizontal layout even on small screens */
    flex-wrap: nowrap; 
  }

  /* Left side: logo + message */
  .partner-info {
    flex: 1 1 300px;
    background-color: #90b7ad;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 3px 15px rgb(0 0 0 / 0.1);
    text-align: center;
  }
  .partner-info img {
    max-width: 150px;
    margin-bottom: 20px;
  }
  .partner-info p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #555;
  }

  /* Right side: clubs grid */
  .clubs-grid {
    flex: 2 1 600px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 25px;
  }

  .club-item {
   background-color: #90b7ad;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
    transition: box-shadow 0.3s ease;
  }
  .club-item:hover {
    box-shadow: 0 6px 18px rgb(0 0 0 / 0.15);
  }
  .club-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 12px;
  }
  .club-name {
    font-weight: 600;
    font-size: 1rem;
    color: #2c3e50;
    text-align: center;
  }

  /*--------------Map--------------*/
  .map-container {
      width: 100%;
      max-width: 900px;
      margin: 0 auto;
      border: 2px solid #ccc;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: 0;
    }
    /*------------Footer-------------*/
.footer {
  background-color: #1b5e20;
  color: white;
  display: flex;
  justify-content: center;     
  align-items: flex-start;
  padding: 40px 60px;
  flex-wrap: wrap;
  gap: 80px;                  
}

.footer .contact,
.footer .links {
  flex: 0 1 350px;             
  max-width: 350px;
}

.footer h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: bold;
}

.footer p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  justify-content: flex-start;
}

.social-icons a {
  color: white;
  font-size: 24px;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: #a5d6a7;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
  }

  .footer .contact,
  .footer .links {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

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

