:root {
    /* Color Palette */
    --primary: #FF5A1F; /* Brand Orange */
    --primary-light: #FF8554;
    --primary-dark: #E04300;
    --secondary: #F59E0B; /* Amber/Warm Yellow */
    --accent: #10B981; /* Emerald Green */
    
    /* Neutral Colors */
    --text-main: #1E293B;
    --text-muted: #64748B;
    --bg-main: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-blue: #F0F9FF;
    --border-color: #E2E8F0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Utilities */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-round: 50%;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 25px 30px -5px rgba(14, 165, 233, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.bg-gray {
    background-color: #F1F5F9;
}

.bg-light-blue {
    background-color: var(--bg-blue);
}

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

.text-white {
    color: white;
}

/* Typography Utilities */
.subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.23);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-primary.large, .btn-secondary.large {
    padding: 16px 36px;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo i {
    font-size: 2rem;
    color: var(--primary);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo-text span {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-base);
}

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

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--primary-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: #0f172a;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.stats {
    display: flex;
    gap: 40px;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 4px;
}

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

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: var(--transition-slow);
}

.image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    color: var(--accent);
    font-size: 1.5rem;
}

.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-bottom .shape-fill {
    fill: #FFFFFF;
}

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

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 15px;
    border-radius: var(--radius-round);
    text-align: center;
    box-shadow: var(--shadow-lg);
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 8px solid white;
}

.experience-badge .number {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 4px;
}

.experience-badge .text {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
}

.about-content .description {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.vision-mission {
    margin-top: 40px;
    display: grid;
    gap: 24px;
}

.vm-card {
    display: flex;
    gap: 20px;
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

.vm-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.vm-card .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.vm-card h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.vm-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    text-align: center;
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
    border-color: transparent;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--bg-blue);
    color: var(--primary);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition-base);
}

.service-card:hover .card-icon {
    background: var(--primary);
    color: white;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
}

/* Values */
.values-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.value-item {
    flex: 1 1 calc(33.333% - 30px);
    min-width: 250px;
    text-align: center;
    padding: 30px;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 20px;
}

.value-item h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonial-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 40px;
    scrollbar-width: none; /* Firefox */
}

.testimonial-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.testimonial-card {
    min-width: 350px;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-icon {
    color: rgba(14, 165, 233, 0.1);
    font-size: 4rem;
    position: absolute;
    top: 20px;
    right: 30px;
}

.review {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-blue);
    color: var(--primary);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.author-info h4 {
    margin-bottom: 2px;
    font-size: 1.125rem;
}

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

/* FAQs */
.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.faq-img {
    border-radius: var(--radius-lg);
    margin-top: 40px;
    box-shadow: var(--shadow-md);
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.accordion-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    transition: var(--transition-fast);
}

.accordion-header h3 {
    font-size: 1.125rem;
    margin: 0;
}

.accordion-header i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header {
    background: var(--bg-blue);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-body p {
    padding: 0 24px 24px;
    color: var(--text-muted);
    margin: 0;
}

/* Contact CTA */
.contact-cta {
    position: relative;
    padding: 120px 0;
    background: url('https://images.unsplash.com/photo-1576765707343-6df21ce92e09?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    text-align: center;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 90, 31, 0.9);
}

.contact-cta .section-container {
    position: relative;
    z-index: 2;
}

.contact-cta .title {
    margin-bottom: 16px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

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

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.contact-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.card-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #0F172A;
    color: white;
    padding: 80px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary);
}

.footer-logo .logo-text {
    color: white;
}

.footer-col p {
    color: #94A3B8;
    max-width: 320px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-round);
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--primary);
}

.footer-col h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col ul li a {
    color: #94A3B8;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    background: #0B1120;
    padding: 24px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #94A3B8;
    font-size: 0.875rem;
}

.footer-bottom .footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a:hover {
    color: white;
}

/* Animations & Responsiveness */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.visible {
    opacity: 1;
}

.scroll-reveal.left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.scroll-reveal.right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Logo */
.brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}
.footer-img-logo {
    height: 80px;
}

/* Foundation Section */
.foundation .about-grid { align-items: start; }
.donation-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent);
}
.donation-card h3 { margin-bottom: 8px; font-size: 1.5rem; }
.bank-details { margin-top: 20px; }
.bank-details li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.bank-details li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.bank-details i { color: var(--primary); margin-right: 8px; width: 20px; text-align: center; }

/* Media Queries */
@media (max-width: 992px) {
    .title { font-size: 2rem; }
    .hero h1 { font-size: 2.75rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .stats { justify-content: center; }
    .image-wrapper { margin-top: 40px; }
    .floating-card { bottom: 20px; left: 20px; }
    
    .about-grid, .faq-grid { grid-template-columns: 1fr; }
    .about-image { margin-bottom: 40px; order: -1; }
    .experience-badge { right: 20px; bottom: 20px; }
    
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-col p { margin: 0 auto 24px; }
    .social-links { justify-content: center; }
    .footer-bottom { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-menu li { width: 100%; text-align: center; }
    .nav-link { display: block; padding: 15px; }
    .mobile-toggle { display: block; }
    .desktop-btn { display: none; }
    
    .hero { padding: 120px 0 60px; }
    .hero-btns { flex-direction: column; }
    .section-padding { padding: 60px 0; }
    
    .values-flex { flex-direction: column; }
}
