/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #1a5d1a;
    --gold: #d4af37;
    --cream: #f8f8f8;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo {
    height: 100px;
    margin-right: 10px;
    width: auto; /* Add this to maintain aspect ratio */
}

/* Prayer Bar */
.prayer-bar {
    background: var(--primary-green);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
    text-align: center;
}

.prayer-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 100px;
    margin-right: 10px;
}

.brand-text {
    font-family: 'Amiri', serif;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.nav-menu a.active {
    color: var(--primary-green);
}

.btn-donate {
    background: var(--gold);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-donate:hover {
    background: #b8941f;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 80vh;
    position: relative;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
}

.hero-content h1 {
    font-family: 'Amiri', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: #b8941f;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--text-dark);
}

/* Impact Dashboard */
.impact-dashboard {
    padding: 80px 0;
    background: var(--cream);
}

.section-title {
    text-align: center;
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 50px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.impact-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.impact-item i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.impact-item h3 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* Programs Section */
.programs {
    padding: 80px 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-content {
    padding: 25px;
}

.program-content h3 {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.program-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.btn-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Emergency Appeal */
.emergency-appeal {
    background: linear-gradient(135deg, #8B0000, #FF0000);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.appeal-content h2 {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.appeal-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.progress-bar {
    background: rgba(255,255,255,0.3);
    height: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress {
    background: var(--gold);
    height: 100%;
    border-radius: 5px;
}

.progress-stats {
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    font-family: 'Amiri', serif;
    margin-bottom: 20px;
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-col ul li a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 1;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter-form button {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 0 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    display: block;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .prayer-bar .container {
        flex-direction: column;
        gap: 5px;
    }
}
/* Page Hero Styles */
.page-hero {
    background: linear-gradient(135deg, var(--primary-green), #2d7a2d);
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Amiri', serif;
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* About Page Styles */
.mission-section {
    padding: 80px 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-content h2 {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 30px;
}

.quran-verse {
    background: var(--cream);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.quran-verse .arabic {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.principle {
    text-align: center;
    padding: 20px;
}

.principle i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.principle h4 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.team-section {
    padding: 80px 0;
    background: var(--cream);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h3 {
    color: var(--primary-green);
    margin-bottom: 5px;
}

.team-member .position {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
}

.history-section {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: var(--gold);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 45%;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--white);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--white) transparent transparent;
}

/* Donate Page Styles */
.donate-hero {
    background: linear-gradient(135deg, #1a5d1a, #2d7a2d);
}

.zakat-calculator {
    padding: 80px 0;
    background: var(--cream);
}

.calculator-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.calculator-form h3, .calculator-result h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.result-box {
    background: var(--cream);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.nisab-info {
    background: #f0f8f0;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid var(--primary-green);
}

.donation-options {
    padding: 80px 0;
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.donation-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.donation-card:hover {
    transform: translateY(-5px);
}

.donation-card.featured {
    border: 2px solid var(--gold);
    position: relative;
}

.donation-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.donation-card h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 15px;
}

.emergency-appeals {
    padding: 80px 0;
    background: var(--cream);
}

.appeal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.appeal-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.appeal-card.urgent {
    border-left: 4px solid #ff0000;
}

.appeal-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff0000;
    color: var(--white);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
}

.payment-methods {
    padding: 80px 0;
}

.payment-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.payment-method {
    text-align: center;
}

.payment-method i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* Orphans Page Styles */
.orphans-hero {
    background: linear-gradient(135deg, #1a5d1a, #2d7a2d);
}

.sponsorship-info {
    padding: 80px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.info-content h2 {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    margin: 30px 0;
}

.benefits-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.benefits-list i {
    color: var(--gold);
    margin-right: 10px;
}

.sponsorship-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.orphans-gallery {
    padding: 80px 0;
    background: var(--cream);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-green);
    background: transparent;
    color: var(--primary-green);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-green);
    color: var(--white);
}

.orphans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.orphan-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.orphan-image {
    position: relative;
}

.orphan-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.orphan-age {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.urgent-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff0000;
    color: var(--white);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
}

.orphan-info {
    padding: 20px;
}

.orphan-info h3 {
    color: var(--primary-green);
    margin-bottom: 5px;
}

.country {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.story {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.status {
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
}

.status.available {
    background: #e8f5e8;
    color: #2d7a2d;
}

.status.urgent {
    background: #ffe8e8;
    color: #ff0000;
}

.status.sponsored {
    background: #e8f0f8;
    color: #1a5d1a;
}

.process-section {
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-green), #2d7a2d);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #1a5d1a, #2d7a2d);
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form h2, .contact-info h2 {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h3 {
    color: var(--primary-green);
    margin-bottom: 5px;
}

.locations-section {
    padding: 80px 0;
    background: var(--cream);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.location-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.location-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.location-card p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.location-card i {
    color: var(--gold);
    margin-right: 10px;
    width: 20px;
}

.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .mission-grid, .info-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-box {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        align-items: flex-start;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 60px;
    }
    
    .timeline-content::before {
        left: -10px !important;
        right: auto !important;
        border-width: 10px 10px 10px 0 !important;
        border-color: transparent var(--white) transparent transparent !important;
    }
    
    .sponsorship-stats {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
/* Donor Portal Styles */
.donor-login {
    padding: 80px 0;
    background: var(--cream);
}

.login-box {
    max-width: 400px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.login-box h2 {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 30px;
}

.login-links {
    text-align: center;
    margin-top: 20px;
}

.login-links a {
    color: var(--primary-green);
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}