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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #2d5016;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo img {
    height: 40px;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4a7c59;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4a7c59 0%, #8fbc8f 100%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

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

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #2d5016;
    color: white;
}

.btn-primary:hover {
    background: #1a3009;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 80, 22, 0.3);
}

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

.btn-secondary:hover {
    background: white;
    color: #2d5016;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #4a7c59;
    border: 2px solid #4a7c59;
}

.btn-outline:hover {
    background: #4a7c59;
    color: white;
    transform: translateY(-2px);
}

/* Schedule Grid */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.schedule-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-time, .card-day {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4a7c59;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4a7c59, #8fbc8f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-day {
    font-size: 1.5rem;
}

.schedule-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2d5016;
}

.schedule-card p {
    color: #666;
    line-height: 1.6;
}

/* Ministries Grid */
.ministries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ministry-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ministry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.ministry-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4a7c59, #8fbc8f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.ministry-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d5016;
}

.ministry-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.ministry-link {
    color: #4a7c59;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.ministry-link:hover {
    color: #2d5016;
}

/* Staff Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.staff-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.1);
    border: 1px solid rgba(45, 80, 22, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(45, 80, 22, 0.15);
}

.staff-content {
    padding: 0;
}

.staff-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2d5016;
}

.staff-title {
    color: #4a7c59;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.staff-role {
    color: #666;
    font-size: 0.9rem;
}

.elders-section {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    margin-top: 2rem;
}

.elders-title {
    font-size: 1.8rem;
    color: #2d5016;
    margin-bottom: 2rem;
}

.elders-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.elder-item {
    background: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: #4a7c59;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.resource-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    color: white;
}

.resource-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.resource-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.resource-card p {
    opacity: 0.9;
    color: white;
}

/* Events Section */
.events-section {
    padding: 100px 0;
    background: white;
}

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

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.event-content {
    padding: 2rem;
}

.event-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2d5016;
}

.event-date {
    color: #4a7c59;
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Stories Section */
.stories-section {
    padding: 100px 0;
    background: #f8f9fa;
}

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

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

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

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

.story-content {
    padding: 1.5rem;
}

.story-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2d5016;
}

.story-content p {
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.story-link {
    color: #4a7c59;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.story-link:hover {
    color: #2d5016;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #4a7c59 0%, #8fbc8f 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

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

.cta-buttons .btn-primary {
    background: white;
    color: #4a7c59;
}

.cta-buttons .btn-primary:hover {
    background: #f8f9fa;
    color: #2d5016;
}

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

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #4a7c59;
}
.footer {
    background: #2d5016;
    color: white;
    padding: 3rem 0 1rem;
}

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

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

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #8fbc8f;
}

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

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

.social-links a:hover {
    background: #8fbc8f;
    transform: translateY(-2px);
}

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

/* Beliefs Section Styles */
.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.belief-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.1);
    border: 1px solid rgba(45, 80, 22, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.belief-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(45, 80, 22, 0.15);
}

.belief-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #f0f8f0;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: #4a7c59;
}

.belief-card h3 {
    color: #2d5016;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.belief-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design for Beliefs */
@media (max-width: 768px) {
    .beliefs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .belief-card {
        padding: 2rem;
    }
    
    .belief-icon {
        width: 60px;
        height: 60px;
    }
    
    .belief-card h3 {
        font-size: 1.3rem;
    }
}

/* Bible Studies Page Styles */
.studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.study-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.1);
    border: 1px solid rgba(45, 80, 22, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(45, 80, 22, 0.15);
}

.study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.study-header h3 {
    color: #2d5016;
    font-size: 1.5rem;
    margin: 0;
}

.study-tag {
    background: #4a7c59;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.study-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.study-details {
    margin-bottom: 1.5rem;
}

.study-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.9rem;
}

.study-info svg {
    flex-shrink: 0;
}

.study-resources h4 {
    color: #2d5016;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8faf8;
    border: 1px solid #e8f5e8;
    border-radius: 8px;
    text-decoration: none;
    color: #2d5016;
    font-weight: 500;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background: #e8f5e8;
    transform: translateX(5px);
}

.resource-link svg {
    flex-shrink: 0;
    color: #4a7c59;
}

/* Additional Resources Section */
.resources-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.category-section h3 {
    color: #2d5016;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #8fbc8f;
    padding-bottom: 0.5rem;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resource-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.08);
    border: 1px solid rgba(45, 80, 22, 0.08);
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.12);
    border-color: #8fbc8f;
}

.resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #f0f8f0;
    border-radius: 12px;
    flex-shrink: 0;
}

.resource-icon svg {
    color: #4a7c59;
}

.resource-info h4 {
    color: #2d5016;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.resource-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Design for Bible Studies */
@media (max-width: 768px) {
    .studies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .study-card {
        padding: 1.5rem;
    }
    
    .study-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .resources-categories {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .resource-item {
        padding: 1rem;
    }
    
    .resource-icon {
        width: 40px;
        height: 40px;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .ministries-grid {
        grid-template-columns: 1fr;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .elders-list {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .experience-card,
    .event-content,
    .story-content {
        padding: 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }
}
