/* ============================================================
   MITRA Foundation â€” Main Stylesheet
   Mission of Integrated Training on Rural and Agriculture Development
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES / DESIGN TOKENS
   ============================================================ */
:root {
    --primary: #4A7C59;
    --primary-dark: #365C42;
    --primary-light: #EBF2ED;
    --secondary: #A8446A;
    --secondary-dark: #863553;
    --secondary-light: #F5EAF0;
    --bg: #F7F9F8;
    --white: #FFFFFF;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #F4F6F5;
    --border: #DDE6E0;
    --shadow-sm: 0 2px 12px rgba(74, 124, 89, 0.08);
    --shadow-md: 0 8px 32px rgba(74, 124, 89, 0.12);
    --shadow-lg: 0 16px 48px rgba(74, 124, 89, 0.16);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 2rem;
    --transition: all 0.3s ease;
    --font-main: "Inter", system-ui, -apple-system, sans-serif;

    /* Bootstrap 5 Theme Overrides */
    --bs-primary: #4A7C59;
    --bs-primary-rgb: 74, 124, 89;
    --bs-secondary: #A8446A;
    --bs-secondary-rgb: 168, 68, 106;
    --bs-link-color: #4A7C59;
    --bs-link-hover-color: #365C42;
    --bs-dropdown-link-active-bg: #4A7C59;
    --bs-dropdown-link-active-color: #FFFFFF;
    --bs-dropdown-link-hover-bg: #EBF2ED;
    --bs-dropdown-link-hover-color: #4A7C59;
}

/* ============================================================
   2. GLOBAL RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--dark);
    line-height: 1.75;
    font-size: 1rem;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--gray);
    line-height: 1.85;
    margin-bottom: 1rem;
}

/* ============================================================
   4. UTILITY CLASSES
   ============================================================ */
.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.bg-light-custom {
    background-color: var(--light-gray);
}

.section-title {
    margin-bottom: 3.5rem;
}

.section-title .label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title h2 span {
    color: var(--primary);
}

.section-title p {
    font-size: 1.05rem;
    max-width: 580px;
    color: var(--gray);
    margin: 0 auto;
}

.section-title.text-start p {
    margin: 0;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 50px;
    margin: 0.75rem auto 0;
}

.section-title.text-start .title-underline {
    margin: 0.75rem 0 0;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-primary-custom:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(3, 125, 26, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), #013d0d);
}

.btn-secondary-custom {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-secondary-custom:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(206, 2, 97, 0.4);
    background: linear-gradient(135deg, var(--secondary-dark), #800040);
}

.btn-outline-primary-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-primary-custom:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(3, 125, 26, 0.3);
}

.btn-outline-white-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* ============================================================
   6. NAVBAR / HEADER
   ============================================================ */
#mainNavbar {
    background: #FFFFFF !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
    transition: all 0.35s ease;
    z-index: 1050;
}

#mainNavbar.scrolled {
    padding: 0.4rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.site-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.navbar-nav .nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 0.85rem !important;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 50px;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 1.7rem);
}

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

.navbar-nav .dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    margin-top: 0.5rem;
    min-width: 220px;
    animation: dropdownFadeIn 0.25s ease;
}

.navbar-nav .dropdown-item {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark);
    padding: 0.55rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
    padding-left: 1.3rem;
}

.navbar-nav .dropdown-item.active,
.navbar-nav .dropdown-item:active {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.navbar-nav .dropdown-item.active i,
.navbar-nav .dropdown-item:active i {
    color: var(--white) !important;
}

.navbar-nav .dropdown-item i {
    color: var(--primary);
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 780px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    border: none;
    z-index: 1000;
    animation: dropdownFadeIn 0.25s ease;
}

.mega-menu .mega-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.mega-menu-item:hover {
    background: var(--primary-light);
}

.mega-menu-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.mega-menu-item:hover .mega-menu-icon {
    background: var(--primary);
    color: var(--white);
}

.mega-menu-item .item-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.15rem;
    transition: var(--transition);
}

.mega-menu-item:hover .item-title {
    color: var(--primary);
}

.mega-menu-item .item-desc {
    font-size: 0.75rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.4;
}

.btn-donate {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: white !important;
    padding: 0.85rem 1.25rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: var(--transition) !important;
}

.btn-donate:hover {
    transform: translateY(-1px);
    color: white !important;
    background: linear-gradient(135deg, var(--primary-dark), #028a47) !important;
}

.btn-donate::after {
    display: none !important;
}

.btn-donate.active,
.btn-donate:active {
    background: linear-gradient(135deg, var(--primary-dark), #028a47) !important;
    color: white !important;
    box-shadow: 0 0 0 3px rgba(3, 125, 26, 0.3) !important;
    transform: translateY(-1px);
}

.navbar-toggler {
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 0.3rem 0.6rem;
}

.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='%23037D1A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   7. HERO BANNER SLIDER
   ============================================================ */
#heroCarousel {
    margin-top: 72px;
}

.hero-slide {
    position: relative;
    height: calc(100vh - 72px);
    min-height: 580px;
    overflow: hidden;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3, 60, 14, 0.82) 0%, rgba(3, 125, 26, 0.55) 50%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 680px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero-content h1 .highlight {
    color: #7ddc8e;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 540px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    opacity: 1;
    transition: var(--transition);
}

.carousel-control-prev {
    left: 1.5rem;
}

.carousel-control-next {
    right: 1.5rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.carousel-indicators {
    margin-bottom: 7rem;
}

.carousel-indicators [data-bs-target] {
    width: 32px;
    height: 4px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    opacity: 1;
    margin: 0 4px;
    transition: all 0.4s ease;
}

.carousel-indicators .active {
    width: 56px;
    background: var(--white);
}

.carousel-item.active .hero-label {
    animation: slideUpFade 0.7s ease 0.1s both;
}

.carousel-item.active .hero-content h1 {
    animation: slideUpFade 0.7s ease 0.25s both;
}

.carousel-item.active .hero-content p {
    animation: slideUpFade 0.7s ease 0.4s both;
}

.carousel-item.active .hero-actions {
    animation: slideUpFade 0.7s ease 0.55s both;
}

.hero-stats-bar {
    background: rgba(3, 125, 26, 0.92);
    backdrop-filter: blur(16px);
    padding: 1.25rem 0;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-item:last-child {
    border-right: none;
}

.hero-stat-item .stat-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-stat-item .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.hero-stat-item .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* ============================================================
   8. ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 0.6rem 0;
    overflow: hidden;
}

.announcement-bar .bar-label {
    background: var(--secondary);
    padding: 0.2rem 1rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    flex-shrink: 0;
    white-space: nowrap;
}

.marquee-wrapper {
    overflow: hidden;
    flex: 1;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0 2.5rem;
}

.marquee-item i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

/* ============================================================
   9. IMPACT COUNTER SECTION
   ============================================================ */
.counter-section {
    background: linear-gradient(135deg, #F4F6F5 0%, #e2e4e3 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.counter-section::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.counter-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.counter-card:hover {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    transform: translateY(-6px);
    border-color: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.counter-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.counter-card:hover .counter-icon {
    background: var(--primary);
    transform: rotate(-5deg);
}

.counter-number {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.counter-suffix {
    font-size: 1.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.counter-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin-top: 0.5rem;
    letter-spacing: 0.03em;
}

/* ============================================================
   10. ABOUT SECTION
   ============================================================ */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-image-wrapper {
    position: relative;
    padding: 1.5rem;
}

.about-img-main {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 520px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.about-img-secondary {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 200px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.about-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-badge .badge-year {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    display: block;
}

.about-badge .badge-text {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
    line-height: 1.3;
    display: block;
}

.about-content {
    padding: 1rem 0 1rem 2rem;
}

.about-feature-list {
    margin: 1.75rem 0;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon-sm {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature-item h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.about-feature-item p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

/* ============================================================
   11. PROGRAMS SECTION
   ============================================================ */
.programs-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.program-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.program-icon {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

.program-icon.green {
    background: #EBF2ED;
    color: #4A7C59;
}

.program-icon.pink {
    background: #F5EAF0;
    color: #A8446A;
}

.program-icon.blue {
    background: #e3f0fd;
    color: #0d6efd;
}

.program-icon.orange {
    background: #fff3e0;
    color: #e65100;
}

.program-icon.purple {
    background: #f3e5f5;
    color: #7b1fa2;
}

.program-icon.teal {
    background: #e0f7fa;
    color: #006064;
}

.program-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.program-card p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.program-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.program-link i {
    transition: transform 0.3s ease;
}

.program-link:hover {
    color: var(--secondary);
}

.program-link:hover i {
    transform: translateX(4px);
}

/* ============================================================
   12. OUR REACH SECTION
   ============================================================ */
.reach-section {
    padding: 100px 0;
    background: var(--white);
}

.reach-map-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.reach-map-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.reach-map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(3, 60, 14, 0.75) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.reach-map-overlay h2 {
    color: white;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.reach-map-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.reach-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 320px;
}

.reach-stat-box {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1rem;
    backdrop-filter: blur(8px);
    text-align: center;
    transition: var(--transition);
}

.reach-stat-box:hover {
    background: rgba(255, 255, 255, 0.2);
}

.reach-stat-box .r-value {
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.reach-stat-box .r-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

/* ============================================================
   13. FEATURED PROJECTS
   ============================================================ */
.projects-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

.project-card:hover .project-card-img img {
    transform: scale(1.08);
}

.project-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.badge-agri {
    background: #EBF2ED;
    color: #4A7C59;
}

.badge-women {
    background: #F5EAF0;
    color: #A8446A;
}

.badge-water {
    background: #e3f0fd;
    color: #0d6efd;
}

.badge-skill {
    background: #fff3e0;
    color: #e65100;
}

.badge-edu {
    background: #f3e5f5;
    color: #7b1fa2;
}

.badge-liveli {
    background: #e0f7fa;
    color: #006064;
}

.project-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card-body h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.6rem;
    transition: var(--transition);
}

.project-card:hover .project-card-body h5 {
    color: var(--primary);
}

.project-card-body p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.65;
    flex: 1;
}

.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border);
}

.project-location {
    font-size: 0.78rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.project-location i {
    color: var(--primary);
}

.project-read-more {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

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

.project-read-more i {
    transition: transform 0.3s;
}

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

/* ============================================================
   14. TESTIMONIALS
   ============================================================ */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-section .section-title .label {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonials-section .section-title h2 {
    color: white;
}

.testimonials-section .section-title h2 span {
    color: #7ddc8e;
}

.testimonials-section .section-title p {
    color: rgba(255, 255, 255, 0.75);
}

.testimonials-section .title-underline {
    background: rgba(255, 255, 255, 0.4);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.quote-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    margin-bottom: 1.25rem;
    display: block;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.97rem;
    line-height: 1.85;
    margin-bottom: 1.75rem;
    font-style: italic;
}

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

.testimonial-author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-author .author-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.15rem;
}

.testimonial-author .author-location {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

#testimonialCarousel .carousel-indicators {
    position: static;
    margin-top: 2.5rem;
}

#testimonialCarousel .carousel-indicators [data-bs-target] {
    background: rgba(255, 255, 255, 0.4);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

#testimonialCarousel .carousel-indicators .active {
    background: white;
    width: 24px;
    border-radius: 50px;
}

/* ============================================================
   15. PARTNERS SECTION
   ============================================================ */
.partners-section {
    padding: 80px 0;
    background: var(--white);
}

.partner-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: var(--transition);
    height: 100px;
    cursor: pointer;
}

.partner-logo-card .partner-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #999;
    text-align: center;
    transition: var(--transition);
    line-height: 1.3;
}

.partner-logo-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.partner-logo-card:hover .partner-text {
    color: var(--primary);
}

/* ============================================================
   16. NEWS SECTION
   ============================================================ */
.news-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.news-card-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

.news-card:hover .news-card-img img {
    transform: scale(1.07);
}

.news-date-badge {
    position: absolute;
    bottom: 0;
    left: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    text-align: center;
    min-width: 50px;
}

.news-date-badge .day {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.news-date-badge .month {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-cat-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-card-body h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.6rem;
    line-height: 1.45;
    transition: var(--transition);
}

.news-card:hover .news-card-body h5 {
    color: var(--primary);
}

.news-card-body p {
    font-size: 0.85rem;
    color: var(--gray);
    flex: 1;
    line-height: 1.65;
}

.news-read-more {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1rem;
}

.news-read-more i {
    transition: transform 0.3s;
}

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

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

/* ============================================================
   17. CSR CTA BANNER
   ============================================================ */
.csr-banner {
    padding: 90px 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a3650 50%, #0d2035 100%);
    position: relative;
    overflow: hidden;
}

.csr-banner::before {
    content: "";
    position: absolute;
    top: -200px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(3, 125, 26, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.csr-banner::after {
    content: "";
    position: absolute;
    bottom: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(206, 2, 97, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.csr-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.csr-banner .label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.csr-banner h2 {
    color: white;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.csr-banner h2 span {
    color: #7ddc8e;
}

.csr-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

.csr-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.csr-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
}

.csr-feature-item i {
    color: #7ddc8e;
    font-size: 1rem;
}

.csr-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================================
   18. NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
    padding: 70px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.newsletter-wrapper {
    background: var(--light-gray);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-wrapper h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.newsletter-wrapper p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 0.97rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 520px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
    background: var(--white);
    color: var(--dark);
}

.newsletter-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(3, 125, 26, 0.1);
}

.newsletter-form input::placeholder {
    color: #aaa;
}

/* ============================================================
   19. FOOTER
   ============================================================ */
.site-footer {
    background: linear-gradient(180deg, #0d1a10 0%, #0a1308 100%);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 0;
}

.footer-brand-icon {
    width: 46px;
    height: 46px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.footer-brand-text .name {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
}

.footer-brand-text .tagline-short {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-brand p {
    font-size: 0.87rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.6rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.footer-links a i {
    font-size: 0.65rem;
    color: var(--primary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-links a:hover i {
    color: var(--secondary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-item i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact-item span,
.footer-contact-item a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.footer-contact-item a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-left {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-right {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-bottom-right a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    transition: var(--transition);
}

.footer-bottom-right a:hover {
    color: white;
}

/* ============================================================
   20. BACK-TO-TOP BUTTON
   ============================================================ */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(3, 125, 26, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(3, 125, 26, 0.5);
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

/* ============================================================
   21. SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

/* ============================================================
   22. KEYFRAMES & ANIMATIONS
   ============================================================ */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ============================================================
   23. RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 991.98px) {
    .hero-slide {
        height: 85vh;
        min-height: 480px;
    }

    .hero-stats-bar {
        display: none;
    }

    #heroCarousel {
        margin-top: 68px;
    }

    .mega-menu {
        width: 100%;
        position: static;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 1rem;
    }

    .about-content {
        padding: 2rem 0 0;
    }

    .about-img-secondary {
        display: none;
    }

    .reach-map-overlay {
        position: static;
        background: var(--primary);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .reach-map-wrapper img {
        height: 300px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form .btn-primary-custom {
        width: 100%;
        justify-content: center;
        border-radius: var(--radius-md) !important;
    }

    .footer-bottom-right {
        justify-content: flex-start;
        margin-top: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.65rem;
    }

    .hero-slide {
        height: auto;
        min-height: 90vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .counter-number {
        font-size: 2.25rem;
    }

    .newsletter-wrapper {
        padding: 2rem 1.5rem;
    }

    .csr-features {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .reach-stat-grid {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
        justify-content: center;
    }

    .csr-actions {
        flex-direction: column;
        align-items: center;
    }

    .csr-actions a {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom-right {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}

/* ============================================================
   ABOUT PAGE â€” NEW STYLES (Appended)
   ============================================================ */

/* ============================================================
   A1. PAGE HERO BANNER
   ============================================================ */
.page-hero {
    position: relative;
    padding: 140px 0 60px;
    overflow: hidden;
    background: linear-gradient(135deg, #2A4A35 0%, var(--primary) 55%, #365C42 100%);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(206, 2, 97, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

/* Subtle grid pattern */
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Breadcrumb */
.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.page-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.page-breadcrumb .breadcrumb-item a:hover {
    color: white;
}

.page-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.page-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: "\F285";
    font-family: "bootstrap-icons";
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
}

.page-hero-title {
    color: white;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.page-hero-title span {
    color: #7ddc8e;
}

.page-hero-subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    max-width: 580px;
    line-height: 1.75;
    margin-bottom: 0;
}

/* Stats panel on hero right */
.page-hero-stats-panel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.hero-mini-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hms-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hms-val {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.hms-lbl {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

/* ============================================================
   A2. FOUNDATION INTRODUCTION
   ============================================================ */
.intro-image-grid {
    position: relative;
}

.intro-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
}

.intro-img-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.intro-img-sm img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.intro-floating-card {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
    font-size: 1.5rem;
    z-index: 2;
}

.ifc-val {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

.ifc-lbl {
    font-size: 0.7rem;
    opacity: 0.8;
}

.intro-highlight-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.intro-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--dark);
    font-weight: 500;
}

.intro-highlight i {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ============================================================
   A3. HISTORY SECTION
   ============================================================ */
.history-image-wrapper {
    position: relative;
}

.history-main-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.history-year-badge {
    position: absolute;
    bottom: 1.5rem;
    right: -1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.hyb-year {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    display: block;
}

.hyb-text {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
    line-height: 1.4;
    display: block;
}

.history-para {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    align-items: flex-start;
}

.history-para-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.history-para h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.history-para p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   A4. VISION & MISSION CARDS
   ============================================================ */
.vm-card {
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

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

.vm-vision {
    background: linear-gradient(145deg, #f0faf2, #e3f5e7);
    border: 2px solid rgba(3, 125, 26, 0.15);
}

.vm-mission {
    background: linear-gradient(145deg, #fdf0f7, #F5EAF0);
    border: 2px solid rgba(206, 2, 97, 0.15);
}

.vm-icon-wrap {
    margin-bottom: 1.5rem;
}

.vm-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(3, 125, 26, 0.3);
}

.mission-icon {
    background: var(--secondary);
    box-shadow: 0 8px 24px rgba(206, 2, 97, 0.3);
}

.vm-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.mission-label {
    color: var(--secondary);
}

.vm-statement {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.8;
    border-left: 4px solid var(--primary);
    padding-left: 1.25rem;
    margin-bottom: 1.75rem;
}

.vm-mission .vm-statement {
    border-left-color: var(--secondary);
}

.vm-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.vm-pillar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
}

.vm-pillar i {
    color: var(--primary);
    font-size: 0.9rem;
}

.vm-mission .vm-pillar i {
    color: var(--secondary);
}

/* ============================================================
   A5. WHY MITRA SECTION
   ============================================================ */
.why-mitra-section {
    background: var(--light-gray);
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.why-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-light);
    line-height: 1;
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    letter-spacing: -0.05em;
    transition: var(--transition);
}

.why-card:hover .why-number {
    color: rgba(3, 125, 26, 0.12);
}

.why-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--primary);
    color: white;
    transform: rotate(-5deg);
}

.why-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.87rem;
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   A6. CORE VALUES CARDS
   ============================================================ */
.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    text-align: center;
    border: 2px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.value-icon-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(var(--vc), 0.1);
    border: 3px solid var(--vc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--vc);
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.value-card:hover .value-icon-ring {
    background: var(--vc);
    color: white;
}

.value-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.value-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============================================================
   A7. OBJECTIVES SECTION
   ============================================================ */
.objectives-section {
    background: var(--light-gray);
}

.obj-sdg-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.sdg-chip {
    background: var(--white);
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    letter-spacing: 0.04em;
    transition: var(--transition);
}

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

.objectives-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.objective-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    align-items: flex-start;
}

.objective-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--secondary);
}

.obj-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-light);
    line-height: 1;
    flex-shrink: 0;
    min-width: 36px;
    transition: var(--transition);
}

.objective-item:hover .obj-num {
    color: var(--secondary-light);
}

.obj-content h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.obj-content p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   A8. GOVERNMENT REGISTRATION CARDS
   ============================================================ */
.reg-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.reg-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.reg-card-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reg-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.reg-header-text .reg-type {
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.reg-header-text .reg-act {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.15rem;
}

.reg-card-body {
    padding: 1.25rem 1.5rem;
}

.reg-field {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
}

.reg-field:last-of-type {
    border-bottom: none;
}

.reg-fl {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 500;
    flex-shrink: 0;
    min-width: 120px;
}

.reg-fv {
    font-size: 0.8rem;
    color: var(--dark);
    text-align: right;
    line-height: 1.4;
}

.reg-status {
    margin-top: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.active-status {
    background: #EBF2ED;
    color: var(--primary);
}

/* ============================================================
   A9. TIMELINE
   ============================================================ */
.timeline-section {
    background: var(--white);
}

.timeline-wrapper {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    transform: translateX(-50%);
    border-radius: 50px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item.tl-left {
    flex-direction: row;
    padding-right: calc(50% + 3rem);
}

.timeline-item.tl-right {
    flex-direction: row-reverse;
    /* padding-left: calc(50% + 3rem); */
}

.tl-dot {
    position: absolute;
    left: 50%;
    top: 1.5rem;
    width: 18px;
    height: 18px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: var(--transition);
    flex-shrink: 0;
}

.tl-dot-active {
    background: var(--primary);
    width: 24px;
    height: 24px;
    border-color: var(--primary);
    box-shadow: 0 0 0 6px rgba(var(--bs-primary-rgb), 0.2);
}

.tl-content {
    flex: 1;
}

.timeline-item.tl-left .tl-content {
    text-align: right;
}

.tl-year {
    font-size: 1rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: inline-block;
    background: var(--primary-light);
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
}

.tl-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    transition: var(--transition);
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.tl-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}

.tl-card-highlight {
    background: linear-gradient(135deg, var(--white), var(--primary-light));
    border-color: var(--primary);
}

.tl-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.tl-card-highlight .tl-icon {
    background: var(--primary);
    color: white;
}

.tl-card h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.tl-card p {
    font-size: 0.83rem;
    color: var(--gray);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   A10. RESPONSIVE (About Page)
   ============================================================ */
@media (max-width: 991.98px) {
    .page-hero {
        padding: 120px 0 50px;
    }

    .intro-image-grid {
        margin-bottom: 2rem;
    }

    .intro-floating-card {
        right: 0;
    }

    .history-image-wrapper {
        margin-bottom: 2rem;
    }

    .history-year-badge {
        right: 0;
    }

    /* Timeline: single column on tablet and below */
    .timeline-line {
        left: 20px;
    }

    .timeline-item.tl-left,
    .timeline-item.tl-right {
        flex-direction: column;
        padding-left: 3.5rem;
        padding-right: 0;
    }

    .timeline-item.tl-left .tl-content {
        text-align: left;
    }

    .tl-dot {
        left: 20px;
    }
}

@media (max-width: 767.98px) {
    .page-hero-title {
        font-size: 1.85rem;
    }

    .vm-pillars {
        grid-template-columns: 1fr;
    }

    .intro-img-side {
        grid-template-columns: 1fr;
    }

    .intro-img-sm img {
        height: 120px;
    }

    .objective-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .obj-num {
        font-size: 1.25rem;
    }

    .reg-field {
        flex-direction: column;
        gap: 0.25rem;
    }

    .reg-fv {
        text-align: left;
    }

    .reg-fl {
        min-width: unset;
    }
}

/* ============================================================
   LEADERSHIP PAGE â€” NEW STYLES
   ============================================================ */

/* ============================================================
   L1. FOUNDER MESSAGE
   ============================================================ */
.founder-section {
    background: linear-gradient(135deg, #2A4A35 0%, #365C42 50%, #305247 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.founder-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(206, 2, 97, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.founder-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.founder-photo-wrap {
    position: relative;
    display: inline-block;
}

.founder-photo-ring {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.2);
    padding: 6px;
    position: relative;
    margin: 0 auto;
    display: block;
}

.founder-photo-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.founder-photo-badge {
    position: absolute;
    bottom: 10px;
    right: 25px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(206, 2, 97, 0.4);
    white-space: nowrap;
}

.founder-message-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.founder-quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.15);
    font-family: Georgia, serif;
    position: absolute;
    top: 1rem;
    left: 1.75rem;
}

.founder-quote-text {
    font-size: 1.15rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-left: 4px solid var(--secondary);
    padding-left: 1.5rem;
}

.founder-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: white;
}

.founder-title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-top: 0.2rem;
}

.founder-signature {
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.5rem;
    line-height: 1;
}

.founder-creds {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.founder-cred-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

/* ============================================================
   L2. EXECUTIVE LEADERSHIP (FLIP CARDS)
   ============================================================ */
.exec-section {
    background: var(--white);
}

.flip-card {
    perspective: 1200px;
    height: 480px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Front face */
.flip-card-front {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.flip-front-photo {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
}

.flip-front-photo img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.flip-card:hover .flip-front-photo img {
    transform: scale(1.05);
}

.flip-front-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.9));
}

.flip-front-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.flip-role-badge {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 0.75rem;
}

.badge-president {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-secretary {
    background: #F5EAF0;
    color: var(--secondary);
}

.badge-treasurer {
    background: #fff3e0;
    color: #e65100;
}

.flip-member-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.flip-member-qual {
    font-size: 0.78rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.flip-member-mini-quote {
    font-size: 0.82rem;
    color: var(--gray);
    font-style: italic;
    line-height: 1.5;
}

.flip-hover-hint {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 0.75rem;
    opacity: 0.7;
}

/* Back face */
.flip-card-back {
    transform: rotateY(180deg);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

.flip-back-president {
    background: linear-gradient(145deg, #365C42, var(--primary));
}

.flip-back-secretary {
    background: linear-gradient(145deg, #863553, var(--secondary));
}

.flip-back-treasurer {
    background: linear-gradient(145deg, #bf360c, #e65100);
}

.flip-back-top {
    flex: 1;
}

.flip-back-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.flip-back-name {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.flip-back-role {
    font-size: 0.72rem;
    opacity: 0.75;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.flip-back-bio {
    font-size: 0.83rem;
    line-height: 1.75;
    opacity: 0.9;
    margin-bottom: 1.25rem;
    color: #e5e3e3;
}

.flip-back-quote {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.85;
    border-left: 3px solid rgba(255, 255, 255, 0.5);
    padding-left: 1rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.flip-back-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flip-back-exp {
    font-size: 0.75rem;
    opacity: 0.75;
}

.flip-back-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    font-size: 0.75rem;
    margin-left: 0.35rem;
    transition: var(--transition);
}

.flip-back-socials a:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   L3. BOARD MEMBERS (HOVER OVERLAY CARDS)
   ============================================================ */
.board-section {
    background: var(--light-gray);
}

.board-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.board-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.board-card-photo {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.board-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(20%);
}

.board-card:hover .board-card-photo img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.board-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(3, 125, 26, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.board-card:hover .board-card-overlay {
    opacity: 1;
}

.board-overlay-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 0.8rem;
    margin-right: 0.4rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.board-overlay-socials a:hover {
    background: white;
    color: var(--primary);
}

.board-card-body {
    padding: 1.25rem;
}

.board-member-role {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.board-member-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.15rem;
}

.board-member-qual {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.board-member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.board-tag {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    transition: var(--transition);
}

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

.board-member-quote {
    font-size: 0.78rem;
    font-style: italic;
    color: var(--gray);
    border-left: 3px solid var(--primary-light);
    padding-left: 0.75rem;
    line-height: 1.55;
    transition: var(--transition);
}

.board-card:hover .board-member-quote {
    border-left-color: var(--secondary);
    color: var(--dark);
}

/* ============================================================
   L4. ADVISORY BOARD (COMPACT CARDS)
   ============================================================ */
.advisory-section {
    background: var(--white);
}

.advisory-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.advisory-card:hover {
    border-color: var(--primary);
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #f9fdf9, var(--white));
}

.advisory-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-light);
    transition: var(--transition);
}

.advisory-card:hover .advisory-photo {
    border-color: var(--primary);
}

.advisory-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%);
    transition: var(--transition);
}

.advisory-card:hover .advisory-photo img {
    filter: grayscale(0%);
}

.advisory-info {
    flex: 1;
    min-width: 0;
}

.advisory-org {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 0.2rem;
}

.advisory-name {
    font-size: 0.97rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.1rem;
}

.advisory-qual {
    font-size: 0.72rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.advisory-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.6rem;
}

.adv-tag {
    background: var(--light-gray);
    color: var(--gray);
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    transition: var(--transition);
}

.advisory-card:hover .adv-tag {
    background: var(--primary-light);
    color: var(--primary);
}

.advisory-quote {
    font-size: 0.76rem;
    font-style: italic;
    color: var(--gray);
    line-height: 1.55;
}

/* ============================================================
   L5. LEADERSHIP PHILOSOPHY BANNER
   ============================================================ */
.philosophy-section {
    background: linear-gradient(135deg, #F7F9F8 0%, #EBF2ED 100%);
    padding: 80px 0;
    border-top: 1px solid rgba(3, 125, 26, 0.1);
    border-bottom: 1px solid rgba(3, 125, 26, 0.1);
}

.philosophy-intro {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.philosophy-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.philosophy-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--secondary);
}

.philosophy-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.philosophy-item:hover .philosophy-icon {
    background: var(--primary);
    color: white;
}

.philosophy-item h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.philosophy-item p {
    font-size: 0.84rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.philosophy-big-quote {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pbq-icon {
    font-size: 3rem;
    color: var(--primary-light);
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 1rem;
}

.pbq-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.pbq-author {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.pbq-role {
    font-size: 0.72rem;
    color: var(--gray);
    margin-top: 0.2rem;
}

/* ============================================================
   L6. RESPONSIVE (Leadership Page)
   ============================================================ */
@media (max-width: 991.98px) {
    .flip-card {
        height: 520px;
    }

    .founder-photo-ring {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .flip-card {
        height: auto;
        perspective: none;
    }

    .flip-card-inner {
        transform-style: flat;
        position: static;
    }

    .flip-card:hover .flip-card-inner {
        transform: none;
    }

    .flip-card-front {
        position: static;
        transform: none;
        backface-visibility: visible;
        height: auto;
    }

    .flip-card-back {
        position: static;
        transform: none;
        backface-visibility: visible;
        border-radius: var(--radius-lg);
        margin-top: 1rem;
    }

    .flip-card-back {
        display: flex;
    }

    .founder-section {
        padding: 80px 0;
    }

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

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

    .advisory-expertise {
        justify-content: center;
    }
}

/* ============================================================
   ORGANIZATION STRUCTURE PAGE â€” NEW STYLES
   ============================================================ */

/* ============================================================
   S1. ORGANOGRAM (CSS TREE)
   ============================================================ */
.organogram-section {
    background: var(--light-gray);
    overflow-x: auto;
    padding-bottom: 4rem;
}

.org-tree {
    display: flex;
    justify-content: center;
    min-width: 1000px;
    padding-top: 2rem;
}

.org-tree ul {
    padding-top: 20px;
    position: relative;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    padding-left: 0;
    margin-bottom: 0;
}

.org-tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;
    transition: all 0.5s;
}

/* We will use ::before and ::after to draw the connectors */
.org-tree li::before,
.org-tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 2px solid var(--primary);
    width: 50%;
    height: 20px;
}

.org-tree li::after {
    right: auto;
    left: 50%;
    border-left: 2px solid var(--primary);
}

/* We need to remove left-right connectors from elements without any siblings */
.org-tree li:only-child::after,
.org-tree li:only-child::before {
    display: none;
}

.org-tree li:only-child {
    padding-top: 0;
}

/* Remove space from the top of single children */
.org-tree li:first-child::before,
.org-tree li:last-child::after {
    border: 0 none;
}

/* Adding back the vertical connector to the last nodes */
.org-tree li:last-child::before {
    border-right: 2px solid var(--primary);
    border-radius: 0 5px 0 0;
}

.org-tree li:first-child::after {
    border-radius: 5px 0 0 0;
}

/* Time to add downward connectors from parents */
.org-tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid var(--primary);
    width: 0;
    height: 20px;
}

.org-node {
    background: white;
    border: 2px solid var(--primary-light);
    padding: 1rem;
    border-radius: var(--radius-md);
    display: inline-block;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    min-width: 140px;
    position: relative;
    z-index: 1;
}

.org-node:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.org-node-title {
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: var(--dark);
    transition: var(--transition);
}

.org-node:hover .org-node-title {
    color: white;
}

.org-node-desc {
    font-size: 0.7rem;
    color: var(--gray);
    transition: var(--transition);
}

.org-node:hover .org-node-desc {
    color: rgba(255, 255, 255, 0.8);
}

.org-node.level-1 {
    border-color: var(--secondary);
    background: linear-gradient(135deg, #fdf0f7, white);
}

.org-node.level-1:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

/* ============================================================
   S2. DEPARTMENT CARDS
   ============================================================ */
.dept-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
    height: 100%;
    transition: var(--transition);
    display: flex;
    gap: 1rem;
}

.dept-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-4px);
}

.dept-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.dept-info h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.dept-info p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ============================================================
   S3. TEAM CARDS (Coordinators & Field Staff)
   ============================================================ */
.team-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.team-img-wrap {
    height: 140px;
    background: linear-gradient(135deg, var(--light-gray), #e9ecef);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.team-img-wrap i {
    font-size: 5rem;
    color: #ced4da;
    line-height: 1;
    margin-bottom: -10px;
}

.team-card-body {
    padding: 1.5rem;
}

.team-role {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.team-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.team-location {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.team-stats {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.ts-item {
    text-align: center;
}

.ts-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.ts-lbl {
    font-size: 0.65rem;
    color: var(--gray);
    text-transform: uppercase;
}

/* ============================================================
   S4. STATS BANNER
   ============================================================ */
.struct-stats-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 3rem 0;
    color: white;
}

.ss-box {
    text-align: center;
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.ss-box:last-child {
    border-right: none;
}

.ss-val {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.ss-lbl {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 767.98px) {
    .ss-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        margin-bottom: 1rem;
        padding-bottom: 2rem;
    }

    .ss-box:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 1rem;
    }
}

/* ============================================================
   FOCUS AREAS PAGE â€” NEW STYLES
   ============================================================ */
.focus-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.focus-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.focus-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.focus-icon-wrap {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.focus-card:hover .focus-icon-wrap {
    background: var(--primary);
    color: white;
}

.focus-card h4 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.focus-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.focus-list-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.focus-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.25rem;
}

.focus-list li {
    font-size: 0.82rem;
    color: var(--gray);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.focus-list li i {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-top: 2px;
}

.focus-achievements {
    background: #fdf0f7;
    border-left: 3px solid var(--secondary);
    padding: 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.focus-achievements-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 0.3rem;
}

.focus-achievements-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 0;
}

.focus-card-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

/* ============================================================
   PROJECTS PAGES â€” NEW STYLES
   ============================================================ */

/* ============================================================
   P1. PROJECT FILTERING
   ============================================================ */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--border);
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(3, 125, 26, 0.3);
}

/* ============================================================
   P2. PROJECT CARDS (LISTING)
   ============================================================ */
.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.project-card-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.project-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card-img img {
    transform: scale(1.08);
}

.project-category-badge {
    position: absolute;
    top: 1rem;
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.project-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.project-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.project-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.project-card-desc {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-card-footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

/* ============================================================
   P3. PROJECT DETAILS - BANNER
   ============================================================ */
.project-details-hero {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #2A4A35, #365C42);
    color: white;
    overflow: hidden;
}

.pd-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.pd-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 59, 12, 0.95) 0%, rgba(2, 94, 19, 0.8) 100%);
}

.pd-category {
    display: inline-block;
    background: var(--secondary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.pd-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.pd-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.pd-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pd-meta-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.pd-meta-content .lbl {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.1rem;
}

.pd-meta-content .val {
    font-size: 0.95rem;
    font-weight: 700;
}

/* ============================================================
   P4. PROJECT DETAILS - MAIN CONTENT
   ============================================================ */
.pd-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pd-section-title i {
    color: var(--primary);
}

.pd-text {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.pd-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pd-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.6;
}

.pd-list li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary);
    font-size: 1.1rem;
}

/* ============================================================
   P5. PROJECT DETAILS - SIDEBAR
   ============================================================ */
.pd-sidebar-widget {
    background: var(--light-gray);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.pd-widget-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-light);
}

.pd-fund-agency {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pd-fund-logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.pd-fund-logo i {
    font-size: 1.8rem;
    color: var(--gray);
}

.pd-fund-info h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
}

.pd-fund-info p {
    font-size: 0.75rem;
    color: var(--gray);
    margin: 0;
}

.pd-download-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--dark);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 0.75rem;
}

.pd-download-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.pd-download-btn i:last-child {
    color: var(--gray);
}

/* ============================================================
   P6. PROJECT DETAILS - STATISTICS
   ============================================================ */
.pd-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.pd-stat-card {
    background: linear-gradient(135deg, #f0faf2, white);
    border: 1px solid #c3e6cb;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.pd-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

.pd-stat-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.pd-stat-val {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pd-stat-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
}

/* ============================================================
   P7. PROJECT DETAILS - GALLERY
   ============================================================ */
.pd-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.pd-gallery-img {
    height: 160px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

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

.pd-gallery-img:hover img {
    transform: scale(1.1);
}

.pd-gallery-img::after {
    content: "\F600";
    font-family: "bootstrap-icons";
    position: absolute;
    inset: 0;
    background: rgba(3, 125, 26, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pd-gallery-img:hover::after {
    opacity: 1;
}

@media (max-width: 767.98px) {
    .pd-stats-grid {
        grid-template-columns: 1fr;
    }

    .pd-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   IMPACT PAGE â€” NEW STYLES
   ============================================================ */

/* ============================================================
   I1. ANIMATED COUNTERS & STATS
   ============================================================ */
.impact-stats-section {
    background: linear-gradient(135deg, #F4F6F5 0%, #e2e4e3 100%);
    color: white;
    padding: 80px 0;
}

.impact-counter-box {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border: 1px solid linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    backdrop-filter: blur(5px);
    transition: var(--transition);
    height: 100%;
}

.impact-counter-box:hover {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    transform: translateY(-5px);
}

.impact-counter-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.impact-counter-val {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: white;
}

.impact-counter-lbl {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   I2. CHARTS & MAP PLACEHOLDERS
   ============================================================ */
.placeholder-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.placeholder-img-wrap {
    background: var(--light-gray);
    border-radius: var(--radius-md);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(3, 125, 26, 0.2);
    margin-bottom: 1.5rem;
}

.placeholder-img-wrap i {
    font-size: 4rem;
    color: var(--primary-light);
}

.placeholder-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

/* ============================================================
   I3. IMPACT TIMELINE
   ============================================================ */
.impact-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.impact-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--primary-light);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    padding-right: 2rem;
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-right: 0;
    padding-left: 2rem;
}

.timeline-dot {
    position: absolute;
    top: 0;
    right: -10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--primary-light);
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -10px;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
}

.timeline-year {
    display: inline-block;
    background: var(--secondary);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

@media (max-width: 767.98px) {
    .impact-timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 3rem !important;
        padding-right: 0;
        left: 0 !important;
    }

    .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }
}

/* ============================================================
   I4. ACHIEVEMENT CARDS (INFOGRAPHICS)
   ============================================================ */
.achievement-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--secondary);
}

.ac-icon {
    width: 70px;
    height: 70px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.achievement-card:hover .ac-icon {
    background: var(--primary-light);
}

.ac-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.ac-desc {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* ============================================================
   SUCCESS STORIES PAGE â€” NEW STYLES
   ============================================================ */

.story-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.story-card-img {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.story-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.story-card:hover .story-card-img img {
    transform: scale(1.08);
}

.story-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.story-card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.story-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.story-village {
    font-size: 0.8rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.story-village i {
    color: var(--secondary);
}

.story-ps-block {
    margin-bottom: 1rem;
}

.story-ps-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.story-ps-text {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.story-impact-box {
    background: linear-gradient(135deg, #fdf0f7, white);
    border-left: 3px solid var(--secondary);
    padding: 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1rem 0 1.5rem;
}

.story-impact-box .story-ps-label {
    color: var(--secondary-dark);
}

.story-impact-box .story-ps-text {
    color: var(--secondary);
    font-weight: 600;
}

.story-card-footer {
    margin-top: auto;
}

/* ============================================================
   STORY DETAILS PAGE â€” NEW STYLES
   ============================================================ */
.story-detail-hero {
    position: relative;
    padding: 160px 0 120px;
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    color: white;
    overflow: hidden;
}

.sd-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.sd-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(165, 1, 80, 0.95) 0%, rgba(206, 2, 97, 0.8) 100%);
}

.sd-profile-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    text-align: center;
    margin-top: -100px;
    position: relative;
    z-index: 5;
}

.sd-profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: var(--shadow-sm);
    margin: -100px auto 1rem;
    object-fit: cover;
    background: white;
}

.sd-quote-block {
    background: #fdf0f7;
    border-left: 4px solid var(--secondary);
    padding: 2rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 2.5rem 0;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.8;
}

.sd-quote-block i {
    color: var(--secondary-light);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.sd-impact-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.sd-stat-box {
    background: white;
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    border-top: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.sd-stat-box.secondary-top {
    border-top-color: var(--secondary);
}

.sd-stat-box h4 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.sd-stat-box p {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gray);
    margin: 0;
}

@media (max-width: 767.98px) {
    .sd-impact-stats {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.masonry-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

@media (max-width: 991.98px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 575.98px) {
    .masonry-grid {
        column-count: 1;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    display: block;
    border-radius: var(--radius-md);
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.masonry-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 125, 26, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.masonry-overlay i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.masonry-overlay span {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

/* ============================================================
   NEWS & EVENTS PAGE
   ============================================================ */
.news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card-img {
    height: 250px;
    position: relative;
}

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

.news-date-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    bottom: auto;
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    min-width: 60px;
}

.news-date-badge .day {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.news-date-badge .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
}

.news-card-body {
    padding: 1.5rem;
}

.news-meta {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.news-meta span {
    margin-right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.news-meta i {
    color: var(--secondary);
}

.news-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.news-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.news-title a:hover {
    color: var(--primary);
}

.news-desc {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1.25rem;
}

.sidebar-widget {
    background: var(--light-gray);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.sw-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-light);
}

.sw-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sw-list li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--border);
}

.sw-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border: none;
}

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

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

.sw-recent-post {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.sw-recent-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.sw-recent-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.sw-recent-date {
    font-size: 0.75rem;
    color: var(--gray);
}

/* ============================================================
   DONATE PAGE
   ============================================================ */
.donate-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 991.98px) {
    .donate-options-grid {
        grid-template-columns: 1fr;
    }
}

.donate-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
    height: 100%;
}

.donate-box.highlight {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    position: relative;
}

.donate-box.highlight::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 50px;
}

.qr-code {
    width: 150px;
    height: 150px;
    margin: 1rem auto;
    display: block;
    border: 1px solid var(--border);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
}

.bank-details {
    text-align: left;
    background: var(--light-gray);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.bank-details p {
    margin-bottom: 0.25rem;
}

.bank-details strong {
    color: var(--dark);
}

.donate-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.amt-btn {
    background: white;
    border: 2px solid var(--border);
    color: var(--dark);
    font-weight: 700;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.amt-btn:hover,
.amt-btn.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
    text-align: center;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

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

.ci-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.ci-text {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

.map-container {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.map-container i {
    font-size: 4rem;
    color: var(--gray);
}

#maharashtra-map {
    height: 600px !important;
}

.form-control,
.form-select {
    padding: 0.8rem 1rem;
    border-color: var(--border);
    border-radius: var(--radius-sm);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(3, 125, 26, 0.1);
}

/* ============================================================
   GLOBAL BOOTSTRAP OVERRIDES (THEME HARMONY)
   ============================================================ */
.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary) !important;
    color: var(--white) !important;
}

.dropdown-item.active i,
.dropdown-item:active i {
    color: var(--white) !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-dark) !important;
    background-color: var(--primary-light) !important;
    box-shadow: inset 0 -1px 0 rgba(3, 125, 26, 0.15) !important;
}

.accordion-button:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(3, 125, 26, 0.2) !important;
}

.page-item.active .page-link {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}

.page-link {
    color: var(--primary) !important;
}

.page-link:hover {
    color: var(--primary-dark) !important;
    background-color: var(--primary-light) !important;
}

.page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(3, 125, 26, 0.2) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(3, 125, 26, 0.2) !important;
}

.form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.form-check-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(3, 125, 26, 0.2) !important;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: var(--primary) !important;
    color: var(--white) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.border-secondary {
    border-color: var(--secondary) !important;
}

/* Gallery Folder Styles */
.folder-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.folder-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.folder-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.folder-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
    background: #f8f9fa;
    overflow: hidden;
}

.folder-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.folder-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary, #0d6efd);
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.folder-item:hover .folder-icon-overlay {
    opacity: 1;
}

.folder-info {
    padding: 15px;
    text-align: center;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.folder-info h6 {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}