/* Core Styling & Standard Design System */
:root {
  --primary-blue: #153b6c;
  --secondary-blue: #1a4d8c;
  --accent-orange: #ee7002;
  --accent-green: #487e16;
  --light-gray: #f8f9fa;
  --text-dark: #333333;
  --text-muted: #555555;
  --font-main: "Stack Sans Headline", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
}

/* =========================================
   Base Typography Standards 
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

p {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* =========================================
   Standard Button Classes 
   ========================================= */
.btn-standard {
  display: inline-block;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 10px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
}

/* Green Button (Primary for this NGO) */
.btn-standard-green {
  background-color: var(--accent-green);
  color: #ffffff;
  border-color: var(--accent-green);
}
.btn-standard-green:hover {
  background-color: transparent;
  color: var(--accent-green);
}

/* Blue Button */
.btn-standard-blue {
  background-color: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
}
.btn-standard-blue:hover {
  background-color: transparent;
  color: var(--primary-blue);
}

/* Orange Button */
.btn-standard-orange {
  background-color: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
}
.btn-standard-orange:hover {
  background-color: transparent;
  color: var(--accent-orange);
}

/* Outline/White Button */
.btn-standard-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}
.btn-standard-outline:hover {
  background-color: var(--primary-blue);
  color: #ffffff;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader-content {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-logo {
  width: 80px;
  height: auto;
  z-index: 2;
  animation: pulseLogo 2s infinite ease-in-out;
}

.loader-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(21, 59, 108, 0.1);
  border-top-color: var(--accent-orange);
  border-bottom-color: var(--primary-blue);
  border-radius: 50%;
  animation: spinLoader 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  z-index: 1;
}

.loader-spinner::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 4px solid rgba(238, 112, 2, 0.1);
  border-left-color: var(--accent-green);
  border-radius: 50%;
  animation: spinLoader 2s linear infinite reverse;
}

@keyframes spinLoader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseLogo {
  0% { transform: scale(0.85); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0.8; }
}

.preloader-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
}
/* Topbar */
.topbar-custom {
  background-color: #1a0088;
  padding: 10px 40px;
}

.topbar-custom .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.topbar-contact {
  font-family: var(--font-main);
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-dot {
  width: 4px;
  height: 4px;
  background-color: #ffffff;
  border-radius: 50%;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
}

.topbar-lang-toggle {
  width: 60px;
  height: 20px;
  background: rgba(255, 255, 255, 0.56);
  border-radius: 20px;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.topbar-lang-toggle .toggle-thumb {
  position: absolute;
  width: 34px;
  height: 20px;
  left: 0;
  top: 0;
  background: #ffffff;
  border-radius: 20px;
  z-index: 1;
  transition: left 0.3s ease;
}

.topbar-lang-toggle .lang-text {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 8px;
  color: #000000;
  font-family: var(--font-main);
  font-weight: 400;
}

.topbar-lang-toggle .lang-text span.en {
  font-size: 9.6px;
  line-height: 11px;
  color: #1a0088;
  font-weight: 600;
}

.topbar-lang-toggle .lang-text span.hi {
  font-size: 11.2px;
  line-height: 12px;
  color: #000;
}

/* Navbar */
.navbar-nav .nav-link {
  /* color: #222222 !important; */
  font-weight: 400 !important;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s;
}

.navbar-nav .dropdown-toggle::after {
  display: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-green);
}

/* Remove blue background on submenu item click and change hover color */
.dropdown-item:hover, 
.dropdown-item:focus,
.dropdown-item:active,
.dropdown-item.active {
  background-color: transparent !important;
  color: var(--accent-green) !important;
}

.donate-btn {
  background-color: var(--accent-green);
  color: #ffffff;
  border-radius: 10px;
  padding: 12px 32px;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  border: 2px solid var(--accent-green);
  transition: all 0.3s ease;
  font-family: var(--font-main);
}

.donate-btn:hover {
  background-color: transparent;
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.btn-outline-light-custom {
  border: 2px solid white;
  color: white;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-light-custom:hover {
  background-color: white;
  color: var(--primary-blue);
}

.btn-primary-custom {
  background-color: var(--primary-blue);
  color: white;
  border: 2px solid var(--primary-blue);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  background-color: transparent;
  color: var(--primary-blue);
}

/* Hero Slider Section */
.hero-slider-section {
  position: relative;
  height: 800px; /* Matching Figma height roughly */
  max-height: 100vh;
  overflow: hidden;
}

.hero-slider-section .carousel,
.hero-slider-section .carousel-inner,
.hero-slider-section .carousel-item {
  height: 100%;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #1e1e1e 0%,
    rgba(30, 30, 30, 0.7) 40%,
    rgba(30, 30, 30, 0) 100%
  );
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 50px;
}

.hero-content-exact {
  max-width: 750px;
  font-family: var(--font-main);
}

.hero-label-exact {
  color: #f29c38;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 12px;
}

.hero-title-exact {
  color: #ffffff;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle-exact {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn-primary-exact {
  background-color: var(--accent-green);
  color: #ffffff;
  border-radius: 5px;
  padding: 12px 32px;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  border: 2px solid var(--accent-green);
  transition: all 0.3s ease;
  font-family: var(--font-main);
  text-decoration: none;
}

.btn-primary-exact:hover {
  background-color: white;
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.btn-white-exact {
  background-color: #ffffff;
  color: var(--accent-green);
  padding: 12px 32px;
  font-size: 14px;
  border: 2px solid #ffffff;
  border-radius: 10px;
  font-weight: 400;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-family: var(--font-main);
  text-decoration: none;
}

.btn-white-exact:hover {
  background-color: var(--accent-green);
  color: #ffffff;
  border-color: var(--accent-green);
}

.btn-black-exact {
  background-color: #000000;
  color: #ffffff;
  padding: 12px 32px;
  font-size: 14px;
  border: 2px solid #000000;
  border-radius: 10px;
  font-weight: 400;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-family: var(--font-main);
  text-decoration: none;
}

.btn-black-exact:hover {
  background-color: transparent;
  color: #000000;
  border-color: #000000;
}

/* Custom Indicators */
.custom-indicators {
  bottom: 30px;
  margin-bottom: 0;
  gap: 8px;
}

.custom-indicators button {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50%;
  background-color: #ffffff !important;
  opacity: 0.5 !important;
  border: none !important;
  padding: 0;
  margin: 0 !important;
  transition: all 0.3s ease;
}

.custom-indicators button.active {
  width: 24px !important;
  border-radius: 4px !important;
  opacity: 1 !important;
}

/* Quote Section */
.quote-section {
  padding: 60px 0;
  text-align: center;
}

.quote-text {
  font-size: 1.7rem;
  font-weight: 600;
  color: #1b3a8c;
  margin: 0 auto;
  max-width: 700px;
  text-align: center;
  font-family: var(--font-main);
  line-height: 30px;
}

.quote-icon {
  width: 48px;
  height: auto;
  opacity: 0.5;
  margin-bottom: 15px;
  vertical-align: middle;
}

/* About Section */
.about-section {
  background-color: #ffffff;
}

.about-subtitle {
  color: var(--accent-orange);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 15px;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 30px;
  font-family: var(--font-main);
}

.about-images-wrapper {
  position: relative;
  height: 480px;
  width: 100%;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 75%;
  object-fit: cover;
  border-radius: 8px;
  z-index: 1;
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  height: 70%;
  object-fit: cover;
  border-radius: 8px;
  z-index: 2;
  border: 10px solid #ffffff;
}

.about-badge {
  position: absolute;
  top: 15%;
  right: 15%;
  width: 120px;
  height: 120px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  z-index: 3;
  text-align: center;
  box-shadow: 0 10px 25px rgba(238, 112, 2, 0.3);
}

.about-badge .badge-number {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.about-badge .badge-text {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  margin-top: 4px;
}

/* Section Titles */
.section-subtitle {
  color: var(--accent-orange);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 40px;
}

/* Impact Section */
.impact-section {
  background: #f9f9f999;
}
.impact-subtitle {
  color: var(--accent-orange);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 15px;
}

.impact-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.15;
  font-family: var(--font-main);
}

.impact-header-desc {
  font-size: 0.95rem;
  color: #222;
  line-height: 1.6;
     font-family: var(--font-main);
}

.impact-img-wrapper {
  min-height: 440px;
}

.stat-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card-1 {
  border-top-left-radius: 4px;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 24px;
}

.stat-card-2 {
  border-top-left-radius: 24px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 4px;
}

.stat-card-3 {
  border-top-left-radius: 24px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 4px;
}

.stat-card-4 {
  border-top-left-radius: 4px;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 24px;
  justify-content: space-between;
}

.stat-card.green-bg {
  background-color: var(--accent-green);
  color: #ffffff;
  border: 1px solid var(--accent-green);
}

.stat-card.green-bg h3 {
    font-size: 2.9rem;
    font-weight: 300;
    margin-bottom: 10px;
    font-family: var(--font-main);
    color: #ffffff;
}

.stat-card.green-bg p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
  opacity: 0.95;
   font-family: var(--font-main);
   color: #ffffff;
}

.stat-card.white-bg {
  background-color: #ffffff;
  border: 1px solid var(--accent-green);
}

.stat-card.white-bg h3 {
    font-size: 2.9rem;
    font-weight: 300;
    margin-bottom: 10px;
    font-family: var(--font-main);
    color: var(--accent-green);
}

.stat-card.white-bg p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
  opacity: 1;
  font-family: var(--font-main);
  color: var(--accent-green);
}

.stat-card.white-bg .stat-desc-dark {
  font-size: 0.85rem;
  color: var(--accent-green);
  line-height: 1.6;
  font-family: var(--font-main);
}

.object-fit-cover {
  object-fit: cover;
}

/* What We Do Section */
.what-we-do-section {
  background-color: #ffffff;
  overflow: hidden;
}

.what-we-do-subtitle {
  color: var(--accent-orange);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.what-we-do-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-family: var(--font-main);
  
}

.what-we-do-desc {
  font-size: 0.95rem;
    color: #222;
    font-family: var(--font-main);
    line-height: 1.6;
}

.what-we-do-slider {
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-right: 40px;
}

.what-we-do-slider::-webkit-scrollbar {
  display: none;
}

.what-we-do-card {
  flex: 0 0 320px;
  height: 400px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.what-we-do-card .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.5s ease;
}

.what-we-do-card:hover .card-bg {
  transform: scale(1.05);
}

.what-we-do-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 2;
}

.what-we-do-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 25px;
  z-index: 3;
  color: #ffffff;
}

.what-we-do-card .card-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-main);
  color: #ffffff;
}

.what-we-do-card .card-content p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #e0e0e0;
 font-family: var(--font-main);
}

.what-we-do-card .card-link {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
      font-family: var(--font-main);
}

.what-we-do-card .card-link:hover {
  color: var(--accent-orange);
}

.slider-controls {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.founder-note-box {
  padding: 60px 40px;
  background-color: transparent;
  max-width: 900px;
  margin: 0 auto;
}

.slider-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  line-height: 1;
}

.slider-btn:hover {
  background-color: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
}

/* Featured Projects Section */
.featured-projects-section {
  background-color: #ffffff;
}

.project-card {
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #f5f5f5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.project-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.project-card:hover .project-img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.project-body {
  background-color: #ffffff;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
}

.project-body h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-family: var(--font-main);
}

.project-body p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
  font-family: var(--font-main);
}

.project-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.3s;
      font-family: var(--font-main);
}

.project-link:hover {
  color: var(--secondary-blue);
}

.project-card:hover .project-link {
  color: var(--accent-orange);
}

/* CSR Section */
.csr-section {
  background-color: #f9f9f9;
}

.csr-desc {
  font-size: 0.95rem;
  color: #222;
  font-family: var(--font-main);
  line-height: 1.6;
  max-width: 700px;
}

.csr-card {
  text-align: center;
  cursor: pointer;
}

.csr-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.csr-card:hover .csr-img {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.csr-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 15px;
  font-family: var(--font-main);
  transition: color 0.3s ease;
}

.csr-card:hover .csr-card-title {
  color: var(--accent-orange);
}

/* Founder Note Section */
.founder-note-section {
  background: #F9F9F999;

}

.founder-img-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #f0f0f0;
  background-image: 
    repeating-linear-gradient(45deg, #e5e5e5 25%, transparent 25%, transparent 75%, #e5e5e5 75%, #e5e5e5), 
    repeating-linear-gradient(45deg, #e5e5e5 25%, #f0f0f0 25%, #f0f0f0 75%, #e5e5e5 75%, #e5e5e5);
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
}

.founder-quote {
  font-size: 40px;
    font-weight: 500;
    color: #000000;
    line-height: 1.5;
    font-family: var(--font-main);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.founder-author strong {
      font-size: 1.5rem;
    color: #000000;
    font-family: var(--font-main);
    display: block;
    font-weight: 500;
}

.founder-author p {
  font-size: 1.2rem;
  color: #666;
  font-family: var(--font-main);
  margin-bottom: 0;
}

/* Footer Styles */
.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #b0a8e6;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
  font-family: var(--font-main);
}

.footer-links a:hover {
  color: #ffffff;
}

.social-links-footer a {
  transition: all 0.3s ease;
}

.social-links-footer a:hover {
  opacity: 0.8;
}

/* Pillar Cards */
.pillar-card {
  border: none;
  transition: transform 0.3s;
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-5px);
}

.pillar-img-wrapper {
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 15px;
}

.pillar-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  opacity: 80%;
  transition: transform 0.5s;
}

.pillar-card:hover .pillar-img {
  transform: scale(1.05);
}

.pillar-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.read-more {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.read-more:hover {
  color: var(--secondary-blue);
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: var(--primary-blue);
}

/* Timeline */
.timeline-container {
  position: relative;
  padding-left: 30px;
  border-left: 2px dashed #dee2e6;
  margin-top: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-year {
  position: absolute;
  left: -55px;
  top: 0;
  background-color: var(--accent-orange);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.85rem;
}

.timeline-content h5 {
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 5px;
}
.timeline-content p {
  font-size: 0.9rem;
  color: #555;
}

/* Gray Box for About Page */
.gray-box {
  background-color: #e9ecef;
  border-radius: 8px;
  height: 150px;
  margin-bottom: 15px;
}

/* Utilities */
.text-justify {
  text-align: justify;
}

/* Collaborations Slider */
.client-slider-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 20px 0;
}

.client-slider-track {
  display: flex;
  width: max-content;
  animation: scrollSlider 40s linear infinite;
}


.client-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  /* background-color: #fff; */
  border-radius: 50%;
  margin: 0 15px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); */
}

.client-logo img {
  max-width: 80%;
  max-height: 80%;
  vertical-align: middle;
  border-radius: 50%;
}

@keyframes scrollSlider {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Social Updates Section */
.social-updates-subtitle {
  color: var(--accent-orange);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-main);
}
.social-updates-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #111;
  font-family: var(--font-main);
}
.social-widget-img {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Pre-Footer CTA */
.pre-footer-cta-section {
  padding-top: 0px !important;
  padding-bottom: 80px !important;
}
.pre-footer-title {
  font-family: var(--font-main);
  font-size: 2.8rem;
  color: #111;
}
.pre-footer-desc {
  color: #222222 !important;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.6;
  font-family: var(--font-main);
}

/* Footer Specific Overrides */
.footer-custom {
  background-color: #1a0b82;
  color: #fff;
}
.footer-logo {
  max-height: 100px;
  filter: brightness(0) invert(1);
}
.footer-about-text {
  color: #b0a8e6;
  line-height: 1.6;
  font-size: 0.8rem;
  font-family: var(--font-main);
}
.footer-col-title {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #fff;
}
.footer-contact-icon {
  color: #b0a8e6;
  font-size: 1.8rem;
}
.footer-contact-label {
  color: #b0a8e6;
  font-size: 0.8rem;
  font-family: var(--font-main);
  text-transform: uppercase;
}
.footer-contact-link {
  font-size: 0.8rem;
}
.footer-follow-text {
  color: #fff;
  font-size: 0.75rem;
  margin-right: 15px;
  font-weight: 600;
}
.footer-social-fb {
  color: #1877f2;
  font-size: 1.2 rem;
}
.footer-social-li {
  color: #0a66c2;
  font-size: 1.2 rem;
}
.footer-social-ig {
  color: #e4405f;
  font-size: 1.2 rem;
}
.footer-social-yt {
  color: #ff0000;
  font-size: 1.2 rem;
}
.footer-divider {
  border-color: rgb(255 255 255);
}
.footer-copyright {
  color: #b0a8e6;
  font-size: 0.9rem;
  font-family: var(--font-main);
}
.footer-bottom-link {
  color: #b0a8e6;
  font-size: 0.9rem;
  font-family: var(--font-main);
}
.footer-terms-link {
  color: #b0a8e6;
  font-size: 0.9rem;
  margin-right: 20px;
  font-family: var(--font-main);
}

/* Index Page Specific Styles */
.hero-slide-1 {
  background-image: url("../img/slider01.webp");
}

.hero-slide-2 {
  background-image: url("../img/slider02.webp");
}

.hero-slide-3 {
  background-image: url("../img/slider03.webp");
}

.hero-slide-4 {
  background-image: url("../img/slider04.webp");
}

.impact-main-img {
  max-height: 480px;
  object-fit: contain;
}

.btn-impact-view {
  padding: 12px 10px;
  font-size: 11px;
}

.card-bg-women {
  background-image: url("../img/skill-development1.webp");
}

.card-bg-education {
  background-image: url("../img/education-quality.webp");
}

.card-bg-livelihood {
  background-image: url("../img/skill.webp");
}

.card-bg-innovation {
  background-image: url("../img/industry-innovation.jpg");
}

.featured-projects-title {
  line-height: 1.25;
}

.btn-learn-more {
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
}

.collaborations-section {
 background: #e8edf866;

}

.collab-title {
  margin-bottom: 20px;
}

.collab-desc {
  color: #222;
  font-family: var(--font-main);
  max-width: 750px;
  margin-bottom: 50px;
}

.testimonial-section {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
  background: #f9f9f999;
}

.testimonial-content {
  max-width: 800px;
}

.testimonial-control-btn {
  width: 5%;
}

.testimonial-control-icon {
  filter: invert(1) grayscale(100%);
  opacity: 0.2;
}

/* Language Toggle Active State & Google Translate Overrides */
.topbar-lang-toggle {
    transition: all 0.3s ease;
}
.topbar-lang-toggle.hi-active .toggle-thumb {
  left: 26px;
}
.topbar-lang-toggle.hi-active .lang-text span.en {
  color: #000;
  font-weight: 400;
}
.topbar-lang-toggle.hi-active .lang-text span.hi {
  color: #1a0088;
  font-weight: 600;
}

/* Hide Google Translate default UI */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}
body {
    top: 0px !important;
}
#goog-gt-tt, .goog-tooltip {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Micro-animations */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(72, 126, 22, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(72, 126, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(72, 126, 22, 0); }
}

.donate-btn {
  /* animation: pulseGlow 2s infinite; */
}

.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

/* Tablet and below (max-width: 991px) */
@media (max-width: 991px) {
  /* Global Typography */
  .section-title, .about-title, .impact-title, .what-we-do-title, .social-updates-title, .pre-footer-title {
    font-size: 2rem !important;
  }
  
  .quote-text {
    font-size: 1.35rem;
  }

  /* Hero Section */
  .hero-slider-section {
    height: 600px;
  }
  .hero-title-exact {
    font-size: 40px;
  }
  
  /* About Section */
  .about-images-wrapper {
    height: 380px;
    margin-bottom: 2rem;
  }
  
  /* Impact Section */
  .impact-img-wrapper {
    min-height: 350px;
  }
  
  /* Footer */
  .footer-custom {
    text-align: center;
  }
  .footer-col-title {
    margin-top: 1.5rem;
  }
  .footer-contact-icon {
    margin: 0 auto 0.5rem;
  }
  .footer-contact > .d-flex {
    flex-direction: column;
    align-items: center !important;
  }
  .social-links-footer {
    justify-content: center;
  }
  .footer-follow-text {
    display: block;
    margin-bottom: 10px;
    margin-right: 0;
  }
  .footer-custom .d-flex.align-items-center {
    flex-direction: column;
  }
}

/* Mobile and below (max-width: 768px) */
@media (max-width: 768px) {
  /* Global Typography */
  .section-title, .about-title, .impact-title, .what-we-do-title, .social-updates-title, .pre-footer-title {
    font-size: 1.55rem !important;
  }

.hero-container {
    
    padding-top: 0px;
}

   .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    /*text-align: center;*/
  }
       .footer-custom {
         text-align:left; 
    }
        .footer-contact > .d-flex {
        flex-direction: row;
        align-items: center !important;
    }
        .footer-contact-icon {
         margin: 0; 
    }
        .footer-custom .d-flex.align-items-center {
        flex-direction: row;
        gap: 20px;
    }
  .quote-text {
    font-size: 1.15rem;
  }
.testimonial-quote {
    font-size: 1.5rem;
   
}
.testimonial-author strong {
    font-size: 1.3rem;
   
}
  /* Section Spacing Adjustments */
  section.py-5 {
           padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
  }
  section .container.my-5,
  section .container-fluid.my-5 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  section .container.my-4,
  section .container-fluid.my-4 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

  /* Header & Navigation */
  .navbar-nav {
    padding: 1rem 0;
  }
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    text-align: left;
  }
  .donate-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }
  
  /* Hero Section */
  .hero-slider-section {
    height: 500px;
  }
  .hero-title-exact {
    font-size: 32px;
  }
  .hero-subtitle-exact {
    font-size: 14px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero-buttons .btn-primary-exact, 
  .hero-buttons .btn-white-exact {
    width: 85%;
    max-width: 260px;
    text-align: center;
  }
  
  /* About Section */
  .about-images-wrapper {
    height: 300px;
  }
  .about-badge {
    width: 80px;
    height: 80px;
  }
  .about-badge .badge-number {
    font-size: 20px;
  }
  .about-badge .badge-text {
    font-size: 9px;
  }
  
  /* Impact Section */
  .impact-img-wrapper {
    min-height: 250px;
  }
  .stat-card.green-bg h3 {
    font-size: 2rem;
  }
  .stat-card {
    padding: 16px;
  }
  
  /* What We Do Slider */
  .what-we-do-slider {
    padding-right: 15px;
  }
  .what-we-do-card {
    flex: 0 0 85vw;
    height: 400px;
  }
  .slider-controls {
    display: none !important;
  }
  
  /* Footer Layout specific for mobile */
  .footer-copyright {
    margin-bottom: 1rem;
    text-align: left !important;
  }
  .footer-bottom-link, .footer-terms-link {
    display: block;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  
  /* Awards Slider */
  .awards-slide {
    flex: 0 0 100vw !important;
    min-width: 100vw !important;
  }
}


/* === Header Inline Styles Extracted === */

.small-icon-addon {
    height: 12px;
    margin-left: 4px;
}

.topbar-socials {
    gap: 16px;
}

.navbar-logo {
    height: 40px;
}

.custom-nav-text {
    font-family: var(--font-main);
    font-size: 14px;
}

.nav-dropdown-icon {
    font-size: 10px;
    margin-left: 4px;
}

.donate-btn {
    font-family: var(--font-main);
    font-size: 14px;
    padding: 5px 28px;
    gap: 8px;
}

/* === About Us Page Styles === */
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
    gap: 20px;
}
@media (min-width: 768px) {
    .pillars-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pillar-main {
        grid-column: span 2;
    }
}
@media (min-width: 992px) {
    .pillars-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        grid-template-rows: 250px 250px;
    }
    .pillar-main {
        grid-column: span 1;
        grid-row: span 2;
    }
}
.timeline-sidebar {
    border-left: 2px solid #e0e0e0;
    padding-left: 20px !important;
}
.timeline-sidebar .nav-link {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
    background: transparent !important;
    padding: 0;
    font-size: 1rem;
    border: none;
    font-weight: bold;
}
.timeline-sidebar .nav-link::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.timeline-sidebar .nav-link.active {
    color: var(--accent-orange) !important;
    font-size: 1.25rem;
}
.timeline-sidebar .nav-link.active::before {
    background: var(--accent-orange);
}
.text-orange {
    color: var(--accent-orange) !important;
}
.bg-light-gray {
    background-color: #f8f9fa;
}

/* =========================================
   CTA Buttons (Added from Figma Design)
   ========================================= */

.btn-primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    padding: 10px 24px;
    background-color: #538827;
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-cta:hover {
    background-color: #ffffff;
    color: #538827;
    border-color: #538827;
}

.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    padding: 10px 24px;
    background-color: transparent;
    color: #538827;
    border: 1px solid transparent;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary-cta:hover {
    background-color: #538827;
    color: #ffffff;
    border-color: #538827;
}

.btn-donate-cta {
   display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    padding: 8px 15px;
    background-color: #538827;
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;

}

.donate-icon {
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-donate-cta:hover {
    background-color: #ffffff;
    color: #538827;
    border-color: #538827;
}

/* ==========================================================================
   EVA FOR CSR Page Styles
   ========================================================================== */

/* Hero Section */
.csr-hero-section {
    width: 100%;
    height: 350px;
    background-color: #000000;
    background-image: url('../img/csr-banner-real.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Intro Section */
.csr-intro-section .section-subtitle {
    color: var(--accent-orange);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-main);
}

.csr-intro-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-main);
}

.csr-intro-desc {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    font-family: var(--font-main);
}

/* SDG Cards Section */
.sdg-cards-section {
    background-color: #ffffff;
}

.sdg-row {
    margin-bottom: 60px;
}

.sdg-row:last-child {
    margin-bottom: 0;
}

.sdg-card-img-col {
    background-color: #e5e5e5;
    /* background-image: 
        repeating-linear-gradient(45deg, #ddd 25%, transparent 25%, transparent 75%, #ddd 75%, #ddd), 
        repeating-linear-gradient(45deg, #ddd 25%, #e5e5e5 25%, #e5e5e5 75%, #ddd 75%, #ddd);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px; */
    border-radius: 20px;
    /* min-height: 400px; */
    height: 100%;
}

.sdg-card-body {
    padding: 20px 40px;
}

.sdg-pill {
    display: inline-block;
    background-color: #e8f5e9;
    color: var(--accent-green);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
    font-family: var(--font-main);
}

.sdg-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-main);
}

.sdg-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    font-family: var(--font-main);
}

.btn-outline-sdg {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.btn-outline-sdg:hover {
    background-color: var(--accent-green);
    color: #ffffff;
}

/* CTA Section */
.csr-cta-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.csr-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    font-family: var(--font-main);
}

.csr-cta-desc {
    font-size: 1rem;
    color: #555;
    font-family: var(--font-main);
}

.btn-standard-green {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--accent-green);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-family: var(--font-main);
}

.btn-standard-green:hover {
    background-color: #426b1f; /* darker green */
    color: #ffffff;
}

.btn-standard-outline {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.btn-standard-outline:hover {
    background-color: var(--accent-green);
    color: #ffffff;
}

@media (max-width: 768px) {
    .sdg-card-body {
        padding: 25px;
    }
    .sdg-card-img-col {
        min-height: 200px;
    }
    .csr-intro-title {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   OUR IMPACT Page Styles
   ========================================================================== */

/* Impact Hero Section */
.impact-hero-section {
    min-height: 500px;
    background-color: #000000;
}

.impact-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); /* Dark overlay */
    z-index: 1;
}

/* By The Numbers Section */
.impact-stat-card {
    background-color: #fff;
    border: 1px solid #F0F0F0;
    border-radius: 24px;
    padding: 32px;
    height: 100%;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.impact-stat-card:hover {
    box-shadow: 0px 12px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.impact-stat-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.impact-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1;
    font-family: var(--font-main);
    letter-spacing: -1px;
}

.impact-stat-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0;
    font-family: var(--font-main);
    line-height: 1.25;
}

.impact-stat-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
    font-family: var(--font-main);
}

/* Stories Section */
.story-card {
    background: #ffffff;
    padding: 20px;
    height: 100%;
}

.story-img-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f0f0f0;
    border-radius: 12px;
  
}

.story-category {
    display: inline-block;
    color: var(--accent-orange);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    background: #fff4ed;
    border-radius: 4px;
    text-transform: uppercase;
}

.story-quote {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
    font-family: var(--font-main);
    font-style: italic;
}

.story-author strong {
    font-size: 0.9rem;
    display: block;
    color: var(--text-dark);
}

.story-author p {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0;
}

/* =========================================
   SDG Cards Section (EVA For CSR)
   ========================================= */


.sdg-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .sdg-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
} */

.sdg-card-body {
  padding: 40px;
}

@media (max-width: 767.98px) {
  .sdg-card-body {
    padding: 30px 20px;
  }
}

.sdg-pill {
  display: inline-block;
  background-color: #e6f4ea;
  color: var(--accent-green);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-family: var(--font-main);
}

.sdg-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-family: var(--font-main);
}

.sdg-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 25px;
  font-family: var(--font-main);
}



/* Impact Page SDG Row Cards */
.sdg-row {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.sdg-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sdg-card-img-col {
  height: 320px !important;
  width: 100% !important;
  object-fit: cover !important;
}

@media (max-width: 768px) {
  .sdg-card-img-col {
    height: 250px !important;
  }
}

/* =========================================
   Refactored Component Classes
   ========================================= */

/* Hero Banner generic background and overlay text */
.hero-impact-bg {
  background-size: cover;
  background-position: center;
  min-height: 80vh;
}
.hero-impact-overlay {
  background-color: rgba(0, 0, 0, 0.7);
}
.hero-intro-text {
  max-width: 800px;
  font-size: 1.1rem;
  color: #cccccc;
  line-height: 1.6;
}

/* Common Text Utilities */
.text-max-600 {
  max-width: 600px;
}
.text-max-800 {
  max-width: 800px;
}
.subtitle-orange {
  color: var(--accent-orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.title-dark-heading {
  color: var(--text-dark);
  font-size: 2.2rem;
  font-family: var(--font-heading);
}

/* Leaf Border Radiuses (Alternating Cards) */
.radius-leaf-left {
  border-radius: 4px 24px 4px 24px !important;
}
.radius-leaf-right {
  border-radius: 24px 4px 24px 4px !important;
}

/* Slider Navigation Buttons */
.btn-slider-nav {
  width: 45px;
  height: 45px;
  background-color: #ffffff;
  color: #555555;
  border: 1px solid #eeeeee;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  font-size: 1.2rem;
  z-index: 10;
  transform: translateY(-50%);
}
.btn-slider-nav-purple {
  width: 40px;
  height: 40px;
  background-color: #3F3268;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border-radius: 50%;
  z-index: 10;
}

/* Events Slide Card */
.event-slide-card {
  flex: 0 0 auto;
  width: 70%;
  background-color: transparent;
  color: #ffffff;
  border-radius: 4px;
  text-align: left;
  scroll-snap-align: center;
  display: flex;
  overflow: hidden;
}
.event-slide-text {
  flex: 1;
  padding: 4rem 3rem;
  background-color: var(--accent-orange);
}
.event-slide-img {
  flex: 1;
  background-color: #f0f0f0;
  position: relative;
}
.event-slide-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.btn-green-register {
  background-color: var(--accent-green);
  color: #ffffff;
  font-weight: 600;
  padding: 0.6rem 2rem;
  border-radius: 4px;
  border: none;
  text-decoration: none;
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}
.btn-green-register:hover {
  background-color: #357a38;
  color: #ffffff;
}

/* Action Slider (Women Empowerment) */
.action-slider {
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.action-slider::-webkit-scrollbar {
  display: none;
}
.action-card {
  flex: 0 0 auto;
  text-align: center;
  scroll-snap-align: start;
  width: 100%;
}
.action-card img {
  width: 100% !important;
  margin: 0 auto;
}

/* Media Queries for Refactored Components */
@media (min-width: 768px) {
  .action-card { width: calc((100% - 1.5rem) / 2); }
}
@media (min-width: 992px) {
  .action-card { width: calc((100% - 4.5rem) / 4); }
}
@media (max-width: 768px) {
  .event-slide-card { width: 90%; flex-direction: column; }
  .event-slide-text { padding: 2rem 1.5rem; }
  .event-slide-img { min-height: 250px; }
}

/* Additional Refactored Classes for Women Empowerment Page */
.sdg-pill-custom {
  background-color: rgba(67, 160, 71, 0.1);
  color: var(--accent-green);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
}

.stat-card-custom {
  background-color: var(--accent-green);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(67, 160, 71, 0.2);
}

.img-square-rounded {
  aspect-ratio: 1/1;
  border-radius: 12px;
}

.event-slide-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 95%;
}

/* =========================================
   Gallery Page Styles
   ========================================= */

.gallery-toggle-container {
  display: inline-flex;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 2rem;
}

.gallery-toggle-btn {
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #666666;
  text-decoration: none;
  border: none;
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-toggle-btn.active {
  background-color: var(--accent-green);
  color: #ffffff;
}

/* Masonry Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 15px;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Standard span sizes for masonry */
.gallery-item.span-2-row {
  grid-row: span 2;
}

.gallery-item.span-2-col {
  grid-column: span 2;
}

/* Responsive Grid */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }
  .gallery-item.span-2-col {
    grid-column: span 1;
  }
}

/* =========================================
   GLOBAL RESPONSIVENESS OVERRIDES
   ========================================= */
@media (max-width: 768px) {
  /* Typography Scaling */
  h1, .display-4, .display-1, .display-2, .display-3 {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }
  h2, .section-title {
    font-size: 1.8rem !important;
  }
  h3 {
    font-size: 1.5rem !important;
  }
  
  /* Padding / Margin adjustments for mobile (override Bootstrap py-5, my-5) */
  .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  .my-5 { margin-top: 2rem !important; margin-bottom: 2rem !important; }
  .py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
  .my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }

  /* Force elements with fixed widths or max-widths to fit screen */
  [style*="width: 800px"], [style*="width: 900px"], [style*="max-width: 800px"], [style*="max-width: 900px"], [style*="width: 700px"], [style*="max-width: 700px"], [style*="width: 500px"] {
    max-width: 100% !important;
    width: auto !important;
  }

  /* SDG / Impact cards specific fixes for mobile */
  .sdg-row {
    margin-bottom: 3rem !important;
  }
  .sdg-row .col-md-5, .sdg-row .col-md-6 {
    padding: 0 15px !important; /* Restore padding on mobile */
  }
  .sdg-card-img-col {
    margin-bottom: 1.5rem;
    min-height: 200px !important;
  }
  
  /* Client Slider */
  .client-logo {
    width: 80px;
    height: 80px;
    margin: 0 10px;
  }
}
