/* ===================================================
   GLOBAL STYLES
=================================================== */

body {
  font-family: "Nunito", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8fbff;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}
.bg-she-secondary {
  background-color: #5f2f3f !important;
}

.text-she-secondary {
  color: #5f2f3f !important;
}
.section-title {
  color: #5f2f3f;
  font-weight: bold;
}

/* ===================================================
   TOP BAR STYLES
=================================================== */

.top-bar {
  background-color: #72bf42;
  color: white;
  font-size: 0.9rem;
}

/* ===================================================
   BACK TO TOP BUTTON
=================================================== */

#back-to-top {
  display: inline-block;
  background-color: #72bf42;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#back-to-top::after {
  content: "\f077";
  /* FontAwesome up arrow */
  font-family: FontAwesome;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}

#back-to-top:hover {
  cursor: pointer;
  background-color: #53c20d;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* ===================================================
   NAVBAR STYLES
=================================================== */

.main-nav {
  background-color: white;
  border-bottom: 3px solid #5f2f3f;
}

.main-nav .navbar-brand {
  font-weight: bold;
  color: #72bf42;
}

.main-nav .nav-link,
.main-nav .dropdown-item {
  font-weight: 600;
  color: black;
  transition: color 0.3s ease-in-out;
}

.main-nav .nav-link:hover,
.main-nav .dropdown-item:hover {
  color: #72bf42;
}

/* ===================================================
   HERO SECTION (CAROUSEL)
=================================================== */

.carousel-item img {
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
}

/* ===================================================
   DONATION BUTTON STYLES
=================================================== */

.btn-make-donation {
  font-weight: bold;
  color: #72bf42;
  border: 2px solid #72bf42;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
}

.btn-make-donation a {
  text-decoration: none;
  color: inherit; /* Makes the text color same as the button */
  font-weight: inherit;
  display: inline-block;
  width: 100%;
  height: 100%;
}

.btn-make-donation:hover {
  background-color: #72bf42;
  color: white;
  border: 2px solid white;
}

.btn-make-donation:hover a {
  color: white; /* Ensures the text color also changes on hover */
}


/* ===================================================
   SUSTAINABLE PROGRAMS SECTION
=================================================== */

.sustainable-programs {
  padding: 50px 0;
  text-align: center;
}

.sustainable-programs h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Card Styling */

.program-card {
  border: 2px solid #5f2f3f;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Image Styles */

.program-card img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.program-card img:hover {
  transform: scale(1.1);
}

/* Card Body */

.program-card-body {
  padding: 15px;
  text-align: center;
}

.program-card-title {
  font-size: 1rem;
  font-weight: bold;
  margin-top: 10px;
  color: #5f2f3f;
}

/* Highlighted Card */

.highlight-card {
  background-color: #5f2f3f;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  height: 100%;
}

/* ===================================================
   COUNTER SECTION
=================================================== */

.count-image-section {
  position: relative;
}

.stat-count {
  font-size: 50px;
  letter-spacing: 3px;
  line-height: 65px;
  color: #ffffff;
  font-weight: 700;
  font-family: "Source Serif Pro";
}

.count-text {
  font-size: 23px;
  letter-spacing: 1px;
  line-height: 32px;
  color: #ffffff;
  font-weight: 700;
  font-family: "Source Serif Pro";
}

.count-gradient-overlay {
  position: absolute;
  opacity: 0.588;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #17184a;
  z-index: 1;
}

.count-image-section {
  background: url(../images/countBg.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.count-image-text {
  width: 100%;
  color: white;
  font-size: 20px;
  font-weight: bold;
  position: relative;
  z-index: 2;
  padding: 130px 10px 133px 10px;
  display: flex;
}

/* Count Section End*/

@media (max-width: 575.98px) {
  .count-image-text {
    flex-direction: column;
    gap: 50px;
    padding: 90px 10px;
  }
}

@media (min-width: 576px) {
  #back-to-top {
    margin: 16px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .count-image-text {
    flex-direction: column;
    gap: 50px;
    padding: 90px 10px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .count-image-text {
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 50px;
  }
}

/* ===================================================
   FOOTER SECTION
=================================================== */

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 1);
}

/* Social Media Icons */

.footer-social-icons a {
  margin-left: 10px;
  transition: transform 0.3s ease-in-out;
}

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

/* Subscription Form */

.subscribe-form {
  position: relative;
  overflow: hidden;
}

.subscribe-form input {
  width: 100%;
  padding: 14px 28px;
  color: #72bf42;
  border: 1px solid #72bf42;
  border-radius: 4px;
}

.subscribe-form button {
  position: absolute;
  right: 0;
  background: #72bf42;
  padding: 16px 20px;
  border: 1px solid #72bf42;
  top: 0;
  transition: background 0.3s ease-in-out;
}

.subscribe-form button i {
  color: #fff;
  font-size: 22px;
  transform: rotate(-6deg);
}

.subscribe-form button:hover {
  background: #53c20d;
  border: 1px solid #53c20d;
}

.subscribe-form button i:hover {
  transform: scale(1.5);
}

.subscribe-form input:focus {
  outline: none;
  border-color: #53c20d;
  box-shadow: 0 0 5px rgba(83, 194, 13, 0.5);
}

/* AboutUs */

.about-us-img {
  position: relative;
  margin-right: 40px;
  max-height: 600px;
  max-width: 600px;
  margin: 0 auto;
}

.about-us-img img {
  max-width: 100%;
  height: auto;
}

.about-us-des p {
  text-align: justify;
  line-height: 32px;
  margin-top: 10px;
  margin-bottom: 34px;
}

.common_line {
  color: var(--primary-color);
  font-size: 14px;
  text-align: left;
  letter-spacing: 1px;
  position: relative;
  font-family: Raleway, sans-serif !important;
  position: relative;
  padding-left: 64px;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 700;
}

.common_line:before {
  content: "";
  height: 1px;
  width: 50px;
  top: 6px;
  left: 0;
  position: absolute;
  background: #001837;
  opacity: 0.6;
}

.section-common-title {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 28px;
  line-height: 40px;
}

.common_btn i {
  margin-left: 5px;
}

.common_btn {
  background-color: #5f2f3f;
  color: #ffffff !important;
  border-radius: 50px;
  border: none;
  padding: 11px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  text-transform: capitalize;
  z-index: 1;
  -webkit-box-shadow: 0px 1px 1px rgba(9, 30, 66, 0.25),
    0px 0px 1px 1px rgba(9, 30, 66, 0.13) !important;
  box-shadow: 0px 1px 1px rgba(9, 30, 66, 0.25),
    0px 0px 1px 1px rgba(9, 30, 66, 0.13) !important;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
}

.common_btn:before {
  content: "";
  position: absolute;
  height: 100%;
  transition: all 0.6s ease;
  width: 0;
  background: #72bf42;
  color: #ffffff;
  z-index: -1;
  text-transform: capitalize;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
}

.common_btn:hover:before {
  width: 100%;
}

.about-btn {
  width: 197px;
  height: 46px;
}

.section-common-title {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 28px;
  line-height: 40px;
}

.about-us-sub-img {
  position: absolute;
  right: 0;
  bottom: 0;
}

@media screen and (max-width: 1200px) {
  .about-us-img {
    width: 100%;
  }
}

@media screen and (max-width: 992px) {
  .about-us-img {
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 768px) {
  .header-btn {
    width: 150px;
  }
  .courses-title {
    font-size: 25px;
  }
  .about-us-sub-img img {
    max-width: 200px;
    height: auto;
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .about-us-des {
    margin-top: 50px;
  }
  .section-common-title {
    margin-top: 15px;
    font-size: 25px;
    line-height: 40px;
    margin-bottom: 10px;
  }
  .common_btn {
    padding: 10px 15px;
  }
  .section-common-title {
    margin-top: 15px;
    font-size: 25px;
    line-height: 40px;
    margin-bottom: 10px;
  }
}

/* AboutUsPageCSS */
/* Goals Section */
.about-goals-section {
  background: #f9f9f9;
  padding: 60px 0;
}
.about-goals-list {
  list-style: none;
  padding: 0;
}
.about-goals-list li {
  font-size: 18px;
  margin-bottom: 10px;
}
.about-goals-list i {
  color: #72bf42;
  margin-right: 10px;
}

/* Mission & Vision Section */
.about-mission-section {
  padding: 60px 0;
}
.about-mission-content,
.about-vision-content {
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.about-mission-content h3,
.about-vision-content h3 {
  color: #5f2f3f;
  font-weight: bold;
}
.about-mission-content i,
.about-vision-content i {
  margin-right: 8px;
}

/* Focus Section */
.focus-card {
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.focus-card:hover {
  transform: translateY(-5px);
  background: #72bf42;
  color: white;
}
.focus-card i {
  font-size: 30px;
  margin-bottom: 10px;
  color: #72bf42;
}
.focus-card:hover i {
  color: white;
}

/* Recent Activities Section */
.recent-activities-section {
  background-color: #f8fbff;
  text-align: center;
}

.activity-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease-in-out;
  cursor: pointer;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.activity-card:hover {
  transform: translateY(-5px);
  background-color: #72bf42;
  color: white;
}

.activity-card h4 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}

.activity-card p {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
}

.activity-card:hover p {
  color: white;
}

/* Icons */
.activity-icon {
  font-size: 40px;
  color: #72bf42;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}

.activity-card:hover .activity-icon {
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .activity-card {
    padding: 15px;
  }
}

/* ContactCard */

.contact-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
}

.contact-card .icon {
  font-size: 30px;
  color: #72bf42;
  margin-bottom: 10px;
}

.contact-card h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.contact-card p {
  font-size: 14px;
  color: #000;
}

.contact-card:hover {
  transform: translateY(-10px);
  background-color: #72bf42;
  color: white;
}

.contact-card:hover .icon {
  color: white;
}

.contact-card:hover p {
  color: white;
}

/* Fix Vertical Centering */

.contact-us-forms .row {
  height: auto;
  display: flex;
  align-items: center;
}

/* For Small Screens: Make cards full width */

@media (max-width: 768px) {
  .contact-us-forms .col-lg-6 {
    text-align: center;
  }
}

/* VideoSectionCSS */

.animated-image {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: 500px;
  max-height: 500px;
  margin-top: 62px;
  margin-left: 150px;
  /* display: none; */
}

.animated-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.animated-image .circle-image {
  position: absolute;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  top: 0;
  left: 0;
  z-index: -1;
}

.animated-image .circle-image span {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #000;
  pointer-events: none;
  animation: rotate-animate 13s linear infinite;
  -webkit-animation: rotate-animate 13s linear infinite;
}

.animated-image .circle-image span:nth-child(1) {
  border-radius: 38% 62% 64% 36% / 43% 35% 65% 57%;
  -webkit-border-radius: 38% 62% 64% 36% / 43% 35% 65% 57%;
  -moz-border-radius: 38% 62% 64% 36% / 43% 35% 65% 57%;
  -ms-border-radius: 38% 62% 64% 36% / 43% 35% 65% 57%;
  -o-border-radius: 38% 62% 64% 36% / 43% 35% 65% 57%;
}

.animated-image .circle-image span:nth-child(2) {
  animation-direction: reverse;
  border-radius: 41% 59% 40% 60% / 65% 66% 34% 35%;
  -webkit-border-radius: 41% 59% 40% 60% / 65% 66% 34% 35%;
  -moz-border-radius: 41% 59% 40% 60% / 65% 66% 34% 35%;
  -ms-border-radius: 41% 59% 40% 60% / 65% 66% 34% 35%;
  -o-border-radius: 41% 59% 40% 60% / 65% 66% 34% 35%;
}

.animated-image .circle-image span:nth-child(3) {
  border-radius: 73% 27% 56% 44% / 57% 74% 26% 43%;
  -webkit-border-radius: 73% 27% 56% 44% / 57% 74% 26% 43%;
  -moz-border-radius: 73% 27% 56% 44% / 57% 74% 26% 43%;
  -ms-border-radius: 73% 27% 56% 44% / 57% 74% 26% 43%;
  -o-border-radius: 73% 27% 56% 44% / 57% 74% 26% 43%;
}

@-webkit-keyframes rotate-animate {
  0% {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
  }
}

@keyframes rotate-animate {
  0% {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
  }
}

.video-icon-popup {
  position: absolute;
  top: 40%;
  left: 40%;
  z-index: 99999;
  color: #ffffff;
}

.video-icon-popup i {
  color: #ffffff;
  background: #000;
  border-radius: 50px;
  font-size: 28px;
  width: 60px;
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
  -webkit-animation: shadow-pulse 1.5s infinite;
  animation: shadow-pulse 1.5s infinite;
}

@-webkit-keyframes shadow-pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0px rgba(248, 248, 248, 0.952);
    box-shadow: 0 0 0 0px rgba(248, 248, 248, 0.952);
  }
  100% {
    -webkit-box-shadow: 0 0 7px 25px rgba(0, 112, 244, 0);
    box-shadow: 0 0 7px 25px rgba(0, 112, 244, 0);
  }
}

@keyframes shadow-pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0px rgba(248, 248, 248, 0.952);
    box-shadow: 0 0 0 0px rgba(248, 248, 248, 0.952);
  }
  100% {
    -webkit-box-shadow: 0 0 7px 25px rgba(0, 112, 244, 0);
    box-shadow: 0 0 7px 25px rgba(0, 112, 244, 0);
  }
}

.video_popup_iframe iframe {
  width: 100%;
  height: 300px;
}

.video_popup_iframe_close {
  position: absolute;
  top: 0;
  right: 0;
  color: #ffffff;
  line-height: 0;
  font-size: 20px;
  margin-top: -22px;
  margin-right: -5px;
  cursor: pointer;
}

.video_popup_iframe {
  line-height: 0;
}

/* Contact Section */
.contact-page-sec {
  padding: 60px 0;
  background: #f8fbff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Contact Cards Container */
.contact-info .row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Contact Cards */
/* Contact Page Section */
.contact-page-sec {
  padding: 60px 0;
  background: #f8fbff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Contact Cards */
.contact-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  width: 100%;
  max-width: 275px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Icons */
.contact-card .icon {
  font-size: 40px;
  color: #72bf42;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}

/* Text */
.contact-card h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
  transition: all 0.3s ease-in-out;
}

.contact-card p a {
  font-size: 14px;
  color: #555;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

/* Hover Effect */
.contact-card:hover {
  transform: translateY(-10px);
  background-color: #72bf42;
  color: white;
}

.contact-card:hover .icon,
.contact-card:hover h4,
.contact-card:hover p a {
  color: white;
}

/* Map */
.contact-page-map iframe {
  width: 100%;
  height: 400px;
  border-radius: 12px;
}

/* Center Contact Cards & Map on Small Screens */
@media (max-width: 992px) {
  .contact-page-sec .row {
    flex-direction: column;
    align-items: center; /* Centers content */
    text-align: center;
  }
  .contact-card {
    width: 100%;
    max-width: 320px; /* Slightly larger for better UI */
    margin: 0 auto; /* Ensures center alignment */
  }
  .contact-page-map {
    width: 100%;
    max-width: 500px; /* Ensures map is centered */
    margin: 20px auto; /* Adds space & centers */
  }
}

@media (max-width: 768px) {
  .contact-card {
    max-width: 90%;
  }
  .contact-page-map iframe {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .contact-card {
    width: 100%;
  }
}

/* PDF Viewer */
/* PDF Viewer */
.pdf-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pdf-viewer {
  width: 100%;
  height: 600px; /* Default for large screens */
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .pdf-viewer {
    height: 500px;
  }
}
@media (max-width: 768px) {
  .pdf-viewer {
    height: 400px;
  }
}
@media (max-width: 576px) {
  .pdf-viewer {
    height: 300px;
  }
}

.activity-description {
  max-width: 100%;
  margin: 0 auto 20px;
  font-size: 16px;
  color: #555;
  text-align: justify;
}

.activity-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #000;
  text-align: justify;
  max-width: 100%;
  margin: 0 auto;
}

/* Image Gallery */
.activity-gallery {
  margin-top: 40px;
  text-align: center;
}

.activity-gallery h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #5f2f3f;
}

/* Equal Height Images */
.gallery-image {
  width: 100%;
  height: 300px; /* Set a fixed height for uniformity */
  object-fit: cover; /* Ensures images maintain aspect ratio and crop to fit */
  border-radius: 10px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery-image:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
  .activity-section p {
    padding: 10px;
  }

  .gallery-image {
    margin-bottom: 15px;
    height: 225px; /* Adjust height for smaller screens */
  }
}

@media (max-width: 480px) {
  .gallery-image {
    width: 90%;
    margin: 0 auto 15px;
    height: 200px; /* Further adjust for mobile screens */
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}

/* ===============================
   Responsive Gallery Section
================================= */

/* ===========================
   Stylish Filter Buttons
=========================== */
.gallery-filter-buttons {
  text-align: center;
}

.filter-btn {
  background: #5f2f3f;
  color: white;
  font-weight: bold;
  border: none;
  padding: 12px 20px;
  margin: 5px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

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

/* ===========================
   Improved Gallery Layout
=========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  ); /* Auto-fit for responsiveness */
  gap: 15px; /* Adds space between images */
  justify-content: center;
}

.gallery-item {
  display: none; /* Initially hide images */
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover; /* Ensures uniform image size */
  border-radius: 8px;
  transition: transform 0.3s ease-in-out, opacity 0.5s ease-in-out;
}

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

/* Show selected category */
.gallery-item.show {
  display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* ================================
   Top Contact & Address Card Section
================================ */

/* ================================
   Contact & Address Card Section
================================ */

.contact-card-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8fbff;
  padding: 40px 0;
}

/* Contact Card */
.contact-card-top {
  max-width: 500px;
  width: 100%;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  margin: 0 auto;
}

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

/* Icon at the Top */
.contact-card-top .icon {
  font-size: 50px;
  color: #5f2f3f;
  margin-bottom: 10px;
}

/* Name & Position */
.contact-card-top h4 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.contact-card-top .position {
  font-size: 14px;
  color: #666;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Social Media Links */
.contact-card-top .social-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* Individual Social Icons */
.contact-card-top .social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 18px;
  color: white;
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
  text-align: center;
}

/* Phone */
.contact-card-top .social-links .phone {
  background: #28a745;
}

/* Email */
.contact-card-top .social-links .email {
  background: #d32f2f;
}

/* LinkedIn */
.contact-card-top .social-links .linkedin {
  background: #0077b5;
}

/* Facebook */
.contact-card-top .social-links .facebook {
  background: #1877f2;
}

/* Hover Effect */
.contact-card-top .social-links a:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-card-top {
    max-width: 90%;
  }
}

@media (max-width: 576px) {
  .contact-card-top {
    max-width: 100%;
    padding: 20px;
  }

  .contact-card-top .social-links {
    flex-wrap: wrap;
  }

  .contact-card-top .social-links a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ================================
   Donation Section Styles
================================ */
.donation-section {
  background-color: #f8fbff;
  padding: 50px 0;
}

/* Donation Card */
.donation-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

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

/* Icon at the Top */
.donation-card .icon {
  font-size: 50px;
  color: #5f2f3f;
  margin-bottom: 10px;
}

/* Card Titles */
.donation-card h4 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

/* Donation Details */
.donation-card p {
  font-size: 16px;
  color: #666;
  margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .donation-card {
    max-width: 90%;
  }
}

@media (max-width: 576px) {
  .donation-card {
    max-width: 100%;
    padding: 20px;
  }
}

/* FaqSectionStart */

.accordion-item {
  background-color: #ffffff; /* White background for items */
  /* border: 1px solid #e0e0e0; */
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Softer shadow */
}

.accordion-header {
  background-color: #5f2f3f; /* Soft purple */
  color: #ffffff; /* White text */
  padding: 15px;
  font-size: 18px;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px 8px 0 0;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #351821; /* Darker shade of purple */
}

.accordion-content {
  background-color: #fffafa; /* Very light grey for content */
  overflow: hidden;
  padding: 0 15px;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  margin: 15px 0;
  line-height: 1.5;
}

.icon {
  transition: transform 0.3s ease;
}

.active .icon {
  transform: rotate(45deg);
}
/* FaqSectionStart */
