/* ===== Buddha Charitable Trust - Main Stylesheet ===== */
/* Mobile-First Responsive Design */
:root {
    /* Primary Colors: Dark and Light Blue Combination */
    --primary: #2563eb;         /* Vibrant Blue */
    --primary-dark: #1d4ed8;    /* Dark Blue */
    --primary-light: #dbeafe;   /* Light Blue */
    
    /* Secondary and Accent (Yellow removed, replaced with Cyan/Teal) */
    --secondary: #7c3aed;
    --secondary-dark: #6d28d9;
    --accent: #06b6d4;          /* Modern Cyan/Teal */
    
    /* Semantic Colors */
    --success: #10b981;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Neutrals */
    --dark: #1f2937;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    
    /* Gradients (Yellow entirely removed) */
    --gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%); /* Blue to Cyan */
    --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px -10px rgba(0,0,0,0.2);
    
    /* Radii */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(249,115,22,0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249,115,22,0.5);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-donate {
    background: var(--gradient);
    color: var(--white);
    padding: 10px 20px;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(249,115,22,0.4);
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 4px 15px rgba(249,115,22,0.4); }
    50% { box-shadow: 0 4px 20px rgba(249,115,22,0.7); }
}

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-block { width: 100%; }

/* ===== Top Bar ===== */
.top-bar {
    background: var(--gray-900);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-info { display: flex; gap: 16px; }
.top-info a { color: var(--white); display: inline-flex; align-items: center; gap: 6px; }
.top-info a:hover { color: var(--accent); }
.top-social { display: flex; gap: 8px; }
.top-social a {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 12px;
}
.top-social a:hover { background: var(--primary); color: var(--white); }

/* ===== Header ===== */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-lg); }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-icon {
    width: 48px; height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(249,115,22,0.4);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--gray-900);
}
.logo-subtitle {
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 4px;
}
.nav-link {
    display: block;
    padding: 10px 14px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius-sm);
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    width: 24px; height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 50%, #fce7f3 100%);
    padding: 60px 0 40px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}
.hero-title {
    font-size: clamp(32px, 6vw, 56px);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1f2937 0%, #f97316 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(15px, 2.5vw, 18px);
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 30px;
}
.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-stat {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}
.hero-stat-number {
    font-size: 28px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat-label {
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Sections ===== */
section { padding: 60px 0; }

.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(26px, 5vw, 42px);
    margin-bottom: 12px;
}
.section-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    font-size: 15px;
}

/* ===== About Section ===== */
.about-section { background: var(--white); }
.about-grid {
    display: grid;
    gap: 40px;
}
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}
.about-experience {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.about-experience h3 {
    color: var(--primary);
    font-size: 36px;
    margin: 0;
}
.about-experience p {
    font-size: 12px;
    color: var(--gray-600);
    margin: 0;
}
.about-content h2 { margin-bottom: 16px; }
.about-content p { margin-bottom: 16px; color: var(--gray-600); }
.about-features {
    display: grid;
    gap: 16px;
    margin: 24px 0;
}
.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.about-feature-icon {
    width: 50px; height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.about-feature-text h4 { font-family: 'Poppins', sans-serif; font-size: 16px; margin-bottom: 4px; }
.about-feature-text p { font-size: 13px; margin: 0; }

/* ===== Causes Section ===== */
.causes-section { background: var(--gray-50); }
.causes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.cause-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.cause-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.cause-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cause-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.cause-card:hover .cause-image img { transform: scale(1.1); }
.cause-image-placeholder {
    font-size: 80px;
    color: rgba(255,255,255,0.5);
}
.cause-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--white);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.cause-content { padding: 20px; }
.cause-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    margin-bottom: 8px;
}
.cause-content p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
}
.cause-progress {
    background: var(--gray-200);
    border-radius: 50px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}
.cause-progress-bar {
    height: 100%;
    background: var(--gradient);
    border-radius: 50px;
    transition: width 1s ease;
}
.cause-amounts {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 16px;
}
.cause-amounts strong { color: var(--gray-900); }
.cause-actions {
    display: flex;
    gap: 8px;
}
.cause-actions .btn { flex: 1; }

/* ===== Counter Section ===== */
.counter-section {
    background: var(--gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.counter-section::before {
    content: '☸';
    position: absolute;
    font-size: 400px;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.counter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}
.counter-item { text-align: center; }
.counter-icon {
    width: 70px; height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 28px;
    backdrop-filter: blur(10px);
}
.counter-number {
    font-size: 36px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}
.counter-label {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 4px;
}

/* ===== Portfolio Section ===== */
.portfolio-section { background: var(--white); }
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
    cursor: pointer;
}
.portfolio-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-placeholder {
    width: 100%; height: 100%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255,255,255,0.5);
}
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--white);
}
.portfolio-overlay span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}
.portfolio-overlay h3 {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
}

/* ===== Testimonials ===== */
.testimonials-section {
    background: linear-gradient(135deg, #f9fafb 0%, #fff7ed 100%);
}
.testimonial-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin: 10px;
    position: relative;
}
.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 40px;
    color: var(--primary-light);
    line-height: 1;
}
.testimonial-rating {
    color: var(--accent);
    margin-bottom: 12px;
}
.testimonial-text {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 20px;
    font-size: 14px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}
.testimonial-info h4 { font-family: 'Poppins', sans-serif; font-size: 15px; margin-bottom: 2px; }
.testimonial-info p { font-size: 12px; color: var(--gray-500); margin: 0; }

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #1f2937 0%, #7c3aed 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(249,115,22,0.2) 0%, transparent 50%),
                      radial-gradient(circle at 80% 50%, rgba(251,191,36,0.2) 0%, transparent 50%);
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { color: var(--white); margin-bottom: 16px; }
.cta-content p {
    max-width: 600px;
    margin: 0 auto 24px;
    opacity: 0.9;
}

/* ===== Donation Page ===== */
.page-header {
    background: var(--gradient);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.page-header h1 {
    color: var(--white);
    font-size: clamp(28px, 5vw, 42px);
}
.page-header .breadcrumb {
    margin-top: 12px;
    font-size: 14px;
    opacity: 0.9;
}
.page-header .breadcrumb a { color: var(--white); }

.donation-section { padding: 40px 0; background: var(--gray-50); }
.donation-grid {
    display: grid;
    gap: 24px;
}
.donation-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}
.donation-form-wrapper h2 {
    font-size: 24px;
    margin-bottom: 16px;
}
.amount-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.amount-option {
    padding: 14px 10px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}
.amount-option:hover { border-color: var(--primary); }
.amount-option.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(249,115,22,0.1);
}
textarea.form-control { resize: vertical; min-height: 80px; }

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.payment-method {
    padding: 14px 8px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}
.payment-method.active {
    border-color: var(--primary);
    background: var(--primary-light);
}
.payment-method i { font-size: 24px; color: var(--primary); margin-bottom: 4px; }
.payment-method span { display: block; font-size: 11px; font-weight: 600; }

.payment-details { display: none; padding: 16px; background: var(--gray-50); border-radius: var(--radius); margin-bottom: 16px; }
.payment-details.active { display: block; }
.upi-qr {
    text-align: center;
}
.upi-qr img, .upi-qr .qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 12px;
    border-radius: var(--radius);
    background: var(--white);
    padding: 12px;
    box-shadow: var(--shadow);
}
.qr-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--primary);
}
.upi-id {
    background: var(--white);
    padding: 12px;
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--primary);
    display: inline-block;
    margin: 8px 0;
    font-size: 14px;
}

.bank-details { font-size: 13px; }
.bank-details .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
}
.bank-details .detail-row:last-child { border: none; }
.bank-details strong { color: var(--gray-900); }

.upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}
.upload-area:hover { border-color: var(--primary); background: var(--primary-light); }
.upload-area i { font-size: 32px; color: var(--primary); margin-bottom: 8px; }
.upload-area p { font-size: 13px; color: var(--gray-600); margin: 0; }

.donation-sidebar {
    display: grid;
    gap: 16px;
}
.sidebar-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.sidebar-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}
.impact-list { list-style: none; }
.impact-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 13px;
}
.impact-list li:last-child { border: none; }
.impact-list i {
    color: var(--primary);
    background: var(--primary-light);
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    gap: 24px;
}
.contact-info-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}
.contact-info-icon {
    width: 60px; height: 60px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 24px;
}
.contact-form-wrapper {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
}
.footer-top { padding: 50px 0 30px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-logo h3 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin: 0;
}
.footer-logo p {
    font-size: 11px;
    color: var(--primary);
    margin: 0;
}
.footer-about {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.footer-social {
    display: flex;
    gap: 8px;
}
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}
.footer-col h4 {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--primary);
}
.footer-links, .footer-contact { list-style: none; }
.footer-links li, .footer-contact li {
    padding: 5px 0;
    font-size: 13px;
}
.footer-links a {
    color: var(--gray-300);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-contact i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}
.footer-contact a { color: var(--gray-300); }
.footer-contact a:hover { color: var(--primary); }

.newsletter-form {
    display: flex;
    margin-top: 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    overflow: hidden;
}
.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 13px;
    font-family: inherit;
}
.newsletter-form input::placeholder { color: var(--gray-400); }
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 18px;
    cursor: pointer;
    font-size: 14px;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 16px 0;
    font-size: 12px;
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom-content p { margin: 0; }
.footer-bottom .fa-heart { color: var(--danger); }

/* ===== Floating Buttons ===== */
.float-donate {
    position: fixed;
    bottom: 80px;
    right: 16px;
    background: var(--gradient);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(249,115,22,0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    z-index: 99;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.float-donate:hover { color: var(--white); transform: scale(1.05); }

.back-to-top {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 44px; height: 44px;
    background: var(--gray-900);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary); }

/* ===== Utilities ===== */
.hide-mobile { display: none; }
.text-center { text-align: center; }
.alert {
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 14px;
}
.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid var(--success); }
.alert-danger { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--danger); }
.alert-info { background: #dbeafe; color: #1e40af; border-left: 4px solid var(--info); }

/* ===== Tablet (768px+) ===== */
@media (min-width: 768px) {
    body { font-size: 16px; }
    .container { padding: 0 24px; }
    section { padding: 80px 0; }
    .hide-mobile { display: inline; }
    
    .hero-stats { grid-template-columns: repeat(4, 1fr); }
    .counter-grid { grid-template-columns: repeat(4, 1fr); }
    .counter-number { font-size: 48px; }
    .counter-icon { width: 80px; height: 80px; font-size: 32px; }
    
    .causes-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .about-grid { grid-template-columns: 1fr 1fr; align-items: center; }
    .donation-grid { grid-template-columns: 1.5fr 1fr; }
    .contact-grid { grid-template-columns: repeat(3, 1fr); }
    
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
    
    .amount-options { grid-template-columns: repeat(5, 1fr); }
    
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

/* ===== Desktop (1024px+) ===== */
@media (min-width: 1024px) {
    .nav-menu { display: flex; }
    .menu-toggle { display: none; }
    .causes-grid { grid-template-columns: repeat(3, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
    .float-donate { display: none; }
}

/* ===== Mobile Menu (Below 1024px) ===== */
@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    .nav-menu.active { display: flex; right: 0; }
    .nav-link {
        padding: 14px 16px;
        font-size: 16px;
        border-bottom: 1px solid var(--gray-100);
        border-radius: 0;
    }
    .nav-link:hover, .nav-link.active {
        background: var(--primary-light);
        border-radius: var(--radius);
    }
}

/* ===== Admin Login Page ===== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f2937 0%, #7c3aed 100%);
    padding: 20px;
}
.login-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 420px;
}
.login-logo {
    text-align: center;
    margin-bottom: 24px;
}
.login-logo .logo-icon {
    margin: 0 auto 12px;
    width: 70px;
    height: 70px;
    font-size: 40px;
}
.login-logo h2 {
    font-size: 24px;
}
.login-logo p {
    color: var(--gray-600);
    font-size: 13px;
}
