/* ============================
   CSS Variables
============================ */
:root {
    /* Primary Colors */
    --primary-color: #333333; /* Dark Blue-Gray */
    --secondary-color: #555555; /* Medium Gray with Blue Hue */
    --accent-color: #b59f7e; /* Light brown accent */

    /* Background Colors */
    --light-bg: #f8f9fa;
    --dark-bg: #333333; /* Dark Blue-Gray */
	--black: #000000; 
    --white: #ffffff;

    /* Additional Styling Variables */
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    --button-hover: #927E45;
    --section-title-color: var(--primary-color);
    --text-color: #444;
    --body-color: #666;
    --light-gray: #d6d6d6; /* Slightly lighter than before for hero & sections */
    --bg-color: #fff;
}

/* ============================
   Reset CSS
============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================
   Body Styling
============================ */
html, body {
    height: 100%;
    background-color: var(--dark-bg);
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
}

/* ============================
   Content Wrapper
============================ */
.content-wrapper {
    flex: 1 0 auto;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
}

/* ============================
   Navbar Styling
============================ */
.navbar {
    background-color: var(--white);
}

.navbar-brand img.logo-img {
    max-height: 40px;
}

.navbar-nav .nav-link {
    color: var(--black) !important;
    transition: color 0.1s Bold;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--accent-color) !important;
}


.navbar-nav .dropdown-menu {
    background-color: var(--white);
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar-nav .dropdown-item {
    color: var(--black);
    padding: 10px 15px;
    transition: background-color 0.1s ease, color 0.1s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--accent-color);
    color: var(--white);
}


/* ============================
   Hero Banner Styling
============================ */

/* Root Variables (Consolidated) */
:root {
    /* Primary Colors */
    --primary-color: #333333; /* Dark Blue-Gray */
    --secondary-color: #555555; /* Medium Gray with Blue Hue */
    --accent-color: #b59f7e; /* Light brown accent */

    /* Background Colors */
    --light-bg: #f8f9fa;
    --dark-bg: #333333; /* Dark Blue-Gray */
    --white: #ffffff;

    /* Additional Styling Variables */
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    --button-hover: #b59f7e;
    --section-title-color: var(--primary-color);
    --text-color: #444;
    --body-color: #666;
    --light-gray: #d6d6d6;
    --bg-color: #fff;
}

/* Hero Banner Container */
.hero-banner {
    width: 100vw; /* Force full viewport width */
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: var(--dark-bg);
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Subpage Hero Height */
body.subpage .hero-banner {
    height: 40vh;
}

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

/* Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    min-width: 100%;
}

/* Fallback Image */
.hero-video img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    min-width: 100%;
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
    text-align: center;
    color: var(--white);
    margin: 0 auto;
}

/* Hero Typography */
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: var(--text-shadow);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Hero Button */
.hero-content .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--white);
    background-color: transparent;
    color: var(--white);
    transition: all 0.3s ease;
}

.hero-content .btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .hero-banner {
        height: 80vh;
    }
    
    body.subpage .hero-banner {
        height: 35vh;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 60vh;
    }
    
    body.subpage .hero-banner {
        height: 30vh;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content .btn {
        padding: 0.8rem 1.6rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 50vh;
    }
    
    body.subpage .hero-banner {
        height: 25vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

/* ============================
   Section Title Styling
============================ */
.section-title {
    text-align: center; /* Ensures center alignment of text within the element */
    margin: 0 auto 3rem auto; /* Centers the element and adds bottom margin */
    color: var(--section-title-color);
    font-size: 3rem; /* Larger font size */
    font-weight: 800; /* Heavier font weight */
    position: relative;
    padding: 0.5rem 1rem; /* Padding around text */
    background-color: rgba(#b59f7e); /* Semi-transparent orange background */
    display: block; /* Makes the element block-level for proper centering */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-title::after {
    content: '';
    width: 80px; /* Wider decorative line */
    height: 4px; /* Thicker line */
    background-color: var(--accent-color);
    position: absolute;
    bottom: -15px; /* Positioned below the title */
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px; /* Rounded ends */
}

.section-title:hover {
    transform: scale(1.05); /* Slightly enlarges on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.mission-title {
    color: var(--accent-color); /* Orange color */
    background-color: rgba(#b59f7e); /* Matching background */
}





/* ============================
   Doctrinal Statement Section Styling
============================ */
.doctrinal-statement-section {
    background-color: #f9fafc;
    color: #2c3e50;
}

.doctrinal-content {
    max-width: 1200px; /* Increased from 800px */
    margin: 0 auto;
    padding: 0 2rem; /* Increased padding for better spacing */
}

.doctrinal-list {
    padding-left: 0;
    list-style-type: none;
}

.doctrinal-list > li {
    margin-bottom: 2rem;
}

h1.section-title, h2.section-title {
    color: #2d3748;
    font-weight: 700;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1rem; /* Adds space between paragraphs */
}

.scriptural-references {
    font-size: 0.9rem;
    color: #718096;
    font-style: italic;
}

/* ============================
   Ministries Section Styling
============================ */
.ministries {
    background-color: var(--light-bg);
    padding: 60px 0;
}

.ministry-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 1rem; /* Added margin to prevent squishing */
}

.ministry-card:hover,
.ministry-card:focus {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

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

.ministry-card-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.ministry-card-content p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* ============================
   Service Times Section Styling
============================ */
.service-times {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.service-times .section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-times .worship-times {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.service-times .worship-times i {
    color: var(--accent-color);
}

.service-times .btn-light,
.service-times .btn-outline-light {
    padding: 12px 25px;
    font-size: 1.1rem;
}



.service-times .btn-light {
    background-color: var(--white);
    color: var(--secondary-color);
    border: none;
}

.service-times .btn-light:hover,
.service-times .btn-light:focus {
    background-color: var(--accent-color);
    color: var(--white);
}

.service-times .btn-outline-light {
    border-color: var(--white);
    color: var(--white);
}

.service-times .btn-outline-light:hover,
.service-times .btn-outline-light:focus {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}


/* Override paragraph color within Service Times */
.service-times p {
    color: var(--white) !important;
}


/* ============================
   Footer Styling
============================ */
.custom-footer {
    background-color: var(--primary-color); /* Dark Blue-Gray */
    color: var(--white);
    padding: 40px 0; /* Increased padding */
    text-align: center;
    position: relative;
}

.custom-footer h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.custom-footer p.small {
    font-size: 0.875rem;
}

.custom-footer a {
    color: var(--accent-color); /* Orange */
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-footer a:hover,
.custom-footer a:focus {
    color: var(--white);
    text-decoration: underline;
}

.custom-footer .list-inline-item a {
    color: var(--white);
    transition: color 0.3s ease, transform 0.3s ease;
}

.custom-footer .list-inline-item a:hover,
.custom-footer .list-inline-item a:focus {
    color: var(--accent-color); /* Orange */
    transform: scale(1.1);
}

.custom-footer::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color); /* Matches footer */
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ============================
   Button Styling
============================ */
.btn-primary {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
}

.btn-outline-primary {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-orange {
    background-color: #b59f7e;
    border-color: #b59f7e;
    color: #fff;
}

.btn-orange:hover {
    background-color: #b59f7e;
    border-color: #b59f7e;
    color: #fff;
}

.btn-outline-orange {
    color: #b59f7e;
    border-color: #b59f7e;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-orange:hover {
    color: #ffffff;
    background-color: #b59f7e;
    border-color: #b59f7e;
}

/* ============================
   Card Styling
============================ */
.card,
.value-card,
.involvement-opportunity,
.visit-section,
.cta-section {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card:hover,
.value-card:hover,
.involvement-opportunity:hover,
.visit-section:hover,
.cta-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .card,
    .value-card,
    .involvement-opportunity,
    .visit-section,
    .cta-section {
        margin-bottom: 20px;
    }
}

/* ============================
   Core Values Section Styling
============================ */
.core-values {
    background-color: #f8f9fa;
}

.value-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.value-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
    background-color: #b59f7e;
    color: #ffffff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    transition: background-color 0.3s ease-in-out;
}

.value-card:hover .icon-wrapper {
    background-color: #b59f7e;
}

.icon-wrapper i {
    font-size: 2rem;
}

.value-title {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-description {
    color: #666;
}

/* ============================
   Get Involved Section Styling
============================ */
.get-involved {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.involvement-opportunity {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.involvement-opportunity:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.involvement-opportunity h3 {
    color: #b59f7e;
    font-weight: 700;
    margin-bottom: 15px;
}

.involvement-opportunity p {
    color: #4a5568;
    margin-bottom: 20px;
}

.btn-custom {
    display: inline-block;
    background-color: #b59f7e;
    color: #ffffff;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-custom:hover {
    background-color: #b59f7e;
    color: #ffffff;
    text-decoration: none;
}

/* ============================
   Donate Section Styling
============================ */
.donate-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.donate-title {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 30px;
}

.donate-text {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
}

.donate-form {
    padding: 60px 0;
    background-color: #ffffff;
}

.loading-placeholder {
    text-align: center;
    padding: 20px;
    color: #4a5568;
}

.donation-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.donation-options {
    padding: 60px 0;
    background-color: #f0f4f8;
}

.options-title {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

.options-list {
    color: #4a5568;
    padding-left: 20px;
}

.options-list li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .donate-section,
    .donate-form,
    .donation-options {
        padding: 40px 0;
    }
    .donate-title,
    .options-title {
        font-size: 1.5rem;
    }
    .donate-text {
        font-size: 1rem;
    }
    .donation-iframe {
        height: 500px;
    }
}

/* ============================
   Visit Info Section Styling
============================ */
.visit-info {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.visit-section {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease;
}

.visit-section:hover {
    transform: translateY(-5px);
}

.visit-section h3 {
    color: #b59f7e;
    font-weight: 700;
    margin-bottom: 20px;
}

.visit-section ul {
    list-style: none;
    padding-left: 0;
}

.visit-section ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.visit-section ul li:before {
    content: "\f105"; /* Ensure Font Awesome is loaded */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #b59f7e;
}

.cta-section {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    padding: 40px;
    margin-top: 40px;
}

.btn-primary {
    background-color: #b59f7e;
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #8c4718;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* ============================
   Next Step Section Styling
============================ */
.next-step-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.next-step-list {
    max-width: 800px;
    margin: 0 auto;
}

.next-step-item {
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    overflow: hidden;
}

.next-step-question {
    position: relative;
    padding: 1rem;
    margin: 0;
    background-color: #fff;
    color: #343a40;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.next-step-question:hover {
    background-color: #f8f9fa;
}

.next-step-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #b59f7e;
}

.next-step-answer {
    display: none;
    padding: 1rem;
    background-color: #fff;
    border-top: 1px solid #e9ecef;
}

.next-step-answer p {
    margin: 0;
    color: #6c757d;
}

.next-step-answer a {
    color: #b59f7e;
    text-decoration: none;
}

.next-step-answer a:hover {
    text-decoration: underline;	
}

/* ============================
   Responsive Styles
============================ */
@media (max-width: 1200px) {
    .hero-banner {
        height: 500px; /* Adjust height for medium screens */
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 400px; /* Adjust height for small screens */
    }

    .section-title {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }

    .ministry-card img {
        height: 150px;
    }

    .custom-footer .row {
        text-align: center;
    }

    .custom-footer .list-inline-item {
        margin-bottom: 10px;
    }

    /* Responsive Adjustments for Doctrinal Content */
    .doctrinal-content {
        padding: 0 1rem;
    }

    /* Responsive Typography */
    .doctrinal-content p {
        font-size: 0.9rem; /* Adjust paragraph font size */
    }

    .ministry-card-content h3 {
        font-size: 1.3rem; /* Adjust ministry titles */
    }

    /* Adjust button widths in Get Involved Section */
    .btn {
        width: 100%;
    }
}




/* ============================
   Social Icons Styling
============================ */
.social-icons a {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:last-child {
    margin-right: 0;
}

.social-icons a:hover,
.social-icons a:focus {
    color: var(--button-hover);
    transform: scale(1.1);
}

/* ============================
   Email Link Styling
============================ */
.email-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link:hover,
.email-link:focus {
    color: var(--button-hover);
    text-decoration: underline;
}


/* ============================
   Contact-form
============================ */

.contact-form {
    padding: 60px 20px;
    background-color: var(--light-bg);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

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

.contact-form label {
    color: var(--secondary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background-color: #f9fafb;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(210, 105, 30, 0.5);
    outline: none;
}

.contact-form button {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 25px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.contact-form button:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* ============================
   Contact Form Messages Styling
============================ */
.alert {
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.alert-success {
  background-color: #d4edda; /* Light green */
  color: #155724; /* Dark green text */
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da; /* Light red */
  color: #721c24; /* Dark red text */
  border: 1px solid #f5c6cb;
}


/* ============================
   About-us-summary
============================ */
.about-us-summary {
    background-color: var(--light-bg);
    padding: 60px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
}

.about-us-summary .summary-text {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.about-us-summary .btn {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.about-us-summary .btn:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
}


/* ============================
   Testimonial-section
============================ */

.testimonial-section {
    background-color: var(--light-bg);
    padding: 60px 20px;
    text-align: center;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-card h5 {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 10px;
}


/* ============================
   Visit-us-section
============================ */

/* ============================
   Ministry-card
============================ */


.ministry-card img {
    height: auto; /* Allow flexibility in height for responsiveness */
    object-fit: cover;
    border-bottom: 4px solid var(--accent-color);
}

.hero-banner h1,
.section-title {
    text-shadow: var(--text-shadow);
}






.faq-section {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    text-align: center; /* Centers the text within the section */
    padding: 20px; /* Optional: Adds space around the content */
    height: auto; /* Ensure it adapts to the content */
    margin: 0 auto; /* Centers the section within its container */
}

.faq-section p {
    font-size: 1.1rem; /* Optional: Adjusts text size */
    color: var(--primary-color); /* Matches your site's color scheme */
}



/* ============================
   Ministry Section Styling
============================ */
.ministry-section {
    background-color: var(--light-bg); /* Consistent light blue background */
    padding: 60px 0; /* Consistent vertical padding */
    border-radius: 10px; /* Optional: Rounded corners for aesthetics */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Subtle shadow for depth */
}

.ministry-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.ministry-section p {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

/* ============================
    Full-width Section Fix 
============================ */

.full-width-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: var(--light-gray);
    padding: 4rem 0;
}

/* Newsletter Section Full-width Fix */
.newsletter-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: var(--accent-color);
    padding: 4rem 0;
    color: var(--white);
}

/* Enhanced Hero Callouts */
.hero-callout-lg {
    background: linear-gradient(to bottom right, #fff, #f9f9f9);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none !important;
}

.hero-callout-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.05);
}

.hero-callout-lg .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    transition: background-color 0.3s ease;
}

.hero-callout-lg:hover .icon-circle {
    background-color: var(--accent-color);
}

.hero-callout-lg .icon-circle i {
    font-size: 2rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.hero-callout-lg:hover .icon-circle i {
    color: var(--white);
}

.hero-callout-lg h4 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin: 1rem 0 0.5rem 0;
}

.hero-callout-lg p {
    color: var(--body-color);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Hero Info Box Enhancement */
.hero-info-box {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 2rem;
}

.hero-info-box .service-times {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 600;
}

.hero-info-box .address {
    color: var(--body-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-callout-lg {
        margin-bottom: 1rem;
    }

    .hero-callout-lg .icon-circle {
        width: 60px;
        height: 60px;
    }

    .hero-callout-lg h4 {
        font-size: 1.2rem;
    }
}
/* Hero Feature Section Container */
.hero-feature {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: var(--light-gray);
    padding: 4rem 0;
}

/* Callouts Container */
.hero-callouts-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Row Spacing */
.hero-callouts-container .row {
    margin: -1rem;  /* Negative margin to counteract padding */
}

/* Column Spacing */
.hero-callouts-container [class*="col-"] {
    padding: 1rem;
}

/* Individual Callout Box */
.hero-callout-lg {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none !important;
}

.hero-callout-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.05);
}

/* Icon Circle */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}

.hero-callout-lg:hover .icon-circle {
    background-color: var(--accent-color);
}

.icon-circle i {
    font-size: 2rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.hero-callout-lg:hover .icon-circle i {
    color: var(--white);
}

/* Callout Text */
.hero-callout-lg h4 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
}

.hero-callout-lg p {
    color: var(--body-color);
    font-size: 0.95rem;
    margin: 0;
}

/* Service Times Box */
.hero-info-box {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.hero-info-box .service-times {
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-info-box .address {
    font-size: 1.1rem;
    color: var(--body-color);
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hero-callouts-container {
        max-width: 960px;
    }
}

@media (max-width: 768px) {
    .hero-feature {
        padding: 3rem 0;
    }

    .hero-callout-lg {
        padding: 1.5rem 1rem;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .icon-circle i {
        font-size: 1.5rem;
    }

    .hero-callout-lg h4 {
        font-size: 1.2rem;
    }

    .hero-info-box {
        padding: 1.5rem;
    }

    .hero-info-box .service-times {
        font-size: 1.1rem;
    }

    .hero-info-box .address {
        font-size: 1rem;
    }
}


/* Remove space between hero and feature section */
.hero-section {
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero-feature {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: var(--light-gray);
    padding: 4rem 0;
    margin-top: 0; /* Remove any top margin */
}

/* Fix service times box height and shadow */
.hero-info-box {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem; /* Reduced padding */
    text-align: center;
    margin-top: 2rem;
    box-shadow: none; /* Remove shadow */
}

.hero-info-box .service-times {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.25rem; /* Reduced margin */
}

.hero-info-box .address {
    font-size: 1rem;
    color: var(--body-color);
    margin: 0;
}

/* Ensure content wrapper doesn't add extra space */
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0; /* Remove any gap between sections */
}

/* Additional reset for any potential spacing issues */
section {
    margin: 0;
}

.container, .container-fluid {
    margin-bottom: 0;
    padding-bottom: 0;
}


/* Remove space between sections */
.hero-section {
    margin: 0;
    padding: 0;
}

.hero-feature {
    margin: 0;
    padding: 4rem 0;
}

/* Remove container margins that might cause white space */
.container {
    margin-bottom: 0;
}

/* Newsletter section fixes */
.newsletter-section {
    margin: 0;
    padding: 4rem 0;
    background-color: var(--accent-color);
}

/* Service times section fixes */
.service-times {
    margin: 0;
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

/* Remove any margins between sections */
section {
    margin: 0;
}

/* Hero feature service times box fix */
.hero-info-box {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 2rem;
    box-shadow: none;
}

.hero-info-box .service-times {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
    background: none;
    padding: 0;
}

.hero-info-box .address {
    font-size: 1rem;
    color: var(--body-color);
    margin: 0;
}

/* Fix ministries section spacing */
.ministries {
    margin: 0;
    padding: 0;
}

/* Remove any potential wrapper margins */
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Additional container reset */
.container-fluid {
    margin: 0;
    padding: 0;
}

/* Ensure sections are truly full-width */
.full-width-section,
.newsletter-section,
.service-times {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Fix for gray section */
.hero-feature {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: var(--light-gray);
    padding: 4rem 0;
    overflow: hidden; /* Add this to prevent horizontal scroll */
}

/* Container fix */
.hero-callouts-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Remove the ministries section padding */
.ministries {
    padding: 0;
    margin: 0;
    background: none;
}

/* Remove extra containers */
.ministries > .container {
    padding: 0;
    margin: 0;
    max-width: none;
    width: 100%;
}

/* Reset any potential margins */
.hero-section {
    margin: 0;
    padding: 0;
}




/* Start Your Journey Section Styling */
.py-5 {
    padding: 3rem 0;
    background-color: #ffffff !important; /* Force white background */
}

.highlight-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    height: 100%;
    text-decoration: none;
}

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

.highlight-image {
    width: 100%;
    height: 250px; /* Fixed height for images */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 8px 8px 0 0;
}

.highlight-card h4 {
    color: #333333;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0;
    padding: 0 1.5rem;
}

.highlight-card p {
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

/* Section title styling */
.fw-bold.mb-5 {
    color: #333333;
    font-size: 2.5rem;
    margin-bottom: 3rem !important;
}

/* Row spacing */
.g-4 {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}

@media (max-width: 768px) {
    .highlight-image {
        height: 200px;
    }
    
    .highlight-card h4 {
        font-size: 1.25rem;
        margin: 1rem 0;
    }
    
    .highlight-card p {
        padding: 0 1rem 1rem;
    }
    
    .fw-bold.mb-5 {
        font-size: 2rem;
    }
}



/* About Video Section Styling */
.about-video-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #d6d6d6 !important;
    padding: 4rem 0;
}

.about-video-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-video-section h2 {
    color: #333333;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-video-section .lead {
    color: #555555;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.about-video-section .ratio {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-video-section {
        padding: 3rem 0;
    }
    
    .about-video-section h2 {
        font-size: 2rem;
    }
    
    .about-video-section .lead {
        font-size: 1.1rem;
    }
}

/* Testimonial Section Styling */
.testimonial-section {
    background-color: #fafafa;
    padding: 5rem 0;
}

.testimonial-section h2 {
    color: #333333;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

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

.testimonial-card .fa-quote-left {
    color: var(--accent-color, #b59f7e);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555555;
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-card h5 {
    color: #333333;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    align-self: flex-end;
}

/* Row spacing */
.g-4 {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-section {
        padding: 4rem 0;
    }

    .testimonial-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card .fa-quote-left {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .testimonial-card p {
        font-size: 1rem;
    }
}


/* ============================
   Calendar Section Styling
============================ */


.calendar-section {
  background-color: #f0f4f8;
  padding: 60px 0;
}
.section-title {
  color: #2d3748;
  font-weight: 700;
  margin-bottom: 30px;
}
.section-description {
  color: #718096;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
}
.calendar-container {
  max-width: 950px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
#calendar {
  padding: 20px;
}

/* Make FullCalendar buttons Tan */
.fc-button-primary {
  background-color: #b59f7e !important;
  border-color: #b59f7e !important;
}
.fc-button-primary:hover {
  background-color: #927E45 !important;
  border-color: #927E45 !important;
}

/* Event styling */
.fc-event {
  border: 1px solid #b59f7e !important;
  background-color: #b59f7e !important;
  color: #fff !important; /* Ensures text is visible on orange background */
}

/* Upcoming Events container */
.upcoming-events-container {
  max-width: 950px;
  margin: 0 auto 30px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: left;
}
.upcoming-event {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.upcoming-event:last-child {
  border-bottom: none;
}
.event-date {
  font-weight: bold;
  color: #b59f7e;
}

/* Responsiveness */
@media (max-width: 768px) {
  .calendar-section {
    padding: 40px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .section-description {
    font-size: 1rem;
    padding: 0 15px;
  }
  #calendar {
    font-size: 0.9rem;
  }
}



/* ============================
   RESPONSIVE FULLCALENDAR OVERRIDES
============================ */

/* Compact the calendar layout for screens < 768px */
@media (max-width: 768px) {

  /* Decrease the font size for calendar text & buttons */
  #calendar {
    font-size: 0.8rem; /* down from 0.9rem or 1rem */
  }

  /* Make buttons smaller */
  .fc-button {
    font-size: 0.8rem !important;
    padding: 0.3rem 0.6rem !important; 
    min-height: auto !important;
  }

  /* Adjust the button group so they don't crowd each other */
  .fc-toolbar .fc-toolbar-chunk:first-child,
  .fc-toolbar .fc-toolbar-chunk:last-child {
    margin-bottom: 0.5rem;
  }

  /* Make sure the next/prev/today buttons fit better */
  .fc-toolbar .fc-toolbar-chunk:first-child .fc-button {
    margin-right: 0.25rem;
  }

  /* Tweak the calendar container padding */
  .calendar-container {
    padding: 10px; /* or less, for a more compact view */
  }

  /* Slightly reduce the upcoming-events spacing if needed */
  .upcoming-events-container {
    padding: 15px;
  }

  /* If you want the upcoming event titles smaller, too */
  .upcoming-event {
    font-size: 0.85rem;
  }
}

/* Even more compact on < 480px if desired */
@media (max-width: 480px) {
  #calendar {
    font-size: 0.7rem;
  }

  .fc-button {
    font-size: 0.7rem !important;
    padding: 0.25rem 0.5rem !important; 
  }

  .calendar-container {
    padding: 8px;
  }

  .upcoming-events-container {
    padding: 10px;
  }
}






/* ============================
   OVERRIDE SECTION TITLE
   (Remove manila background & bounce)
============================ */

/* 1. Universal baseline: remove old manila background & hover transform */
.section-title {
  margin: 0 auto 3rem auto;
  font-size: 3rem !important;
  font-weight: 900 !important;
  position: relative;
  padding: 0.5rem 1rem;
  display: block;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: transparent !important;  /* no manila background */
  box-shadow: none !important;
  transition: box-shadow 0.3s ease; /* remove scale transform */
}

/* Remove bounce (scale) on hover */
.section-title:hover {
  /* No transform here */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* optional subtle shadow */
}

/* Remove old decoration line color */
.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: transparent !important; /* or pick a different accent color */
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* 2. LIGHT BACKGROUND HEADINGS
   (for pages like AboutUs, OurPurpose, VisionStatement, 
    WhatWeBelieve, DoctrinalStatement with a light bg)
*/
.about-us-section .section-title,
.our-purpose-section .section-title,
.vision-statement-section .section-title,
.what-we-believe-section .section-title,
.doctrinal-statement-section .section-title,
.ministries .section-title,
.contact-info .section-title,
.map .section-title,
.next-step-section .section-title,
.section-title:not(.dark-heading) {
  color: #333333 !important; /* Dark text on light BG */
}

/* 3. DARK BACKGROUND HEADINGS
   (keep white text for truly dark sections, if any)
*/
.service-times .section-title,
.custom-footer .section-title,
.dark-heading {
  color: #ffffff !important;
}

/* 4. REMOVE BOUNCE ON BUTTONS (if needed) */
.btn-primary:hover {
  background-color: var(--button-hover);
  /* Remove transform */
  /* transform: translateY(-2px); */
}

/* ============================
   OVERRIDE SECTION TITLE (Final)
============================ */

/* 1. Import Montserrat for headings (Hillsong-like) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&display=swap');

/* 2. Universal baseline: remove bounce & old background */
.section-title {
  margin: 0 auto 3rem auto;
  font-family: 'Montserrat', sans-serif !important; 
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  position: relative;
  padding: 0.5rem 1rem;
  display: block;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: transparent !important;
  box-shadow: none !important;
  /* Force remove scale transform from all prior rules */
  transform: none !important;
  transition: box-shadow 0.3s ease !important; /* no scaling */
}

/* Remove ANY transform on hover */
.section-title:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
  transform: none !important; /* kills bounce effect */
}

/* Remove old decorative line color if needed */
.section-title::after {
  content: '';
  width: 80px; 
  height: 4px;
  background-color: transparent !important;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* 3. Light vs Dark Sections
   LIGHT background => dark text
   DARK background  => white text
   Adjust selectors to suit your site
*/
.about-us-section .section-title,
.our-purpose-section .section-title,
.vision-statement-section .section-title,
.what-we-believe-section .section-title,
.doctrinal-statement-section .section-title,
.ministries .section-title,
.contact-info .section-title,
.map .section-title,
.next-step-section .section-title,
.section-title:not(.dark-heading) {
  color: #333333 !important; /* Dark text on light BG */
}

.service-times .section-title,
.custom-footer .section-title,
.dark-heading {
  color: #ffffff !important; /* White text on dark BG */
}

/* 4. Kill bounce on .btn-primary hover if needed */
.btn-primary:hover {
  background-color: var(--button-hover) !important;
  transform: none !important; /* no bounce */
}

