/* ==========================================================================
   Fakhr-e-Imdad Foundation — Stylesheet
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --color-green: #1a6b3c;
  --color-green-dark: #0f4527;
  --color-green-light: #e7f2ec;
  --color-gold: #e3a53a;
  --color-gold-dark: #c98a1e;
  --color-cream: #fdf3e5;
  --color-cream-light: #fffaf3;
  --color-white: #ffffff;
  --color-text: #201d1a;
  --color-text-muted: #5c564e;
  --color-border: #e9ddc9;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Mulish', 'Segoe UI', sans-serif;
  --font-script: 'Caveat', cursive;

  --container-width: 1300px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-card: 0 10px 30px rgba(26, 20, 10, 0.08);
  --transition: 0.25s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream-light);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  margin: 10px;
}

li{list-style: none;}

.section  ul li { list-style:disc; margin-left: 20px; padding-left: 10px; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}

.mt-3{margin-top: 30px;}
.mt-2{margin-top: 20px;}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 40px 0;
}

.section--tight {
  padding: 30px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 44px;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-heading .eyebrow {
  color: var(--color-gold-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 6px;
}

.text-script {
  font-family: var(--font-script);
  color: var(--color-gold);
  font-weight: 700;
  line-height: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 8px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-white);
}

.btn-gold:hover {
  background: var(--color-gold-dark);
  box-shadow: 0 10px 20px rgba(227, 165, 58, 0.35);
}

.btn-green {
  background: var(--color-green);
  color: var(--color-white);
}

.btn-green:hover {
  background: var(--color-green-dark);
  box-shadow: 0 10px 20px rgba(26, 107, 60, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-green);
  color: var(--color-green);
}

.btn-outline:hover {
  background: var(--color-green);
  color: var(--color-white);
}

.btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}



.gallery-header {
            padding: 30px 0 15px 0;
            border-bottom: 2px solid #e9ecef;
            margin-bottom: 30px;
        }

        .gallery-title {
            color: var(--primary-orange);
            font-weight: 700;
            font-size: 2.2rem;
            position: relative;
            display: inline-block;
        }

        .gallery-title::after {
            content: '';
            position: absolute;
            bottom: -17px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: var(--primary-orange);
        }

        .gallery-card {
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            overflow: hidden;
            background: #fff;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            height: 100%;
        }

        .gallery-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 18px rgba(0,0,0,0.15);
        }

        .gallery-img-wrapper {
            position: relative;
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background-color: #f0f0f0;
        }

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

        .gallery-card:hover .gallery-img {
            transform: scale(1.06);
        }

        .overlay-icon {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(243, 112, 33, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            color: #fff;
            font-size: 1.5rem;
        }

        .gallery-card:hover .overlay-icon {
            opacity: 1;
        }

       



/* ==========================================================================
   Header
   ========================================================================== */



/* 100% Full Width Hero Slider Wrapper */
        .hero-slider-section {
            position: relative;
            width: 100%;
            height: 520px;
            overflow: hidden;
            background-color: #111827;
        }

        @media (min-width: 768px) {
            .hero-slider-section {
                height: 580px;
            }
        }

        @media (min-width: 1200px) {
            .hero-slider-section {
                height: 540px;
            }
        }

        /* Slider Container */
        .slider-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
        }

        /* Individual Slide Item */
        .slide-item {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
            z-index: 1;
            border-top: solid 2px #1a6b3c;
            border-bottom: solid 2px #e59c1c;
        }

        .slide-item.active {
            opacity: 1;
            visibility: visible;
            z-index: 2;
        }

        /* Slide Background Image */
        .slide-bg {
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center right;
            background-repeat: no-repeat;
        }

        /* Gradient Overlay: Left White Overlay fading into Background Image */
        .slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 70%;
            height: 100%;
            background: linear-gradient(
                90deg, 
                #ffffff 0%, 
                #ffffff 38%, 
                rgba(255, 255, 255, 0.95) 45%, 
                rgba(255, 255, 255, 0.6) 55%, 
                rgba(255, 255, 255, 0.1) 70%, 
                rgba(255, 255, 255, 0) 100%
            );
            z-index: 2;
        }

        /* Content Container (Constrained & Responsive) */
        .slide-container {
            position: relative;
            z-index: 3;
            max-width: 1380px;
            height: 100%;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            align-items: center;
        }

        /* Text Content Box on Left */
        .slide-content {
            max-width: 540px;
            padding: 2rem 0;
            transform: translateX(-20px);
            opacity: 0;
            transition: transform 0.8s ease 0.2s, opacity 0.8s ease 0.2s;
        }

        .slide-item.active .slide-content {
            transform: translateX(0);
            opacity: 1;
        }

        /* Headings */
        .heading-green {
            color: #0b784a;
            font-size: 2.25rem;
            font-weight: 600;
            line-height: 1.1;
            letter-spacing: -0.02em;
            margin-bottom: 0.1rem;
        }

        .heading-script {
            font-family: 'Caveat', cursive;
            color: #e59c1c;
            font-size: 5rem;
            font-weight: 700;
            line-height: 0.95;
            letter-spacing: 0.01em;
            margin-bottom: 1.25rem;
            white-space: nowrap;
        }

        /* Subtitle Text */
        .slide-subtitle {
            font-size: 1.125rem;
            font-weight: 600;
            color: #0f172a;
            line-height: 1.45;
            margin-bottom: 2rem;
            max-width: 480px;
        }

        .btn-learn-more-small {
        display: inline-block;
        background-color: #f3b538;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        padding: 5px 15px;
        border-radius: 4px;
        text-decoration: none;
        box-shadow: 0 4px 14px rgba(243, 181, 56, 0.35);
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        margin: 10px 0;
        }


        /* Call To Action Button */
        .btn-learn-more {
            display: inline-block;
            background-color: #f3b538;
            color: #fff;
            font-size: 1.05rem;
            font-weight: 600;
            padding: 0.85rem 2.2rem;
            border-radius: 10px;
            text-decoration: none;
            box-shadow: 0 4px 14px rgba(243, 181, 56, 0.35);
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .btn-learn-more:hover {
            background-color: #e5a420;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(243, 181, 56, 0.45);
        }

        /* Custom Chevron Navigation Arrows */
        .slider-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
            width: 54px;
            height: 72px;
            background: rgba(0, 0, 0, 0.35);
            backdrop-filter: blur(4px);
            color: #ffffff;
            border: none;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.25rem;
            transition: all 0.3s ease;
        }

        .slider-nav-btn:hover {
            background: rgba(0, 0, 0, 0.65);
            color: #f3b538;
            transform: translateY(-50%) scale(1.05);
        }

        .slider-nav-btn.prev-btn {
            left: 2rem;
        }

        .slider-nav-btn.next-btn {
            right: 2rem;
        }

        /* Slider Indicators / Dots */
        .slider-dots {
            position: absolute;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            display: flex;
            gap: 10px;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.25);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .dot.active {
            background: #f3b538;
            width: 32px;
            border-radius: 20px;
        }

        /* Responsive Adaptations */
        @media (max-width: 1024px) {
            .heading-green {
                font-size: 2rem;
            }
            .heading-script {
                font-size: 4rem;
            }
            .slide-subtitle {
                font-size: 1rem;
            }
            .slide-overlay {
                background: linear-gradient(
                    90deg, 
                    #ffffff 0%, 
                    #ffffff 45%, 
                    rgba(255, 255, 255, 0.85) 65%, 
                    rgba(255, 255, 255, 0.2) 100%
                );
            }
        }

        @media (max-width: 768px) {
            .slide-overlay {
                background: linear-gradient(
                    180deg, 
                    rgba(255, 255, 255, 0.95) 0%, 
                    rgba(255, 255, 255, 0.9) 60%, 
                    rgba(255, 255, 255, 0.4) 100%
                );
            }

            .slide-bg {
                background-position: center top;
            }

            .slide-container {
                justify-content: center;
                text-align: center;
            }

            .slide-content {
                max-width: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .heading-green {
                font-size: 1.75rem;
            }

            .heading-script {
                font-size: 3.25rem;
                white-space: normal;
            }

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

            .slider-nav-btn {
                width: 44px;
                height: 56px;
                font-size: 1rem;
                border-radius: 12px;
            }

            .slider-nav-btn.prev-btn {
                left: 0.75rem;
            }

            .slider-nav-btn.next-btn {
                right: 0.75rem;
            }
        }




.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height:80px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-text);
  padding: 30px 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
  position: relative;
}

.nav-list > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.nav-list > li > a:hover,
.nav-list > li.active > a {
  color: var(--color-gold-dark);
}

.nav-list > li > a:hover::after,
.nav-list > li.active > a::after {
  width: 100%;
}

.nav-list > li.active > a {
  color: var(--color-gold-dark);
}

.chevron {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.has-dropdown:hover .chevron {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 50;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 6px;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.dropdown li a:hover {
  background: var(--color-green-light);
  color: var(--color-green-dark);
  padding-left: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.donate-btn {
  background: var(--color-green);
  color: var(--color-white);
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition), transform var(--transition);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 600;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--color-green-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero {
  position: relative;
  background: var(--color-cream);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.hero-slide-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  min-height: 620px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 24px 40px 0;
  position: relative;
  z-index: 3;
}

.hero-copy h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--color-green-dark);
}

.hero-copy .text-script {
  font-size: clamp(3rem, 6vw, 4.6rem);
  margin: 2px 0 18px;
}

.hero-copy p {
  max-width: 420px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-cream) 0%, rgba(253, 243, 229, 0) 22%);
  z-index: 2;
}

.hero-controls {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-arrow {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(15, 69, 39, 0.55);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  backdrop-filter: blur(2px);
  transition: background var(--transition);
}

.hero-arrow:hover {
  background: var(--color-gold);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(26, 107, 60, 0.3);
  transition: all var(--transition);
}

.hero-dot.is-active {
  background: var(--color-gold);
  width: 26px;
  border-radius: 6px;
}

/* ==========================================================================
   About section
   ========================================================================== */
.about-section {
  background: var(--color-cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.about-copy .eyebrow {
  color: var(--color-gold-dark);
  font-weight: 700;
  display: block;
  font-size: 20px;
}

.about-copy h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.about-copy .text-script {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  margin: 4px 0 16px;
}

.about-copy p {
  color: var(--color-text-muted);
  margin-bottom: 26px;
  max-width: 480px;
}

.trust-card {
  background: var(--color-green);
  border-radius: var(--radius-lg);
  padding: 20px 25px;
  color: var(--color-white);
  height: 100%;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 40px 0;
}

.trust-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.trust-item h4 {
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 500;
}

/* ==========================================================================
   Programs
   ========================================================================== */
.programs-section {
  background: var(--color-cream-light);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.program-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}

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

.program-thumb {
  position: relative;
}

.program-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-icon {
  position: absolute;
  left: 16px;
  bottom: -22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 3px solid var(--color-white);
}

.program-body {
  padding: 34px 20px 24px;
}

.program-body h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.program-body p {
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

/* ==========================================================================
   Donation banner
   ========================================================================== */
.donate-banner {
  background: var(--color-cream-light);
}

.donate-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 5px 40px;
}

.donate-quote {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  color: var(--color-text);
  line-height: 1.15;
  text-align: center;
}

.donate-figure {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.donate-figure .brush { 
}

.donate-figure img {
  position: relative;
  z-index: 2;
  max-width: 260px;
  margin-inline: auto;
}

.donate-text p {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--color-text);
}

/* ==========================================================================
   News & Events
   ========================================================================== */
.news-section {
  background: var(--color-cream-light);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.news-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}

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

.news-thumb {
  position: relative;
  aspect-ratio: 20 / 8;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-badges {
  position: absolute;
  left: 16px;
  bottom: -18px;
  display: flex;
  gap: 10px;
}

.badge {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-white);
}

.badge-gold {
  background: var(--color-gold);
}
.badge-dark {
  background: #000000;
}

.badge-green {
  background: var(--color-green);
}

.news-body {
  padding: 32px 20px 24px;
}

.news-body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.news-body p {
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-gold);
  color: var(--color-white);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-about .logo img {
  height: 110px;
}

.footer-about p {
  margin-top: 16px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 280px;
}

.footer-heading {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: var(--color-white);
}

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

.footer-links a {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.92);
  transition: color var(--transition), padding var(--transition);
}

.footer-links a:hover {
  color: var(--color-green-dark);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.92);
}

.footer-contact i {
  margin-top: 4px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom a {
  text-decoration: underline;
}

/* ==========================================================================
   Inner page hero (About / Services / Contact)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--color-green-dark), var(--color-green));
  color: var(--color-white);
  padding: 70px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 10px;
}

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a {
  color: var(--color-gold);
  font-weight: 600;
}

/* Generic content blocks reused across inner pages */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.content-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  width: 100%;
  object-fit: cover;
}

.card-icon-block {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform var(--transition);
}

.card-icon-block:hover {
  transform: translateY(-6px);
}

.card-icon-block .icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-green-light);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 18px;
}

.grid-7 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 26px;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.board-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: center;
  padding-bottom: 24px;
}

.board-card .avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: var(--color-green);
  margin-bottom: 18px;
}

.board-card h4 {
  margin-bottom: 4px;
}

.board-card span {
  color: var(--color-gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info-list li:last-child {
  border-bottom: none;
}

.contact-info-list .icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-green-light);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-cream-light);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-green);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 30px;
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* Stats strip */
.stats-strip {
  background: var(--color-green);
  color: var(--color-white);
  padding: 46px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
}

.stats-grid strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-gold);
}

.stats-grid span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}




 /* Custom image sharpening and transition polish */
        .portrait-img {
            image-rendering: -webkit-optimize-contrast;
            object-position: center 20%;
        }
        /* Top right corner accent line similar to the original image separators */
        .card-divider {
            position: relative;
            padding: 5px;
            margin: 0 auto;

        }

        .card-divider h3{
            padding: 5px;
            text-align: center;
            font-size: 16px;
            font-weight: 600;
            color: #0b784a;

        }
         .card-divider h4{
            text-align: center;
            font-size: 12px;
            font-style: italic;
            font-weight: normal;
            color: #636363;

        }
        @media (min-width: 1024px) {
            .card-divider:not(:nth-child(4n)):after {
                content: '';
                position: absolute;
                right: 0;
                top: 5%;
                bottom: 5%;
                width: 1px;
                background: linear-gradient(to bottom, transparent, #d1d5db, transparent);
            }
        }




/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .about-grid {
    grid-template-columns: 1fr 1.3fr;
  }
  .trust-card {
    grid-column: span 2;
  }
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85%);
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 26px 26px;
    gap: 4px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
    overflow-y: auto;
  }

  .nav-list.is-open {
    right: 0;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-list > li > a {
    width: 100%;
    padding: 14px 4px;
    justify-content: space-between;
  }

  .nav-list > li > a::after {
    display: none;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border: none;
    background: var(--color-cream-light);
    margin-bottom: 6px;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  .hero-slide-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding: 50px 0 30px;
    order: 1;
  }

  .hero-image {
    order: 2;
    min-height: 320px;
  }

  .hero-image::before {
    background: linear-gradient(180deg, var(--color-cream) 0%, rgba(253, 243, 229, 0) 30%);
  }

  .hero-slider {
    min-height: auto;
  }

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

  .trust-card {
    grid-column: auto;
  }

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

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

@media (max-width: 720px) {
  .section {
    padding: 56px 0;
  }
  .programs-grid,
  .news-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .donate-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 22px;
  }
  .donate-figure {
    order: -1;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .header-actions .donate-btn span {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 42px;
  }
  .hero-controls {
    right: 16px;
    bottom: 16px;
  }
  .hero-arrow {
    width: 44px;
    height: 44px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}


/* ---------- Contact form: validation, status, country search ---------- */
.contact-form .form-group input.has-error,
.contact-form .form-group textarea.has-error {
  border-color: #c0392b;
}

.field-error {
  color: #c0392b;
  font-size: 0.82rem;
  min-height: 0;
}

.field-error:empty {
  display: none;
}

.form-status {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-success {
  background: var(--color-green-light);
  border: 1px solid var(--color-green);
  color: var(--color-green-dark);
}

.form-status.is-error {
  background: #fdecea;
  border: 1px solid #c0392b;
  color: #8e281d;
}

.contact-form .btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-form [hidden] {
  display: none !important;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.country-select {
  position: relative;
}

.country-select input[type="text"] {
  width: 100%;
  padding-right: 38px;
}

.country-select input.has-error {
  border-color: #c0392b;
}

.country-select input:focus {
  outline: none;
  border-color: var(--color-green);
}

.country-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  pointer-events: none;
}

.country-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 240px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.country-list li {
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.93rem;
  cursor: pointer;
  list-style: none!important;
}

.country-list li:hover,
.country-list li.is-active {
  background: var(--color-green-light);
  color: var(--color-green-dark);
}

.country-list li.is-empty {
  color: var(--color-text-muted);
  cursor: default;
}
