* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a2463; /* Dark blue */
    --secondary-color: #d4af37; /* Gold */
    --accent-color: #c5283d; /* Red */
    --light-color: #ffffff; /* White */
    --dark-color: #333333;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    margin-left: 5px;
    margin-right: 1px;
}

/* Pastor Section - Redesigned */
.pastor {
    background-color: #f8f9fa;
}

.pastor-card {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.pastor-image-container {
    position: relative;
    flex: 0 0 40%;
    max-width: 40%;
}

.pastor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pastor-social-links {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.pastor-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.pastor-social-links a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.pastor-details {
    flex: 1;
    padding: 40px;
}

.pastor-header h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.pastor-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    color: #666;
    font-size: 0.9rem;
}

.pastor-meta i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.pastor-bio p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.pastor-mission {
    background: rgba(74, 111, 165, 0.05);
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin: 25px 0;
    font-style: italic;
    position: relative;
}

.pastor-mission i.fa-quote-left {
    position: absolute;
    top: 10px;
    left: 10px;
    color: rgba(212, 175, 55, 0.2);
    font-size: 2rem;
}

.pastor-mission p {
    margin: 0 0 5px 0;
    padding-left: 30px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.pastor-mission cite {
    display: block;
    text-align: right;
    font-style: normal;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Styles for Pastor Section */
@media (max-width: 768px) {
    .pastor-card {
        flex-direction: column;
    }
    
    .pastor-image-container {
        flex: 1;
        max-width: 100%;
        height: 350px;
    }
    
    .pastor-details {
        padding: 25px;
    }
    
    .pastor-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .pastor-header h3 {
        font-size: 1.5rem;
    }
    
    .pastor-details {
        padding: 20px;
    }
    
    .pastor-mission {
        padding: 15px;
    }
}

/* Base Styles */
.logo {
    display: inline-block;
}

.church-logo {
    height: 80px;
    width: auto;
    display: block;
    margin-left: 5px;
}

.container1 {
    background-color: #abbbd4;
    max-width: 1200px;
    padding: 0 15px;
    margin: auto;
    border-radius: 20px;
}

.container {
    max-width: 1200px;
    padding: 0 15px;
    margin: auto;
}

.section {
    padding: 80px 0;
}

.section-messages {
    border-radius: 20px;
    margin: auto;
}

.section-title,
.section-title1 {
    text-align: center;
    margin: auto;
    margin-bottom: 50px;
    font-family: var(--font-heading);
    color: var(--primary-color);
    position: relative;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto;
}

#messages {
    background-color: #f8f9fa;
    padding: 80px 0;
    margin: auto;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    margin-top: 10px;
}

.btn:hover {
    background: #3a5a8c;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    margin-left: 15px;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    margin-right: 5px;
    top: 0;
    z-index: 1000;
    transition: var(--transition);    
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 20px;
    margin-right: 10px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('https://media.gettyimages.com/id/1489173218/photo/happy-woman-with-toddler-on-lap-in-church.jpg?s=612x612&w=0&k=20&c=7oNNtmgKBCH2gPeJlM-Il-c_62dh7PDfydrolcbd6dU=') no-repeat center center/contain;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    margin-top: 5px;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    width: 100%;
    overflow: hidden;
}

.hero-overlay {
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    margin-top: 30px;
}

/* About Section */
.about {
    background: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
}

.features {
    margin-top: 20px;
    list-style: none;
}

.features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.features i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Doctrines Section */
.doctrines {
    background: #fff;
}

.doctrines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.doctrine-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.doctrine-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.doctrine-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.doctrine-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Messages Section */
.messages {
    background: var(--light-color);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    margin: auto;
    color: #43577e;
    font-size: 1.2rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
}

.video-card p {
    padding: 0 20px 20px;
    color: #666;
    font-size: 0.9rem;
}

.more-videos {
    text-align: center;
    margin-top: 50px;
}

/* Services Section */
.services {
    background: var(--light-color);
}

.services-schedule {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.service-time {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.service-day {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-hour {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-type {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.services-extra {
    margin-top: 50px;
    text-align: center;
    font-style: italic;
    color: #666;
}

.services-extra i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Contact Section */
.contact {
    background: #fff;
}

.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.contact-form {
    flex: 1;
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-main);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.social-links {
    margin: 30px 0;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.map {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Donation Styles */
.nav-donate-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    box-shadow: var(--box-shadow);
}

.nav-donate-btn i {
    margin-right: 8px;
    font-style: normal;
    font-weight: 500;
}

.nav-donate-btn:hover {
    background: #7d9179;
    transform: translateY(-2px);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    width: 80%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.close {
    color: #aaa;
    float: right;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.close:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.scripture {
    margin-top: 20px;
    font-style: normal;
    letter-spacing: 0.05cm;
}

.payment-info {
    margin-top: 10px;
    font-style: normal;
    font-size: x-large;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    letter-spacing: 0.05cm;
}

.zoom-label {
    color: #4a6fa5;
    font-size: x-large;
}

.service-hour2 {
    font-size: 1.2rem !important;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section {
    flex: none;
    width: 48%;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

.success-message {
    background: var(--success-color);
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    display: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-btns {
        display: flex;
        flex-direction: column;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .footer-section {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}