/* Reset & base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #003366;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  background-color: #03274d;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Flex container inside header */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 130px;
}

/* Logo */
.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.logo .highlight {
  color: #FFEB3B;
}

/* Navigation menu (desktop horizontal) */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding-left: 0;
  margin: 0;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 0.85rem;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: #d6b10d;
  color: #fff;
  border-radius: 4px;
}

/* Call to action button */
.btn-cta {
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  color: white;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
  border: 2px solid transparent;
}

.btn-cta:hover {
  background: linear-gradient(135deg, #F7931E 0%, #E67E22 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hamburger toggle - hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #003366;
  font-size: 1.5rem;
  cursor: pointer;
  position: relative;
  z-index: 110;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive for mobile */
@media (max-width: 768px) {
  /* Hide nav by default */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background-color: rgba(0, 51, 102, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1rem 0;
    margin-top: 0.5rem;
  }

  /* Display nav when active */
  .main-nav.active {
    display: block;
  }

  /* Stack nav links vertically */
  .main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding-left: 0;
    margin: 0;
   text-align: center; 
    align-items: center; 
    
  }
  

  .main-nav ul li a {
    display: block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-align: left;
  }

  .main-nav ul li a:hover,
  .main-nav ul li a.active {
    background-color: #001a33;
    color: #fff;
  }

  /* Show hamburger toggle */
  .nav-toggle {
    display: block;
  }

  /* Style Call-To-Action button for mobile */
  .btn-cta {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    margin-top: 0.5rem;
  }
}



/* Hero Section */
.hero {
  position: relative;
  height: 50vh;
  background: url('../img/hero-bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  transition: background-image 0.5s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* dark overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-content {
  z-index: 2;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Hero buttons */
.btn-hero,
.btn-hero-outline {
  display: inline-block;
  margin: 0 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-hero {
  background-color: #FFEB3B;
  color: #003366;
}

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

.btn-hero-outline {
  border: 2px solid #FFEB3B;
  color: #FFEB3B;
}

.btn-hero-outline:hover {
  background-color: #FFEB3B;
  color: #003366;
}


/* About Section */
.about-section {
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.about-text {
  flex: 1 1 45%;
}

.about-text h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.btn-about {
  display: inline-block;
  background-color: #4CAF50;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.btn-about:hover {
  background-color: #388E3C;
}

.about-image {
  flex: 1 1 45%;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
}







/* Page Header */
.page-header {
  text-align: center;
  background-color: #f6fdf6;
  color: #4CAF50;
  padding: 3rem 1rem;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

/* About Page Sections */
.about-details {
  padding: 4rem 0;
}

/* About Grid Layout */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.about-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(76, 175, 80, 0.1);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about-card h2 {
  color: #003366;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.about-card p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Mission & Vision Layout */
.mission-vision {
  display: grid;
  gap: 1.5rem;
  text-align: left;
}

.mission h3, .vision h3 {
  color: #4CAF50;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.mission p, .vision p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Values List */
.values-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  color: #333;
  font-weight: 500;
}

.value-icon {
  font-size: 1.2rem;
}

/* About Hero Section */
.about-hero {
  background: linear-gradient(135deg, #e8f5e9, #ffffff);
  padding: 60px 40px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  max-width: 1100px;
  margin: 50px auto;
}
.about-hero h1 {
  text-align: center;
  font-size: 36px;
  color: #0b5d3b;
  margin-bottom: 40px;
  letter-spacing: 3px;
  font-weight: bold;
  text-transform: uppercase;
}
.about-hero fieldset {
  border: none;
  background: white;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.about-hero legend {
  background: linear-gradient(to right, #0b5d3b, #1c8c5f);
  padding: 12px 30px;
  color: white;
  font-size: 28px;
  font-weight: bold;
  border-radius: 50px;
}
.about-hero p {
  font-size: 20px;
  line-height: 2.2;
  text-align: justify;
  color: #444;
  margin-top: 20px;
}

/* Team Section */
.team-section {
  margin-top: 5rem;
  padding: 3rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
  border-radius: 25px;
  text-align: center;
}

.team-title {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 1rem;
  font-weight: 700;
}

.team-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
}

.team-member {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  box-shadow: 0 0 0 3px #4CAF50;
}

.team-photo img {
  display: none;
}

.team-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 0.5rem;
}

.team-role {
  font-size: 1rem;
  color: #4CAF50;
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

/* Detailed Footer (for gallery and other pages) */
footer .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: left;
  padding: 2rem 0 1rem 0;
}

.footer-section h3,
.footer-section h4 {
  color: #4CAF50;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section p {
  margin-bottom: 0.8rem;
  line-height: 1.5;
  font-size: 1rem;
  color: #fff;
}

.footer-section .social-links a {
  color: #fff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #4CAF50;
}

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

.social-links a {
  color: #ccc;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #4CAF50;
}

.footer-bottom {
  border-top: 2px solid #ffeb3b;
  padding-top: 1rem;
  margin-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #ccc;
}




/* Services Section */
.services-section {
  padding: 4rem 0;
  text-align: center;
}

.services-section h2 {
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 0.3rem;
}

.section-intro {
  color: #555;
  margin-bottom: 2.5rem;
}

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

.service-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 8px 32px rgba(76, 175, 80, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(69, 160, 73, 0.05) 100%);
  border-radius: 18px;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(76, 175, 80, 0.15);
  border-color: rgba(76, 175, 80, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f0f8f0 100%);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 2rem;
  color: #4CAF50;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  color: #45a049;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  color: #003366;
  position: relative;
  z-index: 2;
  font-weight: 700;
}

.service-stat {
  font-size: 0.85rem;
  display: block;
  color: #4CAF50;
  font-weight: 600;
  margin-bottom: 2px;
}

.service-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}





/* Membership Section */
.membership-section {
  padding: 4rem 0;
  text-align: center;
}

.membership-section h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 0.5rem;
}

.membership-section .section-intro {
  color: #555;
  margin-bottom: 2.5rem;
}

.membership-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.membership-item {
  flex: 1 1 30%;
  background: #f9f9f9;
  padding: 1.8rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.membership-item h3 {
  color: #4CAF50;
  margin-bottom: 1rem;
}

.membership-item ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: #555;
  line-height: 1.5;
}

.btn-download {
  display: inline-block;
  background-color: #4CAF50;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-download:hover {
  background-color: #388E3C;
}

/* Responsive for Membership Section */
@media (max-width: 768px) {
  .membership-content {
    flex-direction: column;
  }

  .membership-item {
    flex: 1 1 100%;
  }
}



/* News & Announcements Section */
.news-section {
  padding: 4rem 0;
  text-align: center;
}

.news-section h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 0.5rem;
}

.news-section .section-intro {
  color: #555;
  margin-bottom: 2rem;
}

.news-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 0;
  text-align: left;
  color: #333;
  font-size: 1.1rem;
}

.news-list li {
  margin-bottom: 1.25rem;
  border-left: 4px solid #4CAF50;
  padding-left: 1rem;
  line-height: 1.5;
}





/* FAQs Section */
.faqs-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.faqs-section h2 {
  color: #003366;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-intro {
  color: #666;
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.faq-question {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.5rem 2rem;
  cursor: pointer;
  color: white;
  position: relative;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
}

.faq-question::after {
  content: '▼';
  position: absolute;
  right: 2rem;
  font-size: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  padding: 2rem;
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
  background: white;
  border-top: 3px solid #4CAF50;
}















/* --------------------
   CONTACT FORM
-------------------- */

/* Contact Section Container */
.contact-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  font-family: 'Poppins', sans-serif;
  color: #003366;
  background: linear-gradient(135deg, #f6fdf6 0%, #e8f5e8 100%);
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #4CAF50, #45a049, #4CAF50);
}

/* Section Title */
.contact-section > h3 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #003366;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-section > h3::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4CAF50, #45a049);
  margin: 1rem auto;
  border-radius: 2px;
}

/* Flex container for info + form */
.contact-container {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center; /* centers children horizontally */
}


/* Left column (contact info) */
.left-column {
  flex: 1 1 35%;
  min-width: 280px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.2);
  color: #003366;
  font-weight: 600;
  line-height: 1.6;
  border: 1px solid rgba(76, 175, 80, 0.1);
  position: relative;
}

.left-column .contact-info p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.left-column .contact-info p::before {
  content: '📞';
  font-size: 1.2rem;
}

.left-column .contact-info p:nth-child(2)::before {
  content: '✉️';
}

.left-column .contact-info p:nth-child(3)::before {
  content: '📍';
}

.left-column strong {
  color: #4CAF50;
  font-weight: 700;
}

/* Contact Form: matches previous styling but adjusted for container */
.contact-form {
  flex: 1 1 60%;
  max-width: 500px;  /* Add this line to limit form width */
  min-width: 320px;
  background: linear-gradient(120deg, #fff, #e6e9f0);
  border-radius: 20px;
  box-shadow: 0 6px 24px #b988da42;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Form Labels */
.form-group label {
  font-weight: 600;
  color: #4CAF50;
  margin-bottom: 6px;
  display: block;
  font-size: 1rem;
}

/* Inputs and textarea */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e6e9f0;
  border-radius: 12px;
  font-size: 1rem;
  background: #fafafa;
  color: #003366;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

/* Focus styles */
.form-group input:focus,
.form-group textarea:focus {
  border-color: #4CAF50;
  box-shadow: 0 0 8px #4caf50aa;
}

/* Submit Button */
.contact-btn {
  align-self: flex-start;
  margin-top: 10px;
  padding: 12px 30px;
  font-size: 1.1rem;
  background: linear-gradient(90deg, #4CAF50 10%, #34df59 90%);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.contact-btn:hover,
.contact-btn:focus {
  background: linear-gradient(90deg, #43a047 10%, #2ecc40 90%);
  transform: scale(1.05);
  box-shadow: 0 6px 24px #34df5922;
}

/* Responsive: Stack on smaller widths */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }

  .left-column,
  .contact-form {
    flex: 1 1 100%;
    min-width: auto;
    box-shadow: none;
    padding: 1.5rem 1rem;
    border-radius: 10px;
  }

  .contact-btn {
    align-self: stretch;
    text-align: center;
  }
}

a:focus,
button:focus,
.contact-btn:focus {
  outline: 2px solid #FFEB3B;
  outline-offset: 2px;
}


.about-team {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.team-member {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(76,175,80,0.08);
  padding: 1.5rem;
  text-align: center;
  max-width: 210px;
  flex: 1 1 210px;
}
.team-member img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 3px solid #4CAF50;
}
.team-member h4 {
  margin: 0.7rem 0 0.2rem 0;
  color: #003366;
}
.role {
  font-weight: 600;
  color: #4CAF50;
  margin-bottom: 0.5rem;
}
.bio {
  color: #555;
  font-size: 0.97rem;
}
@media (max-width: 768px) {
  .about-team { flex-direction: column; align-items: center; }
}


:root {
  --bg: #fff;
  --text: #003366;
  --primary: #4CAF50;
  --highlight: #FFEB3B;
}
[data-theme='dark'] {
  --bg: #202124;
  --text: #e0e8ef;
  --primary: #43a047;
  --highlight: #ffee58;
}
body {
  background: var(--bg);
  color: var(--text);
}
a, h1, h2, h3 { color: var(--text); }



.team-member {
  opacity: 0;
  transform: translateY(20px);
  animation: fadein 0.8s forwards;
}
@keyframes fadein {
  to { opacity: 1; transform: none; }
}

/* Login Page Styles */
.login-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: calc(100vh - 200px);
}

.login-container {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.login-header {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}

.login-header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
}

.login-header i {
  margin-right: 0.5rem;
  font-size: 2rem;
}

.login-header p {
  margin: 0;
  opacity: 0.9;
}

.login-tabs {
  display: flex;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.tab-btn {
  flex: 1;
  padding: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: #6c757d;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: white;
  color: #4CAF50;
  border-bottom: 3px solid #4CAF50;
}

.tab-btn:hover:not(.active) {
  background: #e9ecef;
}

.login-form {
  padding: 2rem;
  display: none;
}

.login-form.active {
  display: block;
}

.login-form .form-group {
  margin-bottom: 1.5rem;
}

.login-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #495057;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.login-form input:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.password-input {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0.25rem;
}

.password-toggle:hover {
  color: #4CAF50;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 0.5rem;
  width: auto;
}

.login-btn {
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.login-btn:hover {
  background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.login-btn.admin {
  background: linear-gradient(135deg, #003366 0%, #002244 100%);
}

.login-btn.admin:hover {
  background: linear-gradient(135deg, #002244 0%, #001122 100%);
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

.login-links {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.login-links a {
  color: #4CAF50;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.9rem;
}

.login-links a:hover {
  text-decoration: underline;
}

.login-status {
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 6px;
  display: none;
}

.login-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.login-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* Portal Preview */
.portal-preview {
  margin-top: 3rem;
  text-align: center;
}

.portal-preview h3 {
  color: #003366;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

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

.feature-item {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.feature-item i {
  font-size: 2.5rem;
  color: #4CAF50;
  margin-bottom: 1rem;
}

.feature-item h4 {
  color: #003366;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: #6c757d;
  font-size: 0.9rem;
}

/* Responsive Design for Login */
@media (max-width: 768px) {
  .login-container {
    margin: 0 1rem;
  }
  
  .login-header {
    padding: 1.5rem;
  }
  
  .login-form {
    padding: 1.5rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .login-links a {
    display: block;
    margin: 0.5rem 0;
  }
}

/* Gallery Page Styles */
.gallery-hero {
  position: relative;
  height: 50vh;
  background: url('../img/hero-bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.gallery-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.gallery-hero .container {
  position: relative;
  z-index: 2;
}

.gallery-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  color: #666;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #4CAF50;
  color: white;
  border-color: #4CAF50;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(76, 175, 80, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: white;
  font-size: 2rem;
}

.gallery-content {
  padding: 1.5rem;
}

.gallery-content h3 {
  margin: 0 0 0.5rem 0;
  color: #333;
  font-size: 1.25rem;
}

.gallery-content p {
  margin: 0 0 1rem 0;
  color: #666;
  font-size: 0.9rem;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #999;
}

.gallery-category {
  background: #e9ecef;
  color: #666;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
}

.load-more-container {
  text-align: center;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-lightbox {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.close-lightbox:hover {
  opacity: 0.7;
}

.lightbox-caption {
  margin-top: 1rem;
  color: white;
  text-align: center;
}

.lightbox-caption h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}

.lightbox-caption p {
  margin: 0;
  opacity: 0.8;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1.2rem;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav.prev {
  left: -60px;
}

.lightbox-nav.next {
  right: -60px;
}

/* Responsive Gallery */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .gallery-filters {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .lightbox-nav {
    padding: 0.75rem;
    font-size: 1rem;
  }
  
  .lightbox-nav.prev {
    left: 10px;
  }
  
  .lightbox-nav.next {
    right: 10px;
  }
}

/* Downloads Page Styles */
.downloads-section {
  padding: 3rem 0;
}

.downloads-controls {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-box {
  position: relative;
  max-width: 400px;
}

.search-box input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  color: #6c757d;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #4CAF50;
  border-color: #4CAF50;
  color: white;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.download-item {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.download-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #4CAF50;
}

.download-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.download-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.download-content h3 {
  color: #003366;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.download-content p {
  color: #6c757d;
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: #6c757d;
}

.download-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.download-btn {
  align-self: flex-start;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.download-btn:hover {
  background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.no-results {
  text-align: center;
  padding: 3rem;
  color: #6c757d;
}

.no-results i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #dee2e6;
}

.no-results h3 {
  margin-bottom: 0.5rem;
  color: #495057;
}

/* Quick Links Section */
.quick-links-section {
  padding: 3rem 0;
  background: #f8f9fa;
  margin-top: 3rem;
}

.quick-links-section h2 {
  text-align: center;
  color: #003366;
  margin-bottom: 2rem;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.quick-link {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  color: #003366;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.quick-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  color: #4CAF50;
}

.quick-link i {
  font-size: 2rem;
  color: #4CAF50;
}

.quick-link span {
  font-weight: 600;
}

/* Responsive Design for Downloads */
@media (max-width: 768px) {
  .downloads-controls {
    gap: 1rem;
  }
  
  .search-box {
    max-width: 100%;
  }
  
  .filter-buttons {
    justify-content: center;
  }
  
  .downloads-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .download-item {
    flex-direction: column;
    text-align: center;
  }
  
  .download-icon {
    align-self: center;
  }
  
  .download-btn {
    align-self: center;
  }
  
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Member Portal Styles */
.member-portal-hero {
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.member-portal-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.member-portal-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.member-dashboard {
  padding: 3rem 0;
  background: #f8f9fa;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.dashboard-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  padding: 1.5rem;
}

.card-header h3 {
  margin: 0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-content {
  padding: 1.5rem;
}

.summary-item, .loan-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child, .loan-item:last-child {
  border-bottom: none;
}

.summary-item .label, .loan-item .label {
  font-weight: 500;
  color: #666;
}

.summary-item .value, .loan-item .value {
  font-weight: 600;
  color: #333;
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.action-btn {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.action-btn:hover {
  background: #45a049;
}

.action-btn i {
  font-size: 1.2rem;
}

.transaction-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.transaction-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #4CAF50;
}

.transaction-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.transaction-type {
  font-weight: 600;
  font-size: 0.9rem;
}

.transaction-type.deposit {
  color: #4CAF50;
}

.transaction-type.withdrawal {
  color: #f44336;
}

.transaction-date {
  font-size: 0.8rem;
  color: #666;
}

.transaction-amount {
  font-weight: 600;
  font-size: 1.1rem;
}

.transaction-amount:not([class*="-"]) {
  color: #4CAF50;
}

.transaction-amount[class*="-"] {
  color: #f44336;
}

/* Responsive Design for Member Portal */
@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .action-buttons {
    grid-template-columns: 1fr;
  }
  
  .transaction-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}





body{
    background: linear-gradient(135deg, #e8f5e9, #f5f7fa);
    font-family: 'Poppins', sans-serif;
}

.about-box{
    max-width: 1100px;
    margin: 60px auto;
    padding: 50px;
    background: rgba(255,255,255,0.95);
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.about-box::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #0b5d3b, #f4b400);
}

.title{
    text-align: center;
    font-size: 60px;
    color: #0b5d3b;
    margin-bottom: 40px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
}

.title::after{
    content: "";
    width: 120px;
    height: 5px;
    background: #f4b400;
    display: block;
    margin: 15px auto;
    border-radius: 10px;
}

.custom-fieldset{
    border: none;
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.custom-fieldset legend{
    background: linear-gradient(to right, #0b5d3b, #148f5a);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.custom-fieldset p{
    margin-top: 25px;
    font-size: 19px;
    line-height: 2.2;
    color: #444;
    text-align: justify;
}

.custom-fieldset p::first-letter{
    font-size: 40px;
    font-weight: bold;
    color: #0b5d3b;
}

.about-box:hover{
    transform: translateY(-5px);
    transition: 0.4s ease;
}

@media(max-width:768px){

    .about-box{
        padding: 25px;
        margin: 20px;
    }

    .title{
        font-size: 40px;
    }

    .custom-fieldset p{
        font-size: 16px;
    }

    .custom-fieldset legend{
        font-size: 22px;
    }
}








.main-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:15px 40px;
    background:#0b5d3b;
}

.logo img{
    height:110px;
    width:auto;
    display:block;
}

.menu a{
    color:white;
    text-decoration:none;
    margin:0 15px;
    font-size:18px;
    font-weight:bold;
}

.menu a:hover{
    color:#f4b400;
}






