/* Reset some default styles */
*:not(i):not(.fa):not(.fas):not(.fab):not(.far) {
    font-family: 'Poppins', sans-serif !important;
}
* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

/* Desktop (default) */
.card {
  width: 30%;
}

/* Tablets */
@media (max-width: 768px) {
  .card {
    width: 48%;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .card {
    width: 100%;
  }
}


/* Prevent horizontal scroll */
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
   
}

body, html {
   font-family: 'Poppins', sans-serif;
}

/* Header Layout */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  padding: 20px 50px;
  background: white;
}

.logo {
  width: 60px;
  height: 60px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 60px;
  width: auto;
}

.logo-text-block {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000000;
  font-family: 'Poppins', sans-serif;
}

.logo-subtext {
  font-size: 0.85rem;
  color: #302dec;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  margin-top: 2px;
}



/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  z-index: 10;
  justify-content: flex-end
  
}
.nav-links li {
  position: relative;
    z-index: 100;
}

.nav-links li a {
  text-decoration: none;
  color: rgb(9, 3, 3);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
   z-index: 20;
}
.nav-links li > a {
  position: relative;
  cursor: pointer;
  z-index: 101; 
  .nav-links li > a:hover {
  color: #302dec; 
  background-color: transparent; 
} 
}
.nav-links a.active {
  color:#302dec;  
  font-weight: bold;
  border-bottom: 4px solid #302dec;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; 
  left: 0;
  background-color: #f2f5f8;
  min-width: 160px;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  z-index: 1000;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links li:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.dropdown-menu li:last-child {
  border-bottom: none;
}
.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: white;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: transparent; 
}

.nav-links li a:hover {
  color: #302dec;
}
/* Mobile Menu Toggle - Hidden by default */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  padding: 1px;
  z-index: 1000;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #302dec;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding-top: 10px;
    transition: all 0.5s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  
  .dropdown-menu {
    position: static;
    display: none;
    padding-left: 20px;
    background: rgba(0,0,0,0.05);
    box-shadow: none;
    width: 100%;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  /* Hamburger to X animation */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  /* MOBILE NAVIGATION - IMPROVEMENTS */
@media (max-width: 768px) {
  
  /* Ensure nav links are full width and neatly stacked */
  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
  }

  /* Dropdown menu inside mobile */
  .dropdown-menu {
    background: #f9f9f9;
    padding: 0;
    border-left: 3px solid #302dec;
  }

  .dropdown-menu a {
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
  }

  .dropdown-menu a:hover {
    color: #302dec;
    background: transparent;
  }

  /* Special styling for Join button */
  .nav-links li.join-btn a {
    background-color: #302dec;
    color: white;
    text-align: center;
    border-radius: 5px;
    margin: 10px 20px;
    padding: 12px 0;
    font-weight: bold;
    font-size: 16px;
    border: none;
  }

  .nav-links li.join-btn a:hover {
    background-color: #4a42f5;
    color: white;
  }
}

}

/* HERO SECTION SLIDESHOW */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation: heroSlider 10s infinite alternate ease-in-out;
  background-attachment: fixed;
}

/* Background Image Animation */
@keyframes heroSlider {
  0% {
    background-image: url('Images/hero.jpeg');
  }
  100% {
    background-image: url('Images/hero2.jpeg');
  }
 
}


@media (max-width: 768px) {
  .hero {
    height: 90vh; /* a bit shorter for phones */
    background-attachment: scroll; /* fixes laggy scroll on mobile */
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero .btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}

    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body, html {
     font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #ffffff, #f0f4ff);
  }

  .projects-section {
    max-width: 1900px;
    margin: 60px auto 100px;
    padding: 40px;
    text-align: center;
    padding-top: 80px; 
    position: relative;
  }

  .projects-section h2 {
    font-size: 2.5rem;
    color: #302dec;
    font-weight: 700;
    margin-bottom: 40px;
  }

  .projects-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }

  .projects-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 10px;
    width: 100%;
  }

  /* Hide default scrollbar */
  .projects-container::-webkit-scrollbar {
    display: none;
  }
 .projects-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding-bottom: 10px;
  width: 100%;
  /* hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.project-card {
  width: 315px;   /* fixed width */
  flex-shrink: 0; /* no shrinking */
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
  .project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.15);
  }

.image-container {
  width: 100%;
  height: 160px;  
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  pointer-events: none; 
}
  .project-card:hover .image-container img {
    transform: scale(1.05);
  }

  /* Content below image */
  .project-content {
    padding: 16px 18px 24px 18px;
    text-align: left;
    flex-grow: 1;
  }
  .project-content h3 {
    font-size: 16px;
    color: #302dec;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .project-content p {
    font-size: 13px;
    line-height: 1.4;
    color: black;
    margin-bottom: 14px;
  }
  .read-more {
    text-decoration: none;
    background-color: #302dec;
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
    transition: background 0.3s ease;
    display: inline-block;
    padding: 10px 25px;
    font-weight: 600;
  }
  .read-more:hover {
   background-color: white;
  color: #302dec;
  border: 2px solid #302dec;
  }

  /* Scroll Buttons */
  .scroll-btn {
    position: absolute;
    top: 80%;
    transform: translateY(-50%);
    background-color: #302dec;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    width: 32px;
    height: 32px;
    z-index: 1000;
    user-select: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
  }
  .scroll-btn:hover {
    opacity: 1;
  }
  .scroll-btn.left {
    left: -40px;
  }
  .scroll-btn.right {
    right: -40px;
  }
  .scroll-btn.show-btn {
  opacity: 1;
  pointer-events: auto;
}

  /* Responsive */
  @media (max-width: 1200px) {
    .project-card {
      min-width: calc((100% / 2) - 12px);
    }
  }
  @media (max-width: 600px) {
    .project-card {
      min-width: 85%;
    }
    .scroll-btn.left {
      left: 10px;
    }
    .scroll-btn.right {
      right: 10px;
    }
  }

/* Footer Styles */
.footer {
  background-color: #002D62;
  color: white;
  padding: 60px 0 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1.3fr; /* Wider side columns */
  column-gap: 150px; /* Add spacing between columns */
  row-gap: 40px;
}

.footer-section {
  margin: 0;
  padding: 0;
}


.footer-section h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: white;
}

/* Remove bullets from quick links */
.footer-section.links ul {
  list-style: none;
  padding-left: 0;
}

.footer-section p, .footer-section a {
  color: rgba(255,255,255,0.8);
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  color: white;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: #649cde;
  color: #003366;
}

.footer-bottom {
  text-align: center;
  font-size: 0.7rem;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
/* Vision & Mission Section */
.vision-mission-section {
  padding: 50px 20px; /* Reduced side padding for mobile */
  background: linear-gradient(to right, #f5f7fa, #e2eafc);
  width: 100%;
}

.vision-row,
.mission-row {
  display: flex;
  flex-direction: column; /* Stack vertically on mobile */
  align-items: center;
  justify-content: center;
  gap: 40px; /* Reduced gap for mobile */
  margin-bottom: 60px; /* Reduced margin for mobile */
  width: 100%;
}

.vision-image img,
.mission-image img {
  width: 100%;
  max-width: 400px; /* Reduced max-width for mobile */
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1); /* Lighter shadow for mobile */
  transition: transform 0.3s ease;
}

.vision-text,
.mission-text {
  flex: 1;
  padding: 30px 20px; /* Reduced padding for mobile */
  max-width: 100%; /* Full width on mobile */
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 83, 155, 0.1);
  text-align: center;
  animation: fadeInUp 1s ease forwards;
}

.vision-text h2,
.mission-text h2 {
  font-size: 18px; /* Slightly smaller for mobile */
  font-weight: bold;
  color: #302dec;
  margin-bottom: 15px; /* Reduced margin */
  border-left: 4px solid #302dec; /* Thinner border */
  padding-left: 12px; /* Reduced padding */
  text-align: left; /* Better readability */
}

.vision-text p,
.mission-text p {
  font-size: 14px; /* Increased from 5px (which was too small) */
  line-height: 1.7;
  color: black;
  font-family: 'Poppins', sans-serif;
  text-align: left; /* Better readability */
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

/* Tablet/Laptop View (768px and up) */
@media (min-width: 768px) {
  .vision-mission-section {
    padding: 50px 60px;
  }
  
  .vision-row,
  .mission-row {
    flex-direction: row; /* Side by side on larger screens */
    gap: 70px;
    margin-bottom: 80px;
  }
  
  .vision-image img,
  .mission-image img {
    max-width: 450px;
  }
  
  .vision-text,
  .mission-text {
    max-width: 500px;
    padding: 40px 30px;
  }
  
  .vision-text h2,
  .mission-text h2 {
    font-size: 20px;
  }
  
  .vision-text p,
  .mission-text p {
    font-size: 15px;
  }
}

/* Desktop View (1024px and up) */
@media (min-width: 1024px) {
  .vision-mission-section {
    padding: 50px 100px;
  }
  
  .vision-row,
  .mission-row {
    gap: 100px;
    margin-bottom: 100px;
  }
  
  .vision-image img,
  .mission-image img {
    max-width: 500px;
  }
  
  .vision-text,
  .mission-text {
    max-width: 570px;
    padding: 50px 30px;
  }
  
  .vision-text h2,
  .mission-text h2 {
    font-size: 22px;
  }
  
  .vision-text p,
  .mission-text p {
    font-size: 16px;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.get-to-know {
    
      margin: 0 auto;
      background: white;
      padding: 30px 40px;
      box-shadow: 0 0 15px rgba(0,0,0,0.1);
      border-radius: 10px;
      max-width: 90%;
      padding: 60px 20px;
      background: #f9fbfd;
}

    
    .get-to-know h2 {
      font-size: 2.5rem;
      margin-bottom: 10px;
      color: #302dec; /* Rotary blue */
      text-align: center;
    }
    .get-to-know p.intro {
      font-size: 1.1rem;
      color: black;
      text-align: center;
      margin-bottom: 40px;
      line-height: 1.6;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }
    .content-wrapper {
      display: flex;
      gap: 40px;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
    }
    .left-image {
      flex: 1 1 300px;
    }
    .left-image img {
      width: 100%;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .right-content {
      flex: 1 1 350px;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    .accordion-item {
      background: #f1f8ff;
      border-radius: 8px;
      padding: 15px 20px;
      cursor: pointer;
      box-shadow: 0 0 8px rgba(0, 83, 155, 0.1);
      transition: background-color 0.3s ease;
      user-select: none;
      border-left: 6px solid #302dec;
    }
    .accordion-item:hover {
      background-color: #e1f0ff;
    }
    .accordion-title {
      font-weight: 600;
      font-size: 1.2rem;
      color: #302dec;
    }
    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
      font-size: 1rem;
      color: black;
      padding-left: 10px;
      margin-top: 8px;
      line-height: 1.5;
    }
    .accordion-item.active .accordion-content {
      max-height: 150px; 
    }
/* Our Services Section */
.our-services {
  max-width: 90%;
  margin: 80px auto 120px;
  padding: 120px 80px;
  background: white;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 12px;
  text-align: center;
}

.our-services h2 {
  font-size: 2.5rem;
  color: #302dec;
  margin-bottom: 12px;
  font-weight: bold;
}

.our-services p.intro {
  font-size: 1.1rem;
  color: black;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.services-container {
  display: flex;
  gap: 50px;
  flex-wrap: nowrap; /* prevent wrapping */
  justify-content: center;
}

.service-card {
  flex: 0 0 24%; /* fixed width to fit 4 cards in one row */
  background-color: #e1f0ff;
  padding: 40px 25px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 83, 155, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  min-height: 300px; 
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(2, 61, 112, 0.2);
}

.service-card h3 {
  color: #302dec;
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card p {
  font-size: 1rem;
  color: black;
  line-height: 1.5;
}

/* Our Services Section */
.our-services {
  max-width: 1400px;
  margin: 60px auto 100px;
  padding: 100px 60px;
  background: white;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 12px;
  text-align: center;
}

.our-services h2 {
  font-size: 2.5rem;
  color: #302dec;
  margin-bottom: 12px;
  font-weight: bold;
}

.our-services p.intro {
  font-size: 1.1rem;
  color: black;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.services-container {
  display: flex;
  gap: 30px;
  flex-wrap: nowrap; /* prevent wrapping */
  justify-content: center;
}

.service-card {
  flex: 0 0 25%; 
  background-color: #f1f8ff;
  padding: 20px 18px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 83, 155, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  text-align: center;
}

.icon {
  text-align: center;
  font-size: 2rem; 
  margin-bottom: 12px;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 1, 1, 0.2);
}

.service-card h3 {
  color: #000000;
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.service-card p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.5;
}

.about-hero {
  position: relative;
  height: 400px;
  background: linear-gradient(135deg, #004aad 0%, #6faaff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
  animation: fadeInUp 1.5s ease-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.3rem;
  line-height: 1.6;
  opacity: 0.95;
}

/* Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .about-hero {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }
}
/* ===== Hero Section for History Page ===== */
.history-hero {
    background: linear-gradient(rgba(0, 91, 170, 0.85), rgba(0, 91, 170, 0.9)), 
              url('images/rotary-hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 220px 0;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-in-out;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-text h1 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-text p {
  font-size: 1.2rem;
  color: #f1f1f1;
  font-weight: 300;
}
/* Rotary History Section Styles */
  .rotary-history-section {
    background-color: #ffffff;
    padding: 5rem 1.25rem;
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
    position: relative;
    overflow: hidden;
  }

  .rotary-history-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.25rem;
  
  }

  .rotary-history-container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
  }

  .rotary-history-row {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
  }

  .rotary-history-text {
    flex: 2;
    min-width: 18rem;
  }

  .rotary-history-media {
    flex: 1;
    min-width: 18rem;
    text-align: center;
  }

  .rotary-history-img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .rotary-history-img:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
  }

  .rotary-history-title {
    font-size: 2.25rem;
    color: #302dec;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    
    font-weight: 700;
    position: relative;
  }

  .rotary-history-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 6rem;
    height: 3px;
    background-color: #302dec;
  }

  .rotary-history-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: black;
    margin-bottom: 1.5rem;
  }

  .rotary-history-subsection {
    margin-bottom: 3rem;
  }

  .rotary-subtitle {
    font-size: 1.75rem;
    color: #302dec;
    margin: 2.5rem 0 1.25rem;
    font-weight: 600;
    position: relative;
    padding-left: 1.5rem;
  }

  .rotary-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5rem;
    height: 2rem;
    background-color: #302dec;
    border-radius: 0.25rem;
  }

  .rotary-history-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: black;
    margin-bottom: 1.25rem;
  }

  .rotary-history-list {
    padding-left: 1.5rem;
    margin-top: 1rem;
    list-style-type: none;
  }

  .rotary-history-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: black;
  }

  .rotary-history-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #302dec;
    font-size: 1.5rem;
    line-height: 1;
  }

  .rotary-history-highlight {
    font-weight: 600;
    color: #302dec;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .rotary-history-section {
      padding: 3rem 1rem;
    }
    
    .rotary-history-row {
      flex-direction: column;
      gap: 2rem;
    }
    
    .rotary-history-media {
      order: -1;
      margin-bottom: 2rem;
    }
    
    .rotary-history-title {
      font-size: 1.875rem;
    }
    
    .rotary-subtitle {
      font-size: 1.5rem;
    }
    
    .rotary-history-text,
    .rotary-history-item {
      font-size: 1rem;
    }
  }

  @media (max-width: 480px) {
    .rotary-history-title {
      font-size: 1.625rem;
    }
    
    .rotary-subtitle {
      font-size: 1.375rem;
      padding-left: 1rem;
    }
    
    .rotary-subtitle::before {
      width: 0.375rem;
      height: 1.5rem;
    }
    
    .rotary-history-item {
      padding-left: 1.5rem;
    }
  }






/* --- Team Section --- */
.team {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.team-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #302dec;
  font-weight: bold;
}

.team-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.card {
  width: 14%;
  max-width: 220px;
  text-align: center;
  margin-bottom: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  filter: brightness(1.05);
  border-radius: 12px;
}

.card img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 160px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.card:hover h3,
.card:hover p,
.card:hover p.point {
  color: #302dec; 
}
.card h3 {
  margin-top: 15px;

  font-size: 1.2rem;
  color: #333;
}

.card p {
  color: #666;
  margin-bottom: 10px;
}

.card p.point {
  font-style: italic;
  font-size: 0.9rem;
  color: #444;
  margin-top: 5px;
  line-height: 1.3;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .card {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .leadership-text h1 {
    font-size: 2rem;
  }
  .leadership-text p {
    font-size: 1rem;
  }
  .card {
    width: 90%;
    margin: 10px auto;
  }
  .team-row {
    flex-direction: column;
    align-items: center;
  }
}

.join-us-section {
  text-align: center;
  margin: 40px 0;
}

.join-us-section p {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: black;
}

.join-us-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #302dec;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.join-us-button:hover {
  background-color: white;
  color: #302dec;
  border: 2px solid #302dec;
}




/* Brand icons (e.g., Facebook, Instagram) */
.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important; /* Brands use 400, not 900 */
}
/* Hero Section */
.projects-hero {
     background: linear-gradient(rgba(0, 91, 170, 0.85), rgba(0, 91, 170, 0.9)), 
              url('images/rotary-hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 170px 0;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-in-out;
}

.projects-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;;
  z-index: 1;
}

.projects-hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.projects-hero h1 {
  font-size: 3.3rem;
  font-weight: bold;
}

.projects-hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Intro Section */
.projects-intro {
  text-align: center;
  padding: 60px 20px 30px;
  max-width: 900px;
  margin: 0 auto;
}

.projects-intro h2 {
  font-size: 2.5rem;
  color: #302dec;
  margin-bottom: 15px;
}

.projects-intro p {
  color: black;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Rotary Projects Section Styles */
  .rotary-projects-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    background-color: #f8fafc;
  }

  .rotary-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
  }
 
  .rotary-section-title {
    font-size: 2.25rem;
    color: #302dec;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
  }

  .rotary-section-title::after {
    content: '';
    position: absolute;
    width: 4rem;
    height: 0.25rem;
    background-color: #302dec;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
  }
 .rotary-project-name {
    color: black; 
}
  .rotary-section-description {
    color: black;
    font-size: 1.125rem;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
  }

/* Rotary Projects Grid - Alternating Layout */
.rotary-projects-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.rotary-project-item {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* Odd items (1,3,5...) - Left aligned */
.rotary-project-item:nth-child(odd) {
  flex-direction: row;
}

/* Even items (2,4,6...) - Right aligned */
.rotary-project-item:nth-child(even) {
  flex-direction: row-reverse;
}

.rotary-project-item:hover {
  transform: translateY(-0.5rem);
}

.rotary-project-media {
  position: relative;
  flex: 1;
  min-width: 26rem;
  max-width: 32rem;
}

.rotary-project-img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  display: block;
}

.rotary-project-date {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background-color: white;
  color: #002D62;
  padding: 0.375rem 1rem;
  border-radius: 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.rotary-project-details {
  flex: 1;
  padding: 2rem;
}

.rotary-project-name {
  font-size: 1.5rem;
  color: black;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.rotary-project-name::after {
  content: '';
  position: absolute;
  width: 3rem;
  height: 0.1875rem;
  background-color: #302dec;
  bottom: 0;
  left: 0;
}

.rotary-project-summary {
  color: black;
  line-height: 1.7;
  margin: 1.25rem 0;
  font-size: 1.025rem;
}

/* Rotary Category Buttons - Ensure Visibility */
.rotary-project-categories {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem; /* Added space above categories */
}

.rotary-category {
  padding: 0.375rem 1rem;
  border-radius: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: white;
  background-color: #302dec !important; /* Force blue color */
  white-space: nowrap; /* Prevent text wrapping */
  min-width: max-content; /* Ensure buttons don't shrink too much */
}

/* Specific category colors - ensure they're all visible */
.rotary-category.poverty-aid,
.rotary-category.senior-support,
.rotary-category.education-initiative,
.rotary-category.youth-program,
.rotary-category.community-support,
.rotary-category.environment,
.rotary-category.disability-support,
.rotary-category.vocational {
  background-color: #302dec !important;
}

/* Mobile adjustments for category buttons */
@media (max-width: 768px) {
  .rotary-project-categories {
    gap: 0.5rem;
    margin-top: 1rem;
  }
  
  .rotary-category {
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .rotary-project-categories {
    gap: 0.4rem;
  }
  
  .rotary-category {
    padding: 0.3rem 0.75rem;
    font-size: 0.7rem;
  }
}

/* Responsive Design - Improved Mobile Styles */
@media (max-width: 1024px) {
  .rotary-project-item,
  .rotary-project-item:nth-child(odd),
  .rotary-project-item:nth-child(even) {
    flex-direction: column;
  }
  
  .rotary-project-media {
    min-width: 100%;
    max-width: 100%;
  }
  
  .rotary-project-img {
    height: 18rem;
  }
}

@media (max-width: 768px) {
  .rotary-project-details {
    padding: 1.5rem;
    width: 100%; /* Ensure full width */
  }
  
  .rotary-project-name {
    font-size: 1.3rem;
  }
  
  .rotary-project-summary {
    font-size: 1rem;
    margin: 1rem 0;
  }
  
  .rotary-project-categories {
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .rotary-project-item {
    gap: 0; /* Remove gap on smallest screens */
  }
  
  .rotary-project-details {
    padding: 1.25rem;
  }
  
  .rotary-project-name {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }
  
  .rotary-project-summary {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .rotary-project-img {
    height: 16rem; /* Slightly smaller image on mobile */
  }
  
  .rotary-project-date {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    top: 0.75rem;
    right: 0.75rem;
  }
  
  .rotary-category {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* Timeline Section */
.timeline-section {
  padding: 60px 20px;
  background: linear-gradient(to right, #f0f4f8, #ffffff);
}

.timeline-title {
  text-align: center;
  font-size: 2.6rem;
  color: #302dec;
  font-weight: bold;
  margin-bottom: 50px;
  position: relative;
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: auto;
  padding-left: 30px;
  border-left: 4px solid #302dec;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 30px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.timeline-item:hover {
  transform: scale(1.02);
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 5px;
  left: -17px;
  width: 24px;
  height: 24px;
  background: radial-gradient(circle, #302dec, #007acc);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 51, 102, 0.4);
  z-index: 1;
}

.timeline-date {
  font-weight: 600;
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.timeline-content {
  background: #ffffff;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-content {
  background-color: #f0f8ff;
  box-shadow: 0 6px 16px rgba(0, 51, 102, 0.2);
}

.timeline-content h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  color: black;
  font-weight: bold;
}

.timeline-content p {
  margin: 0;
  color: black;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .timeline-container {
    padding-left: 20px;
  }

  .timeline-item {
    padding-left: 20px;
  }

  .timeline-content {
    padding: 16px 20px;
  }

  .timeline-content h3 {
    font-size: 1.3rem;
  }

  .timeline-content p {
    font-size: 0.95rem;
  }
}

.events-hero {
     background: linear-gradient(rgba(0, 91, 170, 0.85), rgba(0, 91, 170, 0.9)), 
              url('images/rotary-hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 170px 0;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-in-out;
}

.events-hero h1 {
  font-size: 3.5rem;
  margin: 0;
}

.events-filters {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 30px 20px;
  flex-wrap: wrap;

  background-color: #fff;
}

.events-filters input,
.events-filters select {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.events-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
}

/* Event Cards */
.event-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(48, 45, 236, 0.1);
  border-left: 5px solid #302dec;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.event-card h3 {
  color: #000000;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Meta Information */
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
}

.meta-item {
  display: flex;
  align-items: center;
  color: #000000;
  font-size: 0.95rem;
}

.meta-item i {
  margin-right: 8px;
  color: #302dec;
  font-size: 1.1rem;
}

/* Read More Button - Corrected Single Arrow */
.event-card .read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 10px 20px 10px 20px;
  background-color: #302dec;
  color: white;
  border: none;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

/* Arrow styling - only one instance */
.event-card .read-more::after {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.event-card .read-more:hover {
  background-color: white;
  color: #302dec;
  border: 2px solid #302dec;
}



/* Hidden Content */
.event-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 20px;
  color: #333;
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.event-card.expanded .event-details {
  max-height: 500px;
  padding: 15px 20px;
  margin-top: 10px;
  border-top: 1px solid #eee;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.event-card.expanded .event-details {
  animation: fadeIn 0.4s ease-out;
}

/* Date Styling */
.event-card[data-date^="2025"] {
  border-left: 5px solid #302dec;
}

.event-card[data-date^="2023"],
.event-card[data-date^="2024"] {
  opacity: 0.9;
}

.event-card[data-date^="2023"] h3,
.event-card[data-date^="2024"] h3 {
  color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .event-card {
    padding: 20px;
  }
  
  .event-card h3 {
    font-size: 1.2rem;
  }
  
  .event-card .read-more {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .events-section {
    padding: 30px 15px;
  }
  
  .meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .event-card {
    padding: 15px;
  }
}
/* Remove any other ::after rules for buttons in your CSS */
*{
   font-family: 'Poppins', sans-serif !important
}
/* Force Poppins globally with fallbacks */
body, html, 
body *, 
html *:not(i):not(.fa):not(.fas):not(.fab):not(.far) {
  font-family: 'Poppins', sans-serif !important;
  
}

/* Make sure all text elements use Poppins */
h1, h2, h3, h4, h5, h6,
p, span, a, li, 
input, textarea, select, button,
.blog-content, .blog-row, .blog-tools {
  font-family: inherit !important;
}
.hero-short {
   background: linear-gradient(rgba(0, 91, 170, 0.85), rgba(0, 91, 170, 0.9)), 
              url('images/rotary-hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 170px 0;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-in-out;
}

.projects-section {
  min-height: 75vh;
  padding: 40px 40px;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.container {
  margin-top: 20px;
}

/* Search & Filter */
.blog-tools {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-search,
.blog-category {
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: 'Poppins', sans-serif;
}

.blogs-section {
  background: #f8faff;
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.blogs-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  color: #302dec;
}

.blog-row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 50px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 30px;
  flex-wrap: wrap;
}

.blog-img {
  width: 100%;
  max-width: 350px;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.blog-content {
  flex: 1;
  min-width: 250px;
}

.blog-content h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: black;
}

.blog-content p {
  font-size: 1rem;
  color: black;
  line-height: 1.6;
  margin-bottom: 15px;
}

.btn {
  text-decoration: none;
  background-color: #302dec;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: white;
  color: #302dec;
  border: 2px solid #302dec;
}


.newsletter {
  margin-top: 50px;
  text-align: center;
}

.newsletter input[type="email"] {
  padding: 10px;
  width: 250px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: 'Poppins', sans-serif;
}


.newsletter .btn {
  margin-left: 10px;
  padding: 10px 25px;
}



.join_hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, #004aad 0%, #6faaff 100%);
  color: #ffffff;
  min-height: 400px;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
  background-color: #6faaff;
}

.join_hero-left {
  flex: 1;
  padding-right: 30px;
  animation: fadeInLeft 1s ease-in;
}

.join_hero-left h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.join_hero-left p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.join_hero-left .btn {
  background-color: #302dec;
  color: #302dec;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(43, 19, 198, 0.6);
  transition: all 0.3s ease;
}

.join_hero-left .btn:hover {
    background-color: white;
  color: #302dec;
  border: 2px solid #302dec;
}

.join_hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-in;
}

.join_image-card {
  background-color: white;
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.join_image-card img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.4s ease;
}
 
.join_image-card img:hover {
  transform: scale(1.03);
}

/* Animations */
@keyframes fadeInLeft {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInRight {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
  .join_hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .join_hero-left,
  .join_hero-right {
    flex: unset;
    width: 100%;
    margin-bottom: 20px;
    padding: 0;
  }

  .join_hero-left h2 {
    font-size: 2rem;
  }

  .join_hero-left p {
    font-size: 1rem;
  }
}


.btn.animated-btn {
  background-color:#302dec;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;

  
}

.btn.animated-btn:hover {
  background-color: white;
  color: #302dec;
  border: 2px solid #302dec;

}


/* Animations */
@keyframes fadeInLeft {
  from { transform: translateX(-30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInRight {
  from { transform: translateX(30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    height: auto;
    padding: 40px 20px;
    text-align: center;
  }

  .hero-left, .hero-right {
    flex: 1 1 100%;
    padding: 10px 0;
  }

  .hero-left h2 {
    font-size: 2rem;
  }

  .hero-left p {
    font-size: 1rem;
  }

  .btn.animated-btn {
    font-size: 0.95rem;
  }

  .value-box, .step {
    width: 90%;
  }
}
  .contact-hero {
 background: linear-gradient(rgba(0, 91, 170, 0.85), rgba(0, 91, 170, 0.9)), 
              url('images/rotary-hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 150px 0;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-in-out;
}
    .contact-hero h1 {
     font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  animation: slideUp 0.8s ease-out;
}

    .contact-hero p {
      font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 40px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  animation: slideUp 1s ease-out;
}
    .contact-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      padding: 80px 40px;
      gap: 50px;
      font-family: 'Poppins', sans-serif;
    }

    .contact-form,
    .contact-info {
      background: white;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
      max-width: 500px;
      flex: 1;
      font-family: 'Poppins', sans-serif;
    }

    .contact-form h2,
    .contact-info h2 {
      margin-bottom: 20px;
      color: #302dec;
       font-family: 'Poppins', sans-serif;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
      width: 100%;
      padding: 12px;
      margin-bottom: 15px;
      border: 1px solid white;
      border-radius: 8px;
      font-size: 1rem;
      box-sizing: border-box;
       font-family: 'Poppins', sans-serif;
    }

    .contact-form fieldset {
      margin-bottom: 15px;
      padding: 15px 20px 20px 20px;
      border: 1px solid #ccc;
      border-radius: 8px;
       font-family: 'Poppins', sans-serif;
    }

    .contact-form legend {
      font-weight: bold;
      margin-bottom: 10px;
      color: #302dec;
      padding-left: 5px;
       font-family: 'Poppins', sans-serif;
    }
    
    /* Radio buttons container */
    .radio-group label {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
      font-size: 1rem;
      cursor: pointer;
      user-select: none;
      gap: 10px;
    }

    .radio-group input[type='radio'] {
      margin-right: 12px;
      accent-color: #302dec; 
      cursor: pointer;
      width: 18px;
      height: 18px;
    }

    .contact-form button {
      background-color:#302dec ;
      color: white;
      padding: 12px 30px;
      border: none;
      border-radius: 30px;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.3s;
      font-family: 'Poppins', sans-serif;
    }

    .contact-form button:hover {
     background-color: white;
     color: #302dec;
     border: 2px solid #302dec;
    }

    .contact-info p {
      margin: 10px 0;
      font-size: 1rem;
      color: black;
       font-family: 'Poppins', sans-serif;
    }

    .contact-info i {
      color: #302dec;
      margin-right: 10px;
      font-family: 'Poppins', sans-serif;
    }

    .map-container iframe {
      width: 100%;
      height: 450px;
      border: 0;
      border-radius: 8px;
      margin-top: 15px;
    }

    @media (max-width: 768px) {
      .contact-container {
        flex-direction: column;
        padding: 20px;
      }
    }

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    padding: 40px 20px;
  }

  .contact-form,
  .contact-info {
    width: 100%;
  }
}

/* Hidden by default, moved down slightly */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

/* When active (in view), show it */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.stats-single-card {
  max-width: 1000px;
  margin: 60px auto;
  background-color: #f5f8fc;
  border-radius: 20px;
  padding: 40px 60px;
  box-shadow: 0 10px 30px rgba(0, 74, 173, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #223344;
}

.stats-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 80px;
}

.stat {
  text-align: center;
  flex: 1;
}

.stat h3.counter {
  font-size: 52px;
  font-weight: 800;
  color: #302dec;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.stat p {
  font-size: 18px;
  font-weight: 600;
  color: #556677;
  margin: 0;
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 768px) {
  .stats-content {
    flex-direction: column;
    gap: 40px;
  }
  .stats-single-card {
    padding: 30px 20px;
  }
}











