/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
  color: #1a1a1a;
  padding-bottom: 2rem;
}





/* Navbar */
.navbar {
  background-color: #022904;
  color: white;
  padding: 1.5rem 0;
  position: relative;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  width: 95%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
  color: #222;
}

.logo {
  height: 100px;
  width: auto;
  margin-right: 0.5rem;
  border-radius: 7px;
}

.brand-name {
  font-size: 1.4rem;
  color: #D4AF37;
  font-weight: 700;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  display: none;
  cursor: pointer;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-menu a:not(.btn),
.nav-menu button:not(.btn) {
  color: white;
  text-decoration: none;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem 0.8rem;
  transition: background 0.3s;
}


.btn:hover {
  opacity: 0.9;
}


.nav-menu a:hover, .nav-menu button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #004f6d;
  margin-top: 0.5rem;
  border-radius: 5px;
  z-index: 999;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  width: 180px;
}



/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal[hidden] {
  display: none;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}



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

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #003f5c;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-menu.show {
    display: flex;
  }
}



/* Hero Section */
.hero {
  background: url("/images/partner.jpg") no-repeat center center/cover;
  padding: 5rem 2rem;
  color: #FFD700;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: auto;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #f5f5f5;
}

.hero-btn {
  padding: 0.8rem 1.5rem;
  background-color:#FFD700;
  color: white;
  border: none;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: #e55c00;
}

/* Filter Buttons */
.partner-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 2rem 1rem;
  background-color: #1e5304;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #e55c00;
  background: rgb(241, 241, 241);
  color: #005437;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s ease-in-out;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #b65e23;
  color: white;
}

/* Partnership Section */
.partnership-section .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

/* Partner Cards */
.partner-card {
  background: #fff;
  border-top: 3px solid #005437;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-card h3 {
  color: #005437;
  margin-bottom: 0.75rem;
}

.partner-card p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 1rem;
}

.partner-card .btn {
  display: inline-block;
  background-color: #FFD700;
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.partner-card .btn:hover {
  background-color: #e55c00;
}

/* Visibility Animation */
.partner-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.partner-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Typography */
@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .partner-filters {
    justify-content: flex-start;
  }
}




.site-footer {
    background-color: #024d27;
    color: #f0f0f0;
    padding: 4rem 2rem 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
  }
  
  .site-footer h3, .site-footer h4 {
    color: #ffffff;
    margin-bottom: 1rem;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links ul li {
    margin-bottom: 0.5rem;
  }
  
  .footer-links ul li a {
    color: #f0f0f0;
    text-decoration: none;
  }
  
  .footer-links ul li a:hover {
    text-decoration: underline;
  }
  
  .footer-contact i, .footer-social i {
    margin-right: 0.5rem;
    color: #1c7ed6;
  }
  
  .social-icons a {
    color: #f0f0f0;
    margin-right: 1rem;
    font-size: 1.4rem;
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: #1c7ed6;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid #444;
    padding-top: 1rem;
    font-size: 0.85rem;
  }
  





  :root {
    --jungle-green: #29AB87;
    --accessible-yellow: #FFC107;
    --accessible-border: #ddd;
  }
  
  
  #accessibility-button {

    position: absolute;
    top: 80%;
    left: 90%;
    right: 20px;
    bottom: 20px;
    background-color: var(--accessible-yellow);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    line-height: 50px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 1000;
  }
  
  #accessibility-toolbar {
    position: absolute;
    top: 60%;
    left: 60%;
    right: 20px;
    bottom: 80px;
    width: 270px;
    background: white;
    border: 1px solid var(--accessible-border);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    font-family: inherit;
    display: none;
    z-index: 1001;
    border-radius: 6px;
  }
  
  .toolbar-header {
    background: var(--jungle-green);
    color: rgb(155, 120, 120);
    padding: 10px;
    font-weight: bold;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
  }
  
  .toolbar-content {
    padding: 10px;
    color: #111;
  }
  
  .toolbar-content label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
  }
  
  .powered {
    padding: 6px;
    font-size: 12px;
    text-align: center;
    background: #f8f8f8;
    border-top: 1px solid var(--accessible-border);
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
  }
  
  .no-animations *, .no-animations *::before, .no-animations *::after {
    animation: none !important;
    transition: none !important;
  }
  
  .gentle-contrast *:not(img) {
    background-color: #f9f9f9 !important;
    color: #111 !important;
  }
  
  .gentle-contrast header, .gentle-contrast footer {
    background-color: #1e8e6d !important;
  }
  
  .readable-font *:not(img) {
    font-family: Verdana, Arial, sans-serif !important;
  }
  
  .highlight-links a,
  .highlight-links button {
    background-color: #eefcee !important;
    outline: 2px solid #29AB87 !important;
  }
  
  .marked-titles h1,
  .marked-titles h2,
  .marked-titles h3 {
    border-bottom: 2px dashed #29AB87;
    padding-bottom: 4px;
  }