/* ===============================================
   KAKUMA GREEN SOLUTIONS - CUSTOM STYLES
   Mobile-First Responsive Design
   =============================================== */

/* ===============================================
   GLOBAL MOBILE-FIRST BASE STYLES
   =============================================== */

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container,
.container-fluid {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===============================================
   CSS VARIABLES
   =============================================== */

:root {
    /* Primary Colors - Growth & Sustainability */
    --primary-color: #22c55e;           /* Fresh Green - Growth, Hope */
    --primary-dark: #16a34a;            /* Deep Green - Trust, Stability */
    --primary-light: #86efac;           /* Light Green - Optimism */
    
    /* Navbar Color - Navy Blue */
    --navbar-color: #1a3a52;            /* Navy Blue - Professional */
    --navbar-dark: #0f1f2e;             /* Dark Navy */
    --navbar-light: #2a4a6a;            /* Light Navy */
    
    /* Secondary Colors - Prosperity & Warmth */
    --secondary-color: #f59e0b;         /* Amber/Gold - Success, Prosperity */
    --secondary-dark: #d97706;          /* Dark Amber */
    --secondary-light: #fbbf24;         /* Light Amber */
    
    /* Premium Orange Accent - Professional CTAs */
    --orange-accent: #ff6b35;           /* Vibrant Orange - Premium CTAs */
    --orange-dark: #e55a24;             /* Dark Orange - Hover State */
    --orange-light: #ff8c5a;            /* Light Orange - Backgrounds */
    
    /* Accent Colors */
    --accent-color: #06b6d4;            /* Cyan - Innovation, Stability */
    --accent-dark: #0891b2;             /* Dark Cyan */
    
    /* Earth Tones - Connection to Nature */
    --earth-brown: #92400e;             /* Earth Brown */
    --earth-light: #dbeafe;             /* Sky Blue - Hope */
    
    /* Neutral Colors */
    --dark-color: #1f2937;              /* Dark Gray - Professionalism */
    --light-color: #f9fafb;             /* Off White - Clean */
    --white: #ffffff;                   /* Pure White */
    --text-color: #111827;              /* Dark Text - Readability */
    --text-light: #374151;              /* Light Text - Secondary */
    --muted-color: #9ca3af;             /* Muted - Subtle */
    --border-color: #e5e7eb;            /* Light Border */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-cool: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-nature: linear-gradient(135deg, #22c55e 0%, #06b6d4 100%);
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    
    /* Card Colors */
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-border: rgba(255, 255, 255, 0.2);
    
    /* Semantic Colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;
}

/* ===============================================
   DARK MODE THEME
   =============================================== */

[data-theme="dark"] {
    /* Primary Colors */
    --primary-color: #34d399;
    --primary-dark: #10b981;
    --primary-light: #6ee7b7;
    
    /* Navbar */
    --navbar-color: #111827;
    --navbar-dark: #030712;
    --navbar-light: #1f2937;
    
    /* Orange Accent (stays vibrant) */
    --orange-accent: #fb923c;
    --orange-dark: #f97316;
    --orange-light: #fdba74;
    
    /* Neutral Colors */
    --dark-color: #f9fafb;
    --light-color: #1f2937;
    --white: #111827;
    --text-color: #f9fafb;
    --text-light: #d1d5db;
    --muted-color: #9ca3af;
    --border-color: #374151;
    
    /* Background Colors */
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    
    /* Card Colors */
    --card-bg: rgba(31, 41, 55, 0.95);
    --card-border: rgba(75, 85, 99, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    --gradient-warm: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

body[data-theme="dark"] {
    background-color: var(--bg-primary);
    color: var(--text-color);
}

body[data-theme="dark"] .navbar {
    background: var(--navbar-color) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .page-header,
body[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(31, 41, 59, 0.95) 100%),
                url('https://images.unsplash.com/photo-1574943320219-553eb213f72d?w=1600&q=80') center/cover !important;
}

body[data-theme="dark"] footer {
    background-color: #030712 !important;
}

/* Dark mode card adjustments */
body[data-theme="dark"] .service-card,
body[data-theme="dark"] .blog-card,
body[data-theme="dark"] .story-card,
body[data-theme="dark"] .project-card,
body[data-theme="dark"] .team-card,
body[data-theme="dark"] .testimonial-card {
    background: var(--card-bg);
    border-color: var(--card-border);
    color: var(--text-color);
}

body[data-theme="dark"] .service-card:hover,
body[data-theme="dark"] .blog-card:hover,
body[data-theme="dark"] .story-card:hover,
body[data-theme="dark"] .project-card:hover,
body[data-theme="dark"] .team-card:hover,
body[data-theme="dark"] .testimonial-card:hover {
    background: rgba(55, 65, 81, 1);
    border-color: var(--orange-accent);
}

/* Smooth theme transition */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ===============================================
   ANIMATION KEYFRAMES & TRANSITIONS
   =============================================== */

/* Fade Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: none;
    }
    50% {
        box-shadow: none;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--white);
    overflow-x: hidden;
    font-size: clamp(14px, 2vw, 16px);
    padding-top: clamp(60px, 10vw, 70px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark-color);
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    letter-spacing: -1.5px;
}

h2 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
}

h4 {
    font-size: 1.375rem;
    font-weight: 700;
}

h5 {
    font-size: 1.125rem;
    font-weight: 700;
}

h6 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.75;
    font-size: 1rem;
}

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

a {
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Typography */
.lead {
    font-size: clamp(1.1rem, 3vw, 1.375rem);
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.8;
}

.display-4 {
    font-size: clamp(2.5rem, 8vw, 3.75rem);
    font-weight: 800;
}

.display-5 {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
}

.display-6 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Buttons */
.btn {
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    font-family: 'Poppins', sans-serif;
    user-select: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn:active {
    transform: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn:focus {
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 0 0 3px rgba(34, 197, 94, 0.25);
}

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

.btn-primary:hover {
    color: white;
    opacity: 1;
}

.btn-primary:focus {
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2), 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.15);
}

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

.btn-secondary {
    background: var(--gradient-warm);
    color: white;
}

.btn-secondary:hover {
    color: white;
}

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

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* ===============================================
   NAVBAR STYLES
   =============================================== */

.navbar {
    padding: clamp(0.75rem, 2vw, 1rem) 0;
    -webkit-transition: all 0.3s ease;
    background: var(--navbar-color) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    pointer-events: none;
}

.navbar.scrolled {
    padding: clamp(0.6rem, 1.5vw, 0.8rem) 0;
    background: var(--navbar-dark) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    -webkit-transition: all 0.3s ease;
}

.navbar-brand:hover {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    transform: scale(1.05);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: clamp(0.4rem, 1vw, 0.75rem);
    color: white;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.brand-logo i {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    -webkit-animation: grow 2s ease-in-out infinite;
    animation: grow 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes grow {
    0%, 100% { -webkit-transform: scale(1); transform: scale(1); }
    50% { -webkit-transform: scale(1); transform: scale(1); }
}

@keyframes navPulse {
    0%, 100% { color: var(--text-color); }
    50% { color: var(--primary-color); }
}

@keyframes glow {
    0%, 100% { text-shadow: none; }
    50% { text-shadow: 0 0 8px rgba(34, 197, 94, 0.4); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes heartBeat {
    0%, 100% { -webkit-transform: scale(1); transform: scale(1); }
    14% { -webkit-transform: scale(1); transform: scale(1); }
    28% { -webkit-transform: scale(1); transform: scale(1); }
    42% { -webkit-transform: scale(1); transform: scale(1); }
    70% { -webkit-transform: scale(1); transform: scale(1); }
}

.nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 0.75rem;
    position: relative;
    -webkit-transition: all 0.3s ease;
    padding: 0.5rem 0 !important;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: white !important;
}

.nav-link.active {
    color: white !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--orange-accent);
    -webkit-transition: all 0.3s ease;
    border-radius: 0px;
    transform: translateX(-50%);
    box-shadow: none;
}

.nav-link:hover::after {
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: none;
}

.nav-link.active::after {
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange-accent);
    box-shadow: none;
}

/* Enhanced Nav Link Hover */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

/* Hamburger Animation */
.navbar-toggler {
    -webkit-transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.navbar-toggler:not(.collapsed) {
    transform: rotate(0deg);
    background: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Donate Heart Animation */
.nav-link .fa-heart {
    animation: heartBeat 1.3s ease-in-out infinite;
    -webkit-transition: all 0.3s ease;
    display: inline-block;
}

.nav-link:hover .fa-heart {
    animation: heartBeat 0.8s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.7));
}

/* ===============================================
   HERO SECTION
   =============================================== */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%), 
                url('https://images.unsplash.com/photo-1574943320219-553eb213f72d?w=1400&q=85') center/cover;
    background-attachment: scroll;
    background-size: cover;
    padding: 5rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 0% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0px;
    background: none;
    z-index: 1;
    display: none;
}

.hero-image {
    display: none;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    animation: slideInDown 0.8s ease-out;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-section .lead {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    animation: slideInUp 0.8s ease-out 0.2s both;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeIn 0.8s ease-out 0.4s both;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 3rem 1rem;
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===============================================
   BUTTONS
   =============================================== */

.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    -webkit-transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    display: inline-block;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: none;
}

.btn-success:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: none;
    box-shadow: none;
}

/* Premium Orange Button - For Main CTAs */
.btn-orange {
    background-color: var(--orange-accent);
    border-color: var(--orange-accent);
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: none;
}

.btn-orange:hover {
    background-color: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: none;
    box-shadow: none;
}

.btn-orange:active {
    transform: none;
    opacity: 0.9;
}

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

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

/* Orange Outline Button */
.btn-outline-orange {
    color: var(--orange-accent);
    border-color: var(--orange-accent);
    background-color: transparent;
}

.btn-outline-orange:hover {
    background-color: var(--orange-accent);
    border-color: var(--orange-accent);
    color: white;
    transform: none;
    box-shadow: none;
}

/* White Outline Button - For Dark Backgrounds */
.btn-outline-light {
    color: white;
    border-color: white;
    background-color: transparent;
    font-weight: 700;
    letter-spacing: 1px;
}

.btn-outline-light:hover {
    background-color: white;
    border-color: white;
    color: var(--orange-accent);
    transform: none;
    box-shadow: none;
}

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* ===============================================
   PAGE HEADER
   =============================================== */

.page-header {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1200&q=80') center/cover;
    background-attachment: scroll;
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0;
    display: none;
}

.page-header h1 {
    color: white;
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1.25rem;
    animation: fadeInDown 0.6s ease-out;
    position: relative;
    z-index: 1;
    font-weight: 800;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 0.6s ease-out 0.2s both;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

/* ===============================================
   SECTION STYLES
   =============================================== */

.section-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.section-header h2 {
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    font-size: clamp(1.75rem, 5vw, 3rem);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-header p {
    color: var(--muted-color);
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ===============================================
   STATISTICS
   =============================================== */

.stat-box {
    padding: 2.5rem 1.5rem;
    -webkit-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
}

.stat-box:hover {
    transform: none;
}

.stat-box h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
}

.stat-box p {
    color: var(--muted-color);
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 500;
}

/* ===============================================
   PREMIUM FEATURE BOXES
   =============================================== */

.feature-box {
    background: white;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 2px solid var(--border-color);
    -webkit-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.feature-box:hover {
    transform: none;
    border-color: var(--orange-accent);
    box-shadow: none;
}

.feature-box-icon {
    font-size: 3.5rem;
    color: var(--orange-accent);
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.feature-box-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.feature-box-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feature-box-link {
    color: var(--orange-accent);
    font-weight: 700;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-box-link:hover {
    color: var(--orange-dark);
    transform: translateX(4px);
}

@keyframes float {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: none;
    }
}

/* ===============================================
   SERVICE CARDS
   =============================================== */

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
    display: none;
}

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

.service-card:hover {
    border-color: var(--orange-accent);
    box-shadow: 
        0 20px 48px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(255, 107, 53, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 1);
}

.service-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: none; }
    50% { transform: none; }
}

.service-card:hover .service-icon {
    animation: none;
    transform: none;
}

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

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-card-detailed {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card-detailed:hover {
    box-shadow: 
        0 20px 48px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(255, 107, 53, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-8px);
    border-color: var(--orange-accent);
    background: rgba(255, 255, 255, 1);
}

.service-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: linear-gradient(135deg, #dcfce7 0%, #e0f2fe 100%);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card-detailed:hover .service-image {
    transform: scale(1.08);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 197, 94, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card-detailed:hover .service-overlay {
    opacity: 1;
}

.service-overlay .btn {
    animation: slideInUp 0.4s ease;
}

.service-body {
    padding: 2rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon-large {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    -webkit-transition: all 0.3s ease;
}

.service-card-detailed:hover .service-icon-large {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.service-category-box {
    -webkit-transition: all 0.3s ease;
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
}

.service-category-box:hover {
    box-shadow: none !important;
    transform: none;
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(230, 255, 245, 0.3) 100%) !important;
}

.category-icon {
    -webkit-transition: all 0.3s ease;
}

.service-category-box:hover .category-icon {
    transform: scale(1.15) rotate(5deg);
}



/* ===============================================
   STORY CARDS
   =============================================== */

.story-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
}

.story-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--orange-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.story-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.story-card:hover {
    box-shadow: 
        0 20px 48px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(255, 107, 53, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-8px);
    border-color: var(--orange-accent);
    background: rgba(255, 255, 255, 1);
}

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

.story-card .card-img-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

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

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

.story-card .beneficiary {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.story-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}

.story-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

.story-card .card-text {
    flex-grow: 1;
}

/* ===============================================
   BLOG CARDS
   =============================================== */

.blog-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.blog-card:hover {
    box-shadow: 
        0 20px 48px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(255, 107, 53, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-8px);
    border-color: var(--orange-accent);
    background: rgba(255, 255, 255, 1);
}

.blog-card .card-img-top {
    height: 240px;
    object-fit: cover;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.blog-card .card-img-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.blog-card:hover .card-img-top::before {
    opacity: 0.15;
}

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

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.blog-meta .badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 600;
}

.blog-meta small {
    font-size: 0.85rem;
    color: var(--muted-color);
}

.blog-card h5 {
    color: var(--dark-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
}

.blog-card-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.blog-post-item {
    background: white;
    border-radius: 8px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    -webkit-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: none;
}

.blog-post-item:hover {
    box-shadow: none;
    transform: none;
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(240, 255, 245, 0.3) 100%);
}

.blog-post-image-wrapper {
    overflow: hidden;
    max-height: 250px;
}

.blog-post-image-wrapper img {
    transition: transform 0.4s ease;
}

.blog-post-item:hover .blog-post-image-wrapper img {
    transform: scale(1.08);
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 700;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: none;
}


/* ===============================================
   TEAM CARDS
   =============================================== */

.team-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.team-card:hover {
    box-shadow: 
        0 20px 48px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(255, 107, 53, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-8px);
    border-color: var(--orange-accent);
    background: rgba(255, 255, 255, 1);
}

.team-image {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    object-fit: cover;
    -webkit-transition: all 0.3s ease;
}

.team-card:hover .team-image {
    transform: none;
}

.team-placeholder {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--light-green), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    border-radius: 50%;
}

.team-card h5 {
    color: var(--dark-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-card p {
    margin-bottom: 1rem;
}

.social-links {
    padding-top: 1rem;
    border-top: 1px solid rgba(34, 197, 94, 0.1);
}

.social-links a {
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--primary-color) !important;
    transform: scale(1.25) translateY(-3px);
}

/* ===============================================
   TESTIMONIAL CARDS
   =============================================== */

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border-left: 5px solid var(--orange-accent);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 4rem;
    color: rgba(34, 197, 94, 0.1);
    font-weight: bold;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 48px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(255, 107, 53, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 1);
}

.testimonial-card .stars {
    display: flex;
    gap: 0.35rem;
}

.testimonial-card .stars i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.testimonial-card .quote {
    font-size: 1rem;
    color: var(--text-color);
    font-style: italic;
    font-weight: 500;
    margin: 1.5rem 0;
    line-height: 1.6;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(34, 197, 94, 0.1);
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}

.author-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-green), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ===============================================
   PROJECT CARDS
   =============================================== */

.project-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.project-card:hover {
    box-shadow: 
        0 20px 48px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(255, 107, 53, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-8px);
    border-color: var(--orange-accent);
    background: rgba(255, 255, 255, 1);
}

.project-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

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

.project-meta {
    display: flex;
    gap: 0.5rem;
}

.project-meta .badge {
    font-size: 0.75rem;
}

.project-dates {
    margin-top: 1rem;
}

/* ===============================================
   PLACEHOLDER IMAGES
   =============================================== */

.placeholder-image {
    background: linear-gradient(135deg, #e9ecef 0%, #f0f0f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--muted-color);
}

.placeholder-image {
    height: 200px;
    font-size: 3rem;
}

.placeholder-image.large {
    height: 400px;
    font-size: 5rem;
}

/* ===============================================
   CONTACT FORM
   =============================================== */

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.1);
    box-shadow: none;
}

.contact-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.contact-form .form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-color: #fafafa;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.contact-form .form-control::placeholder {
    color: #999;
}

.contact-form textarea.form-control {
    resize: vertical;
    font-family: 'Inter', sans-serif;
    min-height: 150px;
}

.contact-info-item {
    -webkit-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.contact-info-item:hover {
    box-shadow: none !important;
    transform: none;
    border-color: var(--primary-color);
}

.contact-info-item h5 {
    color: var(--dark-color);
    font-weight: 700;
}

.contact-info-item a {
    color: var(--primary-color);
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

.contact-social-box {
    border: 1px solid rgba(34, 197, 94, 0.15);
    -webkit-transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.contact-social-box:hover {
    background: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-social-box .btn {
    -webkit-transition: all 0.3s ease;
}

.contact-social-box .btn:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.map-container {
    border: 1px solid rgba(34, 197, 94, 0.1);
    border-radius: 8px;
}

.value-card:hover {
    box-shadow: none;
    transform: none;
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(230, 255, 245, 0.5) 100%) !important;
}

.value-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    -webkit-transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    color: var(--secondary-color);
    transform: scale(1.1) rotate(-5deg);
}

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

.value-card p {
    line-height: 1.7;
}

/* ===============================================
   VISION BOX
   =============================================== */

.vision-box {
    position: relative;
    overflow: hidden;
    box-shadow: none;
    -webkit-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vision-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    -webkit-transition: all 0.6s ease;
}

.vision-box:hover {
    transform: none;
    box-shadow: none;
}

.vision-box h3 {
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.vision-box p {
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

/* ===============================================
   FOOTER
   =============================================== */

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    margin-top: auto;
}

footer a {
    color: #ecf0f1;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
}

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

.brand-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

footer h5 {
    color: white;
    font-weight: 700;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ===============================================
   CTA SECTIONS
   =============================================== */

.bg-success {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%) !important;
    position: relative;
    overflow: hidden;
}

.bg-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    pointer-events: none;
    display: none;
}

.bg-success .container {
    position: relative;
    z-index: 1;
}

.bg-success h2 {
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-success p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.bg-success .btn-light {
    background-color: white !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: none;
}

.bg-success .btn-light:hover {
    background-color: var(--light-green) !important;
    color: var(--dark-green) !important;
    transform: none;
    box-shadow: none;
}

.cta-section {
    position: relative;
    padding: 4rem 0;
    animation: slideInUp 0.8s ease-out;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-image {
        display: none;
    }
    
    .stat-box {
        margin-bottom: 1rem;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Mobile: plain, clean hero and page headers (remove layered/background images) */
    .hero-section {
        background: var(--light-color) !important;
        color: var(--dark-color) !important;
        padding: 2.5rem 1rem;
        box-shadow: none !important;
        background-attachment: scroll !important;
        background-size: auto !important;
    }

    .hero-section h1,
    .hero-section .lead {
        color: var(--dark-color) !important;
        text-shadow: none !important;
    }

    .page-header {
        background: transparent !important;
        color: var(--dark-color) !important;
        padding: 2rem 1rem !important;
        box-shadow: none !important;
    }

    .page-header h1, .page-header p {
        color: var(--dark-color) !important;
        text-shadow: none !important;
    }

    /* Two-column card layout on small screens */
    .service-card, .story-card, .blog-card, .project-card, .team-card, .testimonial-card, .feature-box {
        width: calc(50% - 0.75rem) !important;
        display: inline-block !important;
        vertical-align: top !important;
        margin: 0 0.75rem 1rem 0 !important;
    }

    /* Fix images inside two-column cards to be full width of their container */
    .service-card .card-img-top, .story-card .card-img-top, .blog-card .card-img-top, .project-card .card-img-top {
        height: 140px !important;
        object-fit: cover !important;
    }

    /* Ensure container rows don't add extra negative margins */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Simplify section backgrounds for a smooth plain look */
    .feature-box, .stat-box, .contact-form-wrapper, .value-card {
        background: white !important;
        box-shadow: none !important;
        border-color: rgba(0,0,0,0.04) !important;
    }
}

/* ===============================================
   UTILITY CLASSES
   =============================================== */

.hover-link {
    -webkit-transition: all 0.3s ease;
}

.hover-link:hover {
    color: var(--primary-color) !important;
    padding-left: 0.5rem;
}

/* Disable problematic hover classes */
.hover-lift {
    transform: none !important;
}

.hover-lift:hover {
    transform: none !important;
}

.hover-color-change {
    transition: color 0.3s ease;
}

.hover-color-change:hover {
    color: var(--orange-dark);
    transform: none;
}

.impact-box,
.objective-box,
.results-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
}

.impact-section {
    background-color: var(--primary-color);
    color: white;
}

.impact-section ul {
    list-style: none;
    padding-left: 0;
}

/* ===============================================
   ACCESSIBILITY: Focus styles for keyboard and mobile users
   =============================================== */
:focus {
    outline: 3px solid rgba(34, 197, 94, 0.18);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

a:focus, .btn:focus, .nav-link:focus {
    outline: 3px solid rgba(34, 197, 94, 0.25);
    outline-offset: 2px;
}

/* Ensure touch targets are large enough on mobile */
.nav-link {
    padding: 0.6rem 0.75rem !important;
}

.btn {
    min-height: 44px;
}

.impact-section li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.impact-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cta-section {
    background-color: #f8f9fa;
    border-radius: 8px;
}

.map-container {
    box-shadow: none;
}

/* ===============================================
   ANIMATIONS
   =============================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: none;
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}
/* ===============================================
   DONATIONS STYLES
   =============================================== */

.mission-card {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(23, 162, 184, 0.1) 100%);
    border-left: 5px solid var(--primary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: none;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefits-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    min-width: 24px;
}

/* Donation Cards */
.donation-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.donation-card:hover {
    border-color: var(--primary-color);
    box-shadow: none;
    transform: none;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(240, 255, 245, 0.3) 100%);
}

.donation-card.featured-donation {
    border-color: var(--primary-color);
    background: #fff;
    border-width: 2px;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.donation-card.featured-donation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--orange-accent);
}

.donation-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.donation-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
    font-family: 'Poppins', sans-serif;
}

.donation-amount span {
    display: block;
}

.donation-title {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: var(--dark-color);
}

.donation-benefits {
    flex-grow: 1;
    margin: 1rem 0;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.donation-card .btn {
    margin-top: auto;
    font-weight: 600;
}

.featured-donations .btn {
    padding: 0.75rem 2rem;
    font-size: 1.05rem;
}

/* Custom Donation Section */
.custom-donation-section {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(23, 162, 184, 0.1) 100%);
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.custom-donation-section .card {
    border: none;
    background: white;
}

.custom-donation-section input {
    font-size: 1.1rem;
    font-weight: 500;
}

.custom-donation-section .input-group-text {
    background: white;
    border-color: #ddd;
    font-weight: 600;
    color: var(--primary-color);
}

/* Impact Section */
.impact-section {
    margin: 3rem 0;
}

.impact-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    -webkit-transition: all 0.3s ease;
    height: 100%;
    box-shadow: none;
}

.impact-card:hover {
    border-color: var(--primary-color);
    box-shadow: none;
    transform: none;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(240, 255, 245, 0.3) 100%);
}

.impact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(23, 162, 184, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.impact-card h5 {
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
}

.impact-card p {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 8px;
}

.accordion {
    background: transparent;
    border: none;
}

.accordion-item {
    background: white;
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-button {
    background: white;
    border: none;
    font-weight: 600;
    color: var(--text-color);
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(23, 162, 184, 0.1) 100%);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2328a745' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* Responsive Design for Donations */
@media (max-width: 768px) {
    .donation-amount {
        font-size: 2rem;
    }

    .mission-card {
        padding: 1.5rem;
    }

    .custom-donation-section {
        padding: 1.5rem;
    }

    .faq-section {
        padding: 1.5rem;
/* ===============================================
   IMPACT STATISTICS
   =============================================== */

.impact-stat {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    -webkit-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.impact-stat::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: 50%;
    transition: opacity 0.4s ease;
}

.impact-stat:hover {
    transform: none;
    box-shadow: none;
}

.impact-stat:hover::before {
    opacity: 0.05;
}

.impact-number {
    position: relative;
    z-index: 1;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.impact-number .unit {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-left: 0.25rem;
}

.impact-label {
    position: relative;
    z-index: 1;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

    }

    .donation-card {
        padding: 1.5rem;
    }

    .impact-card {
        margin-bottom: 1rem;
    }
}

/* ===============================================
   ENHANCED SECTION BACKGROUNDS
   =============================================== */

/* Services Section Background */
section:has(.service-card) {
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(245,250,248,1) 100%);
    position: relative;
}

section:has(.service-card)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm566-113c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 8c1.657 0 3-1.343 3-3S13.657 2 12 2s-3 1.343-3 3 1.343 3 3 3zm0 8c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3-1.343-3-3-3zm0 16c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3-1.343-3-3-3zm0 16c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3-1.343-3-3-3zm0 16c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3-1.343-3-3-3zm0 16c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3-1.343-3-3-3zm0 16c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3-1.343-3-3-3zM12 4c1.657 0 3-1.343 3-3S13.657-2 12-2s-3 1.343-3 3 1.343 3 3 3z' fill='rgba(34,197,94,0.03)' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Blog Section Background */
section:has(.blog-card) {
    background: linear-gradient(180deg, rgba(250,252,251,1) 0%, rgba(240,248,245,1) 100%);
}

/* Stories Section Background */
section:has(.story-card) {
    background: linear-gradient(180deg, rgba(245,250,248,1) 0%, rgba(235,245,242,1) 100%);
}

/* Team Section Background */
section:has(.team-card) {
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(245,250,248,1) 100%);
}

/* Value Cards Section */
section:has(.value-card) {
    background: linear-gradient(180deg, rgba(240,248,245,1) 0%, rgba(230,255,245,0.5) 100%);
}

/* CTA Section Enhanced */
.bg-success.cta-section {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9) 0%, rgba(22, 163, 74, 0.9) 100%),
                url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=1200&q=80') center/cover !important;
    background-attachment: fixed !important;
    position: relative;
}

/* Projects Section Styling */
.projects-section {
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(245,250,248,1) 100%);
}

.project-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.project-card:hover {
    transform: none;
    box-shadow: none;
}

.project-card .card-title {
    font-size: clamp(1.1rem, 3vw, 1.375rem);
    margin-top: 0.75rem;
    color: var(--dark-color);
    font-weight: 700;
}

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

.project-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-meta .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.placeholder-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-green);
}

.projects-impact-section {
    background: linear-gradient(180deg, rgba(245,250,248,1) 0%, rgba(235,245,242,1) 100%);
}

.impact-stat-card {
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.impact-stat-card:hover {
    transform: none;
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: none;
}

.impact-stat-card h3 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.impact-stat-card p {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
    margin: 0;
}

/* Donations Section Styling */
.donations-tiers-section {
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(245,252,251,1) 100%);
}

.donation-card {
    border: 2px solid rgba(34, 197, 94, 0.15);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,250,248,0.95) 100%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.donation-card:hover {
    transform: none;
    border-color: var(--primary-green);
    box-shadow: none;
}

.donation-card.featured-donation {
    border: 2px solid var(--primary-green);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(22, 163, 74, 0.05) 100%);
    position: relative;
}

.donation-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-gold));
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.donation-amount {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-green);
    margin: 1rem 0;
}

.donation-amount span {
    font-size: clamp(2rem, 6vw, 3rem);
}

.donation-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0.75rem 0;
    color: var(--dark-color);
}

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

.donations-impact-section {
    background: linear-gradient(180deg, rgba(245,250,248,1) 0%, rgba(240,248,245,1) 100%);
    padding: 3rem 0;
}

.impact-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(245,250,248,0.9) 100%);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(34, 197, 94, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.impact-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(34, 197, 94, 0.3);
}

.impact-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.impact-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 1rem 0;
}

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

.donations-faq-section {
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(245,252,251,1) 100%);
}

.accordion-item {
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark-color);
    border: none;
    padding: 1.25rem;
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.05) 100%);
    color: var(--primary-green);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 0 0.25rem rgba(34, 197, 94, 0.15);
}

.accordion-body {
    padding: 1.5rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.3);
}

.custom-donation-section {
    background: linear-gradient(180deg, rgba(245,252,251,1) 0%, rgba(240,248,245,1) 100%);
}

.custom-donation-section .card {
    border: 1px solid rgba(34, 197, 94, 0.2);
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,250,248,0.95) 100%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.custom-donation-section .card h3 {
    color: var(--dark-color);
    font-weight: 700;
}

.custom-donation-section .input-group {
    box-shadow: none;
}

.custom-donation-section .input-group-text {
    background: var(--primary-green);
    color: white;
    border: none;
    font-weight: 600;
}

.custom-donation-section input {
    border: 2px solid rgba(34, 197, 94, 0.15);
}

.custom-donation-section input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.15);
}

/* Contact Form Section */
section:has(.contact-form-wrapper) {
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,250,249,1) 100%);
}

/* Form Field Animations */
.form-field-animated {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: rgba(255,255,255,0.5);
}

.form-field-animated:focus {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1), 0 4px 12px rgba(34, 197, 94, 0.15);
}

.form-field-animated::placeholder {
    color: rgba(0,0,0,0.3);
    transition: color 0.3s ease;
}

.form-field-animated:focus::placeholder {
    color: rgba(0,0,0,0.5);
}

.contact-form-wrapper {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,250,248,0.95) 100%);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    backdrop-filter: blur(5px);
}

/* Contact Info Items */
.contact-info-item {
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15) !important;
}

/* Social Links Styling */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.08);
    transition: all 0.3s ease;
    color: var(--text-light);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Transition utility class */
.transition-all {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* ===============================================
   COMPREHENSIVE RESPONSIVE DESIGN BREAKPOINTS
   =============================================== */

/* Extra Small Devices: 320px - 575px (Mobile Phones) */
@media (max-width: 575px) {
    :root {
        --spacing-base: 0.75rem;
    }
    
    body {
        padding-top: 60px;
        font-size: 14px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .container, .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .navbar {
        padding: 0.6rem 0;
    }
    
    .nav-link {
        margin: 0 0.5rem;
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-lg {
        padding: 0.8rem 1.5rem;
        min-height: 48px;
    }
    
    section {
        padding: 2rem 1rem !important;
    }
    
    .row {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }
    
    .col, [class*="col-"] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Small Devices: 576px - 767px (Small Tablets) */
@media (min-width: 576px) and (max-width: 767px) {
    body {
        padding-top: 65px;
        font-size: 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    .nav-link {
        margin: 0 0.6rem;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.7rem 1.35rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    section {
        padding: 2.5rem 1.25rem !important;
    }
}

/* Medium Devices: 768px - 991px (Tablets & Large Phones) */
@media (min-width: 768px) and (max-width: 991px) {
    body {
        padding-top: 68px;
        font-size: 15px;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.9rem; }
    h3 { font-size: 1.65rem; }
    
    .container {
        max-width: 750px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .nav-link {
        margin: 0 0.65rem;
        font-size: 0.92rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.92rem;
    }
    
    section {
        padding: 3rem 1.5rem !important;
    }
    
    .col-md-6, .col-md-4, .col-md-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }
}

/* Large Devices: 992px - 1199px (Small Desktops) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    body {
        font-size: 15px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    
    .btn {
        padding: 0.75rem 1.75rem;
    }
    
    section {
        padding: 3.5rem 2rem !important;
    }
}

/* Extra Large Devices: 1200px - 1399px (Desktops) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 1140px;
    }
    
    body {
        font-size: 16px;
    }
    
    section {
        padding: 4rem 2rem !important;
    }
}

/* XXL Devices: 1400px+ (Large Desktops & 4K) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    body {
        font-size: 16px;
    }
    
    h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
    h2 { font-size: clamp(1.75rem, 5vw, 3rem); }
    
    section {
        padding: 5rem 3rem !important;
    }
}

/* Ultra-Wide Displays: 1920px+ */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
    
    body {
        font-size: 17px;
    }
    
    section {
        padding: 6rem 4rem !important;
    }
}

/* ===============================================
   MOBILE-FIRST TOUCH IMPROVEMENTS
   =============================================== */

@media (max-width: 768px) {
    /* Better touch targets on mobile */
    .btn, a, button, [role="button"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve spacing on mobile */
    .form-control, input, select, textarea {
        font-size: 16px;
        padding: 0.75rem;
        min-height: 44px;
    }
    
    /* Stack navigation better on mobile */
    .navbar-collapse {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    /* Improve card spacing on mobile */
    .card, [class*="card"] {
        margin-bottom: 1.5rem;
    }
    
    /* Better image responsiveness */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* Responsive table */
    table {
        font-size: 0.9rem;
    }
    
    /* Better form layout on mobile */
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    /* Prevent zooming on input focus (iOS) */
    input, textarea, select {
        font-size: 16px !important;
    }
    
    /* Full-width modals on mobile */
    .modal-dialog {
        margin: 0.5rem !important;
    }
}

/* ===============================================
   BROWSER-SPECIFIC FIXES
   =============================================== */

/* Safari (all versions) */
@supports (-webkit-appearance: none) {
    body {
        -webkit-font-smoothing: antialiased;
        -webkit-text-size-adjust: 100%;
    }
    
    .navbar {
        -webkit-backdrop-filter: blur(0px);
    }
    
    input, button, select, textarea {
        -webkit-appearance: none;
        -webkit-border-radius: 0;
    }
    
    /* Fix Safari flex issues */
    .navbar-nav {
        display: -webkit-flex;
        display: flex;
    }
}

/* Firefox */
@-moz-document url-prefix() {
    .navbar {
        padding: clamp(0.75rem, 2vw, 1rem) 0;
    }
    
    button, input, select {
        -moz-appearance: none;
    }
}

/* Edge/Internet Explorer */
@supports (-ms-ime-align: auto) {
    html {
        scroll-behavior: auto;
    }
    
    .navbar {
        display: flex;
        -ms-flex-align: center;
    }
}

/* iOS specific fixes */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    body {
        -webkit-text-size-adjust: 100%;
    }
    
    input, select, textarea {
        font-size: 16px;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }
    
    /* Fix sticky position on iOS */
    .navbar {
        -webkit-position: fixed;
        position: fixed;
    }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }
    
    * {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

/* Dark mode / Prefers color scheme */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }
}

/* ===============================================
   ANIMATION UTILITY CLASSES
   =============================================== */

/* Fade Animations */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-down {
    animation: fadeInDown 0.6s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

.scale-in {
    animation: scaleIn 0.5s ease forwards;
}

/* Hover Animations */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

.hover-color-change {
    transition: color 0.3s ease;
}

.hover-color-change:hover {
    color: var(--primary-color);
}

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

/* Floating Animation */
.float {
    animation: float 3s ease-in-out infinite;
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Success Animation */
@keyframes successBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===============================================
   SCROLL TO TOP BUTTON
   =============================================== */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange-accent);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.scroll-top:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ===============================================
   BREADCRUMB NAVIGATION
   =============================================== */

.breadcrumb {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--muted-color);
    font-size: 1.2rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.breadcrumb a:hover {
    color: var(--orange-accent);
    background: rgba(255, 107, 53, 0.1);
}

.breadcrumb li[aria-current="page"] {
    color: var(--text-color);
    font-weight: 600;
}

/* ===============================================
   LOADING STATES
   =============================================== */

/* Loading Spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid var(--orange-accent);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 10;
}

/* Skeleton Loading */
@keyframes shimmer {
    0% {
        background-position: -500px 0;
    }
    100% {
        background-position: 500px 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        #f0f0f0 0%,
        #e0e0e0 50%,
        #f0f0f0 100%
    );
    background-size: 500px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-card {
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 0.75rem;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-title {
    height: 24px;
    width: 80%;
    margin-bottom: 1rem;
}

/* Button Loading State */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* ===============================================
   BUTTON RIPPLE EFFECT
   =============================================== */

.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* ===============================================
   SOCIAL PROOF BADGE
   =============================================== */

.social-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
}

.proof-item i {
    font-size: 1.5rem;
    color: var(--orange-accent);
}

.proof-item span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===============================================
   PROGRESS BARS
   =============================================== */

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-accent) 0%, var(--primary-color) 100%);
    z-index: 9999;
    transition: width 0.1s ease;
}

.progress-bar-custom {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

/* ===============================================
   TOOLTIP
   =============================================== */

.tooltip-custom {
    position: relative;
    display: inline-block;
}

.tooltip-custom::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 0.85rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.tooltip-custom::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip-custom:hover::before,
.tooltip-custom:hover::after {
    opacity: 1;
    visibility: visible;
}

/* ===============================================
   BADGE ENHANCEMENTS
   =============================================== */

.badge-modern {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.3);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.3);
}

.badge-info {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.3);
}

.badge-orange {
    background: rgba(255, 107, 53, 0.15);
    color: var(--orange-dark);
    border-color: rgba(255, 107, 53, 0.3);
}

/* ===============================================
   DARK MODE TOGGLE BUTTON
   =============================================== */

.theme-toggle {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

@media (max-width: 575.98px) {
    .theme-toggle {
        bottom: 70px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

.theme-toggle:hover {
    transform: translateY(-3px) rotate(15deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.theme-toggle:active {
    transform: translateY(-1px) rotate(0deg);
}

.theme-toggle .dark-icon,
.theme-toggle .light-icon {
    position: absolute;
    transition: all 0.3s ease;
}

.theme-toggle .dark-icon {
    opacity: 1;
}

.theme-toggle .light-icon {
    opacity: 0;
}

[data-theme="dark"] .theme-toggle .dark-icon {
    opacity: 0;
}

[data-theme="dark"] .theme-toggle .light-icon {
    opacity: 1;
}

@media (max-width: 768px) {
    .theme-toggle {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ===============================================
   NEWSLETTER SIGNUP WIDGET
   =============================================== */

.newsletter-widget {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--card-border);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    text-align: center;
    margin: 2rem 0;
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .newsletter-widget {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
        border-radius: 12px;
    }
    
    .newsletter-widget h3 {
        font-size: 1.25rem;
    }
    
    .newsletter-widget p {
        font-size: 0.9rem;
    }
}

.newsletter-widget .newsletter-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange-accent) 0%, var(--orange-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
    animation: float 3s ease-in-out infinite;
}

.newsletter-widget h3 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.newsletter-widget p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.newsletter-form input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--bg-secondary);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--orange-accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.newsletter-form button {
    padding: 0.85rem 1.5rem;
    white-space: nowrap;
}

.privacy-note {
    display: block;
    margin-top: 1rem;
    color: var(--muted-color);
    font-size: 0.85rem;
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form input {
        width: 100%;
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }
    
    .newsletter-form button {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

/* ===============================================
   FAQ ACCORDION SECTION
   =============================================== */

.faq-section {
    max-width: 900px;
    margin: 0 auto;
}

.faq-search {
    margin-bottom: 2rem;
}

.faq-search input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-left: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--bg-secondary);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.faq-search input:focus {
    outline: none;
    border-color: var(--orange-accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.faq-search::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-color);
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.faq-category {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-secondary);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.faq-category:hover {
    background: var(--orange-accent);
    color: white;
    border-color: var(--orange-accent);
}

.faq-category.active {
    background: var(--orange-accent);
    color: white;
    border-color: var(--orange-accent);
}

.faq-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--card-border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.05rem;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--orange-accent);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--orange-accent);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.faq-helpful {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.faq-helpful button {
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.faq-helpful button:hover {
    background: var(--orange-accent);
    color: white;
    border-color: var(--orange-accent);
}

/* ===============================================
   SOCIAL SHARE BUTTONS
   =============================================== */

.social-share {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.share-btn {
    padding: 0.65rem 1.25rem;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.share-btn i {
    font-size: 1rem;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.twitter:hover {
    background: #1a8cd8;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.facebook:hover {
    background: #166fe5;
}

.share-btn.linkedin {
    background: #0a66c2;
}

.share-btn.linkedin:hover {
    background: #095196;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.whatsapp:hover {
    background: #1fb855;
}

.share-btn.copy {
    background: var(--muted-color);
}

.share-btn.copy:hover {
    background: var(--text-light);
}

.share-btn.copy.success {
    background: var(--success-color);
}

@media (max-width: 576px) {
    .social-share {
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
}

/* ===============================================
   ACCESSIBILITY ENHANCEMENTS
   =============================================== */

/* Skip Navigation Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--orange-accent);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--orange-dark);
    outline-offset: 2px;
}

/* Focus Visible Styles */
*:focus-visible {
    outline: 3px solid var(--orange-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--orange-accent);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}

.btn:focus-visible {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

/* Remove default outline for non-keyboard focus */
*:focus:not(:focus-visible) {
    outline: none;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --text-color: #000000;
        --bg-primary: #ffffff;
        --border-color: #000000;
    }
    
    [data-theme="dark"] {
        --text-color: #ffffff;
        --bg-primary: #000000;
    }
    
    button, .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .scroll-top,
    .theme-toggle {
        transition: opacity 0.01ms !important;
    }
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Enhanced Link Styles for Accessibility */
a:not(.btn) {
    text-decoration-skip-ink: auto;
}

a:not(.btn):hover {
    text-decoration-thickness: 2px;
}

/* Form Labels */
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

label.required::after {
    content: ' *';
    color: var(--error-color);
}

/* Error Message Styles */
.error-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(220, 38, 38, 0.1);
    border-left: 4px solid var(--error-color);
    border-radius: 6px;
    margin-top: 0.5rem;
    color: var(--error-color);
}

.error-message i {
    flex-shrink: 0;
}

/* Success Message Styles */
.success-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    border-left: 4px solid var(--success-color);
    border-radius: 6px;
    margin-top: 0.5rem;
    color: var(--success-color);
}

/* Keyboard Navigation Indicators */
.keyboard-nav-active *:focus {
    outline: 3px solid var(--orange-accent);
    outline-offset: 2px;
}

/* Touch Target Sizes (Minimum 44x44px) */
@media (pointer: coarse) {
    button,
    a,
    input[type="checkbox"],
    input[type="radio"] {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ARIA Live Regions */
.live-region {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Loading Spinner Accessibility */
.spinner[role="status"] {
    position: relative;
}

.spinner[role="status"]::after {
    content: 'Loading...';
    position: absolute;
    left: -10000px;
}

/* ===============================================
   RESPONSIVE DESIGN ENHANCEMENTS - MOBILE FIRST
   =============================================== */

/* Base Mobile Styles (320px+) */
body {
    overflow-x: hidden;
    width: 100%;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    html {
        font-size: 14px;
    }
    
    body {
        font-size: 14px;
    }
    
    .container {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        padding: 40px 0 !important;
        min-height: auto !important;
    }
    
    .hero-section .row {
        min-height: auto !important;
    }
    
    .hero-section h1,
    .page-header h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    .display-5 {
        font-size: 1.75rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
    }
    
    /* Cards Mobile */
    .service-card,
    .blog-card,
    .story-card,
    .project-card,
    .team-card,
    .testimonial-card,
    .feature-box,
    .donation-card {
        margin-bottom: 1.5rem !important;
        padding: 1.25rem !important;
    }
    
    /* Buttons Mobile */
    .btn,
    .btn-lg {
        width: 100% !important;
        margin-bottom: 0.75rem !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
        display: block !important;
    }
    
    .hero-cta-buttons .btn {
        display: block !important;
        width: 100% !important;
        margin-bottom: 0.75rem !important;
    }
    
    .btn-group {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .btn-group .btn {
        width: 100% !important;
        border-radius: 8px !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Navigation Mobile */
    .navbar-nav {
        text-align: center !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 1rem !important;
    }
    
    /* Forms Mobile */
    .form-control,
    .form-select {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 0.75rem !important;
    }
    
    /* Grid Mobile */
    .row {
        margin-left: -15px !important;
        margin-right: -15px !important;
    }
    
    .col, [class*="col-"] {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Sections Mobile */
    section {
        padding: 2rem 0 !important;
    }
    
    .py-5 {
        padding: 2rem 0 !important;
    }
    
    .py-6 {
        padding: 2.5rem 0 !important;
    }
    
    /* Images Mobile */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Tables Mobile */
    .table-responsive {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Fixed Elements Mobile */
    .scroll-top,
    .theme-toggle {
        bottom: 70px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 1rem !important;
    }
    
    .theme-toggle {
        bottom: 15px !important;
    }
    
    /* Newsletter Widget Mobile */
    .newsletter-widget {
        padding: 1.5rem !important;
        margin: 1.5rem 0 !important;
    }
    
    .newsletter-form {
        flex-direction: column !important;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100% !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Social Share Mobile */
    .social-share {
        flex-direction: column !important;
        padding: 1rem !important;
    }
    
    .share-btn {
        width: 100% !important;
        margin-bottom: 0.5rem !important;
        justify-content: center !important;
    }
    
    /* FAQ Mobile */
    .faq-section {
        padding: 0 !important;
    }
    
    .faq-search input {
        font-size: 16px !important;
        padding: 0.75rem !important;
    }
    
    .faq-categories {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }
    
    .faq-category {
        padding: 0.4rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    .faq-question {
        padding: 1rem !important;
        font-size: 0.95rem !important;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem !important;
    }
    
    /* Impact Calculator Mobile */
    .impact-calculator {
        padding: 1.5rem !important;
    }
    
    .impact-results {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Footer Mobile */
    footer {
        padding: 2rem 0 !important;
    }
    
    footer .col-md-4,
    footer .col-md-3 {
        margin-bottom: 2rem !important;
    }
    
    /* Stats Mobile */
    .stat-card,
    .impact-stat {
        padding: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Spacing Mobile */
    .mb-4, .my-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-5, .my-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-4, .my-4 {
        margin-top: 1.5rem !important;
    }
    
    .mt-5, .my-5 {
        margin-top: 2rem !important;
    }
    
    /* Text Alignment Mobile */
    .text-md-end,
    .text-lg-end {
        text-align: center !important;
    }
    
    /* Hero Image Mobile */
    .hero-image {
        display: none !important;
    }
    
    /* Page Header Mobile */
    .page-header {
        padding: 2rem 0 !important;
        text-align: center !important;
    }
    
    .page-header .row {
        flex-direction: column !important;
    }
    
    /* Navbar Mobile */
    .navbar-brand {
        font-size: 1.1rem !important;
    }
    
    .navbar-toggler {
        padding: 0.5rem !important;
    }
    
    /* Card Grid Mobile */
    .row > * {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    /* Feature Boxes Mobile */
    .feature-box {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .feature-box-icon {
        font-size: 2rem !important;
        width: 60px !important;
        height: 60px !important;
    }
    
    .feature-box-title {
        font-size: 1.1rem !important;
    }
    
    /* Donation Cards Mobile */
    .donation-card {
        padding: 1.25rem !important;
        margin-bottom: 1rem !important;
    }
    
    .donation-amount {
        font-size: 1.5rem !important;
    }
    
    /* Blog Cards Mobile */
    .blog-card,
    .story-card,
    .project-card {
        max-width: 100% !important;
    }
    
    .card-img-top {
        height: 200px !important;
        object-fit: cover !important;
    }
    
    /* Modal Mobile */
    .modal-dialog {
        margin: 0.5rem !important;
    }
    
    .modal-content {
        border-radius: 8px !important;
    }
    
    /* Alert Mobile */
    .alert {
        padding: 0.75rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Badge Mobile */
    .badge {
        padding: 0.35rem 0.65rem !important;
        font-size: 0.8rem !important;
    }
    
    /* Input Group Mobile */
    .input-group {
        flex-wrap: wrap !important;
    }
    
    .input-group > * {
        flex: 1 1 auto !important;
        width: 100% !important;
    }
    
    /* Breadcrumb Mobile */
    .breadcrumb {
        flex-wrap: wrap !important;
        font-size: 0.85rem !important;
    }
    
    /* Pagination Mobile */
    .pagination {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .page-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.9rem !important;
    }
}

/* Small Devices (Landscape Phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: 540px !important;
    }
    
    .row > [class*="col-md"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .hero-section h1 {
        font-size: 2.25rem !important;
    }
    
    .btn {
        width: auto !important;
        display: inline-block !important;
    }
    
    .newsletter-form {
        flex-direction: row !important;
    }
    
    .newsletter-form input {
        width: auto !important;
        flex: 1 !important;
    }
    
    .newsletter-form button {
        width: auto !important;
        flex: 0 0 auto !important;
    }
}

/* Small Devices (Landscape Phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    .service-card,
    .blog-card {
        margin-bottom: 2rem;
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-item {
        text-align: center;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
}

/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Ultra Wide Screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .page-header {
        padding: 2rem 0 !important;
    }
    
    .page-header h1 {
        font-size: 2rem !important;
    }
    
    .scroll-top,
    .theme-toggle {
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-top,
    .theme-toggle,
    .social-share,
    .newsletter-widget,
    footer,
    .btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        text-decoration: underline;
        color: black;
    }
    
    .page-header {
        background: none !important;
        color: black !important;
    }
}

/* ===============================================
   BROWSER-SPECIFIC FIXES
   =============================================== */

/* Safari Specific */
@supports (-webkit-appearance: none) {
    .card-gradient {
        -webkit-backdrop-filter: blur(10px);
    }
}

/* Firefox Specific */
@-moz-document url-prefix() {
    .scroll-progress-bar {
        background: linear-gradient(90deg, var(--orange-accent) 0%, var(--orange-dark) 100%);
    }
}

/* Edge/IE Fallbacks */
@supports not (backdrop-filter: blur(10px)) {
    .service-card,
    .blog-card,
    .story-card,
    .project-card,
    .team-card,
    .testimonial-card,
    .newsletter-widget {
        background: rgba(255, 255, 255, 0.98);
    }
    
    [data-theme="dark"] .service-card,
    [data-theme="dark"] .blog-card,
    [data-theme="dark"] .story-card,
    [data-theme="dark"] .project-card {
        background: rgba(31, 41, 55, 0.98);
    }
}

.success-animation {
    animation: successBounce 0.6s ease;
}

/* ===============================================
    *, *::before, *::after {
        -webkit-animation-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        -webkit-animation-iteration-count: 1 !important;
        animation-iteration-count: 1 !important;
        -webkit-transition-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: more) {
    :root {
        --border-color: #333;
    }
    
    .navbar {
        border-bottom-width: 2px;
    }
}

/* Mobile responsive backgrounds */
@media (max-width: 768px) {
    .page-header, .bg-success.cta-section {
        background-attachment: scroll !important;
        background-size: cover;
        background-position: center;
    }
    
    [class*="hero"], [class*="banner"] {
        background-attachment: scroll !important;
    }
}

/* Print styles */
@media print {
    body {
        padding-top: 0;
    }
    
    .navbar, nav, .btn-print-hide {
        display: none !important;
    }
    
    a {
        text-decoration: underline;
    }
}
