/* ==========================================================================
   CSS Variables & Tokens (White and Gold Theme)
   ========================================================================== */
:root {
    /* Color Palette - Modern White and Gold */
    --primary-color: #eab308;
    /* Elegant Gold */
    --primary-hover: #ca8a04;
    /* Darker Gold */
    --secondary-color: #f9f6e8;
    /* Very Light Gold/Cream */
    --text-main: #2d2d2d;
    /* Soft Black for readable text */
    --text-muted: #666666;
    /* Gray for secondary text */
    --text-light: #ffffff;
    /* White text */
    --bg-main: #ffffff;
    /* Pure White */
    --bg-light: #fafafa;
    /* Off White */
    --bg-dark: #f0ebd8;
    /* Muted Gold/Beige for contrast areas */

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Poppins', sans-serif;

    /* Spacing & Layout */
    --nav-height: 90px;
    --section-padding: 6rem 0;
    --container-width: 1200px;

    /* Effects */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 15px rgba(234, 179, 8, 0.08);
    --shadow-md: 0 10px 30px rgba(234, 179, 8, 0.12);
    --shadow-lg: 0 20px 40px rgba(234, 179, 8, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-main);
    background-color: #f7f5ee;
    /* Soft cream beige background */
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-box {
    background: #ffffff;
    border: 1px solid rgba(234, 179, 8, 0.22);
    border-radius: 24px;
    padding: 4.5rem 3.5rem;
    box-shadow: 0 12px 40px rgba(234, 179, 8, 0.04);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    /* Playfair Display looks great at lighter weights */
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 {
    font-size: 5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

h2 {
    font-size: 3.5rem;
    font-weight: 500;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-muted);
}

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

.bg-light {
    background-color: transparent;
}

.mt-2 {
    margin-top: 2rem;
}

.heading-line {
    width: 80px;
    height: 2px;
    background-color: var(--primary-color);
    margin-bottom: 2.5rem;
}

.heading-line.center {
    margin: 0 auto 2.5rem auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    /* Sharper corners for modern look */
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.875rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 1px solid var(--primary-color);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.link-arrow {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.link-arrow:hover {
    border-bottom: 1px solid var(--primary-color);
    transform: translateX(5px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    height: 80px;
}

.navbar .logo {
    color: var(--text-light);
    white-space: nowrap;
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a {
    color: var(--text-light);
}

.navbar.scrolled .nav-links .btn-primary {
    color: var(--text-light);
}

.navbar.scrolled .nav-links .btn-primary:hover {
    color: var(--primary-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo span {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-links a:not(.btn):hover {
    color: var(--primary-color);
}

.navbar .btn-outline {
    color: var(--text-light);
    border-color: var(--primary-color);
}

.navbar .btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-image: url('../images/hero-bg2.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Bright overlay instead of dark */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(234, 179, 8, 0.2));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.hero-title-gradient {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-light);
    /* Solid White */
    display: inline-block;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

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

.hero-buttons .btn-outline {
    border-color: var(--text-light);
    color: var(--text-light);
}

.hero-buttons .btn-outline:hover {
    background-color: var(--text-light);
    color: #000;
    border-color: var(--text-light);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.section {
    padding: 3rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--primary-color);
    z-index: -1;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1s ease;
}

.image-wrapper:hover img {
    transform: scale(1.03);
}

/* ==========================================================================
   Ministries Section
   ========================================================================== */
.ministry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.ministry-card {
    background: var(--bg-main);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(234, 179, 8, 0.1);
}

.ministry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: grayscale(20%);
}

.ministry-card:hover .card-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.ministry-card:hover .card-overlay {
    opacity: 1;
}

.icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.card-content {
    padding: 2.5rem;
    text-align: center;
}

.card-content h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* ==========================================================================
   Service Times Section
   ========================================================================== */
.service-section {
    background-color: transparent;
    color: var(--text-main);
}

.service-section h2 {
    color: var(--text-main);
}

.service-box {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-top: none;
}

.service-times {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.time-slot {
    border-left: 2px solid var(--primary-color);
    padding-left: 1.5rem;
}

.time-slot h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.time-slot p {
    color: var(--text-muted);
    margin: 0;
}

.service-location h3 {
    margin-bottom: 1.5rem;
}

.service-location p {
    color: var(--text-muted);
}

/* ==========================================================================
   News & Events Section (Layered Layout)
   ========================================================================== */
.news-layered-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    padding-bottom: 2rem;
    /* space for overlapping boxes */
}

.news-layered-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-image-wrap {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
}

.badge-yellow {
    background-color: #ffd700;
    color: #000;
}

.news-content-box {
    position: relative;
    width: 90%;
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: -100px;
    /* Pull it up over the image */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    z-index: 3;
}

/* Accent Borders */
.border-yellow {
    border-top: 5px solid #ffd700;
}

.border-gold {
    border-top: 5px solid var(--primary-color);
}

.news-date {
    display: block;
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-content-box h3 {
    color: #000;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-family: var(--font-heading);
}

.news-content-box p {
    color: #2d2d2d !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.3s;
    display: inline-block;
}

.read-more:hover {
    transform: translateX(5px);
}

/* ==========================================================================
   Gallery Section (Swiper Coverflow)
   ========================================================================== */
.gallery-swiper {
    width: 100%;
    padding: 40px 0;
}

.gallery-swiper .swiper-slide {
    width: 400px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    /* So border doesn't break layout */
    transition: border 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-swiper .swiper-slide-active {
    border: 4px solid #ffd700;
    /* Yellow accent border */
}

.gallery-btn-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    /* Elegant Gold */
    text-align: center;
    padding: 1.2rem 0;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.gallery-btn-wrapper:hover {
    background-color: var(--primary-hover);
}

.gallery-swiper .swiper-slide-active .gallery-btn-wrapper {
    opacity: 1;
    /* Only show on center slide */
}

.view-gallery-btn {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.95rem;
}

/* Custom Navigation Arrows */
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover {
    color: var(--primary-hover);
    transform: scale(1.05);
}

.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .gallery-swiper .swiper-slide {
        width: 280px;
        height: 280px;
    }
}

/* ==========================================================================
   Leadership Section
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
    text-align: center;
}

.team-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.team-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.team-card .role {
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-main);
    color: var(--text-main);
    padding: 5rem 0 0 0;
    border-top: 1px solid rgba(234, 179, 8, 0.2);
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}

.footer-section h3 {
    margin-bottom: 2rem;
    color: var(--text-main);
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-section p,
.footer-section a {
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    background-color: var(--bg-light);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(234, 179, 8, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Animations
   ========================================================================== */
/* Keyframes for Hero (Initial Load) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* Scroll Reveal Classes */
.reveal-on-scroll {
    opacity: 0;
    will-change: transform, opacity, filter;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    filter: blur(0);
}

/* specific directions */
.reveal-up {
    transform: translateY(80px);
}

.reveal-left {
    transform: translateX(-80px);
}

.reveal-right {
    transform: translateX(80px);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal-blur {
    filter: blur(15px);
    transform: translateY(40px);
}

/* Delay modifiers for stagger */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Responsive */
@media (max-width: 768px) {

    .about-grid,
    .service-box {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: unset;
    }

    .hero-title-gradient {
        font-size: 3.5rem;
    }

    .service-box {
        padding: 3rem 2rem;
    }

    .service-times {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   About Subpage Components
   ========================================================================== */
/* About Page Hero */
.about-hero {
    position: relative;
    height: 45vh;
    min-height: 350px;
    background-image: url('../images/hero-bg.png?v=6');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.about-hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    max-width: 800px;
    padding: 0 2rem;
}

.about-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.about-hero-content p {
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: #ffffff;
    border: 1px solid rgba(234, 179, 8, 0.15);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.value-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-muted);
}

/* Timeline Section */
.timeline-section {
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0 auto;
    padding: 2rem 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(234, 179, 8, 0.3);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 2rem 3rem;
    position: relative;
    background: transparent;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: #ffffff;
    border: 4px solid var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-smooth);
}

.timeline-item:hover::after {
    background-color: var(--primary-color);
    scale: 1.25;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -8px;
}

.timeline-content {
    padding: 2rem;
    background: #ffffff;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(234, 179, 8, 0.1);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(234, 179, 8, 0.3);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.timeline-content p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Scripture CTA Section */
.scripture-cta {
    background: linear-gradient(135deg, #faf6e8 0%, #f7f3e1 100%);
    border: 1px solid rgba(234, 179, 8, 0.25);
    border-radius: 24px;
    padding: 4.5rem 3rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(234, 179, 8, 0.05);
    margin: 2rem 0;
}

.scripture-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    position: relative;
}

.scripture-ref {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-hover);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

/* Responsive Timeline & About */
@media (max-width: 768px) {
    .about-hero {
        height: 35vh;
    }

    .about-hero-content h1 {
        font-size: 2.5rem;
    }

    .timeline-container::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left !important;
    }

    .timeline-item.left {
        left: 0;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item::after {
        left: 23px !important;
        right: auto !important;
    }

    .scripture-text {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Mass Timing Custom Split Layout
   ========================================================================== */
.mass-timing-split-container {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem 0;
    align-items: stretch;
}

.mass-timing-left-img {
    flex: 1 1 350px;
    min-height: 450px;
    position: relative;
}

.mass-timing-left-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mass-timing-right-table {
    flex: 1.5 1 500px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #ffffff;
}

.mass-timing-custom-table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    margin: 0;
}

.mass-timing-custom-table th,
.mass-timing-custom-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.05rem;
}

.mass-timing-custom-table th {
    background-color: #f1f5f9;
    color: #1e293b;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #cbd5e1;
}

.mass-timing-custom-table td.day-column {
    font-weight: 500;
    color: #334155;
    background-color: #f8fafc;
    border-right: 1px solid #e2e8f0;
    width: 25%;
    text-align: center;
}

.mass-timing-custom-table td.time-column {
    color: #475569;
    text-align: center;
    font-weight: 400;
}

.mass-timing-custom-table tr:nth-child(even) td.time-column {
    background-color: #ffffff;
}

.mass-timing-custom-table tr:nth-child(odd) td.time-column {
    background-color: #f8fafc;
}

.mass-timing-custom-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .mass-timing-split-container {
        flex-direction: column;
    }

    .mass-timing-left-img {
        min-height: 250px;
    }

    .mass-timing-custom-table th,
    .mass-timing-custom-table td {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
}

/* Location Map Styles */
.map-container {
    width: 100%;
    position: relative;
    display: block;
    line-height: 0;
}

.map-container iframe {
    width: 100% !important;
    height: 350px !important;
    border: 0 !important;
    display: block;
}