/* ==========================================================================
   PASALA Foundation - Premium NGO Website Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    /* Brand Colors */
    --primary-blue: #1565A8;
    --primary-blue-dark: #0D4A7A;
    --primary-blue-light: #1E7BC4;
    --gold: #C9A227;
    --gold-dark: #A8861F;
    --gold-light: #E8D5A3;
    --gold-pale: #FBF6E8;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #FAFBFC;
    --light-gray: #F5F7FA;
    --gray-100: #EEF1F5;
    --gray-200: #DDE3EA;
    --gray-300: #C4CDD8;
    --gray-500: #5A6778;
    --gray-700: #3A4555;
    --text-dark: #1A2332;
    --text-muted: #5A6778;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: clamp(4rem, 8vw, 7rem);
    --container-max: 1200px;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 35, 50, 0.08);
    --shadow-lg: 0 20px 60px rgba(26, 35, 50, 0.12);
    --shadow-gold: 0 8px 30px rgba(201, 162, 39, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Header */
    --header-height: 80px;
    --announcement-height: 40px;
}

/* --------------------------------------------------------------------------
   Base & Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-dark);
}

h1, .h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2, .h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3, .h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

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

a:hover {
    color: var(--primary-blue-dark);
}

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

::selection {
    background: var(--gold-light);
    color: var(--text-dark);
}

.skip-link:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.section-padding {
    padding: var(--section-padding) 0;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header.text-start .section-subtitle {
    margin-left: 0;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    transition: all var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.02em;
}

.btn-primary-custom {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
    background: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-gold:hover,
.btn-gold:focus {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline-light-custom {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light-custom:hover,
.btn-outline-light-custom:focus {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

.btn-outline-primary-custom {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

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

.btn-donate {
    background: var(--gold);
    color: var(--white) !important;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition);
}

.btn-donate:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--white) !important;
}

.btn-outline-nav {
    background: transparent;
    color: inherit;
    border: 1.5px solid currentColor;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.85;
}

.btn-outline-nav:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg-custom {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: all var(--transition);
}

.site-header .navbar {
    padding: 1rem 0;
    transition: all var(--transition);
}

/* Transparent header (homepage) */
.homepage .site-header {
    background: transparent;
}

.homepage .site-header .navbar {
    background: transparent;
}

.homepage .site-header .nav-link,
.homepage .site-header .btn-outline-nav {
    color: var(--white);
}

.homepage .site-header .logo-img--full {
    background: var(--light-gray);
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
}

body:not(.homepage) .site-header .logo-img--full {
    background: transparent;
}

.homepage .site-header .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.homepage .site-header .navbar-toggler-icon {
    filter: invert(1);
}

/* Scrolled header */
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.site-header.scrolled .navbar {
    padding: 0.625rem 0;
}

.site-header.scrolled .nav-link,
.site-header.scrolled .logo-name,
.site-header.scrolled .logo-sub {
    color: var(--text-dark);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
    color: var(--primary-blue);
}

.site-header.scrolled .btn-outline-nav {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.site-header.scrolled .navbar-toggler-icon {
    filter: none;
}

/* Inner pages header */
body:not(.homepage) .site-header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

body:not(.homepage) .site-header .nav-link {
    color: var(--text-dark);
}

body:not(.homepage) .site-header .nav-link:hover,
body:not(.homepage) .site-header .nav-link.active {
    color: var(--primary-blue);
}

/* Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo-img--full {
    width: auto;
    height: clamp(36px, 7vw, 52px);
    max-width: min(240px, 58vw);
    object-fit: contain;
}

.navbar-toggler {
    border: 1.5px solid rgba(26, 35, 50, 0.25);
    padding: 0.4rem 0.55rem;
    flex-shrink: 0;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(21, 101, 168, 0.2);
}

.navbar-toggler-icon {
    width: 1.35rem;
    height: 1.35rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.02em;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

.site-header.scrolled .logo-name,
body:not(.homepage) .logo-name {
    color: var(--primary-blue);
}

/* Nav Links */
.navbar-nav {
    gap: 0.25rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem !important;
    position: relative;
    color: var(--text-dark);
    white-space: nowrap;
}

/* Gold underline uses ::before so Bootstrap dropdown caret (::after) still works */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 60%;
}

.nav-link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Restore Bootstrap caret on dropdown toggles */
.nav-link.dropdown-toggle::after {
    content: '';
    display: inline-block;
    margin-left: 0.35em;
    vertical-align: 0.2em;
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-bottom: 0;
    border-left: 0.35em solid transparent;
    position: static;
    width: auto;
    height: auto;
    background: none;
    transform: none;
    transition: transform 0.2s ease;
}

.nav-link.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Nav Dropdown Menus */
.nav-dropdown {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    min-width: 200px;
    margin-top: 0.35rem !important;
    z-index: 1050;
    background: var(--white);
    animation: navDropdownFade 0.2s ease;
}

@keyframes navDropdownFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-dropdown .dropdown-item {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all var(--transition);
}

.nav-dropdown .dropdown-item:hover,
.nav-dropdown .dropdown-item:focus {
    background: var(--gold-pale);
    color: var(--primary-blue);
}

.nav-dropdown .dropdown-item.active {
    background: var(--gold-pale);
    color: var(--primary-blue);
    font-weight: 600;
}

/* Desktop: open dropdowns on hover */
@media (min-width: 1200px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0 !important;
    }

    .navbar-nav .dropdown:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.65rem !important;
    }
}

@media (min-width: 1400px) {
    .nav-link {
        font-size: 0.9375rem;
        padding: 0.5rem 0.85rem !important;
    }
}

/* Tablet / mobile hamburger nav (matches navbar-expand-xl) */
@media (max-width: 1199.98px) {
    .site-header .navbar > .container {
        flex-wrap: wrap;
        row-gap: 0;
    }

    .navbar-brand {
        max-width: calc(100% - 3.5rem);
        min-width: 0;
    }

    .logo-img--full {
        max-width: 100%;
        height: clamp(34px, 8vw, 46px);
    }

    .navbar-collapse {
        flex-basis: 100%;
        background: var(--white);
        padding: 1rem 1.15rem 1.25rem;
        border-radius: var(--radius-md);
        margin-top: 0.75rem;
        box-shadow: var(--shadow-lg);
        max-height: min(75vh, calc(100dvh - 5.5rem));
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .homepage .site-header .navbar-collapse {
        background: var(--white);
    }

    .homepage .site-header .navbar-collapse .nav-link,
    .homepage .site-header .navbar-collapse .btn-outline-nav {
        color: var(--text-dark);
    }

    .homepage .site-header .navbar-collapse .btn-outline-nav {
        border-color: var(--primary-blue);
        color: var(--primary-blue);
    }

    .site-header.scrolled .navbar-collapse .nav-link {
        color: var(--text-dark);
    }

    .navbar-nav {
        width: 100%;
        gap: 0;
        margin: 0 !important;
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid var(--gray-200);
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link {
        white-space: normal;
        padding: 0.85rem 0.35rem !important;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .navbar-nav .nav-link::before {
        display: none;
    }

    .navbar-nav .dropdown-toggle::after {
        margin-left: auto;
        flex-shrink: 0;
    }

    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        inset: auto !important;
        transform: none !important;
        width: 100%;
        margin: 0 0 0.5rem !important;
        padding: 0.15rem 0 0.5rem 0.5rem;
        border: none;
        border-radius: var(--radius-sm);
        box-shadow: none;
        background: var(--gold-pale);
        animation: none;
        min-width: 0;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        padding: 0.7rem 0.85rem;
        font-size: 0.9375rem;
        border-radius: var(--radius-sm);
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .navbar-nav .dropdown-header {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .navbar-nav .programs-mega .dropdown-item {
        gap: 0.65rem;
    }

    .navbar-cta {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-200);
        flex-wrap: wrap;
        width: 100%;
        gap: 0.65rem !important;
    }

    .navbar-cta .btn {
        flex: 1 1 calc(50% - 0.35rem);
        justify-content: center;
        min-width: 0;
        white-space: nowrap;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

@media (max-width: 575.98px) {
    .site-header .navbar {
        padding: 0.65rem 0;
    }

    .site-header .navbar > .container {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }

    .logo-img--full {
        max-width: min(170px, 55vw);
        height: 34px;
    }

    .navbar-collapse {
        padding: 0.85rem 0.85rem 1rem;
        margin-top: 0.5rem;
        max-height: min(80vh, calc(100dvh - 4.5rem));
    }

    .navbar-cta .btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .navbar-cta .btn .bi {
        display: inline-block;
    }
}

/* Lock page scroll while mobile menu is open */
body.nav-open {
    overflow: hidden;
    touch-action: none;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 74, 122, 0.85) 0%,
        rgba(21, 101, 168, 0.75) 50%,
        rgba(13, 74, 122, 0.65) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --------------------------------------------------------------------------
   Focus Area Cards
   -------------------------------------------------------------------------- */
.focus-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    height: 100%;
    display: block;
    color: inherit;
}

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

.focus-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-pale);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--gold);
    transition: all var(--transition);
}

.focus-card:hover .focus-icon {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.1);
}

.focus-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.focus-card p {
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-badge {
    position: absolute;
    bottom: 2rem;
    right: -1rem;
    background: var(--gold);
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-gold);
}

.about-badge .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.about-badge .label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vision-mission-card {
    background: var(--light-gray);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--gold);
}

.vision-mission-card h4 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.vision-mission-card p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Impact Counter
   -------------------------------------------------------------------------- */
.impact-section {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.impact-section .section-tag,
.impact-section .section-title {
    color: var(--white);
}

.impact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.counter-item {
    text-align: center;
    padding: 2rem 1rem;
}

.counter-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.counter-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Program Cards
   -------------------------------------------------------------------------- */
.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.program-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

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

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

.program-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.program-card-body p {
    font-size: 0.9375rem;
    flex: 1;
    margin-bottom: 1.25rem;
}

.program-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary-blue);
}

.program-card-link i {
    transition: transform var(--transition);
}

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

/* --------------------------------------------------------------------------
   Campus Section
   -------------------------------------------------------------------------- */
.campus-section {
    background: var(--off-white);
}

.campus-illustration {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.campus-illustration img {
    width: 100%;
    aspect-ratio: 16/11;
    object-fit: cover;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--primary-blue));
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 14px;
    height: 14px;
    background: var(--gold);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--gold-light);
    transform: translateX(-6px);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Success Stories
   -------------------------------------------------------------------------- */
.story-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--transition);
}

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

.story-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-body {
    padding: 2rem;
    flex: 1;
}

.story-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.0625rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.story-quote::before {
    content: '\201C';
    font-size: 3rem;
    color: var(--gold);
    line-height: 0;
    display: block;
    margin-bottom: 0.5rem;
}

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

.story-author-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.story-author-info span {
    font-size: 0.8125rem;
    color: var(--gold);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--gold-pale);
    position: absolute;
    top: 1rem;
    right: 2rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.0625rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

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

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold-light);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.testimonial-author span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   CSR Banner
   -------------------------------------------------------------------------- */
.csr-banner {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
}

.csr-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 60%, var(--primary-blue-light) 100%);
}

.csr-banner-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.csr-banner-content {
    position: relative;
    z-index: 1;
    padding: 3rem;
    color: var(--white);
}

.csr-banner-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.csr-banner-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   Donation Banner
   -------------------------------------------------------------------------- */
.donate-banner {
    background: var(--gold-pale);
    border-radius: var(--radius-xl);
    padding: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    border: 1px solid var(--gold-light);
}

.donate-banner h2 {
    margin-bottom: 1rem;
}

.donate-banner p {
    max-width: 540px;
    margin: 0 auto 2rem;
}

/* --------------------------------------------------------------------------
   USA Banking Card
   -------------------------------------------------------------------------- */
.banking-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.banking-card-header {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    padding: 2rem 2.5rem;
    color: var(--white);
}

.banking-card-header h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.banking-card-header p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.banking-card-body {
    padding: 2.5rem;
}

.banking-detail {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
    gap: 1rem;
}

.banking-detail:last-child {
    border-bottom: none;
}

.banking-detail-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    flex-shrink: 0;
}

.banking-detail-value {
    font-weight: 600;
    color: var(--text-dark);
    text-align: right;
    font-size: 0.9375rem;
}

.banking-qr {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.banking-qr-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.banking-qr-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.banking-qr-upi {
    font-size: 0.75rem;
    color: var(--primary-blue);
    word-break: break-all;
    margin-bottom: 0.35rem;
}

.banking-qr-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.banking-qr i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.banking-qr span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.banking-note {
    background: var(--gold-pale);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.banking-note i {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Blog Cards
   -------------------------------------------------------------------------- */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

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

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.blog-meta i {
    color: var(--gold);
}

.blog-card-body h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-body h3 a {
    color: inherit;
}

.blog-card-body h3 a:hover {
    color: var(--primary-blue);
}

.blog-card-body p {
    font-size: 0.875rem;
    flex: 1;
    margin-bottom: 1rem;
}

.blog-read-more {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

/* --------------------------------------------------------------------------
   Event Cards
   -------------------------------------------------------------------------- */
.event-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.event-card-image {
    display: block;
    height: 210px;
    overflow: hidden;
    background: var(--light-gray);
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.event-card:hover .event-card-image img {
    transform: scale(1.04);
}

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

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.65rem;
}

.event-card-body h2,
.event-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.event-card-body h2 a,
.event-card-body h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.event-card-body h2 a:hover,
.event-card-body h3 a:hover {
    color: var(--primary-blue);
}

.event-card-body p {
    color: var(--text-muted);
    flex: 1;
}

/* --------------------------------------------------------------------------
   Gallery Masonry
   -------------------------------------------------------------------------- */
.gallery-grid {
    columns: 3;
    column-gap: 1.25rem;
}

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

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 74, 122, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}

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

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
}

@media (max-width: 991.98px) {
    .gallery-grid { columns: 2; }
}

@media (max-width: 575.98px) {
    .gallery-grid { columns: 1; }
}

/* --------------------------------------------------------------------------
   Newsletter Section
   -------------------------------------------------------------------------- */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    border-radius: var(--radius-xl);
    padding: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.newsletter-section h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.newsletter-form-large {
    max-width: 520px;
    margin: 0 auto;
}

.newsletter-form-large .form-control {
    padding: 1rem 1.5rem;
    border-radius: 50px 0 0 50px;
    border: none;
    font-size: 1rem;
}

.newsletter-form-large .btn {
    border-radius: 0 50px 50px 0;
    padding: 1rem 2rem;
}

/* --------------------------------------------------------------------------
   Page Hero (Inner Pages)
   -------------------------------------------------------------------------- */
.page-hero {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    padding: calc(var(--header-height) + 4rem) 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-nav a:hover {
    color: var(--white);
}

.breadcrumb-nav span {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-nav .current {
    color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-logo-img {
    width: auto;
    height: clamp(48px, 8vw, 56px);
    max-width: min(260px, 80vw);
    object-fit: contain;
}

.footer-tagline {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--white);
    font-size: 1rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.footer-subheading {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

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

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: all var(--transition);
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
}

.footer-contact i {
    color: var(--gold);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
}

.footer-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
    box-shadow: none;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--gold);
}

@media (max-width: 767.98px) {
    .footer-legal {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

/* --------------------------------------------------------------------------
   Back to Top
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 1020;
    box-shadow: var(--shadow-gold);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-dark);
    transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   Contact Form
   -------------------------------------------------------------------------- */
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    padding: 0.875rem 1.125rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    transition: all var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(21, 101, 168, 0.12);
}

.contact-info-card {
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.125rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-info-item h4 {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Donate Page
   -------------------------------------------------------------------------- */
.donation-tier {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    height: 100%;
}

.donation-tier:hover,
.donation-tier.active {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-4px);
}

.donation-tier-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.donation-tier-amount-only {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 1.5rem 1.25rem;
}

.donation-tier-amount-only .donation-tier-amount {
    margin-bottom: 0;
}

.donation-tier-amount span {
    font-size: 1.25rem;
    vertical-align: super;
}

.donation-tier-impact {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

#donation-details[hidden] {
    display: none !important;
}

.donate-amount-summary {
    font-weight: 600;
    color: var(--primary-blue);
}

.donate-status {
    margin: 0 0 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
}

.donate-status-error {
    background: #fdecec;
    color: #9b1c1c;
}

.donate-status-info {
    background: var(--gold-pale);
    color: var(--text-dark);
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-accordion .accordion-item {
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    padding: 1.25rem 1.5rem;
    background: var(--white);
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--gold-pale);
    color: var(--primary-blue);
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--gold-light);
}

.faq-accordion .accordion-body {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Program Detail Sections
   -------------------------------------------------------------------------- */
.program-detail {
    scroll-margin-top: calc(var(--header-height) + 2rem);
}

.program-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.program-detail-image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

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

.program-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.program-features li i {
    color: var(--gold);
    margin-top: 4px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Volunteer & Partner Forms
   -------------------------------------------------------------------------- */
.benefit-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    height: 100%;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: var(--gold-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gold);
}

.benefit-card h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Legal Pages
   -------------------------------------------------------------------------- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .about-badge {
        right: 1rem;
        bottom: 1rem;
        padding: 1rem;
    }

    .about-badge .number {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    :root {
        --header-height: 70px;
    }

    .csr-banner-content {
        padding: 2rem;
    }

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

    .banking-detail {
        flex-direction: column;
        gap: 0.25rem;
    }

    .banking-detail-value {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .fade-up,
    .fade-left,
    .fade-right {
        opacity: 1;
        transform: none;
    }

    .hero-bg-image {
        animation: none !important;
    }
}

/* ==========================================================================
   PREMIUM ENHANCEMENTS — International NGO Level
   ========================================================================== */

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    color: var(--white);
    font-size: 0.8125rem;
    position: relative;
    z-index: 1040;
    transition: transform var(--transition), opacity var(--transition);
}

.announcement-bar.hidden {
    display: none;
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.625rem 2.5rem 0.625rem 0;
    position: relative;
    min-height: var(--announcement-height);
}

.announcement-text {
    margin: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}

.announcement-link {
    color: var(--gold-light);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color var(--transition);
}

.announcement-link:hover {
    color: var(--white);
}

.announcement-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: color var(--transition);
    line-height: 1;
}

.announcement-close:hover {
    color: var(--white);
}

body.announcement-dismissed {
    --announcement-height: 0px;
}

/* Trust Strip */
.trust-strip {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 2rem 0;
}

.trust-badges-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
}

.trust-badge-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-pale);
    border-radius: 50%;
    color: var(--gold-dark);
    font-size: 1.375rem;
}

.trust-badge-item strong {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.trust-badge-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Partners Strip */
.section-padding-sm {
    padding: clamp(2rem, 4vw, 3rem) 0;
}

.partners-strip {
    background: var(--off-white);
    border-bottom: 1px solid var(--gray-100);
}

.partners-strip-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem 3rem;
}

.partner-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    opacity: 0.55;
    transition: opacity var(--transition);
    filter: grayscale(100%);
}

.partner-logo-item:hover {
    opacity: 0.85;
    filter: grayscale(0%);
}

.partner-abbr {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: 0.05em;
}

.partner-name {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    max-width: 120px;
}

/* Hero Enhancements */
.hero-bg-image {
    animation: heroKenBurns 20s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes heroKenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

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

.hero-title {
    letter-spacing: -0.02em;
}

/* Section Dividers */
.section-divider {
    line-height: 0;
    overflow: hidden;
}

.section-divider svg {
    width: 100%;
    height: 48px;
    display: block;
}

/* Programs Mega Dropdown */
.programs-mega {
    min-width: 260px;
}

.programs-mega .dropdown-header {
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    padding: 0.5rem 1.25rem;
}

.programs-mega .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.programs-mega .dropdown-item i {
    color: var(--gold);
    width: 1.25rem;
    text-align: center;
}

.programs-mega .dropdown-item-all {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Premium Program Cards */
.program-card-premium .program-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 74, 122, 0.5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}

.program-card-premium:hover .program-card-image::after {
    opacity: 1;
}

.program-card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: var(--primary-blue);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
}

/* Glass Effect Focus Cards */
.focus-card {
    backdrop-filter: blur(0);
}

.section-gray .focus-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
}

/* Impact Quote Banner */
.impact-quote-section {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    padding: clamp(4rem, 8vw, 6rem) 0;
    position: relative;
    overflow: hidden;
}

.impact-quote-section::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: clamp(8rem, 20vw, 16rem);
    color: rgba(255, 255, 255, 0.04);
    position: absolute;
    top: -2rem;
    left: 2rem;
    line-height: 1;
    pointer-events: none;
}

.impact-quote {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.impact-quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.375rem, 3vw, 2rem);
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.impact-quote-author cite {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 700;
    font-size: 1rem;
    color: var(--gold-light);
    display: block;
    margin-bottom: 0.25rem;
}

.impact-quote-author span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.impact-quote--on-light .impact-quote-text,
.impact-quote--on-light .impact-quote-author cite,
.impact-quote--on-light .impact-quote-author span {
    color: #000;
}

/* Testimonial Carousel */
.testimonial-carousel {
    max-width: 780px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.testimonial-carousel .carousel-indicators {
    bottom: 0;
    margin-bottom: 0;
}

.testimonial-carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-300);
    border: none;
    opacity: 1;
    transition: all var(--transition);
}

.testimonial-carousel .carousel-indicators button.active {
    background-color: var(--gold);
    width: 28px;
    border-radius: 5px;
}

.testimonial-card-featured {
    text-align: center;
    padding: 3rem 2.5rem;
    border: none;
    box-shadow: var(--shadow-md);
}

.testimonial-card-featured .testimonial-text {
    font-size: 1.1875rem;
    font-family: var(--font-heading);
    font-style: italic;
    line-height: 1.75;
}

.testimonial-card-featured .testimonial-author {
    justify-content: center;
}

.testimonial-card-featured .testimonial-avatar {
    width: 64px;
    height: 64px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev { left: -60px; }
.carousel-control-next { right: -60px; }

.carousel-control-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: var(--primary-blue);
    font-size: 1.25rem;
    transition: all var(--transition);
}

.carousel-control-prev:hover .carousel-control-icon,
.carousel-control-next:hover .carousel-control-icon {
    background: var(--gold);
    color: var(--white);
}

/* Sticky Donate Bar */
.sticky-donate-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1025;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--gray-100);
    box-shadow: 0 -8px 30px rgba(26, 35, 50, 0.1);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.875rem 0;
}

.sticky-donate-bar.visible {
    transform: translateY(0);
}

.sticky-donate-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.sticky-donate-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.text-gold {
    color: var(--gold);
}

.btn-outline-sticky {
    background: transparent;
    border: 1.5px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
}

.btn-outline-sticky:hover {
    background: var(--primary-blue);
    color: var(--white);
}

body.sticky-donate-visible {
    padding-bottom: 72px;
}

body.sticky-donate-visible .back-to-top {
    bottom: 5.5rem;
}

/* Banking Copy Button */
.banking-detail-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-copy {
    background: var(--light-gray);
    border: none;
    border-radius: var(--radius-sm);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}

.btn-copy:hover {
    background: var(--gold-pale);
    color: var(--gold-dark);
}

.btn-copy.copied {
    background: var(--primary-blue);
    color: var(--white);
}

/* Refined Typography & Spacing */
.section-title {
    letter-spacing: -0.02em;
}

.section-tag {
    position: relative;
    padding-left: 2rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 2px;
    background: var(--gold);
}

/* Premium Banking Card Glass Header */
.banking-card-header {
    position: relative;
    overflow: hidden;
}

.banking-card-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

/* Enhanced Counter Section */
.impact-section .counter-item {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition);
}

.impact-section .counter-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Premium Enhancements */
@media (max-width: 991.98px) {
    .trust-badges-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-control-prev { left: 0; }
    .carousel-control-next { right: 0; }

    .announcement-inner {
        flex-direction: column;
        gap: 0.5rem;
        padding-right: 2rem;
    }
}

@media (max-width: 575.98px) {
    .trust-badges-row {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 1.25rem;
    }

    .sticky-donate-message span {
        font-size: 0.8125rem;
    }

    .partners-logos {
        gap: 1.5rem;
    }
}

.job-filters {
    margin-bottom: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow-md);
}

.job-empty {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.job-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.6rem 1.6rem 1.4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.job-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin: 0.85rem 0 0.75rem;
    color: var(--primary-blue-dark);
}

.job-card p {
    color: var(--text-muted);
    flex: 1;
}

.job-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.job-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.job-badge-open {
    background: #e8f6ee;
    color: #1f6b38;
}

.job-badge-pending {
    background: #fff4e0;
    color: #8a5a12;
}

.job-openings {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue-dark);
}

.job-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.job-meta i {
    color: var(--gold);
    margin-right: 0.35rem;
}

.job-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

@media (max-width: 575.98px) {
    .job-card-actions .btn {
        width: 100%;
    }
}
picture { display: block; line-height: 0; }
picture img { max-width: 100%; height: auto; }
.hero-bg picture,
.hero-bg picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.program-card-image picture,
.story-image picture,
.blog-card-image picture,
.gallery-item picture,
.campus-illustration picture,
.program-detail-image picture {
    display: block;
    width: 100%;
    height: 100%;
}
.program-card-image img,
.story-image img,
.blog-card-image img,
.gallery-item img,
.campus-illustration img,
.program-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-image-wrapper picture img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}
