:root {
  --primary-color: #2a7f62;
  --secondary-color: #f8b400;
  --dark-color: #333;
  --light-color: #fff;
  --gray-color: #f5f5f5;
  --light-green: #e8f5e9;
  --transition: all 0.3s ease;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(to bottom, #f9f9f9, #e8f5e9);
}

/* Navbar Styles */
.navbar {
  transition: var(--transition);
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .nav-link {
  padding: 8px 15px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark-color) !important;
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
  transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
  height: 35px;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-color) !important;
  padding: 10px 15px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

.nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

.nav-link:hover:after {
  width: 100%;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 10px 0;
}

.dropdown-toggle:hover:after {
  background: none;
  right: -4px;
  left: auto;
  top: 35px;
  bottom: auto;
  height: 2px;
  /* width: 0; */
}

.dropdown-toggle::after {
  background: none;
  right: -4px;
  left: auto;
  top: 20px;
  bottom: auto;
}

.dropdown-item {
  padding: 8px 20px;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: rgba(42, 127, 98, 0.1);
  color: var(--primary-color);
}

/* Buttons */
.btn-donate {
  background-color: var(--primary-color);
  color: white;
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
}

.btn-donate:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-login {
  background-color: transparent;
  color: var(--primary-color);
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
  margin-right: 10px;
}

.btn-login:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Mobile Menu */
.navbar-toggler {
  border: none;
  padding: 0;
  font-size: 1.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Animation for navbar items */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-item {
  animation: fadeInDown 0.5s ease forwards;
  opacity: 0;
}

.nav-item:nth-child(1) {
  animation-delay: 0.1s;
}
.nav-item:nth-child(2) {
  animation-delay: 0.2s;
}
.nav-item:nth-child(3) {
  animation-delay: 0.3s;
}
.nav-item:nth-child(4) {
  animation-delay: 0.4s;
}
.nav-item:nth-child(5) {
  animation-delay: 0.5s;
}

/* Hero Slider Container */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Slide Common Styles */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: flex;
  align-items: center;
  will-change: transform, opacity;
}

.slide.active {
  opacity: 1;
  z-index: 1;
  top: 0;
}

/* Video Slide Container */
.video-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Video Container - Mobile First */
/* Video Container */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100%;
  min-width: 177.77vh; /* 100/56.25 = 1.777 */
  transform: translate(-50%, -50%);
  object-fit: cover;
}
/* Desktop adjustments */
@media (min-width: 768px) {
  .video-wrapper iframe {
    width: 300%;
    height: 100%;
    left: -100%;
    min-width: 0;
    min-height: 0;
    transform: translate(0, -50%);
  }

  /* For tall mobile screens */
  @media (max-aspect-ratio: 9/16) {
    .video-wrapper iframe {
      width: 100%;
      height: 300%;
      top: -100%;
      left: 0;
      transform: translate(-50%, 0);
    }
  }
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* Image Slide */
.image-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Content Styles */
.slide-content {
  position: relative;
  z-index: 2;
  color: var(--light-color);
  padding: 0 10%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.slide-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.slide-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.1s;
}

.slide-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.2s;
}

.btn-container {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-slide {
  display: inline-block;
  padding: 12px 35px;
  background-color: var(--primary-color);
  color: var(--light-color);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.3s;
  will-change: transform;
}

.btn-slide:hover {
  background-color: transparent;
  color: var(--light-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-slide.secondary {
  background-color: transparent;
  color: var(--light-color);
}

.btn-slide.secondary:hover {
  background-color: var(--primary-color);
}

/* Active Slide Content Animation */
.slide.active .slide-subtitle,
.slide.active .slide-title,
.slide.active .slide-text,
.slide.active .btn-slide {
  opacity: 1;
  transform: translateY(0);
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--light-color);
  transform: scale(1.3);
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  border: none;
  outline: none;
}

.slider-arrow:hover {
  background-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
  left: 30px;
}

.slider-arrow.next {
  right: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .slide-title {
    font-size: 2.8rem;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .slide-title {
    font-size: 2.2rem;
  }

  .slide-text {
    font-size: 1rem;
  }

  .btn-slide {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .slider-arrow {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .slide-content {
    padding: 0 5%;
    text-align: center;
  }

  .slide-title {
    font-size: 1.8rem;
  }

  .slide-subtitle {
    font-size: 1rem;
  }

  .btn-container {
    justify-content: center;
  }

  .slider-arrow {
    width: 30px;
    height: 30px;
  }
}

/* Custom Styles for About Section */
.letter-spacing-2 {
  letter-spacing: 2px;
}

.card {
  transition: transform 0.3s ease;
}

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

.featured-image-home {
  height: 180px;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.icon-box {
  transition: transform 0.3s ease;
  margin-top: -40px;
  background-color: white !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card:hover .icon-box {
  transform: rotate(10deg) scale(1.1);
}

.read-more-btn {
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background-color: var(--primary-color) !important;
  color: white !important;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* About Us Section */
.about-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  background-color: white;
}

.about-card:hover {
  transform: translateY(-10px);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Facts and Figures */
.counter-section {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-attachment: fixed;
  color: white;
  padding: 80px 0;
}

.counter-box {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.counter-box:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

/* Chairman Section Specific Styles */
.chairman-section {
  background-color: #f8f9fa;
}

.chairman-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
}

.message-content {
  position: relative;
}

.letter-spacing-2 {
  letter-spacing: 2px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .message-content {
    padding: 2rem !important;
  }

  blockquote.fs-4 {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 768px) {
  .chairman-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }

  .ps-lg-5 {
    padding-left: 0 !important;
    margin-top: 2rem;
  }
}

/* Blog Section */
/* Blog Section Specific Styles */
.blog-section {
  position: relative;
}

.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.blog-image-wrapper {
  position: relative;
}

.badge-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
}

.card-title {
  min-height: 3rem; /* Ensures consistent title height */
}

.card-text {
  min-height: 4.5rem; /* Ensures consistent excerpt height */
}

.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: "";
}

/* Volunteer Section */
.volunteer-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: white;
  padding: 100px 0;
}

/* Products Section */
.products-section {
  background-color: #f8f9fa;
}

.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 4px;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-image-wrapper {
  position: relative;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.wishlist-btn .btn:hover {
  color: #dc3545;
}

.rating {
  white-space: nowrap;
}

.card-title {
  min-height: 2.5rem;
}

.letter-spacing-2 {
  letter-spacing: 2px;
}

/* Gallery Section */
/* Gallery Preview Styles */
.gallery-preview {
  position: relative;
}

.gallery-item {
  display: block;
  transition: transform 0.3s ease;
}

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

.gallery-image {
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 127, 98, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.letter-spacing-2 {
  letter-spacing: 2px;
}

/* Video Gallery */
/* Video Gallery Styles */
.video-gallery-preview {
  background-color: #f8f9fa;
}

.video-gallery-item {
  display: block;
  transition: transform 0.3s ease;
}

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

.video-thumbnail {
  transition: transform 0.5s ease;
}

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

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
}

.video-gallery-item:hover .video-overlay {
  background: rgba(42, 127, 98, 0.7);
}

.play-icon {
  transition: transform 0.3s ease;
}

.video-gallery-item:hover .play-icon {
  transform: scale(1.2);
}

.video-caption {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.letter-spacing-2 {
  letter-spacing: 2px;
}

/* Donate Section Styles */
.donate-section {
  color: white;
  position: relative;
  overflow: hidden;
}

.donate-section .btn-outline-primary {
  border-color: white;
  color: white;
}

.donate-section .btn-outline-primary:hover {
  background-color: white;
  color: #2a7f62;
}

@media (max-width: 992px) {
  .donate-section .display-4 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .donate-section .display-4 {
    font-size: 2rem;
  }

  .donate-section .fs-5 {
    font-size: 1rem !important;
  }
}

/* Team Section */
/* Team Section Styles */
.team-section {
  position: relative;
}

.team-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.team-social {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 15px 0;
  background: rgba(42, 127, 98, 0.9);
  transition: all 0.3s ease;
}

.team-card:hover .team-social {
  bottom: 0;
}

.team-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.team-social a:hover {
  background: white;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
}

.team-info {
  border-top: 3px solid var(--primary-color);
}

/* Owl Carousel Customization */
.team-carousel .owl-stage {
  padding: 30px 0;
  display: flex;
  align-items: stretch;
}

.team-carousel .owl-item {
  display: flex;
  height: auto;
}

.team-carousel .owl-nav {
  position: absolute;
  top: -70px;
  right: 0;
  display: flex;
  gap: 10px;
}

.team-carousel .owl-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  background: rgba(42, 127, 98, 0.1) !important;
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
}

.team-carousel .owl-nav button:hover {
  background: var(--primary-color) !important;
  color: white !important;
}

.letter-spacing-2 {
  letter-spacing: 2px;
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
}

/* Section Padding */
.section-padding {
  padding: 80px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
}

/* Partners Section */
.partners-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-title p {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.partner-logo {
  max-width: 180px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: white;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.testimonial-text:before {
  content: '"';
  font-size: 60px;
  position: absolute;
  left: -15px;
  top: -20px;
  color: rgba(255, 255, 255, 0.2);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 2px solid var(--secondary-color);
}

.author-info h4 {
  margin: 0;
  font-weight: 600;
}

.author-info p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Testimonial Slider */
.testimonial-slider {
  position: relative;
}

.testimonial-slider .slick-dots {
  bottom: -40px;
}

.testimonial-slider .slick-dots li button:before {
  color: white;
  opacity: 0.5;
  font-size: 10px;
}

.testimonial-slider .slick-dots li.slick-active button:before {
  color: var(--secondary-color);
  opacity: 1;
}

.testimonials-section h2,
.testimonials-section p {
  color: #fff;
}

/* Footer Section */
footer {
  background-color: #222;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
}

.footer-about p {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3:after,
.footer-contact h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #aaa;
}

.contact-item i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 3px;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* CKEditor Content Styles */
.ck-content {
  font-size: 1rem;
  line-height: 1.8;
}

.ck-content h1,
.ck-content h2,
.ck-content h3,
.ck-content h4 {
  color: var(--primary-color);
  margin: 1.5em 0 0.8em;
  font-weight: 600;
  line-height: 1.3;
}

.ck-content h1 {
  font-size: 2.2rem;
}
.ck-content h2 {
  font-size: 1.8rem;
}
.ck-content h3 {
  font-size: 1.5rem;
}
.ck-content h4 {
  font-size: 1.3rem;
}

.ck-content p {
  margin-bottom: 1.5em;
}

.ck-content a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px solid rgba(42, 127, 98, 0.3);
}

.ck-content a:hover {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

/* Image Styles */
.ck-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2em auto;
  border-radius: 4px;
}

.ck-content img.align-left {
  float: left;
  margin: 1em 2em 1em 0;
  max-width: 50%;
}

.ck-content img.align-right {
  float: right;
  margin: 1em 0 1em 2em;
  max-width: 50%;
}

.ck-content img.align-center {
  display: block;
  margin: 2em auto;
}

/* Responsive Images */
@media (max-width: 768px) {
  .ck-content img.align-left,
  .ck-content img.align-right {
    float: none;
    margin: 1em auto;
    max-width: 100%;
  }
}

/* Quote Styles */
.ck-content blockquote {
  border-left: 4px solid var(--secondary-color);
  background-color: var(--light-bg);
  padding: 1.5em 2em;
  margin: 2em 0;
  font-style: italic;
  position: relative;
}

.ck-content blockquote:before {
  content: '"';
  font-size: 3em;
  color: rgba(248, 180, 0, 0.2);
  position: absolute;
  left: 10px;
  top: 10px;
  line-height: 1;
}

.ck-content blockquote p {
  margin: 0;
  position: relative;
  z-index: 1;
}

/* List Styles */
.ck-content ul,
.ck-content ol {
  margin: 1.5em 0;
  padding-left: 2em;
}

.ck-content ul li,
.ck-content ol li {
  margin-bottom: 0.5em;
}

/* Table Styles */
.ck-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
}

.ck-content table th,
.ck-content table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
}

.ck-content table th {
  background-color: var(--primary-color);
  color: white;
}

.ck-content table tr:nth-child(even) {
  background-color: var(--light-bg);
}

/* Iframe/Embed Styles */
.ck-content iframe {
  max-width: 100%;
  display: block;
  margin: 2em auto;
  border: none;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Video Container */
.video-container-detail {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  margin: 2em 0;
}

.video-container-detail iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Button Styles */
.ck-content .button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  margin: 1em 0;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.ck-content .button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Two Column Layout */
.two-column {
  display: flex;
  gap: 30px;
  margin: 2em 0;
}

.two-column > div {
  flex: 1;
}

@media (max-width: 768px) {
  .two-column {
    flex-direction: column;
  }
}

/* Highlight Box */
.highlight-box {
  background-color: var(--light-bg);
  border-left: 4px solid var(--primary-color);
  padding: 1.5em;
  margin: 2em 0;
  border-radius: 0 4px 4px 0;
}

/* Clear floats */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.95rem;
  margin-bottom: 1.5em;
  gap: 5px;
}

.breadcrumbs a {
  color: var(--primary-color);
  text-decoration: none;
  background: #eaf5f1;
  padding: 6px 12px;
  border-radius: 20px;
  transition: var(--transition);
  font-weight: 500;
}

.breadcrumbs a:hover {
  background: var(--primary-color);
  color: white;
}

.breadcrumbs span.separator {
  color: #ccc;
  margin: 0 4px;
}

.featured-image {
  position: relative;
  margin-bottom: 2em;
  border-radius: 8px;
  overflow: hidden;
  max-height: 500px;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.5)
  );
}

.featured-title {
  position: absolute;
  bottom: 20px;
  left: 30px;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  z-index: 2;
}

.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.page-header .breadcrumb {
  display: flex;
  justify-content: center;
  list-style: none;
  font-size: 0.9rem;
}

.page-header .breadcrumb li {
  margin: 0 10px;
  position: relative;
}

.page-header .breadcrumb li:after {
  content: "/";
  position: absolute;
  right: -12px;
}

.page-header .breadcrumb li:last-child:after {
  display: none;
}

.page-header .breadcrumb a {
  color: var(--secondary-color);
  text-decoration: none;
}

.chairman-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.chairman-profile {
  flex: 1;
  min-width: 300px;
}

.chairman-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.chairman-details {
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: 8px;
}

.chairman-details h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.detail-item {
  margin-bottom: 15px;
}

.detail-item strong {
  display: block;
  color: var(--dark-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  color: var(--primary-color);
  background-color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.chairman-message {
  flex: 2;
  min-width: 300px;
}

.message-header {
  margin-bottom: 30px;
}

.message-header h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 10px;
}

.message-header p {
  color: #666;
  font-style: italic;
}

.message-content {
  line-height: 1.8;
}

.message-content p {
  margin-bottom: 20px;
}

.signature {
  margin-top: 40px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.signature-image {
  max-width: 150px;
}

.signature-text h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.signature-text p {
  color: #666;
}

.achievements-section {
  background-color: var(--light-bg);
  padding: 60px 20px;
}

.achievements-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 10px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.achievement-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

.achievement-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.2rem;
  }

  .chairman-container {
    flex-direction: column;
  }

  .achievements-grid {
    grid-template-columns: 1fr;
  }
}

.page-blog-header {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.page-blog-header h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-header .breadcrumb {
  display: flex;
  justify-content: center;
  list-style: none;
  font-size: 0.9rem;
}

.page-blog-header .breadcrumb li {
  margin: 0 10px;
  position: relative;
}

.page-blog-header .breadcrumb li:after {
  content: "/";
  position: absolute;
  right: -12px;
}

.page-blog-header .breadcrumb li:last-child:after {
  display: none;
}

.page-blog-header .breadcrumb a {
  color: var(--secondary-color);
  text-decoration: none;
}

.blog-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  color: #666;
  font-size: 0.9rem;
}

.meta-item {
  display: flex;
  align-items: center;
}

.meta-item i {
  margin-right: 8px;
  color: var(--primary-color);
}

.featured-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-card {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: 8px;
  margin: 60px 0;
  align-items: center;
}

.author-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.author-info h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.author-info p {
  color: #666;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--primary-color);
  background-color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
}

.related-posts {
  margin: 0 0 60px 0;
}

.related-posts h2 {
  color: var(--primary-color);
  margin-bottom: 30px;
  font-size: 1.8rem;
  text-align: center;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.post-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

.post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 20px;
}

.post-content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.post-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.post-meta i {
  margin-right: 5px;
}

.post-excerpt {
  margin-bottom: 15px;
  color: #666;
}

.read-more {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.2rem;
  }

  .author-card {
    flex-direction: column;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .comment {
    flex-direction: column;
  }

  .comment-avatar {
    margin-bottom: 15px;
  }
}

.page-listing-header {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.page-listing-header h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.page-listing-header .breadcrumb {
  display: flex;
  justify-content: center;
  list-style: none;
  font-size: 0.9rem;
}

.page-listing-header .breadcrumb li {
  margin: 0 10px;
  position: relative;
}

.page-listing-header .breadcrumb li:after {
  content: "/";
  position: absolute;
  right: -12px;
}

.page-listing-header .breadcrumb li:last-child:after {
  display: none;
}

.page-listing-header .breadcrumb a {
  color: var(--secondary-color);
  text-decoration: none;
}

.blog-listing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

@media (max-width: 992px) {
  .blog-listing-container {
    grid-template-columns: 1fr;
  }
}

.posts-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-listing-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.blog-listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 30px 30px 30px 0;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  color: #666;
  font-size: 0.9rem;
}

.meta-item {
  display: flex;
  align-items: center;
}

.meta-item i {
  margin-right: 5px;
  color: var(--primary-color);
}

.blog-content h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
  line-height: 1.3;
}

.blog-excerpt {
  margin-bottom: 20px;
  color: #666;
}

.read-more {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.read-more:hover {
  color: var(--secondary-color);
}

.read-more i {
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover i {
  transform: translateX(3px);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar-widget {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.widget-title {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.widget-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.search-form {
  display: flex;
  margin-bottom: 20px;
}

.search-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-family: inherit;
}

.search-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 15px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: var(--transition);
}

.search-button:hover {
  background-color: var(--secondary-color);
}

.categories-list {
  list-style: none;
}

.categories-list li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.categories-list a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
}

.categories-list a:hover {
  color: var(--primary-color);
}

.categories-list span {
  background-color: var(--light-bg);
  color: var(--primary-color);
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.8rem;
}

.popular-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.popular-post {
  display: flex;
  gap: 15px;
}

.popular-post-image {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  object-fit: cover;
}

.popular-post-content h4 {
  font-size: 0.95rem;
  margin-bottom: 5px;
  line-height: 1.3;
}

.popular-post-content a {
  color: var(--dark-color);
  text-decoration: none;
  transition: var(--transition);
}

.popular-post-content a:hover {
  color: var(--primary-color);
}

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

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background-color: var(--light-bg);
  color: var(--dark-color);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}

.tag:hover {
  background-color: var(--primary-color);
  color: white;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.page-numbers {
  display: flex;
  list-style: none;
  gap: 10px;
}

.page-numbers a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background-color: white;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-numbers a:hover,
.page-numbers a.active {
  background-color: var(--primary-color);
  color: white;
}

@media (max-width: 768px) {
  .page-listing-header h1 {
    font-size: 2.2rem;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-content {
    padding: 30px;
  }

  .blog-image {
    height: 200px;
  }
}

.gallery-listing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.gallery-listing-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
  color: #2a7f62;
}

.gallery-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-listing-item {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-decoration: none;
}

.gallery-listing-item:hover {
  transform: scale(1.03);
}

.gallery-listing-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-listing-caption {
  padding: 1rem;
  font-size: 1rem;
  color: #333;
  text-align: center;
}

.gallery-listing-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.gallery-listing-pagination .page-link {
  color: #2a7f62;
}

.gallery-listing-pagination .active .page-link {
  background-color: #2a7f62;
  border-color: #2a7f62;
  color: white;
}

.page-contact-header {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.page-contact-header h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.page-contact-header .breadcrumb {
  display: flex;
  justify-content: center;
  list-style: none;
  font-size: 0.9rem;
}

.page-contact-header .breadcrumb li {
  margin: 0 10px;
  position: relative;
}

.page-contact-header .breadcrumb li:after {
  content: "/";
  position: absolute;
  right: -12px;
}

.page-contact-header .breadcrumb li:last-child:after {
  display: none;
}

.page-contact-header .breadcrumb a {
  color: var(--secondary-color);
  text-decoration: none;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
}

.contact-info {
  background-color: var(--light-bg);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.contact-method {
  display: flex;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-details h3 {
  margin-bottom: 5px;
  color: var(--dark-color);
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--secondary-color);
}

.office-hours {
  margin-top: 40px;
}

.office-hours h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.hours-table {
  width: 100%;
}

.hours-table tr {
  border-bottom: 1px solid #ddd;
}

.hours-table td {
  padding: 8px 0;
}

.hours-table td:last-child {
  text-align: right;
}

.contact-form {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
  color: var(--primary-color);
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(42, 127, 98, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.map-container {
  grid-column: 1 / -1;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-departments {
  grid-column: 1 / -1;
  margin-top: 40px;
}

.contact-departments h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-size: 1.8rem;
}

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

.department-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
}

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

.department-icon {
  width: 60px;
  height: 60px;
  background-color: var(--light-bg);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.department-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.department-card p {
  margin-bottom: 15px;
  color: #666;
}

.department-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.department-card a:hover {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .page-contact-header h1 {
    font-size: 2.2rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .map-container {
    height: 300px;
  }
}

.gh-page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.gh-page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.gh-breadcrumb {
  display: flex;
  justify-content: center;
  list-style: none;
  font-size: 0.9rem;
}

.gh-breadcrumb li {
  margin: 0 10px;
  position: relative;
}

.gh-breadcrumb li:after {
  content: "/";
  position: absolute;
  right: -12px;
}

.gh-breadcrumb li:last-child:after {
  display: none;
}

.gh-breadcrumb a {
  color: var(--secondary-color);
  text-decoration: none;
}

.gh-product-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
}

.gh-product-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.gh-product-intro h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.gh-product-intro p {
  color: #666;
  margin-bottom: 20px;
}

.gh-product-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
}

.gh-filter-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.gh-filter-label {
  font-weight: 500;
}

.gh-filter-select {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  font-family: inherit;
}

.gh-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.gh-product-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  opacity: 0; /* For animate.js */
}

.gh-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gh-product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary-color);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 1;
}

.gh-product-image-container {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.gh-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gh-product-card:hover .gh-product-image {
  transform: scale(1.05);
}

.gh-product-content {
  padding: 20px;
}

.gh-product-category {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: 5px;
  display: block;
}

.gh-product-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.gh-product-description {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.gh-product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.gh-product-price {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.gh-product-old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
  margin-left: 5px;
}

.gh-add-to-cart {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.gh-add-to-cart:hover {
  background-color: var(--secondary-color);
}

.gh-pagination {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.gh-page-numbers {
  display: flex;
  list-style: none;
  gap: 10px;
}

.gh-page-numbers a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background-color: white;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.gh-page-numbers a:hover,
.gh-page-numbers a.gh-active {
  background-color: var(--primary-color);
  color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .gh-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .gh-page-header h1 {
    font-size: 2.2rem;
  }

  .gh-product-filters {
    flex-direction: column;
    align-items: flex-start;
  }

  .gh-product-image-container {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .gh-product-grid {
    grid-template-columns: 1fr;
  }
}

.ngo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ngo-header {
  background-color: var(--primary);
  color: white;
  padding: 1rem 0;
  text-align: center;
}

/* Product Detail Section */
.ngo-product-detail {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.ngo-product-gallery {
  position: relative;
}

.ngo-main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ngo-thumbnail-container {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.ngo-thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.ngo-thumbnail:hover {
  border-color: var(--secondary);
}

.ngo-product-info {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ngo-product-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.ngo-product-price {
  font-size: 1.8rem;
  color: var(--accent);
  font-weight: bold;
  margin: 1.5rem 0;
}

.ngo-product-description {
  margin-bottom: 1.5rem;
  color: #555;
}

.ngo-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 1.5rem 0;
}

.ngo-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ngo-add-to-cart {
  background: var(--accent);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  margin-top: 1rem;
  font-weight: 600;
}

.ngo-add-to-cart:hover {
  background: #a5331a;
}

.ngo-impact-section {
  background: rgba(46, 134, 171, 0.05);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
}

/* Related Products */
.ngo-related-products {
  padding: 3rem 0;
  border-top: 1px solid #eee;
}

.ngo-related-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.ngo-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.ngo-related-product {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.ngo-related-product:hover {
  transform: translateY(-5px);
}

.ngo-related-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ngo-related-info {
  padding: 1.5rem;
}

.ngo-related-name {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0 0 0.5rem 0;
}

.ngo-related-price {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: bold;
  margin: 0.5rem 0;
}

.ngo-view-details {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  margin-top: 0.5rem;
}

.ngo-view-details:hover {
  background: #1a5a7a;
}

/* Responsive */
@media (max-width: 768px) {
  .ngo-product-detail {
    grid-template-columns: 1fr;
  }

  .ngo-main-image {
    height: 350px;
  }
}

/* Impact Section */
.ngo-impact-section {
  padding: 4rem 0;
}

.ngo-section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 3rem;
  position: relative;
}

.ngo-section-title:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

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

.ngo-impact-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.ngo-impact-card:hover {
  transform: translateY(-10px);
}

.ngo-impact-icon {
  width: 70px;
  height: 70px;
  background: rgba(46, 134, 171, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
  font-size: 1.8rem;
}

.ngo-impact-title {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.ngo-impact-desc {
  color: #555;
  font-size: 0.95rem;
}

/* Donation Options */
.ngo-donation-section {
  background: rgba(46, 134, 171, 0.05);
  padding: 4rem 0;
}

.ngo-donation-container {
  max-width: 800px;
  margin: 0 auto;
}

.ngo-donation-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ngo-tab-btn {
  background: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.ngo-tab-btn.active {
  background: var(--primary-color);
  color: white;
}

.ngo-tab-content {
  display: none;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.ngo-tab-content.active {
  display: block;
}

.ngo-amount-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.ngo-amount-btn {
  background: white;
  border: 2px solid var(--primary);
  padding: 0.8rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  text-align: center;
}

.ngo-amount-btn:hover,
.ngo-amount-btn.selected {
  background: var(--primary);
  color: white;
}

.ngo-custom-amount {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ngo-custom-amount span {
  font-weight: 500;
}

.ngo-custom-input {
  flex: 1;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 5px;
  max-width: 200px;
}

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

.ngo-donation-form .ngo-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.ngo-donation-form .ngo-form-input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
}

.ngo-donation-form .ngo-form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.ngo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ngo-donate-btn {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ngo-donate-btn:hover {
  background: #a5331a;
}

/* Responsive */
@media (max-width: 768px) {
  .ngo-form-row {
    grid-template-columns: 1fr;
  }

  .ngo-header {
    padding: 4rem 0;
  }

  .ngo-header-title {
    font-size: 2.2rem;
  }
}

.gh-page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.gh-page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.gh-breadcrumb {
  display: flex;
  justify-content: center;
  list-style: none;
  font-size: 0.9rem;
}

.gh-breadcrumb li {
  margin: 0 10px;
  position: relative;
}

.gh-breadcrumb li:after {
  content: "/";
  position: absolute;
  right: -12px;
}

.gh-breadcrumb li:last-child:after {
  display: none;
}

.gh-breadcrumb a {
  color: var(--secondary-color);
  text-decoration: none;
}

.gh-gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
}

.gh-gallery-description {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.gh-gallery-description h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.gh-gallery-description p {
  color: #666;
  margin-bottom: 20px;
}

.gh-gallery-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  color: #666;
}

.gh-meta-item {
  display: flex;
  align-items: center;
}

.gh-meta-item i {
  margin-right: 8px;
  color: var(--primary-color);
}

/* Masonry Grid Styles */
.gh-masonry-grid {
  margin: 0 auto;
}

.gh-masonry-grid:after {
  content: "";
  display: block;
  clear: both;
}

.gh-masonry-grid-sizer,
.gh-masonry-grid-item {
  width: calc(33.333% - 20px);
  margin-bottom: 20px;
}

.gh-masonry-grid-item {
  float: left;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.gh-masonry-grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gh-masonry-grid-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: var(--transition);
  cursor: pointer;
}

.gh-masonry-grid-item:hover img {
  opacity: 0.9;
}

.gh-masonry-grid-item--width2 {
  width: calc(66.666% - 20px);
}

/* Lightbox Customization */
.gh-lightbox .lb-container {
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.85);
  border-radius: 8px;
}

.gh-lightbox .lb-image {
  border: 5px solid white;
  border-radius: 4px;
}

.gh-lightbox .lb-nav a.lb-prev,
.gh-lightbox .lb-nav a.lb-next {
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.gh-lightbox .lb-close {
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.gh-lightbox .lb-data .lb-caption {
  font-size: 1rem;
  line-height: 1.4;
  color: #ddd;
}

.gh-lightbox .lb-number {
  color: #aaa;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .gh-masonry-grid-sizer,
  .gh-masonry-grid-item {
    width: calc(50% - 15px);
  }

  .gh-masonry-grid-item--width2 {
    width: calc(100% - 15px);
  }
}

@media (max-width: 768px) {
  .gh-page-header h1 {
    font-size: 2.2rem;
  }

  .gh-masonry-grid-sizer,
  .gh-masonry-grid-item {
    width: 100%;
    margin-bottom: 15px;
  }

  .gh-gallery-meta {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}

.team-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-header {
  text-align: center;
  margin-bottom: 60px;
}

.team-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.team-subtitle {
  font-size: 1rem;
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

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

.team-member-card:hover {
  transform: translateY(-10px);
}

.member-image-container {
  height: 300px;
  overflow: hidden;
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member-card:hover .member-image {
  transform: scale(1.05);
}

.member-info {
  padding: 25px;
  text-align: center;
}

.member-name {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.member-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
}

.member-bio {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-color);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .team-members {
    grid-template-columns: 1fr;
  }

  .team-title {
    font-size: 2rem;
  }
}

.testimonial-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonial-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--dark-green);
}

.testimonial-subtitle {
  font-size: 1rem;
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-grid {
  margin: 0 auto;
}

.testimonial-card {
  width: 300px;
  margin-bottom: 30px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-color);
}

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

.testimonial-content {
  padding: 25px;
  background-color: var(--light-green);
  position: relative;
}

.testimonial-content:before {
  content: "\201C";
  font-size: 80px;
  color: rgba(46, 125, 50, 0.1);
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 2px solid var(--primary-color);
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--primary-color);
}

.author-role {
  font-size: 0.9rem;
  color: #666;
}

.testimonial-rating {
  color: #ffc107;
  margin-top: 5px;
}

.grid-sizer {
  width: 300px;
}

.gutter-sizer {
  width: 30px;
}

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

  .grid-sizer {
    width: 100%;
  }

  .testimonial-title {
    font-size: 2rem;
  }
}

/* Video Gallery Section */
.ngo-video-gallery {
  padding: 4rem 0;
}

.ngo-section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 3rem;
  position: relative;
}

.ngo-section-title:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

/* Video Grid */
.ngo-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.ngo-video-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.ngo-video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.ngo-video-thumbnail {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.ngo-video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ngo-video-card:hover .ngo-video-thumbnail img {
  transform: scale(1.05);
}

.ngo-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.ngo-video-card:hover .ngo-play-button {
  background: var(--accent);
  color: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.ngo-video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.8rem;
}

.ngo-video-info {
  padding: 1.5rem;
}

.ngo-video-title {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0 0 0.5rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ngo-video-meta {
  display: flex;
  justify-content: space-between;
  color: #666;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.ngo-video-category {
  display: inline-block;
  background: rgba(241, 143, 1, 0.1);
  color: var(--secondary);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

/* Filter Controls */
.ngo-filter-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ngo-filter-btn {
  background: white;
  border: 1px solid #ddd;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ngo-filter-btn:hover,
.ngo-filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .ngo-video-grid {
    grid-template-columns: 1fr;
  }

  .ngo-header {
    padding: 3rem 0;
  }
}
/* Video Player Section */
.ngo-video-detail {
  padding: 3rem 0;
}

.ngo-video-player-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.ngo-video-player {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.ngo-video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ngo-video-info {
  max-width: 800px;
  margin: 2rem auto 0;
}

.ngo-video-title {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.ngo-video-meta {
  display: flex;
  gap: 1.5rem;
  color: #666;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.ngo-video-category {
  display: inline-block;
  background: rgba(241, 143, 1, 0.1);
  color: var(--secondary);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.ngo-video-description {
  margin: 1.5rem 0;
  color: #555;
}

/* Related Videos */
.ngo-related-videos {
  padding: 3rem 0;
  border-top: 1px solid #eee;
}

.ngo-related-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.ngo-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.ngo-related-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.ngo-related-card:hover {
  transform: translateY(-5px);
}

.ngo-related-thumbnail {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.ngo-related-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ngo-related-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.ngo-related-info {
  padding: 1rem;
}

.ngo-related-video-title {
  font-size: 1rem;
  color: var(--primary);
  margin: 0.3rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ngo-related-meta {
  color: #666;
  font-size: 0.8rem;
}

/* Back Button */
.ngo-back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .ngo-related-grid {
    grid-template-columns: 1fr;
  }

  .ngo-video-title {
    font-size: 1.5rem;
  }
}

/* Opportunities Section */
.ngo-opportunities {
  padding: 4rem 0;
}

.ngo-section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 3rem;
  position: relative;
}

.ngo-section-title:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

.ngo-opportunities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.ngo-opportunity-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.ngo-opportunity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.ngo-opportunity-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ngo-opportunity-content {
  padding: 1.5rem;
}

.ngo-opportunity-title {
  font-size: 1.3rem;
  color: var(--primary);
  margin: 0 0 0.5rem 0;
}

.ngo-opportunity-meta {
  display: flex;
  gap: 1rem;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.ngo-opportunity-desc {
  color: #555;
  margin-bottom: 1.5rem;
}

.ngo-opportunity-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.ngo-opportunity-btn:hover {
  background: #1a5a7a;
}

/* Volunteer Form */
.ngo-volunteer-form-section {
  background: rgba(46, 134, 171, 0.05);
  padding: 4rem 0;
}

.ngo-form-container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.ngo-form-title {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.ngo-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.ngo-form-input,
.ngo-form-select,
.ngo-form-textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  transition: border 0.3s ease;
}

.ngo-form-input:focus,
.ngo-form-select:focus,
.ngo-form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.ngo-form-textarea {
  min-height: 120px;
}

.ngo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ngo-form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ngo-form-submit:hover {
  background: #a5331a;
}

/* Testimonials */
.ngo-volunteer-testimonials {
  padding: 4rem 0;
}

.ngo-testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.ngo-testimonial-card:before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: rgba(46, 134, 171, 0.1);
  font-family: serif;
  line-height: 1;
}

.ngo-testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.ngo-testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .ngo-opportunities-grid {
    grid-template-columns: 1fr;
  }

  .ngo-form-row {
    grid-template-columns: 1fr;
  }

  .ngo-header {
    padding: 4rem 0;
  }

  .ngo-header-title {
    font-size: 2.2rem;
  }
}
