:root {
    --primary: #FF9933; /* Bhagva / Saffron */
    --secondary: #FF6600; /* Deep Saffron */
    --accent: #FFD700; /* Golden */
    --bg-dark: #3E1F00; /* Deep Earthy Brown */
    --bg-light: #FFF8F0; /* Light Creamy Saffron */
    --text-dark: #2D1B00;
    --text-light: #f1f5f9;
    --glass: rgba(255, 153, 51, 0.1);
    --glass-border: rgba(255, 153, 51, 0.2);
    --shadow: 0 10px 30px rgba(255, 102, 0, 0.15);
}

/* Sticky Header Styles */
.header-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.top-bar {
    background: var(--primary); /* Saffron Top Bar */
    color: white;
    padding: 0.6rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    transition: 0.3s;
    opacity: 0.9;
}

.top-bar a:hover {
    opacity: 1;
    color: var(--accent);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 10%; /* Slightly more compact */
    background: #FFFFFF;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.4s ease;
    height: 70px; /* Fixed height for consistency */
}

.header-scrolled nav {
    height: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    margin-left: 1.8rem; /* Reduced gap */
    font-size: 0.85rem; /* Slightly smaller */
    position: relative;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; /* Adjusted position */
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.donation-btn-top {
    background: var(--primary) !important;
    color: white !important;
    padding: 0.6rem 1.5rem; /* More compact button */
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.2);
    border: none;
    margin-left: 1.8rem !important;
    font-size: 0.8rem;
}

.donation-btn-top:hover {
    background: var(--secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 10%;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 2rem;
}

/* Glassmorphism Cards */
.card-glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s;
}

.card-glass:hover {
    transform: translateY(-10px);
}

/* Statistics Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 4rem 10%;
    background: var(--primary);
    color: white;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn-premium {
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    color: white;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-premium:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 102, 0, 0.4);
    color: var(--bg-dark);
}

/* Form Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border-radius: 0.5rem;
    border: 1px solid #ddd;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

/* About Section */
.about-section {
    padding: 8rem 10% 5rem;
    background: white;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-image-container {
    position: relative;
    z-index: 2;
}

.about-image-blob {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 110%;
    height: 110%;
    background: #f1f5f9;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
}

.about-main-img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
}

.about-content h4 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.about-content h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-content p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

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

.stat-card {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 153, 51, 0.15);
}

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

.stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.3;
}

/* Team Section */
.team-section {
    padding: 6rem 10%;
    background: #fafafa;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.section-title p {
    max-width: 800px;
    margin: 0 auto 4rem;
    color: #64748b;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    background: transparent;
    transition: 0.3s;
}

.team-img-wrapper {
    position: relative;
    padding: 10px;
    margin-bottom: 1.5rem;
}

.team-img-wrapper img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 15px;
    position: relative;
    z-index: 2;
    display: block;
}

.team-info h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.team-info p {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .about-grid, .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .about-grid, .team-grid, .stats-row {
        grid-template-columns: 1fr;
    }
    .about-content h2 {
        font-size: 2rem;
    }
}
