/* --- GLOBAL RESET --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- BASE STYLES --- */
body {
  font-family: 'Poppins', sans-serif;
  background: #004f63;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- HEADER --- */
header {
  background: #004f63;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text h1 {
  font-size: 24px;
  color: #fff;
  letter-spacing: 1px;
}

.logo-text p {
  font-size: 12px;
  margin-top: -4px;
  color: #cce;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #00bfa5;
}

/* --- HIGHLIGHT BUTTON IN NAV --- */
.highlight-btn {
  background: #00bfa5;
  padding: 8px 16px;
  border-radius: 6px;
}

.highlight-btn:hover {
  background: #009e8f;
}

/* --- HERO SECTION --- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: #ffffff;
  color: #004f63;
}

.hero-logo img {
  width: 200px;
  margin-bottom: 20px;
}

.hero-text h2 {
  font-size: 32px;
  color: #007c91;
  margin-bottom: 15px;
}

.hero-text p {
  max-width: 800px;
  margin: 0 auto 25px;
  font-size: 16px;
  line-height: 1.6;
}

.btn {
  background: #00bfa5;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #009e8f;
}

/* --- MISSION & VISION --- */
.mission-vision {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
  background: #f6f9fa;
  color: #004f63;
}

.section-box {
  flex: 1 1 300px;
  max-width: 450px;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-box h3 {
  color: #007c91;
  margin-bottom: 10px;
}

/* --- GET INVOLVED --- */
.get-involved {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  color: #004f63;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #e8f5f7;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  max-width: 300px;
}

.card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 15px;
}

.card h3 {
  color: #007c91;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  margin-bottom: 20px;
}

.small-btn {
  display: inline-block;
  background: #00bfa5;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.small-btn:hover {
  background: #009e8f;
}

/* --- MEMBERSHIP SECTION --- */
.membership-section {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  color: #004f63;
}

.membership-section h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #007c91;
}

.membership-section p {
  font-size: 16px;
  margin-bottom: 30px;
}

.membership-form {
  background: rgba(0, 124, 145, 0.1);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.membership-form label {
  display: block;
  text-align: left;
  font-weight: 500;
  margin: 10px 0 5px;
}

.membership-form input,
.membership-form select,
.membership-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  margin-bottom: 15px;
  background-color: #f6f9fa;
  color: #004f63;
}

.membership-form input:focus,
.membership-form select:focus,
.membership-form textarea:focus {
  box-shadow: 0 0 0 2px #00bfa5;
}

.membership-form button {
  width: 100%;
  padding: 14px;
  background: #00bfa5;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 10px;
}

.membership-form button:hover {
  background: #009e8f;
}

/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 25px 10px;
  background: #004f63;
  color: white;
}

footer .socials {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

footer .social-icon {
  width: 32px;
  height: 32px;
  filter: none; /* always visible */
  transition: transform 0.3s ease;
}

footer .social-icon:hover {
  transform: scale(1.1);
}

/* --- ANIMATIONS --- */
.fade-in {
  animation: fadeIn 1.2s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
  .hero-text h2 {
    font-size: 26px;
  }
  .mission-vision,
  .cards-container {
    flex-direction: column;
    align-items: center;
  }
  nav a {
    margin-left: 10px;
  }
}

@media (max-width: 600px) {
  .membership-section {
    padding: 40px 15px;
  }
  .membership-form {
    padding: 20px;
  }
  .membership-section h2 {
    font-size: 24px;
  }
}
/* --- MOBILE HEADER FIX FOR SMALL SCREENS --- */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 10px 15px;
  }

  .logo-text h1 {
    font-size: 18px;
    line-height: 1.2;
  }

  .logo-text p {
    font-size: 10px;
    margin-top: 2px;
  }

  nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  nav a {
    font-size: 14px;
    margin: 5px 0;
  }

  .highlight-btn {
    display: inline-block;
    padding: 6px 10px;
    font-size: 13px;
    text-align: center;
  }
}

/* --- MOBILE MENU ICON STYLE --- */
.menu-toggle {
  display: none;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

/* --- MOBILE DROPDOWN MENU --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #nav-menu {
    display: flex;
    flex-direction: column;
    background: #004f63;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: all 0.35s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  #nav-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  #nav-menu a {
    margin: 10px 0;
    font-size: 16px;
  }

  .highlight-btn {
    margin-top: 10px;
  }
}
