:root {
    --primary-color: #4a6fa5;
    --secondary-color: #6d98ba;
    --accent-color: #ff6b6b;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #f5f5f5;
}

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

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(74, 111, 165, 0.8), rgba(74, 111, 165, 0.9)), url('assets/prayer-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

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

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #ff5252;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Prayer Requests Section */
.prayer-requests {
    padding: 60px 0;
}

.prayer-requests h2 {
    text-align: center;
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2rem;
}

.prayer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.prayer-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.prayer-card-content {
    padding: 20px;
}

.prayer-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.prayer-card-user {
    font-weight: 600;
    color: var(--primary-color);
}

.prayer-card-location {
    color: #6c757d;
    font-size: 0.9rem;
}

.prayer-card-text {
    margin-bottom: 15px;
    line-height: 1.5;
}

.prayer-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.prayer-reactions {
    display: flex;
    align-items: center;
}

.prayer-reactions button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    margin-right: 5px;
}

.prayer-reactions span {
    margin-left: 5px;
    font-size: 0.9rem;
}

.prayer-count {
    font-size: 0.9rem;
    color: #6c757d;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination button {
    background-color: white;
    border: 1px solid #ddd;
    color: var(--primary-color);
    padding: 8px 15px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination button:hover,
.pagination button.active {
    background-color: var(--primary-color);
    color: white;
}

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

.modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #aaa;
}

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

.modal h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .prayer-grid {
        grid-template-columns: 1fr;
    }
}
/* About Page Styles */
.about-hero {
    background: linear-gradient(rgba(74, 111, 165, 0.8), rgba(74, 111, 165, 0.9)), url('assets/prayer-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.about-hero h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.about-content {
    padding: 60px 0;
}

.about-text h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-family: var(--font-heading);
}

.about-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
}

.about-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(rgba(74, 111, 165, 0.8), rgba(74, 111, 165, 0.9)), url('assets/prayer-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-hero h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-content {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-detail i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

/* Donate Page Styles */
.donate-hero {
    background: linear-gradient(rgba(74, 111, 165, 0.8), rgba(74, 111, 165, 0.9)), url('assets/prayer-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.donate-hero h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.donate-content {
    padding: 60px 0;
}

.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.amount-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.amount-btn {
    padding: 10px 15px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

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

/* Prayer Detail Page Styles */
.prayer-detail {
    padding: 40px 0;
}

.prayer-detail-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.prayer-detail-header h2 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

.prayer-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.prayer-detail-content {
    margin-bottom: 20px;
    line-height: 1.6;
}

.prayer-response {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.prayers-received {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.prayer-sent {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.prayer-sent:last-child {
    border-bottom: none;
}

.prayer-sent-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.prayer-sender {
    font-weight: 600;
    color: var(--primary-color);
}

.prayer-date {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-grid,
    .donate-grid {
        grid-template-columns: 1fr;
    }
    
    .about-actions {
        flex-direction: column;
    }
    
    .prayer-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .amount-buttons {
        justify-content: center;
    }
}
.newsletter {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#subscription-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

#subscription-form .form-group {
    flex: 1;
    min-width: 250px;
}

#subscription-form input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
}

@media (max-width: 768px) {
    #subscription-form {
        flex-direction: column;
    }
    
    #subscription-form .form-group {
        min-width: auto;
    }
}