* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1f2937;
    line-height: 1.6;
    scroll-behavior: smooth;
    background: #f9fafb;
    padding-top: 100px;
}

/* FIXED: Base link styles - removed color: inherit to prevent conflicts */
a {
  text-decoration: none;
}

/* FIXED: Navigation links keep their color */
.nav-bar a {
  color: #1f2937;
}

.nav-bar a:hover,
.nav-bar a.active {
  color: #22c55e;
}

/* FIXED: Footer links */
footer a {
  color: #e5e7eb;
}

footer a:hover {
  color: #22c55e;
}

/* FIXED: Regular content links */
.content-section a:not(.btn):not(.btn-primary):not(.btn-outline) {
  color: #22c55e;
}

.content-section a:not(.btn):not(.btn-primary):not(.btn-outline):hover {
  color: #16a34a;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==================================
NAVIGATION
================================== */

header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 5%;
  z-index: 1000;
  backdrop-filter: blur(6px);
  box-sizing: border-box;
}

header .logo img {
  height: 70px;
  transition: 0.3s ease;
  cursor: pointer;
}

header .logo img:hover {
  transform: scale(1.3);
}

.nav-bar {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-bar ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.nav-bar li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-bar a {
  display: inline-block;
  padding: 10px 15px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  font-size: 16px;
  white-space: nowrap;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  padding: 10px 0;
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  display: block !important;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  white-space: nowrap;
  color: #1f2937;
}

.dropdown-menu a:hover {
  background: #f3f4f6;
  padding-left: 25px;
  color: #22c55e;
}

.toggle-icons {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #1f2937;
}

.toggle-icons i {
  transition: 0.3s;
}

.toggle-icons i:hover {
  color: #22c55e;
}

/* ==================================
HOME PAGE STYLES
================================== */

:root {
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --primary-light: #4ade80;
  --secondary: #1f2937;
  --accent: #f59e0b;
  --dark: #111827;
  --light: #f9fafb;
  --gray: #6b7280;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO SECTION */
#home-page .hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#home-page .hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#home-page .hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1s ease, transform 6s ease;
}

#home-page .hero-slider .slide.active {
  opacity: 1;
  transform: scale(1);
}

#home-page .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.7) 40%,
    rgba(15, 23, 42, 0.3) 70%,
    transparent 100%
  );
  z-index: 1;
}

#home-page .hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-left: 8%;
  padding: 100px 20px;
}

#home-page .hero-box {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 0px;
}

#home-page .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(34,197,94,0.2);
  padding: 8px 20px;
  border-radius: 50px;
  color: #4ade80;
  font-size: 14px;
  margin-bottom: 20px;
}

#home-page .title-line {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  color: #fff;
}

#home-page .title-sub {
  font-size: clamp(18px, 3vw, 26px);
  color: #4ade80;
}

#home-page .hero-description {
  color: #cbd5e1;
  margin: 15px 0 25px;
  font-size: 18px;
}

#home-page .hero-stats {
  display: flex;
  gap: 30px;
  margin: 25px 0;
}

#home-page .stat-number {
  font-size: 28px;
  font-weight: 800;
  color: #f59e0b;
}

#home-page .stat-label {
  color: #e5e7eb;
  font-size: 14px;
}

#home-page .hero-cta {
  display: flex;
  gap: 15px;
}

#home-page .hero-box > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

#home-page .hero-box > *:nth-child(1) { animation-delay: 0.2s; }
#home-page .hero-box > *:nth-child(2) { animation-delay: 0.4s; }
#home-page .hero-box > *:nth-child(3) { animation-delay: 0.6s; }
#home-page .hero-box > *:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#home-page .scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 8%;
  color: var(--light);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  50% { transform: translateY(-10px); }
}

/* FIXED: Consolidated button styles - all buttons now work consistently */
.btn, 
.btn-primary, 
.btn-outline, 
.btn-small, 
.btn-large,
.contact-btn,
.program-footer .btn-primary,
.values-cta .btn-outline,
.cta-section .btn-primary,
.cta-section .btn-outline,
.team-cta .btn-primary,
.cta-button .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-small {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-large {
  padding: 16px 36px;
  font-size: 18px;
}

/* SECTION STYLES (Consolidated) */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  background: rgba(34,197,94,0.1);
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.section-heading {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 15px;
}

#what-we-do {
  font-size: 36px;
  font-weight: 800;
  color: var(--light);
  margin-bottom: 15px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto 20px;
}

.section-subtitle {
  color: var(--gray);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

#subtitle-what-we-do {
  color: var(--light);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* Who We Are Section */
#home-page .who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

#home-page .who-image {
  position: relative;
}

#home-page .image-wrapper {
  border-radius: 0px;
  overflow: hidden;
  position: relative;
}

#home-page .image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

#home-page .image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34,197,94,0.2), transparent);
}

#home-page .image-caption {
  margin-top: 15px;
  text-align: margin-right;
  color: var(--dark);
  font-size: 16px;
  font-style: italic;
}

#home-page .who-highlights {
  margin: 30px 0;
}

#home-page .highlight {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

#home-page .highlight i {
  font-size: 24px;
  color: var(--shadow-md);
}

#home-page .highlight h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--dark);
}

#home-page .highlight p {
  color: var(--gray);
  font-size: 15px;
  font-style: italic;
}

/* Work Section - FIXED: Better overlay so text is readable */
#home-page .work-section {
  position: relative;
  background: url('../images/work-bg.jpg') center/cover no-repeat;
}

#home-page .work-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
}

#home-page .work-section .container {
  position: relative;
  z-index: 2;
}

/* FIXED: Work section heading colors */
#home-page .work-section .section-heading,
#home-page .work-section .section-subtitle {
  color: white;
}

#home-page .work-section .section-tag {
  background: rgba(34,197,94,0.2);
  color: #4ade80;
}

#home-page .work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

#home-page .work-card {
  background: #fff;
  border-radius: 0px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

#home-page .work-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

#home-page .work-icon {
  width: 80px;
  height: 80px;
  background: rgba(34,197,94,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

#home-page .work-icon i {
  font-size: 40px;
  color: var(--primary);
}

#home-page .work-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--dark);
}

#home-page .work-card p {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

#home-page .work-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

#home-page .work-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray);
}

#home-page .work-features i {
  color: var(--primary);
  font-size: 14px;
}

/* Programs Section - Home Page */
#home-page .programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

#home-page .program-card {
  background: #fff;
  border-radius: 0px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all 0.3s ease;
}

#home-page .program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

#home-page .program-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

#home-page .program-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--dark);
  padding-right: 80px;
}

#home-page .program-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

#home-page .program-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
}

#home-page .program-list li:last-child {
  border-bottom: none;
}

#home-page .program-list i {
  color: var(--primary);
  font-size: 16px;
  width: 24px;
}

/* Values Section - Flip Cards */
.values-section {
  background: #f8fafc;
  padding: 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.flip-card {
  background-color: transparent;
  perspective: 1000px;
  height: 280px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 16px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.flip-card-front {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
}

.flip-card-front i {
  font-size: 48px;
  margin-bottom: 20px;
}

.flip-card-front h3 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
}

.flip-card-back {
  background: white;
  color: #1f2937;
  transform: rotateY(180deg);
}

.flip-card-back p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* FIXED: Values CTA button */
.values-cta {
  text-align: center;
  margin-top: 40px;
}

.values-cta .btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.values-cta .btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Team Section - Home Page */
#home-page .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

#home-page .team-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

#home-page .team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

#home-page .team-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

#home-page .team-image img {
  width:100%;
  height: 100%;
  object-fit: contain;
  border-radius:20px;
}

#home-page .team-social {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  transition: bottom 0.3s ease;
}

#home-page .team-card:hover .team-social {
  bottom: 0;
}

#home-page .team-social a {
  color: white;
  font-size: 18px;
  transition: transform 0.3s ease;
  background: rgba(0,0,0,0.5);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

#home-page .team-social a:hover {
  transform: translateY(-3px);
  background: var(--primary);
  color: white;
}

#home-page .team-info {
  padding: 20px;
  text-align: center;
}

#home-page .team-info h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--dark);
}

#home-page .team-role {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

#home-page .team-bio {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.5;
}

#home-page .team-cta {
  text-align: center;
}

/* FIXED: Team CTA button */
.team-cta .btn-primary {
  background: var(--primary);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.team-cta .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Founders Grid Styles */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.founder-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.founder-card .team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.founder-card .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.founder-card:hover .team-image img {
    transform: scale(1.05);
}

.founder-card .team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: bottom 0.3s ease;
}

.founder-card:hover .team-social {
    bottom: 0;
}

.founder-card .team-social a {
    color: white;
    font-size: 18px;
    transition: transform 0.3s ease;
    background: rgba(0,0,0,0.5);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.founder-card .team-social a:hover {
    transform: translateY(-3px);
    background: var(--primary);
    color: white;
}

.founder-card .team-info {
    padding: 20px;
    text-align: center;
}

.founder-card .team-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
}

.founder-card .team-role {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.founder-card .team-bio {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 350px;
    }
}

/* Dropdown Arrow Styles */
.dropdown > a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* ==================================
   PARTNERS CAROUSEL STYLES
================================== */
.partners-section {
    background: #f8fafc;
    padding: 60px 0;
    overflow: hidden;
}

.partners-carousel {
    position: relative;
    margin: 40px 0;
    overflow: hidden;
}

.partners-track {
    display: flex;
    gap: 40px;
    transition: transform 0.5s ease-in-out;
}

.partner-slide {
    flex: 0 0 auto;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 180px;
    min-height: 180px;
}

.partner-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 100%;
}

.partner-slide img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    margin-top: auto;
    padding-top: 15px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .partner-slide {
        width: 150px;
        min-height: 150px;
        padding: 15px;
    }
    
    .partner-slide a {
        height: 80px;
    }
    
    .partner-slide img {
        max-height: 60px;
    }
    
    .partner-name {
        font-size: 12px;
        white-space: normal;
    }
}

.partner-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.partner-slide img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-slide:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.carousel-prev,
.carousel-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-prev i,
.carousel-next i {
    font-size: 20px;
    color: white;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* Auto-scroll animation (optional) */
@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* For infinite continuous scroll (alternative) */
.partners-track.infinite {
    animation: scrollPartners 20s linear infinite;
}

.partners-track.infinite:hover {
    animation-play-state: paused;
}




/* Partner Carousel Styles */
.partner-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 40px 0 20px;
}

.partner-carousel {
    overflow: hidden;
    flex: 1;
}

.partner-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

.partner-card {
    min-width: calc(33.333% - 20px);
    flex-shrink: 0;
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #eef2ff;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.partner-logo-wrapper {
    margin-bottom: 20px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-wrapper a {
    display: block;
    transition: transform 0.3s ease;
}

.partner-logo-wrapper a:hover {
    transform: scale(1.05);
}

.partner-logo-wrapper img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    /* Removed grayscale and opacity filters */
}

.partner-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.partner-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 20px;
}

.partner-links {
    margin-top: auto;
}

.partner-website {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34,197,94,0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.partner-website:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Carousel Arrows */
.carousel-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-arrow i {
    font-size: 20px;
    color: white;
}

.carousel-arrow:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Carousel Indicators */
.partner-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.partner-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.partner-indicator.active {
    width: 25px;
    border-radius: 10px;
    background: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .partner-card {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .partner-carousel-container {
        gap: 10px;
    }
    
    .partner-card {
        min-width: calc(100% - 0px);
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
    }
    
    .carousel-arrow i {
        font-size: 14px;
    }
    
    .partner-logo-wrapper {
        height: 100px;
    }
    
    .partner-logo-wrapper img {
        max-height: 70px;
    }
    
    .partner-card h3 {
        font-size: 16px;
    }
    
    .partner-description {
        font-size: 13px;
    }
}

/* Partners Grid New */
.partners-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.partner-card-new {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #eef2ff;
}

.partner-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.partner-logo-wrapper-new {
    margin-bottom: 20px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-wrapper-new a {
    display: block;
    transition: transform 0.3s ease;
}

.partner-logo-wrapper-new a:hover {
    transform: scale(1.05);
}

.partner-logo-wrapper-new img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.partner-card-new h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}


.partner-links-new {
    margin-top: auto;
}

.partner-website-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34,197,94,0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.partner-website-new:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .partners-grid-new {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .partner-logo-wrapper-new {
        height: 100px;
    }
    
    .partner-logo-wrapper-new img {
        max-height: 70px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .partner-slide {
        width: 160px;
        padding: 15px;
    }
    
    .partner-slide img {
        max-height: 60px;
    }
}

@media (max-width: 768px) {
    .partner-slide {
        width: 140px;
        padding: 12px;
    }
    
    .partner-slide img {
        max-height: 50px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
    }
    
    .carousel-prev i,
    .carousel-next i {
        font-size: 14px;
    }
}

/* For infinite continuous scroll */
.partners-track.infinite {
    display: flex;
    gap: 40px;
    animation: scrollPartners 20s linear infinite;
}

.partners-track.infinite:hover {
    animation-play-state: paused;
}

@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* Impact Section */
.impact-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 80px 0;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.impact-stat {
  text-align: center;
}

.impact-stat .stat-number {
  font-size: 48px;
  font-weight: 800;
  display: block;
  margin-bottom: 10px;
}

.impact-stat .stat-label {
  font-size: 16px;
  opacity: 0.9;
}

/* CTA Section - FIXED: Button styles */
.cta-section {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: var(--primary);
  color: var(--dark);
}

.cta-section .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.cta-section .btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.cta-section .btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ==================================
PAGE HEADER WITH BACKGROUND IMAGE
================================== */

.page-header {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 100px;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
}

.page-header .container {
  position: relative;
  z-index: 2;
  color: white;
  padding: 0 20px;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* ==================================
CONTENT SECTIONS
================================== */

.content-section {
  padding: 80px 0;
}

.content-section:nth-child(even) {
  background-color: #f9fafb;
}

.content-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.content-wrapper.reverse {
  flex-direction: row-reverse;
}

.text-content {
  flex: 1;
}

.text-content h2 {
  font-size: 2.2rem;
  color: #1f2937;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.text-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #22c55e;
}

.text-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 20px;
}

.text-content p:last-child {
  margin-bottom: 0;
}

.image-content {
  flex: 1;
}

.image-content img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 35px -10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.image-content img:hover {
  transform: scale(1.02);
}

.highlight-box {
  background: linear-gradient(135deg, #22c55e15 0%, #16a34a15 100%);
  border-left: 4px solid #22c55e;
  padding: 30px;
  border-radius: 8px;
  margin: 40px 0;
}

.highlight-box p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #1f2937;
  font-style: italic;
  margin-bottom: 15px;
}

.highlight-box .author {
  font-size: 1rem;
  color: #22c55e;
  font-weight: 600;
  font-style: normal;
}

/* Image Gallery */
.image-gallery {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}

.gallery-item {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 20px;
  text-align: center;
}

.gallery-caption h3 {
  font-size: 1.3rem;
  color: #1f2937;
  margin-bottom: 10px;
}

.gallery-caption p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

.two-images {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}

.two-images .gallery-item {
  flex: 1;
  min-width: 280px;
}

.stats-section {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  padding: 60px 0;
  color: white;
  margin: 60px 0;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.stat-item p {
  font-size: 1rem;
  opacity: 0.9;
}

.quote-box {
  background: #f3f4f6;
  border-left: 4px solid #22c55e;
  padding: 40px;
  border-radius: 12px;
  margin: 40px 0;
  text-align: center;
}

.quote-box i {
  font-size: 3rem;
  color: #22c55e;
  opacity: 0.5;
  margin-bottom: 20px;
  display: inline-block;
}

.quote-box p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #1f2937;
  font-style: italic;
  margin-bottom: 20px;
}

.quote-box .author {
  font-size: 1rem;
  color: #22c55e;
  font-weight: 600;
  font-style: normal;
}

/* FIXED: CTA button in environment page */
.cta-button {
  text-align: center;
  margin-top: 40px;
}

.cta-button .btn-primary {
  background: var(--primary);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ==================================
PROGRAMS PAGE SPECIFIC STYLES
================================== */

/* Programs Grid Layout - Programs Page */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin: 60px 0;
}

.program-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.program-header {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  padding: 30px;
  color: white;
  position: relative;
  overflow: hidden;
}

.program-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  transform: rotate(45deg);
}

.program-header h2 {
  font-size: 1.8rem;
  margin: 0;
  position: relative;
  z-index: 1;
}

.program-header p {
  margin: 10px 0 0;
  opacity: 0.9;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.program-content {
  padding: 30px;
}

.program-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.program-list li {
  padding: 12px 0 12px 30px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  color: #4b5563;
  line-height: 1.5;
}

.program-list li:last-child {
  border-bottom: none;
}

.program-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
  font-size: 1.1rem;
}

.program-footer {
  padding: 20px 30px 30px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}

/* FIXED: Program footer buttons */
.program-footer .btn-primary {
  background: var(--primary);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.program-footer .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Detailed Program Sections */
.detailed-program {
  margin: 80px 0;
  scroll-margin-top: 120px;
}

.detailed-program h3 {
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.detailed-program h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #22c55e;
}

.program-description {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 30px;
}

.description-text {
  flex: 2;
}

.description-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 20px;
}

.description-highlights {
  flex: 1;
  background: #f9fafb;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #22c55e;
}

.description-highlights h4 {
  font-size: 1.2rem;
  color: #1f2937;
  margin-bottom: 15px;
}

.description-highlights ul {
  list-style: none;
  padding: 0;
}

.description-highlights li {
  padding: 8px 0;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 10px;
}

.description-highlights li i {
  color: #22c55e;
  font-size: 1.2rem;
}

/* FIXED: Programs page CTA section */
.cta-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 16px;
  margin: 60px 0;
}

.cta-section h3 {
  color: white;
  font-size: 28px;
  margin-bottom: 15px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 25px;
}

.cta-section .btn-primary {
  background: white;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ==================================
TEAM PAGE STYLES
================================== */

.team-page-section {
  padding: 80px 0;
  background: #f9fafb;
}

.team-members {
  margin-bottom: 80px;
}

.team-member {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

.team-member.reverse {
  direction: rtl;
}

.team-member.reverse .team-bio {
  direction: ltr;
}

.team-member.reverse .team-photo {
  direction: ltr;
}

.team-bio {
  direction: ltr;
}

.team-bio h3 {
  font-size: 28px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 8px;
}

.team-title {
  font-size: 16px;
  font-weight: 600;
  color: #22c55e;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-divider {
  width: 40px;
  height: 2px;
  background: #22c55e;
  margin: 15px 0 20px;
}

.team-description {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 20px;
}

/* Team Social Links - Team Page */
.team-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.team-social a {
  width: 38px;
  height: 38px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
  transition: all 0.3s ease;
  text-decoration: none;
}

.team-social a:hover {
  background: #22c55e;
  color: white;
  transform: translateY(-3px);
}

.team-photo {
  direction: ltr;
}

.photo-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.photo-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.team-member:hover .photo-wrapper img {
  transform: scale(1.05);
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), transparent);
  pointer-events: none;
}

.temporary-team {
  text-align: center;
  padding: 50px;
  background: white;
  border-radius: 20px;
  margin-top: 40px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.temporary-team h3 {
  font-size: 28px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 15px;
}

.section-divider-small {
  width: 50px;
  height: 2px;
  background: #22c55e;
  margin: 0 auto 20px;
}

.temporary-description {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.temp-roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.role-card {
  padding: 25px;
  background: #f9fafb;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.role-card:hover {
  transform: translateY(-5px);
  background: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.role-card i {
  font-size: 40px;
  color: #22c55e;
  margin-bottom: 15px;
}

.role-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
}

.role-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* ==================================
SDGs SECTION STYLES
================================== */

.sdg-section {
  background: #f9fafb;
  padding: 80px 0;
  margin-top: 40px;
}

.sdg-header {
  margin-bottom: 50px;
  text-align: center;
}

.sdg-intro {
  font-size: 18px;
  line-height: 1.8;
  color: #4b5563;
  max-width: 800px;
  margin: 20px auto;
}

.support-statement {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 15px 30px;
  border-radius: 50px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid #e5e7eb;
}

.support-statement i {
  font-size: 24px;
  color: #22c55e;
}

.support-statement p {
  margin: 0;
  font-size: 16px;
  color: #1f2937;
}

.support-statement strong {
  color: #22c55e;
}

.sdgs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.sdg-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border: 1px solid #eef2ff;
}

.sdg-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.sdg-icon-wrapper {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sdg-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sdg-content {
  flex: 1;
}

.sdg-content h3 {
  font-size: 20px;
  color: #1f2937;
  margin-bottom: 12px;
  font-weight: 700;
}

.sdg-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}

.sdg-compliance {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.sdg-compliance p {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

/* ==================================
CONTACT PAGE STYLES
================================== */

.contact-page-section {
  padding: 80px 0;
  background: #f9fafb;
}

.contact-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 80px;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.info-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border: 1px solid #eef2ff;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.info-icon i {
  font-size: 28px;
  color: #22c55e;
}

.info-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.info-card p {
  font-size: 16px;
  color: #4b5563;
  margin: 0;
}

.info-card a {
  color: #22c55e;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: #16a34a;
}

.info-note {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 8px !important;
}

.contact-form-wrapper {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-form h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.form-intro {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.form-group label span {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #22c55e;
  background: white;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #22c55e;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
}

.contact-btn i {
  transition: transform 0.3s ease;
}

.contact-btn:hover i {
  transform: translateX(3px);
}

.social-connect {
  text-align: center;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}

.social-connect h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 25px;
}

.social-links-large {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  background: #f3f4f6;
  color: #1f2937;
}

.social-link i {
  font-size: 20px;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-link.facebook:hover {
  background: #1877f2;
  color: white;
}

.social-link.linkedin:hover {
  background: #0077b5;
  color: white;
}

.social-link.twitter:hover {
  background: #1da1f2;
  color: white;
}

.social-link.instagram:hover {
  background: #e4405f;
  color: white;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: #f9fafb;
  padding: 25px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.faq-question i {
  font-size: 24px;
  color: #22c55e;
}

.faq-question h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
  padding-left: 36px;
}

/* ==================================
BLOG PAGE STYLES
================================== */

.blog-section {
  padding: 80px 0;
  background: #f9fafb;

}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.blog-card {
  background: white;
  border-radius: 0px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.blog-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #22c55e;
  color: white;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 13px;
  color: #9ca3af;
}

.blog-meta i {
  margin-right: 5px;
  color: #22c55e;
}

.blog-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
}

.blog-title a {
  color: #1f2937;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-title a:hover {
  color: #22c55e;
}

.blog-excerpt {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #22c55e;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover {
  color: #16a34a;
}

.read-more:hover i {
  transform: translateX(5px);
}

.no-posts {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 20px;
}

.no-posts i {
  font-size: 64px;
  color: #22c55e;
  margin-bottom: 20px;
}

.no-posts h3 {
  font-size: 24px;
  color: #1f2937;
  margin-bottom: 10px;
}

.no-posts p {
  color: #6b7280;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.page-btn:hover {
  background: #22c55e;
  border-color: #22c55e;
  color: white;
}

.page-numbers {
  display: flex;
  gap: 8px;
  align-items: center;
}

.page-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.page-number:hover {
  background: #22c55e;
  border-color: #22c55e;
  color: white;
}

.page-number.active {
  background: #22c55e;
  border-color: #22c55e;
  color: white;
}

.page-dots {
  color: #9ca3af;
  padding: 0 5px;
}

.newsletter-section {
  margin-top: 80px;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  border-radius: 24px;
  overflow: hidden;
}

.newsletter-content {
  text-align: center;
  padding: 60px 40px;
  color: white;
}

.newsletter-content i {
  font-size: 48px;
  color: #22c55e;
  margin-bottom: 20px;
}

.newsletter-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.newsletter-content p {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.newsletter-form .form-group {
  display: flex;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
}

.newsletter-form input:focus {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
}

.newsletter-form button {
  padding: 14px 30px;
  white-space: nowrap;
  background: var(--primary);
  color: var(--dark);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Hero Section Styles */
    .page-header {
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: 100px;
        position: relative;
    }
    
    .page-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    }
    
    .page-header .container {
        position: relative;
        z-index: 2;
        color: white;
        max-width: 800px;
        margin: 0 auto;
        padding: 60px 20px;
    }
    
    .breadcrumb {
        font-size: 14px;
        margin-bottom: 20px;
        opacity: 0.8;
    }
    
    .breadcrumb a {
        color: white;
        text-decoration: none;
    }
    
    .breadcrumb a:hover {
        color: #22c55e;
    }
    
    .breadcrumb span {
        color: #22c55e;
    }
    
    .page-header h1 {
        font-size: 42px;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .post-meta-hero {
        display: flex;
        justify-content: center;
        gap: 30px;
        font-size: 14px;
        opacity: 0.9;
    }
    
    .post-meta-hero i {
        margin-right: 8px;
        color: #22c55e;
    }
    
    /* Post Container */
    .post-container {
        max-width: 800px;
        margin: -50px auto 80px;
        padding: 0 20px;
        position: relative;
        z-index: 3;
    }
    
    .post-article {
        background: white;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        overflow: hidden;
    }
    
    .post-featured-image {
        width: 100%;
        overflow: hidden;
    }
    
    .post-featured-image img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.3s ease;
    }
    
    .post-featured-image img:hover {
        transform: scale(1.02);
    }
    
    .post-content {
        padding: 40px;
        font-size: 18px;
        line-height: 1.8;
        color: #1f2937;
    }
    
    /* Post Content Styling */
    .post-content h1,
    .post-content h2,
    .post-content h3 {
        margin-top: 30px;
        margin-bottom: 15px;
        color: #1f2937;
    }
    
    .post-content h1 { font-size: 32px; }
    .post-content h2 { font-size: 28px; }
    .post-content h3 { font-size: 24px; }
    
    .post-content p {
        margin-bottom: 20px;
    }
    
    .post-content img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        margin: 20px 0;
    }
    
    .post-content ul,
    .post-content ol {
        margin: 20px 0;
        padding-left: 30px;
    }
    
    .post-content li {
        margin: 10px 0;
    }
    
    .post-content blockquote {
        border-left: 4px solid #22c55e;
        padding: 20px 30px;
        margin: 30px 0;
        background: #f9fafb;
        font-style: italic;
        border-radius: 0 12px 12px 0;
    }
    
    .post-content code {
        background: #f3f4f6;
        padding: 2px 6px;
        border-radius: 4px;
        font-family: monospace;
    }
    
    /* Post Footer */
    .post-footer {
        padding: 30px 40px;
        border-top: 1px solid #e5e7eb;
        background: #f9fafb;
    }
    
    .post-share h4 {
        font-size: 16px;
        margin-bottom: 15px;
        color: #1f2937;
    }
    
    .share-links {
        display: flex;
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .share-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .share-btn:hover {
        transform: translateY(-3px);
    }
    
    .share-btn.facebook {
        background: #1877f2;
    }
    
    .share-btn.twitter {
        background: #1da1f2;
    }
    
    .share-btn.linkedin {
        background: #0077b5;
    }
    
    .share-btn.email {
        background: #6b7280;
    }
    
    .back-to-blog {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #22c55e;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .back-to-blog:hover {
        gap: 12px;
        color: #16a34a;
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .page-header {
            min-height: 300px;
            margin-top: 80px;
        }
        
        .page-header h1 {
            font-size: 28px;
        }
        
        .post-meta-hero {
            flex-direction: column;
            gap: 10px;
        }
        
        .post-content {
            padding: 25px;
            font-size: 16px;
        }
        
        .post-footer {
            padding: 25px;
        }
        
        .post-content h1 { font-size: 26px; }
        .post-content h2 { font-size: 22px; }
        .post-content h3 { font-size: 20px; }
    }
    
    @media (max-width: 480px) {
        .post-container {
            margin: -30px auto 60px;
        }
        
        .post-content {
            padding: 20px;
        }
        
        .share-links {
            flex-wrap: wrap;
        }
    }

/* ==================================
FOOTER
================================== */

footer {
  background: #020617;
  color: #e5e7eb;
  text-align: center;
  padding: 30px 5%;
  position: relative;
}

footer p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

footer .social-links {
  margin-bottom: 15px;
}

footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 6px;
  border-radius: 50%;
  background: #111827;
  color: #e5e7eb;
  font-size: 18px;
  transition: 0.3s ease;
}

footer .social-links a:hover {
  background: #22c55e;
  color: white;
  transform: translateY(-3px) scale(1.1);
}

.back-to-top {
  position: absolute;
  right: 20px;
  top: -20px;

  background: #22c55e;
  color: white;
  font-size: 28px;
  border-radius: 50%;
  padding: 5px;

  display: flex;
  align-items: center;
  justify-content: center;

  /* visibility control */
  opacity: 0;
  pointer-events: none;

  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: #16a34a;
  transform: translateY(-3px) scale(1.1);
}

/* ==================================
   DONATION FORM STYLES
   Clean & Integrated
================================== */

/* Toggle Buttons Styles */
.form-toggle-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.toggle-btn {
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid var(--primary, #22c55e);
    background: transparent;
    color: var(--primary, #22c55e);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
}

.toggle-btn i {
    font-size: 20px;
}

.toggle-btn:hover {
    background: var(--primary, #22c55e);
    color: white;
    transform: translateY(-2px);
}

.toggle-btn.active {
    background: var(--primary, #22c55e);
    color: white;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
}

/* Donation Amount Options */
.donation-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.amount-option {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: white;
}

.amount-option input {
    display: none;
}

.amount-option span {
    font-weight: 600;
    color: #1f2937;
    transition: color 0.3s ease;
}

.amount-option:hover {
    border-color: var(--primary, #22c55e);
    background: rgba(34, 197, 94, 0.05);
}

.amount-option.selected,
.amount-option:has(input:checked) {
    border-color: var(--primary, #22c55e);
    background: var(--primary, #22c55e);
}

.amount-option.selected span,
.amount-option:has(input:checked) span {
    color: white;
}

.amount-option.custom-option.selected,
.amount-option.custom-option:has(input:checked) {
    background: #f59e0b;
    border-color: #f59e0b;
}

/* Custom Amount Input */
#custom_amount {
    margin-top: 15px;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    width: 100%;
    max-width: 250px;
    transition: all 0.3s ease;
}

#custom_amount:focus {
    outline: none;
    border-color: var(--primary, #22c55e);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Donate Submit Button */
.donate-submit-btn {
    background: linear-gradient(135deg, var(--primary, #22c55e) 0%, var(--primary-dark, #16a34a) 100%);
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.4);
    width: 100%;
    padding: 14px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.donate-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, var(--primary-dark, #16a34a) 0%, #15803d 100%);
}

/* Payment Details */
.payment-details {
    margin-top: 20px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 3px solid var(--primary, #22c55e);
}

.payment-details .highlight-box {
    margin: 0;
    padding: 15px;
    background: white;
    border-radius: 8px;
}

.payment-details .highlight-box p {
    margin-bottom: 8px;
}

.payment-details .highlight-box p:last-child {
    margin-bottom: 0;
}

/* Donate Navigation Button */
.donate-nav-item {
    margin-left: 10px;
}

.donate-nav-btn {
    background: linear-gradient(135deg, var(--primary, #22c55e) 0%, var(--primary-dark, #16a34a) 100%);
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}

.donate-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, var(--primary-dark, #16a34a) 0%, #15803d 100%) !important;
    color: white !important;
}

.donate-nav-btn i {
    margin-right: 8px;
}

/* Form Row for Donation Form */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Responsive Donation Styles */
@media (max-width: 768px) {
    .form-toggle-buttons {
        flex-direction: column;
        gap: 12px;
        padding: 0;
    }
    
    .toggle-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .donation-amounts {
        gap: 10px;
        justify-content: center;
    }
    
    .amount-option {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .donate-submit-btn {
        padding: 12px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .donation-amounts {
        gap: 8px;
    }
    
    .amount-option {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .toggle-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .toggle-btn i {
        font-size: 16px;
    }
}

/* Mobile Navigation Donate Button */
@media (max-width: 992px) {
    .donate-nav-item {
        margin-left: 0;
        margin-top: 5px;
    }
    
    .donate-nav-btn {
        display: inline-block;
        text-align: center;
        width: auto;
        margin-top: 5px;
        padding: 10px 20px !important;
    }
}

/* Ensure contact form and donate form containers work properly */
#contactForm,
#donateForm {
    transition: all 0.3s ease;
}

/* Fix for contact form wrapper consistency */
.contact-form-wrapper {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 25px;
    }
}

/* Make sure donation form uses same styling as contact form */
.donate-form h3,
.contact-form h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.donate-form h3 i,
.contact-form h3 i {
    margin-right: 10px;
    color: var(--primary, #22c55e);
}

/* Style for payment method select */
#payment_method {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9fafb;
    cursor: pointer;
}

#payment_method:focus {
    outline: none;
    border-color: var(--primary, #22c55e);
    background: white;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Checkbox styling */
.donate-form input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    transform: scale(1.1);
    cursor: pointer;
}

.donate-form label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Animation for form switching */
#contactForm, #donateForm {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================================
   TEAM CAROUSEL STYLES
================================== */

.team-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0 20px;
}

.team-carousel {
    overflow: hidden;
    flex: 1;
}

.team-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.team-carousel .team-card {
    min-width: calc(33.333% - 20px);
    flex-shrink: 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.team-carousel .team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn i {
    font-size: 20px;
    color: white;
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    width: 25px;
    border-radius: 10px;
    background: var(--primary);
}

/* Team Card Image Fix */
#home-page .team-carousel .team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

#home-page .team-carousel .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .team-carousel .team-card {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .team-carousel-container {
        gap: 10px;
    }
    
    .team-carousel .team-card {
        min-width: calc(100% - 0px);
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-btn i {
        font-size: 16px;
    }
    
    .carousel-indicators {
        gap: 8px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .indicator.active {
        width: 20px;
    }
}
/* ==================================
ANIMATIONS
================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#home-page .hero-content,
#home-page .who-grid,
#home-page .work-grid,
#home-page .programs-grid,
#home-page .values-grid,
#home-page .team-grid {
  animation: fadeInUp 0.6s ease-out;
}

/* ==================================
ALL MEDIA QUERIES (CONSOLIDATED)
================================== */

/* Tablet and Mobile Navigation */
@media screen and (max-width: 992px) {
  .toggle-icons {
    display: block;
  }
  
  .nav-bar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    padding: 80px 20px 20px;
    transition: 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 999;
    display: block;
    justify-content: flex-start;
  }
  
  .nav-bar.active {
    right: 0;
  }
  
  .nav-bar ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  
  .nav-bar li {
    width: 100%;
  }
  
  .nav-bar a {
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
    white-space: normal;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: transparent;
    width: 100%;
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 500px;
  }
  
  .dropdown-menu li {
    width: 100%;
  }
  
  .dropdown-menu a {
    padding: 10px 15px;
    border-bottom: none;
    white-space: normal;
  }
  
  .dropdown-menu a:hover {
    background: #f3f4f6;
    padding-left: 20px;
  }
  
  /* Page Header */
  .page-header {
    height: 300px;
    margin-top: 80px;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  /* Content Sections */
  .content-section {
    padding: 60px 0;
  }
  
  .content-wrapper {
    gap: 40px;
  }
  
  .text-content h2 {
    font-size: 1.8rem;
  }
  
  /* Programs Page */
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .program-header h2 {
    font-size: 1.5rem;
  }
  
  .impact-stat .stat-number {
    font-size: 2.5rem;
  }
  
  .detailed-program h3 {
    font-size: 1.6rem;
  }
  /* Programs Introduction Section Styles */
.programs-intro-text {
    max-width: 900px;
    margin: 0 auto;
}

.programs-intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.programs-intro-text p:last-child {
    margin-bottom: 0;
}

.programs-intro-text strong {
    color: var(--primary, #22c55e);
    font-weight: 700;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(22, 163, 74, 0.05) 100%);
    border-left: 4px solid var(--primary, #22c55e);
    padding: 2rem 2rem 1.5rem 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    position: relative;
}

.highlight-box i {
    font-size: 2rem;
    color: var(--primary, #22c55e);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.highlight-box p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #1f2937;
    font-style: italic;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.highlight-box .author {
    font-size: 0.95rem;
    color: var(--primary, #22c55e);
    font-weight: 600;
    font-style: normal;
    padding-left: 2rem;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .programs-intro-text p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .highlight-box {
        padding: 1.5rem;
    }
    
    .highlight-box p {
        font-size: 1rem;
        padding-left: 0;
    }
    
    .highlight-box i {
        display: none;
    }
    
    .highlight-box .author {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .programs-intro-text p {
        font-size: 0.95rem;
    }
    
    .highlight-box {
        padding: 1.25rem;
    }
    
    .highlight-box p {
        font-size: 0.95rem;
    }
}
  
  /* Team Page */
  .team-member {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
    text-align: center;
  }
  
  .team-member.reverse {
    direction: ltr;
  }
  
  .team-bio {
    text-align: center;
    order: 2;
  }
  
  .team-photo {
    order: 1;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .team-divider {
    margin: 15px auto 20px;
  }
  
  .team-social {
    justify-content: center;
  }
  
  .section-heading {
    font-size: 28px;
  }
  
  .team-bio h3 {
    font-size: 24px;
  }
  
  .temp-roles {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  /* Contact Page */
  .contact-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-info {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Blog Page */
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
  }
  
  .section-heading {
    font-size: 32px;
  }
}

/* Tablet and Mobile - Hero Section */
@media (max-width: 1024px) {
  #home-page .hero-content {
    margin-left: 5%;
    max-width: 600px;
  }

  #home-page .hero-box {
    padding: 30px;
  }

  #home-page .hero-stats {
    gap: 20px;
  }
}

/* Mobile Devices */
@media screen and (max-width: 768px) {
  /* General */
  .section {
    padding: 50px 0;
  }
  
  .section-heading {
    font-size: 28px;
  }
  
  /* Page Header */
  .page-header {
    height: 250px;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .page-header p {
    font-size: 1rem;
  }
  
  /* Content Sections */
  .content-wrapper,
  .content-wrapper.reverse {
    flex-direction: column;
  }
  
  .text-content {
    order: 2;
  }
  
  .image-content {
    order: 1;
  }
  
  .text-content h2 {
    font-size: 1.6rem;
  }
  
  .text-content p {
    font-size: 1rem;
  }
  
  .highlight-box {
    padding: 20px;
  }
  
  .highlight-box p {
    font-size: 1rem;
  }
  
  /* Hero Section */
  #home-page .hero-content {
    margin-left: 0;
    text-align: center;
    max-width: 100%;
    padding: 80px 20px;
  }

  #home-page .hero-box {
    padding: 25px;
  }

  #home-page .title-line {
    font-size: 32px;
  }

  #home-page .title-sub {
    font-size: 18px;
  }

  #home-page .hero-description {
    font-size: 16px;
  }

  #home-page .hero-stats {
    justify-content: center;
    gap: 20px;
  }

  #home-page .stat-number {
    font-size: 24px;
  }

  #home-page .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  #home-page .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  #home-page .scroll-indicator {
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Home Page Specific */
  #home-page .who-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  #home-page .hero-stats {
    gap: 20px;
  }
  
  #home-page .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  #home-page .hero-cta .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  /* Programs Page */
  .program-content {
    padding: 20px;
  }
  
  .program-footer {
    padding: 15px 20px 20px;
  }
  
  .impact-stats {
    flex-direction: column;
    gap: 30px;
  }
  
  .cta-section h3 {
    font-size: 1.4rem;
  }
  
  /* Team Page */
  .team-page-section {
    padding: 60px 0;
  }
  
  .team-member {
    padding: 20px;
    margin-bottom: 40px;
  }
  
  .temporary-team {
    padding: 30px 20px;
  }
  
  .temporary-team h3 {
    font-size: 24px;
  }
  
  .temp-roles {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .role-card {
    padding: 20px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  /* Contact Page */
  .contact-page-section {
    padding: 60px 0;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: 25px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  /* Blog Page */
  .blog-section {
    padding: 60px 0;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .section-heading {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .newsletter-content {
    padding: 40px 25px;
  }
  
  .newsletter-content h3 {
    font-size: 24px;
  }
  
  .newsletter-form .form-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .newsletter-form button {
    width: 100%;
  }
  
  .pagination {
    gap: 10px;
  }
  
  .page-btn, .page-number {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  /* FAQ Section */
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-item {
    padding: 20px;
  }
  
  .faq-question h4 {
    font-size: 16px;
  }
  
  .faq-answer p {
    font-size: 14px;
    padding-left: 0;
  }
  
  .social-link {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .social-link i {
    font-size: 18px;
  }
  
  /* Impact Stats */
  .impact-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .impact-stat .stat-number {
    font-size: 36px;
  }
  
  /* CTA Section */
  .cta-content h2 {
    font-size: 28px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  /* Values Section */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .flip-card {
    height: 260px;
  }
  
  .flip-card-front i {
    font-size: 40px;
  }
  
  .flip-card-front h3 {
    font-size: 22px;
  }
  
  /* SDG Section */
  .sdgs-grid {
    grid-template-columns: 1fr;
  }
  
  .sdg-card {
    padding: 20px;
  }
  
  .sdg-icon-wrapper {
    width: 70px;
    height: 70px;
  }
  
  .sdg-content h3 {
    font-size: 18px;
  }
  
  .sdg-content p {
    font-size: 14px;
  }
  
  .support-statement {
    padding: 12px 24px;
  }
  
  .support-statement i {
    font-size: 20px;
  }
  
  .support-statement p {
    font-size: 14px;
  }
  
  /* Gallery */
  .image-gallery {
    gap: 20px;
  }
  
  .gallery-item {
    min-width: 100%;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  .two-images {
    gap: 20px;
  }
  
  .quote-box {
    padding: 25px;
  }
  
  .quote-box p {
    font-size: 1rem;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  /* Hero */
  #home-page .hero {
    min-height: 85vh;
  }

  #home-page .hero-box {
    padding: 20px;
    border-radius: 15px;
  }

  #home-page .title-line {
    font-size: 26px;
  }

  #home-page .title-sub {
    font-size: 16px;
  }

  #home-page .hero-description {
    font-size: 15px;
  }

  #home-page .hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  #home-page .stat-number {
    font-size: 22px;
  }
  
  /* Team Page */
  .team-bio h3 {
    font-size: 20px;
  }
  
  .team-title {
    font-size: 14px;
  }
  
  .team-description {
    font-size: 14px;
  }
  
  .role-card i {
    font-size: 32px;
  }
  
  /* Contact Page */
  .contact-form h3 {
    font-size: 20px;
  }
  
  .info-card {
    padding: 20px;
  }
  
  .social-links-large {
    gap: 12px;
  }
  
  .social-link {
    padding: 8px 16px;
  }
  
  /* Blog Page */
  .blog-meta {
    flex-direction: column;
    gap: 5px;
  }
  
  .blog-title {
    font-size: 18px;
  }
  
  .page-numbers {
    display: none;
  }
  
  .pagination {
    justify-content: space-between;
  }
  
  /* SDG Section */
  .sdg-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .sdg-icon-wrapper {
    margin-bottom: 15px;
  }
}

/* Mobile Responsive Styles */
@media screen and (max-width: 992px) {
  .toggle-icons {
    display: block;
    z-index: 1001;
  }
  
  .nav-bar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    padding: 80px 20px 20px;
    transition: 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
    display: block;
    overflow-y: auto;
  }
  
  .nav-bar.active {
    right: 0;
  }
  
  .nav-bar ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  
  .nav-bar li {
    width: 100%;
    position: relative;
  }
  
  .nav-bar a {
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
    white-space: normal;
  }
  
  /* Mobile Dropdown Styles */
.dropdown-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  padding-left: 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: transparent;
  width: 100%;
  display: block !important;
}

.dropdown.active .dropdown-menu {
  max-height: 500px;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  padding: 10px 15px;
  border-bottom: none;
}


/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* Fix for mobile overflow on index.php only */
@media (max-width: 768px) {
    #home-page .hero-content {
        padding: 120px 15px 60px !important;
        margin-left: 0 !important;
        max-width: 100% !important;
    }
}

/* ===== FIX FOR DETAILED PROGRAM SECTIONS ON MOBILE ONLY ===== */
@media (max-width: 768px) {
    .program-description {
        flex-direction: column !important;
        gap: 25px !important;
    }
    
    .description-text {
        width: 100% !important;
        flex: auto !important;
    }
    
    .description-highlights {
        width: 100% !important;
        flex: auto !important;
        padding: 20px !important;
    }
}
/* ===== FIX FOR PROGRAMS CARDS ON MOBILE ONLY ===== */
@media (max-width: 768px) {
    #home-page .programs-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    #home-page .program-card {
        width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
    }
    
    #home-page .program-card h3 {
        font-size: 1.5rem !important;
        padding-right: 0 !important;
    }
    
    #home-page .program-badge {
        position: relative !important;
        display: inline-block !important;
        margin-bottom: 15px !important;
        top: 0 !important;
        right: 0 !important;
    }
}