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

:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --bg-quaternary: #f8fafc;
    --text-primary: #1a202c;
    --text-secondary: #2d3748;
    --text-muted: #718096;
    
    /* Dark Blue and Yellow Accent Colors */
    --accent-primary: #fbbf24; /* Golden Yellow */
    --accent-secondary: #1e3a8a; /* Deep Blue */
    --accent-tertiary: #3b82f6; /* Medium Blue */
    
    /* Hover States */
    --accent-primary-hover: #f59e0b;
    --accent-secondary-hover: #1e40af;
    --accent-tertiary-hover: #60a5fa;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --gradient-overlay: linear-gradient(rgba(30, 58, 138, 0.8), rgba(59, 130, 246, 0.6));
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--accent-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

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

.btn-secondary:hover {
    background: var(--accent-secondary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--bg-tertiary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-logo h2 {
    color: var(--accent-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-primary);
}

.nav-menu .donate-btn {
    background: var(--accent-primary);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}

.nav-menu .donate-btn:hover {
    background: var(--accent-primary-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.3);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    color: white;
}

.hero-title .urdu {
    display: block;
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.hero-title .english {
    color: white;
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--accent-primary);
    margin: 1rem 0;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 2rem 0;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-header .urdu {
    color: var(--accent-primary);
    font-size: 1.8rem;
    margin-left: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.about-text h3 {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.point {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border-left: 4px solid var(--accent-primary);
}

.point i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Appeals Section */
.appeals {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

/* Programs Section */
.programs {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--bg-tertiary);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.program-image {
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-content {
    padding: 2rem;
}

.program-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-content h3 i {
    color: var(--accent-primary);
}

.program-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.program-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.program-link:hover {
    gap: 1rem;
}

/* Islamic Offering Section */
.islamic-offering {
    padding: 6rem 0;
    background: var(--bg-quaternary);
}

/* Impact Section */
.impact {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--bg-tertiary);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.testimonials {
    margin-top: 4rem;
}

.testimonials h3 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-primary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Call to Action Section */
.cta {
    padding: 6rem 0;
    background-image: url('https://images.unsplash.com/photo-1589820296156-2454bb8b6c92?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.85);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Get Involved Section */
.get-involved {
    padding: 6rem 0;
    background: var(--bg-quaternary);
}

.involvement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.involvement-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--bg-tertiary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.involvement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.involvement-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.involvement-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.involvement-card p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.involvement-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid var(--accent-primary);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.involvement-link:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
}

/* Footer */
.footer {
    background: var(--accent-secondary);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--bg-tertiary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    color: var(--text-primary);
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-primary);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--accent-primary);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title .english {
        font-size: 2.5rem;
    }
    
    .hero-title .urdu {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title .english {
        font-size: 2rem;
    }
    
    .hero-title .urdu {
        font-size: 1.5rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .involvement-grid {
        grid-template-columns: 1fr;
    }
}

/* Board of Members Styles */
.board-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--bg-tertiary);
}

.board-section h3 {
    text-align: center;
    color: var(--accent-secondary);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.board-member {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--bg-tertiary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-primary);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h4 {
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.member-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Projects Grid (renamed from programs) */
.projects {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--bg-tertiary);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-content h3 i {
    color: var(--accent-primary);
}

.project-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.project-link:hover {
    gap: 1rem;
}

/* Islamic Offering Page Styles */
.islamic-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.islamic-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.islamic-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.islamic-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 12px;
    border: 1px solid var(--accent-primary);
}

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

.offerings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 4rem 0;
}

.offering-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid var(--bg-tertiary);
}

.offering-content {
    display: block;
}

.offering-content.reverse {
    display: block;
}

.offering-text h2 {
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.offering-subtitle {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.info-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-point i {
    color: var(--accent-primary);
}

.offering-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.offering-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

/* Calculator Styles */
.calculator-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.calculator-form {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--bg-tertiary);
}

.calculator-info {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--bg-tertiary);
}

.guideline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.guideline-item i {
    color: var(--accent-primary);
    margin-top: 0.25rem;
}

.zakat-result {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--bg-tertiary);
}

.zakat-status.eligible {
    color: var(--accent-secondary);
    font-weight: 600;
}

.zakat-status.not-eligible {
    color: var(--text-muted);
    font-weight: 600;
}

/* Appeals Page Styles */
.appeals-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.appeals-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.urgent-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: rgba(196, 30, 58, 0.1);
    border: 2px solid #c41e3a;
    border-radius: 12px;
    color: #c41e3a;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.appeal-card {
    margin: 3rem 0;
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--bg-tertiary);
}

.appeal-card.urgent {
    border: 2px solid #c41e3a;
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.2);
}

.appeal-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
}

.appeal-image {
    position: relative;
    height: 400px;
}

.appeal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.urgent-badge, .priority-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.urgent-badge {
    background: #c41e3a;
    color: white;
}

.priority-badge {
    background: #f59e0b;
    color: white;
}

.appeal-details {
    padding: 2rem;
}

.appeal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.appeal-header h3 {
    color: var(--accent-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.appeal-status {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.critical {
    background: rgba(196, 30, 58, 0.1);
    color: #c41e3a;
}

.status-badge.high {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.time-left {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.appeal-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.appeal-stats .stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
}

.appeal-stats .stat i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.progress-section {
    margin: 2rem 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.progress-percentage {
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--accent-secondary);
}

.appeal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.urgent-btn {
    background: linear-gradient(135deg, #c41e3a, #e43e5a);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(196, 30, 58, 0.5); }
    to { box-shadow: 0 0 20px rgba(196, 30, 58, 0.8); }
}

/* Impact Breakdown */
.donation-impact {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.impact-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.impact-breakdown .impact-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--bg-tertiary);
}

.impact-breakdown .impact-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.impact-breakdown h3 {
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

.impact-breakdown ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.impact-breakdown li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
}

.impact-breakdown li:before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Response Team */
.response-team {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.response-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.response-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--bg-tertiary);
}

.response-card i {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.response-card h3 {
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

/* Appeals CTA */
.appeals-cta {
    padding: 4rem 0;
    background: var(--accent-secondary);
    color: white;
    text-align: center;
}

.appeals-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.appeals-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.emergency-contact {
    margin-top: 2rem;
}

.emergency-contact a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

/* Islamic Impact Grid */
.islamic-impact {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.impact-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--bg-tertiary);
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-card .impact-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.impact-card h3 {
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

/* Responsive Design Updates */
@media (max-width: 1024px) {
    .offering-content,
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .appeal-content {
        grid-template-columns: 1fr;
    }
    
    .appeal-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .board-grid {
        grid-template-columns: 1fr;
    }
    
    .islamic-hero h1,
    .appeals-hero h1 {
        font-size: 2.5rem;
    }
    
    .islamic-stats {
        grid-template-columns: 1fr;
    }
    
    .appeal-stats {
        grid-template-columns: 1fr;
    }
    
    .appeal-actions {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* About Page Styles */
.about-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.ngo-story {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.story-content .lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500;
}

.about-programs {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.program-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--bg-tertiary);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.program-card h3 {
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.program-card p {
    line-height: 1.7;
    color: var(--text-secondary);
}

.programs-conclusion {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--bg-tertiary);
}

.conclusion-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--accent-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 500;
}

/* President Profile */
.president-profile {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.profile-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
}

.profile-image {
    position: relative;
    text-align: center;
}

.profile-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    border: 4px solid var(--accent-primary);
}

.profile-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.profile-details h3 {
    color: var(--accent-secondary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.profile-subtitle {
    color: var(--accent-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.profile-description p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.profile-description h4 {
    color: var(--accent-secondary);
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
}

.commitment-list {
    margin: 2rem 0;
}

.commitment-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--bg-tertiary);
}

.commitment-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.commitment-icon i {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.commitment-text h5 {
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.commitment-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Mission Values */
.mission-values {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--bg-tertiary);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 1.8rem;
    color: var(--text-primary);
}

.value-card h3 {
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About CTA */
.about-cta {
    padding: 4rem 0;
    background: var(--accent-secondary);
    color: white;
    text-align: center;
}

.about-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.about-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Responsive Design for About Page */
@media (max-width: 1024px) {
    .profile-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .profile-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .commitment-item {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-details h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

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