/* Root Variables */
:root {
    --primary-purple: #6B46C1;
    --dark-purple: #4C1D95;
    --teal: #14B8A6;
    --light-teal: #5EEAD4;
    --white: #FFFFFF;
    --light-gray: #F9FAFB;
    --gray: #6B7280;
    --dark-gray: #374151;
    --black: #111827;
    --danger: #EF4444;
    --success: #10B981;
    --warning: #F59E0B;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    color: var(--dark-purple);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-purple);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-purple);
}

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

/* Header Styles */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--dark-purple);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

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

.scripture-bar i {
    margin-right: 8px;
    color: var(--teal);
}

.header-main {
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo {
    height: 60px;
    width: auto;
}

.site-title h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--dark-purple);
}

.tagline {
    font-size: 0.9rem;
    color: var(--teal);
    font-style: italic;
    margin: 0;
}

/* Navigation */
.main-nav {
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-weight: 600;
    color: var(--dark-gray);
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--teal);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-purple);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-scripture {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 10px;
    color: var(--light-teal);
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 14px;
}

.btn-primary {
    background: var(--primary-purple);
    color: var(--white);
    border-color: var(--primary-purple);
}

.btn-primary:hover {
    background: var(--dark-purple);
    border-color: var(--dark-purple);
    color: var(--white);
}

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

.btn-secondary:hover {
    background: var(--primary-purple);
    color: var(--white);
}

.btn-accent {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.btn-accent:hover {
    background: #0D9488;
    border-color: #0D9488;
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--dark-purple);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--light-gray);
    color: var(--dark-purple);
}

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

.btn-outline:hover {
    background: var(--primary-purple);
    color: var(--white);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-purple);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-list {
    list-style: none;
    margin-top: 20px;
}

.mission-list li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.mission-list i {
    color: var(--teal);
    margin-top: 5px;
    flex-shrink: 0;
}

.mission-image .image-placeholder {
    background: linear-gradient(135deg, var(--teal) 0%, var(--primary-purple) 100%);
    height: 400px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 100px;
}

/* Help Cards Section */
.help-section {
    padding: 80px 0;
}

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

.help-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(107, 70, 193, 0.2);
}

.help-icon {
    font-size: 50px;
    color: var(--teal);
    margin-bottom: 20px;
}

.help-card h3 {
    color: var(--dark-purple);
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Updates Section */
.updates-section {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.update-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid var(--teal);
}

.update-icon {
    font-size: 40px;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.update-card h4 {
    color: var(--dark-purple);
    margin-bottom: 10px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.breadcrumb {
    color: var(--light-teal);
}

.breadcrumb a {
    color: var(--light-teal);
}

/* About Page Specific */
.founder-section {
    padding: 80px 0;
}

.founder-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.founder-quote {
    background: var(--light-gray);
    border-left: 4px solid var(--teal);
    padding: 30px;
    margin: 30px 0;
    font-style: italic;
}

.founder-quote cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-purple);
}

.founder-image .image-placeholder {
    background: linear-gradient(135deg, var(--teal) 0%, var(--primary-purple) 100%);
    padding: 60px 40px;
    border-radius: 10px;
    text-align: center;
    color: var(--white);
}

.founder-image i {
    font-size: 120px;
    margin-bottom: 20px;
}

/* Timeline */
.story-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.story-timeline {
    position: relative;
    padding: 20px 0;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--teal);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    align-items: flex-start;
    gap: 30px;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-purple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Values Grid */
.values-section {
    padding: 80px 0;
}

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

.value-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 10px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--teal);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(20, 184, 166, 0.1);
}

.value-card i {
    font-size: 50px;
    color: var(--teal);
    margin-bottom: 20px;
}

/* Impact Stats */
.impact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
}

.impact-section .section-title {
    color: var(--white);
}

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

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

.stat-card i {
    font-size: 50px;
    color: var(--teal);
    margin-bottom: 20px;
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 10px;
}

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

/* About CTA */
.about-cta {
    padding: 80px 0;
    text-align: center;
    background: var(--light-gray);
}

.about-cta h2 {
    color: var(--dark-purple);
    margin-bottom: 20px;
}

/* Needs Page Specific */
.urgent-needs {
    padding: 80px 0;
}

.urgent-banner {
    background: #FEF3C7;
    border: 2px solid var(--warning);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    font-weight: 600;
    color: var(--dark-gray);
}

.urgent-banner i {
    color: var(--warning);
    font-size: 24px;
}

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

.need-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.need-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.need-card.urgent {
    border: 2px solid var(--danger);
}

.need-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.need-header i {
    font-size: 40px;
    color: var(--teal);
}

.urgency-badge {
    background: var(--danger);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.need-details {
    list-style: none;
    margin: 20px 0;
}

.need-details li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.need-details li::before {
    content: '•';
    color: var(--teal);
    position: absolute;
    left: 0;
}

.pledge-btn {
    width: 100%;
    margin-top: 20px;
}

.ongoing-needs {
    padding: 80px 0;
    background: var(--light-gray);
}

.category-section {
    margin-bottom: 60px;
}

.category-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark-purple);
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-section h3 i {
    color: var(--teal);
}

/* Services Section */
.services-needed {
    padding: 80px 0;
}

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

.service-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--teal);
    transform: translateY(-5px);
}

.service-card i {
    font-size: 50px;
    color: var(--primary-purple);
    margin-bottom: 20px;
}

/* How to Help */
.how-to-help {
    padding: 80px 0;
    background: var(--light-gray);
}

.help-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.help-option {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 10px;
}

.help-option i {
    font-size: 60px;
    color: var(--teal);
    margin-bottom: 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--gray);
}

.close:hover {
    color: var(--dark-gray);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal);
}

/* Footer Styles */
.site-footer {
    background: var(--dark-purple);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.scripture-footer {
    margin-top: 15px;
    font-style: italic;
    color: var(--light-teal);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    padding: 5px 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--teal);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--teal);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.disclaimer {
    margin-top: 10px;
    font-size: 14px;
}

/* Logo Link Styling */
.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.logo-link:hover {
    color: inherit;
}

.website-credit {
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.7;
}

.website-credit a {
    color: var(--teal);
    text-decoration: none;
}

.website-credit a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        position: relative;
    }
    
    .logo-section {
        flex: 1;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .main-nav {
        position: static;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        padding: 10px 20px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        max-height: 320px;
        opacity: 1;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--light-gray);
        font-size: 16px;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .mission-content,
    .founder-content {
        grid-template-columns: 1fr;
    }
    
    .story-timeline::before {
        left: 20px;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}