/* ============================================================
   Leevin Community Health and Development Inc - Main Stylesheet
   Author: Custom Build | Bootstrap 5 + Vanilla CSS
   ============================================================ */

/* ===================== IMPORTS & VARIABLES =================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ========== CSS VARIABLES ========== */



/* ========== CSS VARIABLES ========== */
:root {
    --primary: #1a6b3c;
    --primary-dark: #134d2b;
    --primary-light: #2a8a52;
    --accent: #f5a623;
    --accent-dark: #d4891a;
    --white: #ffffff;
    --light-bg: #f4f9f6;
    --text-dark: #1e2d24;
    --text-mid: #4a6355;
    --text-light: #7a9885;
    --border: #d4e8db;
    --shadow-sm: 0 2px 12px rgba(26, 107, 60, 0.08);
    --shadow-md: 0 8px 32px rgba(26, 107, 60, 0.14);
    --shadow-lg: 0 20px 60px rgba(26, 107, 60, 0.18);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --font-heading: 'Roboto Slab', Georgia, serif;
    --font-body: 'Lato', sans-serif;
}

/* ========== GLOBAL ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    position: relative;
}

/* ========== TOP HEADER BAR ========== */
#top-bar {
    background: #61258f;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    padding: 7px 0;
    letter-spacing: 0.02em;
}

#top-bar a {
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
}

#top-bar a:hover {
    color: var(--accent);
}

#top-bar .contact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 20px;
}

#top-bar .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-left: 6px;
    transition: background var(--transition), color var(--transition);
}

#top-bar .social-icons a:hover {
    background: var(--accent);
    color: var(--white);
}

/* ========== MAIN HEADER ========== */
#main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding var(--transition), box-shadow var(--transition);
}

#main-header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(26, 107, 60, 0.3);
}

.logo-icon i {
    color: white;
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.logo-text .org-name {
    font-family: "Poppins", sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: #61258f;
    white-space: nowrap;
    line-height: 1.1;
}

.logo-text .org-tagline {
    font-size: 0.72rem;
    color: #134d2b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
}

/* Navigation */
#main-header .navbar-collapse {
    justify-content: center !important;
}

#main-header .navbar-nav {
    gap: 2px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark) !important;
    letter-spacing: 0.03em;
    padding: -1px 16px !important;
    position: relative;
    transition: color var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition);
    border-radius: 1px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #61258f;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    padding: 8px 0;
    margin-top: 0;
    transition: all var(--transition);
}

/* Multi-level Dropdown Submenus */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: 0;
    border-radius: var(--radius);
}

.dropdown-submenu > .dropdown-toggle::after {
    content: "\f054" !important; /* fa-chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    float: right;
    margin-top: 4px;
    font-size: 0.8rem;
    border: none;
}

@media (min-width: 992px) {
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
    }

    .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-submenu:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: block;
    }
}

.dropdown-item {
    font-size: 16px;
    padding: 8px 18px;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
}

.dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary);
    padding-left: 22px;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary) !important;
    color: var(--white) !important;
}

.btn-donate-nav {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff !important;
    border-radius: 50px !important;
    padding: 8px 22px !important;
    font-weight: 700 !important;
    font-size: 0.86rem !important;
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.4);
    transition: box-shadow var(--transition), transform var(--transition) !important;
}

.btn-donate-nav:hover {
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.55);
    transform: translateY(-1px);
    color: #fff !important;
 
    background: linear-gradient(135deg, #134d2b, var(--accent-dark));
}

.btn-donate-nav::after {
    display: none !important;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a6b3c' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a6b3c' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M7 7l16 16M23 7L7 23'/%3e%3c/svg%3e");
}

/* ========== HERO SLIDER ========== */
#hero {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 90vh;
    min-height: 680px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgb(19 77 43 / 56%) 0%, rgb(26 107 60 / 36%) 60%, transparent 100%);
}

.hero-slide-1 {
    background-image: url('../images/slider/slider2.jpg');
}

.hero-slide-2 {
    background-image: url('../images/slider/slider4.jpg');
}

.hero-slide-3 {
    background-image: url('../images/slider/slide3.jpg');
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-text {
    max-width: 640px;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 166, 35, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 18px;
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--accent);
    color: white;
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    box-shadow: 0 6px 22px rgba(245, 166, 35, 0.5);
    transition: transform var(--transition), box-shadow var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.6);
    color: white;
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: border-color var(--transition), background var(--transition);
}

.btn-hero-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
    backdrop-filter: blur(6px);
}

.hero-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.hero-arrow.prev {
    left: 24px;
}

.hero-arrow.next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}

.hero-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 4px;
}

/* ========== SECTION HEADINGS ========== */
.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding-bottom: 4px;
    margin-bottom: 10px;
    position: relative;
}

.section-label::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    /* background: var(--accent); */
    margin-top: 4px;
}

.section-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 700;
    color: #61258f;
    line-height: 1.25;
    margin-bottom: 14px;
}

.section-desc {
    font-size: 1.1rem;
    color: #000;
    line-height: 1.75;
    max-width: 640px;
}

.section-divider {
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 14px 0 22px;
}

/* ========== BUTTONS ========== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 11px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    box-shadow: 0 4px 16px rgba(26, 107, 60, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 107, 60, 0.4);
    color: white;
    background: #de921d;
}

.btn-outline-custom {
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background var(--transition), color var(--transition);
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: white;
}

.btn-accent-custom {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    padding: 13px 36px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    border: none;
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-accent-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.55);
    color: white;
}

/* ========== ABOUT SECTION ========== */
#about {
    padding: 96px 0;
    background: #f4f9f6;
}

.about-img-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.about-img-wrap img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.about-img-badge {
    position: absolute;
    bottom: 28px;
    left: -20px;
    background: var(--accent);
    color: white;
    padding: 18px 28px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.about-img-badge .num {
    font-family: "Poppins", sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.about-img-badge .lbl {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.about-content {
    padding-left: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 28px 0 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 10px;
    background: var(--light-bg);
    border-left: 3px solid var(--primary);
}

.about-feature .icon {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.about-feature .text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.about-feature .text span {
    font-size: 0.9rem;
    color: #000;
}

/* ========== PROGRAMS SECTION ========== */
#programs {
  padding: 96px 0;
  background: linear-gradient(rgba(51,14,80,0.8), rgba(168,85,247,0.8)),
              url('../images/about/program1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.program-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.program-card-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    display: block;
}

.program-card-body {
    padding: 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(26, 107, 60, 0.25);
}

.program-card-icon i {
    color: white;
    font-size: 1.15rem;
}

.program-card-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* ========== PROGRAMS SLIDER ========== */
.programs-slider {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

.programs-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.programs-item {
    min-width: calc(33.333% - 10px);
    margin-right: 15px;
    height: 100%;
}

.programs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 5;
    color: var(--primary);
    transition: background var(--transition), color var(--transition);
}

.programs-arrow:hover {
    background: var(--primary);
    color: white;
}

.programs-arrow.pprev {
    left: -18px;
}

.programs-arrow.pnext {
    right: -18px;
}

@media (max-width: 991px) {
    .programs-item {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .programs-item {
        min-width: calc(100% - 14px);
    }

    .programs-arrow.pprev {
        left: 4px;
    }

    .programs-arrow.pnext {
        right: 4px;
    }
    #top-bar {
        display: none;
    }
    .logo-text .org-name {
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #61258f;
    white-space: nowrap;
    line-height: 1.1;
}
}

.program-card-desc {
    font-size: 0.88rem;
    color: #000;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.program-card-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition), color var(--transition);
}

.program-card-link:hover {
    gap: 10px;
    color: #5b2689;
}

/* ========== HOW CAN YOU HELP ========== */
#help {
    padding: 96px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

#help::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.help-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: background var(--transition), transform var(--transition);
    height: 100%;
}

.help-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-6px);
}

.help-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.2);
    border: 2px solid rgba(245, 166, 35, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: background var(--transition);
}

.help-card:hover .help-card-icon {
    background: var(--accent);
}

.help-card-icon i {
    color: var(--accent);
    font-size: 1.8rem;
    transition: color var(--transition);
}

.help-card:hover .help-card-icon i {
    color: white;
}

.help-card-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.help-card,
.help-card-desc {
    color: #fff !important;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.btn-help {
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.86rem;
    transition: background var(--transition), color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-help:hover {
    background: var(--accent);
    color: white;
}

/* ========== NEWS & EVENTS ========== */
#news {
    padding: 96px 0;
    background: #f4f9f6;
}

.news-card {
    display: flex;
    gap: 24px;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    margin-bottom: 20px;
    transition: box-shadow var(--transition), transform var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.news-card-img {
    width: 120px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-date {
    font-size: 12px;
    color: #f5a623;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 6px;
}

.news-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.3;
    /* color: #000; */
}

.news-excerpt {
    font-size: 16px;
    /* color: #000; */
    line-height: 1.6;
    margin-bottom: 10px;
}

.news-link {
    color: #f5a623;
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-link:hover {
    color: var(--primary);
}

.featured-news-img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.featured-news-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.featured-news-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: white;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ========== GALLERY ========== */
#gallery {
  padding: 96px 0;
  background: linear-gradient(rgba(51,14,80,0.8), rgba(168,85,247,0.8)),
              url('../images/slider/slide2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.gallery-slider {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.gallery-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item {
    min-width: calc(33.333% - 10px);
    margin-right: 15px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(19, 77, 43, 0.7), transparent);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 1.3rem;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 5;
    color: var(--primary);
    transition: background var(--transition), color var(--transition);
}

.gallery-arrow:hover {
    background: var(--primary);
    color: white;
}

.gallery-arrow.gprev {
    left: -18px;
}

.gallery-arrow.gnext {
    right: -18px;
}

@media (max-width: 768px) {
    .gallery-item {
        min-width: calc(100% - 10px);
    }

    .gallery-arrow.gprev {
        left: 4px;
    }

    .gallery-arrow.gnext {
        right: 4px;
    }
}

/* ========== STATS / SUCCESS ========== */

#stats {
    padding: 80px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    border-right: 1px solid var(--border);
    position: relative;
}

.stat-card:last-child {
    border-right: none;
}

.stat-icon {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 12px;
}

.stat-num {
    font-family: "Poppins", sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-suffix {
    color: var(--accent);
}

.stat-label {
    font-size: 0.88rem;
    color: var(--text-mid);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card:nth-child(2) {
        border-right: none;
    }
}

/* Testimonial strip under stats */
#testimonials {
    padding: 60px 0 80px;
    background: var(--light-bg);
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--primary);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-mid);
    font-style: italic;
    margin-bottom: 18px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-role {
    font-size: 0.78rem;
    color: var(--text-light);
}

.stars {
    color: var(--accent);
    font-size: 0.8rem;
    margin-bottom: 12px;
}

/* ========== NEWSLETTER BANNER ========== */
#newsletter {
    padding: 72px 0;
    background: linear-gradient(135deg, #134d2b, #1a6b3c);
}

.newsletter-title {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.newsletter-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 240px;
    padding: 13px 20px;
    border-radius: 50px;
    border: none;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.18);
}

/* ========== FOOTER ========== */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 64px 0 0;
}

.footer-logo .org-name {
    color: white;
    font-size: 1.2rem;
}

.footer-logo .org-tagline {
    color: var(--accent);
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
    margin: 16px 0 22px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    margin-right: 8px;
    transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: white;
}

.footer-heading {
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent);
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    font-size: 0.9rem;
    transition: color var(--transition), padding-left var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-contact-item .icon {
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item .info {
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.6;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    margin-top: 48px;
    padding: 18px 0;
    text-align: center;
    font-size: .9rem;
    color: #fff;
}

/* Back to top */
#back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), background var(--transition), transform var(--transition);
}

#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

#back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .about-content {
        padding-left: 0;
        margin-top: 32px;
    }

    .about-img-badge {
        left: 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    #about,
    #programs,
    #help,
    #news,
    #gallery,
    #stats,
    #testimonials,
    #newsletter {
        padding: 64px 0;
    }

    .news-card {
        flex-direction: column;
    }

    .news-card-img {
        width: 100%;
        height: 160px;
    }
}

/* AOS overrides */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}
.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.bubbles span {
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    animation: animateBubbles 20s linear infinite;
    bottom: -150px;
}

/* Different sizes & positions */
.bubbles span:nth-child(1) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-duration: 15s;
}
.bubbles span:nth-child(2) {
    left: 25%;
    animation-duration: 18s;
}
.bubbles span:nth-child(3) {
    left: 40%;
    width: 30px;
    height: 30px;
    animation-duration: 12s;
}
.bubbles span:nth-child(4) {
    left: 60%;
    animation-duration: 20s;
}
.bubbles span:nth-child(5) {
    left: 75%;
    width: 25px;
    height: 25px;
    animation-duration: 17s;
}
.bubbles span:nth-child(6) {
    left: 85%;
    animation-duration: 14s;
}
.bubbles span:nth-child(7) {
    left: 50%;
    width: 35px;
    height: 35px;
    animation-duration: 22s;
}

/* Animation */
@keyframes animateBubbles {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-1000px) scale(1.2);
        opacity: 0;
    }
}
#programs .container {
    position: relative;
    z-index: 2;
}
.section-label-one {
    display: inline-block;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding-bottom: 4px;
    margin-bottom: 10px;
    position: relative;
}

.section-title-one {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 14px;
}
.btn-outline-custom-one {
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background var(--transition), color var(--transition);
    background-color: #fff;
}
.btn-outline-custom-one:hover {
    color: #fff;
    border: 2px solid var(--primary);
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background var(--transition), color var(--transition);
    background-color: var(--primary);
}
.featured-news-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.footer-bottom a{
    color: #f5a623;
}
.navbar .dropdown-toggle::after {
  display: none !important;
}
#footer {
  position: relative;
  overflow: hidden;
}

/* Bubble container */
.bubbles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* Each bubble */
.bubbles span {
  position: absolute;
  bottom: -50px;
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  animation: rise 10s linear infinite;
}

/* Random positions */
.bubbles span:nth-child(1) { left: 10%; animation-duration: 8s; }
.bubbles span:nth-child(2) { left: 20%; animation-duration: 12s; width:15px;height:15px;}
.bubbles span:nth-child(3) { left: 30%; animation-duration: 10s; }
.bubbles span:nth-child(4) { left: 40%; animation-duration: 14s; width:25px;height:25px;}
.bubbles span:nth-child(5) { left: 50%; animation-duration: 9s; }
.bubbles span:nth-child(6) { left: 60%; animation-duration: 11s; }
.bubbles span:nth-child(7) { left: 70%; animation-duration: 13s; width:18px;height:18px;}
.bubbles span:nth-child(8) { left: 80%; animation-duration: 7s; }
.bubbles span:nth-child(9) { left: 90%; animation-duration: 15s; width:22px;height:22px;}
.bubbles span:nth-child(10){ left: 95%; animation-duration: 10s; }

/* Animation */
@keyframes rise {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(-800px);
    opacity: 0;
  }
}
.bubbles span {
  position: absolute;
  bottom: -50px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  animation: rise 10s linear infinite;
}
/* Card Layout */
.news-card {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  padding: 15px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  align-items: stretch;
  transition: 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
}

/* Image */
.news-card-img {
  width: 220px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Content */
.news-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

/* Date */
/* .news-date {
  font-size: 13px;
  color: #888;
} */

/* Title */
.news-title {
  font-size: 18px;
  font-weight: 600;
  margin: 8px 0;
}

/* Description */
.news-excerpt {
  font-size: 14px;
  color: #555;
  flex-grow: 1;
}

/* Read More */
/* .news-link {
  margin-top: 10px;
  display: inline-block;
  font-weight: 500;
  color: #007bff;
  text-decoration: none;
}

.news-link:hover {
  color: #0056b3;
} */

/* Responsive */
@media (max-width: 768px) {
  .news-card {
    flex-direction: column;
  }

  .news-card-img {
    width: 100%;
    height: 200px;
  }
}

/* Page Banner / Breadcrumb Section styles */
.page-banner,
.inner-page-header {
    background-color: var(--primary) !important;
    background-image: linear-gradient(135deg, rgba(19, 77, 43, 0.8) 0%, rgba(26, 107, 60, 0.8) 100%), url('../images/slider/slider2.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    padding: 30px 0 !important;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.page-banner::before,
.inner-page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    z-index: -1;
}

.page-banner .sub-page-title,
.inner-page-header .page-title,
.inner-page-header h1 {
    color: var(--white) !important;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Breadcrumb Styles */
.page-banner .breadcrumb-item a,
.inner-page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    transition: color var(--transition);
}

.page-banner .breadcrumb-item a:hover,
.inner-page-header .breadcrumb-item a:hover {
    color: var(--accent) !important;
}

.page-banner .breadcrumb-item.active,
.inner-page-header .breadcrumb-item.active,
.inner-page-header .breadcrumb-item {
    color: var(--white) !important;
    opacity: 0.9;
}

.page-banner .breadcrumb-item + .breadcrumb-item::before,
.inner-page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5) !important;
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: var(--bs-navbar-nav-link-padding-x);
        padding-left: 0px;
    }
}
.post-title{
    font-size: 26px;
    color: #61258f;
    margin-top: -25px;
}
.btn-secondary-custom{
    background: #1a6b3c;
    color: #fff;
}
.btn-secondary-custom:hover{
    background: #61258f;
    color: #fff;
}
.post-text{
    color: #000;
}
.subpage h2{
    font-size: 26px;
    color: #61258f;
}
.news-meta-item{
    margin-top: -25px;
    margin-bottom: 30px;
}
.f-color{
    color: var(--accent);
}