/* ==========================================================================
   KARMIC FOUNDATION PREMIUM CSS BRAND SYSTEM
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

/* ==========================================================================
   CSS BRAND VARIABLES (Based on Karmic Foundation Logo)
   ========================================================================== */
:root {
    /* Exact Color Palette */
    --primary: #0B2F6B;         /* Primary Blue */
    --primary-light: rgba(11, 47, 107, 0.1);
    --primary-dark: #071E45;
    --forest-green: #2E7D32;    /* Forest Green */
    --leaf-green: #7CB342;      /* Leaf Green */
    --accent-gold: #C89B2A;     /* Gold Accent */
    --accent-gold-light: rgba(200, 155, 42, 0.1);
    --white: #FFFFFF;
    --light-gray: #F5F7FA;      /* Light Gray */
    --dark-text: #1E293B;       /* Slate 800 */
    --body-text: #475569;       /* Slate 600 */
    --border-color: #E2E8F0;    /* Slate 200 */
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Design Tokens */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;          /* 16px - 20px requested */
    --radius-xl: 30px;
    --shadow-sm: 0 4px 6px -1px rgba(11, 47, 107, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(11, 47, 107, 0.08), 0 4px 6px -2px rgba(11, 47, 107, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(11, 47, 107, 0.1), 0 10px 10px -5px rgba(11, 47, 107, 0.04);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Glassmorphism Styles */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 15px 35px rgba(11, 47, 107, 0.08);
}

/* ==========================================================================
   RESET & RESET PLUGINS
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
}

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

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

li {
    list-style: none;
}

/* ==========================================================================
   UTILITY CLASSES & GRID SYSTEM
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 90px 0;
}

.text-center { text-align: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--light-gray);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
    border: 2px solid var(--light-gray);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--forest-green);
}

/* Base Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--leaf-green) 100%);
    color: var(--white) !important;
    padding: 14px 30px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(46, 125, 50, 0.45);
    background: linear-gradient(135deg, var(--primary) 0%, var(--forest-green) 100%);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    transition: var(--transition-normal);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B8831B 100%);
    color: var(--white) !important;
    padding: 14px 30px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(200, 155, 42, 0.3);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(200, 155, 42, 0.5);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-gold) 100%);
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(11, 47, 107, 0.12);
}

/* ==========================================================================
   SECTION HEADER TYPOGRAPHY
   ========================================================================== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-title span {
    font-size: 0.85rem;
    color: var(--forest-green);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 auto 15px;
    max-width: 800px;
}

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

/* ==========================================================================
   STICKY TRANSPARENT HEADER
   ========================================================================== */
.marquee-container {
    background: linear-gradient(90deg, var(--primary) 0%, var(--forest-green) 100%);
    padding: 8px 0;
    border-bottom: 2px solid var(--accent-gold);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    z-index: 10001;
}

.header-main {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10000;
    background: transparent;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sticky Class triggered via JavaScript */
.header-main.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.nav-wrapper {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    transition: all 0.3s ease;
}

.header-main.scrolled .nav-wrapper {
    padding: 10px 30px;
}

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

.logo-box img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.logo-box:hover img {
    transform: scale(1.08) rotate(3deg);
}

.logo-text h1 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--white);
    font-weight: 800;
    line-height: 1;
    transition: color 0.3s ease;
}

.logo-text span {
    font-size: 9px;
    color: var(--accent-gold);
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
}

.header-main.scrolled .logo-text h1 {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.nav-link:hover, .nav-item:hover > .nav-link {
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
}

.header-main.scrolled .nav-link:hover {
    color: var(--forest-green);
    background: rgba(46, 125, 50, 0.05);
}

.nav-item {
    position: relative;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    width: 230px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--accent-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s ease;
    padding: 10px 0;
    z-index: 1000;
}

.nav-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-text);
    transition: all 0.25s ease;
}

.dropdown-menu li a:hover {
    background: var(--light-gray);
    color: var(--forest-green);
    padding-left: 25px;
}

/* Header Donate Button */
.donate-btn {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b08d20 100%);
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(200, 155, 42, 0.3);
}

.donate-btn:hover {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--leaf-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 125, 50, 0.4);
}

/* Mobile Toggle */
.menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--white);
}

.header-main.scrolled .menu-btn {
    color: var(--primary);
}

/* Search Box Container */
.search-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 4px 12px;
    margin-right: 10px;
}

.header-main.scrolled .search-container {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
}

.search-container input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 0.8rem;
    padding: 4px 6px;
    width: 120px;
    transition: width 0.3s ease;
}

.header-main.scrolled .search-container input {
    color: var(--dark-text);
}

.search-container input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.header-main.scrolled .search-container input::placeholder {
    color: var(--body-text);
}

.search-container input:focus {
    width: 180px;
}

.search-container button {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 0.85rem;
}

.header-main.scrolled .search-container button {
    color: var(--body-text);
}

/* ==========================================================================
   HERO DYNAMIC SLIDER
   ========================================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 95vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: -85px; /* Offset the marquee and header */
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 47, 107, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-content-wrap {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 80px;
}

.hero-content {
    max-width: 750px;
    color: var(--white);
}

.hero-content span {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-gold);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Floating Particle Shapes in Hero */
.hero-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    animation: floatShape 8s ease-in-out infinite;
}

.hero-shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 80px;
    height: 80px;
    bottom: 15%;
    right: 25%;
    animation-delay: 2s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

/* Slider Controls */
.swiper-pagination-bullet {
    background: var(--white) !important;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: var(--transition-fast);
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--accent-gold) !important;
    width: 30px !important;
    border-radius: 5px !important;
}

/* ==========================================================================
   DYNAMIC ABOUT US SECTION
   ========================================================================== */
.about-section {
    background-color: var(--white);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-box {
    position: relative;
}

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

.about-experience-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--forest-green) 100%);
    color: var(--white);
    padding: 25px 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(11, 47, 107, 0.3);
    text-align: center;
    z-index: 10;
    animation: floatBadge 4s ease-in-out infinite;
}

.about-experience-badge h3 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    font-weight: 800;
    line-height: 1;
}

.about-experience-badge p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-content-box h3 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 25px;
}

.about-content-box p {
    color: var(--body-text);
    font-size: 1.05rem;
    margin-bottom: 35px;
}

/* Mission & Vision Tabs inside About Us */
.mv-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.mv-tab-card {
    padding: 25px;
    border-left: 4px solid var(--forest-green);
    background: var(--light-gray);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.mv-tab-card:last-child {
    border-left-color: var(--accent-gold);
}

.mv-tab-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mv-tab-card h4 i {
    color: var(--forest-green);
}

.mv-tab-card:last-child h4 i {
    color: var(--accent-gold);
}

.mv-tab-card p {
    font-size: 0.9rem;
    color: var(--body-text);
    margin: 0;
}

/* ==========================================================================
   ANIMATED COUNTER SECTION
   ========================================================================== */
.counter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
}

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

.counter-card-item {
    text-align: center;
    padding: 20px;
}

.counter-card-item i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.counter-card-item h2 {
    font-size: 3rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 5px;
}

.counter-card-item p {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   OUR IMPACT AREAS (STATIC)
   ========================================================================== */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.impact-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 4px solid var(--primary);
    transition: var(--transition-normal);
}

.impact-card:nth-child(even) {
    border-top-color: var(--forest-green);
}

.impact-card:nth-child(3n) {
    border-top-color: var(--accent-gold);
}

.impact-card:nth-child(4n) {
    border-top-color: var(--leaf-green);
}

.impact-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.impact-card:nth-child(even) i { color: var(--forest-green); }
.impact-card:nth-child(3n) i { color: var(--accent-gold); }
.impact-card:nth-child(4n) i { color: var(--leaf-green); }

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

.impact-card:hover i {
    transform: scale(1.15) translateY(-3px);
}

.impact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.impact-card p {
    font-size: 0.9rem;
    color: var(--body-text);
    margin-bottom: 20px;
}

.impact-card .btn-readmore {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.impact-card:nth-child(even) .btn-readmore { color: var(--forest-green); }
.impact-card:nth-child(3n) .btn-readmore { color: var(--accent-gold); }
.impact-card:nth-child(4n) .btn-readmore { color: var(--leaf-green); }

.impact-card .btn-readmore i {
    font-size: 0.75rem;
    margin: 0;
    transition: transform 0.3s ease;
}

.impact-card .btn-readmore:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   DYNAMIC SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: var(--white);
}

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

.service-premium-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.service-premium-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    position: absolute;
    transition: transform 0.5s ease;
}

.service-premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 47, 107, 0.2) 0%, rgba(11, 47, 107, 0.95) 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
}

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

.service-premium-card:hover::before {
    background: linear-gradient(to bottom, rgba(46, 125, 50, 0.2) 0%, rgba(46, 125, 50, 0.95) 100%);
}

.service-premium-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    color: var(--white);
}

.service-premium-content i {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    display: inline-block;
}

.service-premium-content h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 10px;
}

.service-premium-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   DYNAMIC CROWDFUNDING SECTION
   ========================================================================== */
.cf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.cf-img-box {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.cf-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cf-premium-card:hover .cf-img-box img {
    transform: scale(1.05);
}

.cf-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--forest-green);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    text-transform: uppercase;
}

.cf-content-box {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cf-content-box h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.cf-address {
    font-size: 0.85rem;
    color: var(--body-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cf-address i {
    color: var(--accent-gold);
}

/* Funding Tracker */
.cf-tracker {
    margin-top: auto;
}

.cf-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.cf-progress-bar {
    width: 100%;
    height: 8px;
    background: #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.cf-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--forest-green) 0%, var(--leaf-green) 100%);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.cf-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.cf-days {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--body-text);
}

.cf-days i {
    color: var(--primary);
}

/* ==========================================================================
   DYNAMIC AWARDS & RECOGNITION (CAROUSEL)
   ========================================================================== */
.awards-section {
    background-color: var(--white);
}

.awards-carousel-container {
    padding: 10px 0;
}

.award-item-card {
    text-align: center;
    padding: 30px;
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.award-img-wrap {
    height: 180px;
    width: auto;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.award-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.award-item-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.award-item-card p {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   DYNAMIC TESTIMONIALS (AUTO-SLIDER)
   ========================================================================== */
.testimonials-carousel-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 0;
}

.testimonial-premium-slide {
    text-align: center;
    padding: 0 40px;
}

.testimonial-speech-bubble {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.testimonial-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 30px;
    height: 30px;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.testimonial-speech-bubble p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dark-text);
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
    border: 3px solid var(--accent-gold);
    box-shadow: var(--shadow-md);
}

.testimonial-author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--primary);
}

.testimonial-author-info span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   FULL-WIDTH CTA SECTION
   ========================================================================== */
.cta-parallax-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    padding: 120px 0;
}

.cta-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 47, 107, 0.9) 0%, rgba(46, 125, 50, 0.75) 100%);
    z-index: 1;
}

.cta-parallax-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
    text-align: center;
}

.cta-parallax-content h2 {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 24px;
}

.cta-parallax-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-parallax-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==========================================================================
   PREMIUM INTERACTIVE FOOTER
   ========================================================================== */
.footer-main {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #05132A 100%);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 20px;
    border-top: 4px solid var(--accent-gold);
    font-size: 0.9rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col-about img {
    width: 150px;
    margin-bottom: 20px;
}

.footer-col-about p {
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

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

.footer-social-icons a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(200, 155, 42, 0.4);
}

.footer-social-icons a.whatsapp:hover {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.footer-col-links ul li {
    margin-bottom: 12px;
}

.footer-col-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.footer-col-links ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--accent-gold);
    transition: transform 0.2s ease;
}

.footer-col-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-col-links ul li a:hover::before {
    transform: translateX(3px);
}

.footer-col-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-col-contact ul li i {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-col-contact ul li p {
    margin: 0;
}

/* Newsletter Signup inside Footer */
.newsletter-form {
    margin-top: 25px;
}

.newsletter-form p {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.newsletter-input-group {
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-input-group input {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    outline: none;
    color: var(--white);
    padding: 12px 20px;
    flex-grow: 1;
    font-size: 0.85rem;
}

.newsletter-input-group button {
    background: var(--accent-gold);
    border: none;
    color: var(--white);
    padding: 0 20px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition-fast);
}

.newsletter-input-group button:hover {
    background: var(--white);
    color: var(--primary-dark);
}

/* Google Map in Footer */
.footer-map-container {
    width: 100%;
    height: 120px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom strong {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a {
    color: var(--accent-gold);
}

/* ==========================================================================
   FLOATING BUTTONS (WhatsApp, Back to Top, Floating Donate)
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white) !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.back-to-top {
    position: fixed;
    bottom: 105px;
    right: 30px;
    background: var(--primary);
    color: var(--white) !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(11, 47, 107, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.back-to-top:hover {
    background: var(--forest-green);
    transform: translateY(-3px);
}

/* Floating Donate Sticky Button for Mobile/Tablet */
.floating-donate-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    padding: 10px 20px;
    display: none;
    z-index: 9998;
}

.floating-donate-sticky .btn-primary {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
    .container { max-width: 960px; }
    .hero-content h1 { font-size: 3.2rem; }
    .impact-grid, .services-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 992px) {
    .container { max-width: 720px; }
    .section-padding { padding: 70px 0; }
    
    /* Header & Navigation */
    .menu-btn { display: block; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 30px 80px;
        gap: 10px;
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        color: var(--dark-text) !important;
        border-radius: 8px;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
        justify-content: space-between;
    }
    
    .search-container {
        margin: 15px 20px;
        background: var(--light-gray);
        border: 1px solid var(--border-color);
        width: calc(100% - 40px);
    }
    
    .search-container input {
        width: 100%;
    }
    
    .search-container input:focus {
        width: 100%;
    }
    
    .donate-btn {
        margin: 15px 20px;
        justify-content: center;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        display: none;
        padding-left: 20px;
        background: var(--light-gray);
        margin-top: 5px;
    }
    
    .nav-item.active .dropdown-menu {
        display: block;
    }
    
    /* Slider Content */
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }
    
    /* About us */
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-img-box img { height: 380px; }
    
    /* Grid sections */
    .impact-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cf-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { max-width: 540px; }
    .section-title h2 { font-size: 2rem; }
    .hero-content-wrap { padding: 0 40px; }
    .hero-content h1 { font-size: 2.3rem; }
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-parallax-content h2 { font-size: 2.2rem; }
    
    /* Footer */
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    
    /* Mobile sticky bottom donate bar */
    .floating-donate-sticky { display: block; }
    
    /* Scroll down floating WhatsApp adjustment */
    .whatsapp-float { bottom: 80px; }
    .back-to-top { bottom: 150px; }
}

@media (max-width: 576px) {
    .container { padding: 0 16px; }
    .section-padding { padding: 60px 0; }
    .section-title h2 { font-size: 1.75rem; }
    
    /* Slider buttons */
    .hero-btns { flex-direction: column; gap: 12px; }
    .hero-btns a { width: 100%; text-align: center; }
    
    /* Counters & Grids */
    .counter-grid { grid-template-columns: 1fr; gap: 20px; }
    .impact-grid, .services-grid, .cf-grid { grid-template-columns: 1fr; }
}