/* ========================================================================
   COMMUNITY CHURCH STYLES - GLOBAL STYLES FOR ALL PAGES
   ======================================================================== */

/* ========================================================================
   CUSTOM FONTS
   ======================================================================== */

@font-face {
    font-family: 'HariettaFont';
    src: url('/portfolio/church/fonts/hv-harietta-regular-webfont.woff2') format('woff2'),
         url('/portfolio/church/fonts/hv-harietta-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HariettaFont';
    src: url('/portfolio/church/fonts/hv-harietta-bold-webfont.woff2') format('woff2'),
         url('/portfolio/church/fonts/hv-harietta-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ========================================================================
   BASE STYLES
   ======================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'HariettaFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #ffffff;
}

/* ========================================================================
   CHURCH HEADER
   ======================================================================== */

/* Header container */
.church-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 118px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    border-bottom: none !important;
    z-index: 9999 !important;
}

/* Header wrapper */
.header-wrapper {
    height: 100% !important;
    width: 100% !important;
    position: relative !important;
    max-width: none !important;
    padding: 0 !important;
}

/* Logo and Title Combined - Left Side */
.logo-title-box {
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.logo-section {
    flex-shrink: 0 !important;
}

.title-section {
    flex-shrink: 0 !important;
}

.title-section h1 {
    position: relative !important;
    font-size: 2.8rem !important;
    margin: 0 !important;
    color: #47677A !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 2px !important;
    white-space: nowrap !important;
}

.title-section h1 a {
    color: #47677A !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.title-section h1 a:hover {
    color: #2C3E50 !important;
}

/* Blue animation line under title */
.title-section h1::after {
    content: '' !important;
    position: absolute !important;
    bottom: -8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 2px !important;
    background: #2C3E50 !important;
    transition: width 0.3s ease !important;
}

.title-section h1:hover::after {
    width: 100% !important;
}

/* Navigation Right Side */
.nav-box {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
}

/* Navigation Structure */
.main-navigation {
    display: block !important;
}

.nav-list {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 30px !important;
    align-items: center !important;
}

.nav-list li {
    display: block !important;
    position: relative !important;
}

/* Navigation Links - Blue Text, No Background */
.nav-link,
a.nav-link {
    display: inline-block !important;
    background: none !important;
    background-color: transparent !important;
    color: #47677A !important;
    padding: 8px 12px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    white-space: nowrap !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    text-shadow: 0.3px 0 0 currentColor, -0.3px 0 0 currentColor !important;
    letter-spacing: 0.5px !important;
}

.nav-link:hover,
a.nav-link:hover {
    background: none !important;
    background-color: transparent !important;
    color: #2C3E50 !important;
    transform: translateY(-1px) !important;
}

/* Dropdown Menu Styling */
.has-dropdown {
    position: relative !important;
}

.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    padding: 12px 0 !important;
    margin-top: 8px !important;
    min-width: 180px !important;
    list-style: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 100000 !important;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
}

.dropdown-menu li {
    display: block !important;
    background: transparent !important;
    margin: 6px 0 !important;
}

.dropdown-link {
    display: block !important;
    padding: 8px 20px !important;
    background: transparent !important;
    color: #47677A !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    letter-spacing: 0.3px !important;
}

.dropdown-link:hover {
    background: transparent !important;
    color: #2C3E50 !important;
    padding-left: 24px !important;
}

/* DONATE BUTTON STYLING */
.donate-button {
    background: #47677A !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 8px rgba(71, 103, 122, 0.3) !important;
    transition: all 0.3s ease !important;
}

.donate-button:hover {
    background: #2C3E50 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(44, 62, 80, 0.4) !important;
}

/* MOBILE MENU - HIDE BY DEFAULT */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-button span {
    display: block;
    width: 25px;
    height: 3px;
    background: #47677A;
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
}

/* ========================================================================
   INDEX.PHP - HOMEPAGE SPECIFIC STYLES
   ======================================================================== */

/* ========================================================================
   HERO SECTION (INDEX.PHP ONLY)
   ======================================================================== */

.hero-section {
    position: relative;
    padding-top: 118px; /* Account for header */
    height: 77vh; /* Increased by 10% from 70vh */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Index hero with visit page styling */
.hero-section.index-hero {
    background-image: url('/portfolio/church/images/visit-page-your-church-chapel.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* WebP support for index hero */
.webp .hero-section.index-hero {
    background-image: url('/portfolio/church/images/visit-page-your-church-chapel.webp');
}

.hero-section.index-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(71, 103, 122, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    padding: 80px 20px 60px 20px; /* More top padding for service times */
    color: #ffffff;
}

/* Index hero content with visit page colors */
.hero-section.index-hero .hero-content {
    color: #2c3e50;
}

.hero-title {
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Index hero title with visit page colors */
.hero-section.index-hero .hero-title {
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Index hero subtitle with visit page colors */
.hero-section.index-hero .hero-subtitle {
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
    font-weight: 600;
}

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

.hero-cta {
    display: inline-block;
    background: #2C3E50; /* Dark blue */
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure same horizontal size */
    text-align: center;
    box-sizing: border-box;
}

.hero-cta:hover {
    background: #47677A;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.hero-cta.secondary {
    background: #2C3E50; /* Same dark blue */
    color: #ffffff; /* White text */
    border: 2px solid #2C3E50;
}

.hero-cta.secondary:hover {
    background: #47677A;
    border-color: #47677A;
    color: #ffffff;
}

/* SERVICE TIMES STYLING */
.service-times {
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
    position: absolute;
    top: -200px;
    left: 0;
    right: 0;
    z-index: 10;
    white-space: nowrap;
    width: 100vw; /* Full viewport width */
    margin-left: calc(50% - 50vw); /* Center on entire page, not container */
}

.service-times p {
    color: #ffffff;
    font-size: 2rem; /* Larger font size */
    margin: 0;
    font-weight: 500; /* Less bold - reduced from 700 */
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.8px; /* Slightly more letter spacing */
}

/* Index hero service times with visit page colors */
.hero-section.index-hero .service-times p {
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.service-times strong {
    color: #ffffff;
    font-weight: 600; /* Less bold - reduced from 800 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Index hero service times strong with visit page colors */
.hero-section.index-hero .service-times strong {
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

/* Desktop/Mobile text control */
.mobile-text {
    display: none;
}

.desktop-text {
    display: inline;
}

/* ========================================================================
   RESPONSIVE DESIGN - TABLET
   ======================================================================== */

@media (max-width: 1024px) {
    .title-section h1 {
        font-size: 2.4rem !important;
    }
    
    .nav-list {
        gap: 15px !important;
    }
    
    .nav-link {
        font-size: 0.9rem !important;
        padding: 6px 10px !important;
    }
}

/* ========================================================================
   MISSION SECTION (INDEX.PHP ONLY)
   ======================================================================== */

/* Section Divider */
.section-divider {
    height: 4px;
    background: linear-gradient(135deg, #47677A, #2C3E50);
    margin: 0;
    opacity: 0.8;
    width: 100%;
    display: block;
}

/* Hide section divider after index hero */
.hero-section.index-hero + .section-divider {
    display: none;
}

/* Mission Section - Desktop */
.mission-section {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
    width: 100%;
    min-height: 500px;
}

.mission-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Donate Button Section */
.donate-section {
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.donate-btn {
    display: inline-block;
    background: linear-gradient(135deg, #47677A, #2C3E50);
    color: #ffffff !important;
    text-decoration: none;
    padding: 20px 60px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 0 8px 20px rgba(71, 103, 122, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.donate-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(71, 103, 122, 0.4);
    background: linear-gradient(135deg, #2C3E50, #47677A);
}


/* Mission Content */
.mission-content {
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.mission-tagline {
    font-size: 2.8rem;
    font-weight: 300;
    color: #2C3E50;
    line-height: 1.4;
    margin-bottom: 40px;
    font-family: 'HariettaFont', Georgia, serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.bible-verse {
    font-size: 1.5rem;
    font-style: italic;
    color: #47677A;
    line-height: 1.7;
    margin: 0;
    padding: 0 40px;
    position: relative;
}

.bible-verse::before,
.bible-verse::after {
    content: '"';
    font-size: 1.8rem;
    color: #2C3E50;
    opacity: 0.3;
    line-height: 0;
    vertical-align: top;
}

.bible-reference {
    font-size: 1.1rem;
    font-style: italic;
    color: #47677A;
    text-align: center;
    margin: 15px 0 0 0;
    padding: 0;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start; /* Ensure both buttons start at the same top line */
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.action-btn {
    display: inline-flex; /* Use flex to center content vertically */
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    border: 2px solid;
    cursor: pointer;
    height: 56px; /* Ensure consistent height */
    box-sizing: border-box; /* Include padding and border in height */
}

.beliefs-btn {
    background: #47677A;
    color: #ffffff !important;
    border-color: #47677A;
    vertical-align: top; /* Ensure consistent vertical alignment */
}

.beliefs-btn:hover {
    background: transparent;
    color: #47677A !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(71, 103, 122, 0.25);
}

.watch-btn {
    background: transparent;
    color: #2C3E50 !important;
    border-color: #2C3E50;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
    font-weight: 600;
    vertical-align: top; /* Ensure consistent vertical alignment */
}

.watch-btn:hover {
    background: #2C3E50;
    color: #ffffff !important;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(44, 62, 80, 0.4);
    animation: none;
}

.watch-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.watch-btn:hover::before {
    left: 100%;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 62, 80, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(44, 62, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(44, 62, 80, 0);
    }
}

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

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

@keyframes heartBeat {
    0% { transform: scale(1); }
    20% { transform: scale(1.3); }
    40% { transform: scale(1); }
    60% { transform: scale(1.3); }
    80% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* ========================================================================
   YOUR CHURCH FAMILY SECTION (INDEX.PHP ONLY)
   ======================================================================== */

/* Church Family Section */
.church-family-section {
    background: #ffffff;
    padding: 40px 40px 60px 40px;
    position: relative;
}

.church-family-section-inner {
    background-color: #a3bcc9;
    background-image: url('/portfolio/church/images/cross-background-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.church-family-section-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(163, 188, 201, 0.85);
    pointer-events: none;
    border-radius: 20px;
}

.church-family-section .container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Section Title and Subtitle */
.section-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'HariettaFont', Georgia, serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 60px;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Family Cards Grid */
.family-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 54px;
    animation: fadeInUp 0.8s ease-out;
    padding: 0;
}

.family-card {
    background: transparent;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.family-card:hover {
    transform: translateY(-8px);
}

/* Card Image */
.card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.card-image picture {
    width: 100%;
    height: 100%;
    display: block;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.family-card:hover .card-image img {
    transform: scale(1.05);
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(71, 103, 122, 0.3), rgba(44, 62, 80, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.family-card:hover .card-image::after {
    opacity: 1;
}

/* Card Content */
.card-content {
    padding: 27px;
    background: #ffffff;
    border-radius: 13.5px;
    box-shadow: 0 4.5px 13.5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.62rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 13.5px;
    font-family: 'HariettaFont', Georgia, serif;
}

.card-description {
    font-size: 0.99rem;
    color: #47677A;
    line-height: 1.6;
    margin-bottom: 22.5px;
    flex-grow: 1;
}

.card-btn {
    display: inline-block;
    background: linear-gradient(135deg, #47677A, #2C3E50);
    color: #ffffff !important;
    text-decoration: none;
    padding: 10.8px 22.5px;
    border-radius: 22.5px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-btn:hover {
    transform: translateY(-1.8px);
    box-shadow: 0 5.4px 13.5px rgba(71, 103, 122, 0.3);
    background: linear-gradient(135deg, #2C3E50, #47677A);
}

.card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.card-btn:hover::before {
    left: 100%;
}

/* Responsive Family Section */
@media (max-width: 1400px) {
    .family-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px;
    }
    
    .church-family-section .container {
        padding: 0 36px;
    }
}

@media (max-width: 1200px) {
    .church-family-section .container {
        padding: 0 27px;
    }
}

@media (max-width: 968px) {
    .family-cards-grid {
        grid-template-columns: 1fr;
        gap: 27px;
        padding: 0;
    }
    
    .section-title {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }
    
    .section-subtitle {
        font-size: 1.3rem;
        margin-bottom: 40px;
    }
    
    .church-family-section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
        padding: 0 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        max-width: 100%;
    }
    
    .card-content {
        padding: 22.5px;
    }
    
    .card-title {
        font-size: 1.44rem;
    }
    
    .card-description {
        font-size: 0.9rem;
    }
    
    .church-family-section {
        padding: 18px 18px 36px 18px;
    }
    
    .church-family-section .container {
        padding: 0 18px;
    }
    
    .church-family-section-inner {
        padding: 60px 0;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
        letter-spacing: 1.5px;
        padding: 0 15px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 35px;
        padding: 0 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.4;
        max-width: calc(100% - 40px);
        box-sizing: border-box;
        white-space: normal;
        hyphens: auto;
    }
    
    .card-content {
        padding: 18px;
    }
    
    .card-title {
        font-size: 1.26rem;
        margin-bottom: 10.8px;
    }
    
    .card-description {
        font-size: 0.855rem;
        margin-bottom: 18px;
    }
    
    .card-btn {
        padding: 9px 18px;
        font-size: 0.81rem;
    }
    
    .church-family-section {
        padding: 13.5px 13.5px 27px 13.5px;
    }
    
    .church-family-section .container {
        padding: 0 13.5px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .church-family-section-inner {
        padding: 50px 0;
        border-radius: 12px;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ========================================================================
   PASTORS SECTION (INDEX.PHP ONLY)
   ======================================================================== */

/* Pastors Section */
.pastors-section {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
}

.pastors-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.pastors-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

/* Pastor Message - Left Side */
.pastor-message {
    padding-right: 20px;
}

.pastor-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 20px;
    font-family: 'HariettaFont', Georgia, serif;
    line-height: 1.2;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #47677A, #2C3E50);
    margin-bottom: 30px;
    transition: width 0.4s ease;
}

.pastors-section:hover .title-underline {
    width: 200px;
}

.pastor-text {
    font-size: 1.2rem;
    color: #47677A;
    line-height: 1.7;
    margin-bottom: 40px;
    font-style: italic;
}

/* Pastor Buttons */
.pastor-buttons {
    display: flex;
    flex-direction: row;
    gap: 15px; /* Reduced gap */
    justify-content: flex-start; /* Align to left */
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping if needed */
}

.pastor-btn {
    display: inline-block;
    padding: 12px 24px; /* Reduced padding */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem; /* Reduced font size */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px; /* Reduced letter spacing */
    transition: all 0.3s ease;
    text-align: center;
    flex: 0 1 auto; /* Changed from flex: 1 to auto sizing */
    min-width: 180px; /* Reduced min-width */
    box-sizing: border-box;
}

.pastor-visit-btn {
    background: #2C3E50; /* Dark blue */
    color: #ffffff !important;
    border: 2px solid #2C3E50;
}

.pastor-visit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
    background: #47677A;
    border-color: #47677A;
}

.contact-btn {
    background: #2C3E50; /* Same dark blue */
    color: #ffffff !important;
    border: 2px solid #2C3E50;
}

.contact-btn:hover {
    background: #47677A;
    border-color: #47677A;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.2);
}

/* Pastor Video - Right Side */
.pastor-video {
    padding-left: 20px;
}

.video-placeholder {
    background: #2C3E50;
    border-radius: 15px;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.video-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.video-text {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
    color: #ffffff;
}

/* Responsive Pastors Section */
@media (max-width: 968px) {
    .pastors-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pastor-message,
    .pastor-video {
        padding: 0;
    }
    
    .pastor-title {
        font-size: 2.2rem;
    }
    
    .pastor-text {
        font-size: 1.1rem;
    }
    
    .pastors-section {
        padding: 60px 0;
    }
    
    .pastors-section .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .pastors-section .container {
        padding: 0 30px;
    }
    
    .pastor-title {
        font-size: 2rem;
    }
    
    .pastor-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .pastor-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .pastors-section .container {
        padding: 0 20px;
    }
    
    .pastor-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .title-underline {
        width: 60px;
        margin-bottom: 20px;
    }
    
    .pastors-section:hover .title-underline {
        width: 150px;
    }
    
    .pastor-text {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .pastor-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .pastor-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .video-icon {
        font-size: 3rem;
    }
    
    .video-text {
        font-size: 1.1rem;
    }
    
    .pastors-section {
        padding: 50px 0;
    }
}

/* ========================================================================
   MINISTRY JOURNEY SECTION (INDEX.PHP ONLY)
   ======================================================================== */

/* Ministry Journey Section */
.ministry-journey-section {
    background: #ffffff;
    padding: 40px 40px 60px 40px;
    position: relative;
}

.ministry-journey-section-inner {
    background-color: #a3bcc9;
    background-image: url('/portfolio/church/images/cross-background-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ministry-journey-section-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(163, 188, 201, 0.85);
    pointer-events: none;
    border-radius: 20px;
}

.ministry-journey-section .container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Journey Title */
.journey-title {
    font-size: 2.8rem;
    font-weight: 400;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 60px;
    font-family: 'HariettaFont', Georgia, serif;
    line-height: 1.3;
    font-style: italic;
    padding: 0 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

/* Ministry Cards Grid */
.ministry-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.ministry-card {
    text-align: center;
    position: relative;
}

/* Ministry Image */
.ministry-image {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 0 auto 30px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ministry-image picture {
    width: 100%;
    height: 100%;
    display: block;
}

.ministry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-text {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Ministry Content */
.ministry-content {
    padding: 0;
    text-align: center;
}

.ministry-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 8px;
    font-family: 'HariettaFont', Georgia, serif;
}

.ministry-age {
    font-size: 0.9rem;
    color: #47677A;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ministry-description {
    font-size: 1.1rem;
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    padding: 0;
}

.ministry-learn-btn {
    display: inline-block;
    background: linear-gradient(135deg, #47677A, #2C3E50);
    color: #ffffff !important;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.ministry-learn-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(71, 103, 122, 0.3);
    background: linear-gradient(135deg, #2C3E50, #47677A);
}

/* Responsive Ministry Journey Section */
@media (max-width: 1200px) {
    .ministry-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .ministry-journey-section .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .ministry-journey-section {
        padding: 20px 20px 40px 20px;
    }
    
    .ministry-journey-section .container {
        padding: 0 20px;
    }
    
    .ministry-journey-section-inner {
        padding: 60px 0;
        border-radius: 15px;
    }
    
    .journey-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
        padding: 0 25px;
    }
    
    .ministry-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .ministry-image {
        width: 100%;
        max-width: 350px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .ministry-journey-section {
        padding: 15px 15px 30px 15px;
    }
    
    .ministry-journey-section .container {
        padding: 0 15px;
    }
    
    .ministry-journey-section-inner {
        padding: 50px 0;
        border-radius: 12px;
    }
    
    .journey-title {
        font-size: 1.9rem;
        margin-bottom: 35px;
        line-height: 1.2;
        padding: 0 30px;
    }
    
    .ministry-image {
        width: 100%;
        max-width: 280px;
        height: 220px;
    }
    
    .ministry-content {
        padding: 20px 15px;
    }
    
    .ministry-name {
        font-size: 1.4rem;
    }
    
    .ministry-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
        padding: 0 10px;
        word-wrap: break-word;
    }
    
    .ministry-learn-btn {
        padding: 7px 18px;
        font-size: 0.8rem;
    }
}

/* ========================================================================
   BLUFFTON LOCATION SECTION (INDEX.PHP ONLY)
   ======================================================================== */

/* Bluffton Location Section */
.bluffton-location-section {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
}

.bluffton-title {
    font-size: 3rem;
    font-weight: 600;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 60px;
    font-family: 'HariettaFont', Georgia, serif;
    line-height: 1.2;
}

.location-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    gap: 200px;
}

.location-info {
    flex: 0 0 300px;
    text-align: center;
    margin-left: 100px;
}

.location-map {
    flex: 0 0 550px;
    display: flex;
    justify-content: center;
    margin-right: 100px;
}

.location-info p {
    font-size: 1.2rem;
    color: #1a252f;
    margin-bottom: 10px;
}

.location-info p:first-of-type {
    margin-bottom: 30px;
}

.location-info p:nth-of-type(4) {
    margin-bottom: 30px;
}

.location-info strong {
    color: #2C3E50;
}

.location-map iframe {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    width: 550px;
    height: 400px;
}

/* Responsive Bluffton Location Section */
@media (max-width: 768px) {
    .location-content {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }
    
    .location-info {
        margin-left: 0;
        width: 100%;
        flex: 1 1 auto;
        order: 1;
    }
    
    .location-map {
        margin-right: 0;
        width: 100%;
        flex: 1 1 auto;
        order: 2;
    }
    
    .location-map iframe {
        width: 100%;
        max-width: 100%;
        height: 300px;
    }
    
    .bluffton-title {
        font-size: 2.2rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .bluffton-location-section {
        padding: 60px 0;
    }
    
    .bluffton-title {
        font-size: 1.8rem;
        padding: 0 15px;
        margin-bottom: 40px;
    }
    
    .location-content {
        padding: 0 15px;
        gap: 30px;
    }
    
    .location-info p {
        font-size: 1.1rem;
    }
    
    .location-map iframe {
        height: 250px;
        border-radius: 8px;
    }
}

/* ==========================================
   FOOTER SECTION STYLES
   ========================================== */

.church-footer {
    background: #2C3E50;
    color: #ffffff;
    padding: 60px 0 0 0;
    margin-top: 80px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    min-width: 0;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

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

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-list a:hover {
    color: #ffffff;
}

.footer-contact {
    /* Contact column styling handled by .footer-column */
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.contact-info .email-line {
    white-space: nowrap;
}

.contact-info strong {
    color: #ffffff;
    font-size: 1.1rem;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #47677A;
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

.separator {
    color: rgba(255, 255, 255, 0.4);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #ffffff;
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-column:nth-child(1) {
        order: 1;
    }
    
    .footer-column:nth-child(2) {
        order: 2;
    }
    
    .footer-column:nth-child(3) {
        order: 3;
    }
    
    .footer-column:nth-child(4) {
        order: 4;
    }
    
    .footer-column:nth-child(5) {
        order: 5;
        grid-column: 1 / -1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .church-footer {
        padding: 40px 0 0 0;
        margin-top: 60px;
    }
    
    .footer-heading {
        font-size: 1.1rem;
    }
    
    .footer-list a {
        font-size: 0.9rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
    
    .contact-info .email-line {
        white-space: normal;
    }
}

/* ========================================================================
   RESPONSIVE DESIGN - MOBILE
   ======================================================================== */

@media (max-width: 1200px) {
    .church-header {
        height: auto !important;
        padding: 18px 0 !important; /* Increased by ~5% */
    }
    
    .header-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 20px !important;
    }
    
    .logo-title-box {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        justify-content: flex-start !important;
        gap: 10px !important;
    }
    
    .title-section h1 {
        font-size: 1.6rem !important;
        letter-spacing: 1px !important;
    }
    
    .logo-section img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .nav-box {
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
        transform: none !important;
        width: auto !important;
    }
    
    /* Hide desktop navigation */
    .nav-list {
        display: none !important;
    }
    
    /* Show hamburger menu */
    .mobile-menu-button {
        display: block !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 10px !important;
    }
    
    .mobile-menu-button span {
        display: block !important;
        width: 25px !important;
        height: 3px !important;
        background: #47677A !important;
        margin: 5px 0 !important;
        transition: 0.3s !important;
    }
    
    /* Mobile menu dropdown */
    .mobile-menu {
        display: block !important;
        position: absolute !important;
        top: calc(100% + 15px) !important;
        right: -10px !important;
        background: #ffffff !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 6px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
        padding: 20px 0 !important;
        min-width: 180px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) !important;
        transition: all 0.3s ease !important;
        z-index: 10000 !important;
    }
    
    .mobile-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    
    .mobile-menu ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .mobile-menu li {
        display: block !important;
        margin: 0 !important;
    }
    
    .mobile-menu a {
        display: block !important;
        padding: 12px 20px !important;
        color: #47677A !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        transition: background 0.2s ease !important;
    }
    
    .mobile-menu a:hover {
        background: #f8f9fa !important;
        color: #2C3E50 !important;
    }
    
    /* Hamburger animation */
    .mobile-menu-button.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px) !important;
    }
    
    .mobile-menu-button.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .mobile-menu-button.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px) !important;
    }
    
    .dropdown-menu {
        position: fixed !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .hero-section {
        padding-top: 160px; /* Reduced to make hero more compact */
        height: 85vh; /* Smaller hero height */
        min-height: 600px; /* Smaller minimum height */
    }
    
    .service-times {
        padding: 8px 12px;
        position: absolute; /* Back to absolute on mobile */
        top: -60px; /* Moved up closer to header */
        left: 10px;
        right: 10px;
        transform: none;
        white-space: normal;
        text-align: center;
        font-size: 0.9rem;
    }
    
    .service-times p {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    /* Show mobile text, hide desktop text */
    .mobile-text {
        display: inline;
    }
    
    .desktop-text {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-top: -60px; /* Close gap much more with lowered Join Us box */
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding-bottom: 20px; /* Much smaller bottom padding */
    }
}

/* Mission Section - Mobile Responsive */
@media (max-width: 768px) {
    .mission-section {
        padding: 60px 0;
    }
    
    .mission-tagline {
        font-size: 2.3rem;
        padding: 0 10px;
    }
    
    .bible-verse {
        font-size: 1.35rem;
        padding: 0 20px;
        line-height: 1.6;
    }
    
    .bible-reference {
        font-size: 1rem;
        margin-top: 20px;
        padding: 0 20px;
    }
    
    .action-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .action-btn {
        width: auto;
        max-width: 280px;
        min-width: 180px;
        flex: 0 0 auto;
    }
    
    .donate-btn {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .mission-section {
        padding: 50px 0;
    }
    
    .mission-tagline {
        font-size: 1.9rem;
        margin-bottom: 30px;
        line-height: 1.3;
    }
    
    .bible-verse {
        font-size: 1.2rem;
        padding: 0 15px;
        line-height: 1.5;
    }
    
    .bible-reference {
        font-size: 0.95rem;
        margin-top: 18px;
        padding: 0 15px;
    }
    
    .donate-btn {
        padding: 16px 30px;
        font-size: 1rem;
    }
    
    .action-btn {
        padding: 14px 25px;
        font-size: 1rem;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .title-section h1 {
        font-size: 1.3rem !important;
    }
    
    .logo-section img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .hero-section {
        height: 90vh; /* Smaller on small mobile */
        min-height: 600px; /* Reduced minimum */
        padding-top: 140px; /* Less top padding */
    }
    
    .hero-title {
        font-size: 2rem;
        margin-top: -65px; /* Close gap much more with lowered Join Us box */
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content {
        padding-bottom: 15px; /* Very small bottom padding */
    }
    
    .service-times {
        top: -65px; /* Moved up closer to header on small screens */
        padding: 6px 10px;
    }
    
    .mission-tagline {
        font-size: 1.5rem;
    }
    
    .bible-verse {
        font-size: 1rem;
    }
    
    .mission-section {
        padding: 60px 0;
    }
    
    .donate-btn {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
}

/* ========================================================================
   ABOUT.PHP - ABOUT PAGE SPECIFIC STYLES
   ======================================================================== */

/* About Hero Section */
.about-hero {
    margin-top: 118px; /* Account for fixed header */
    position: relative;
    overflow: hidden;
    height: 85vh; /* Extended height to show full image */
    min-height: 750px; /* Extended minimum height */
    background-color: #e8e8e8; /* More visible grey during image load */
    background-image: url('/portfolio/church/images/your-church-outdoor-about-image.png');
    background-size: contain; /* Show full image like ultra-wide gradient version */
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Image preloading optimization */
    will-change: background-image;
    transition: opacity 0.3s ease-in-out;
}

/* Subtle gradient at bottom of hero - 0.25 inch (~18px) */
.about-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 18px; /* About 0.25 inch */
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(245, 222, 179, 0.3) 50%, 
        rgba(211, 211, 211, 0.4) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Preload hint for better performance */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/portfolio/church/images/your-church-outdoor-about-image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

/* Dynamic background sizing based on screen width */
@media (min-width: 1400px) {
    .about-hero {
        background: linear-gradient(to right, 
            rgba(44, 62, 80, 0.9) 0%, 
            transparent 15%, 
            transparent 85%, 
            rgba(44, 62, 80, 0.9) 100%
        ), url('/portfolio/church/images/your-church-outdoor-about-image.png') center/contain;
        background-color: #f5f5f5; /* Light grey fallback base color */
    }
}

/* Medium-wide screens - adjust position to show more of image */
@media (min-width: 1200px) and (max-width: 1399px) {
    .about-hero {
        background-position: center 25%; /* Show more top portion */
    }
}

/* Standard desktop - slight adjustment */
@media (min-width: 992px) and (max-width: 1199px) {
    .about-hero {
        background-position: center 35%;
    }
}

/* WebP support for about hero */
.webp .about-hero {
    background-image: url('/portfolio/church/images/your-church-outdoor-about-image.webp');
}

/* WebP support for gradient version on ultra-wide screens */
@media (min-width: 1400px) {
    .webp .about-hero {
        background: linear-gradient(to right, 
            rgba(44, 62, 80, 0.9) 0%, 
            transparent 15%, 
            transparent 85%, 
            rgba(44, 62, 80, 0.9) 100%
        ), url('/portfolio/church/images/your-church-outdoor-about-image.webp') center/contain;
        background-color: #f5f5f5;
    }
}
}

/* Removed overlay for full image visibility */

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Responsive about hero */
@media (max-width: 768px) {
    .about-hero {
        height: 60vh;
        min-height: 600px;
        /* Remove ALL spacing above and below on mobile */
        margin-top: -70px; /* Hero overlaps header more */
        margin-bottom: -50px; /* Hero overlaps story section to close gap */
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .about-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        height: 55vh;
        min-height: 550px;
        /* Remove ALL spacing above and below on mobile */
        margin-top: -70px; /* Hero overlaps header more */
        margin-bottom: -50px; /* Hero overlaps story section to close gap */
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .about-hero::after {
        display: none; /* Remove hero gradient transition on mobile */
    }
    
    .about-hero-title {
        font-size: 2rem;
    }
}

/* Our Story Section */
.our-story-section {
    background: #ffffff;
    padding: 100px 0 30px 0; /* Reduced bottom padding by ~70px (1 inch) */
    position: relative;
    overflow: hidden;
}

/* Extend gradient down into story section to eliminate dividing line */
.our-story-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px; /* Extend down into story section */
    background: linear-gradient(to bottom, 
        rgba(211, 211, 211, 0.4) 0%, 
        rgba(245, 245, 245, 0.2) 50%, 
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}




/* Our Story Section Container */
.our-story-section .container {
    position: relative;
    z-index: 5; /* Ensure content appears above all overlays */
}

/* ========================================================================
   OUR BELIEFS SECTION (ABOUT.PHP ONLY) 
   ======================================================================== */

/* Our Beliefs Section */
.our-beliefs-section {
    background: #ffffff;
    padding: 40px 40px 60px 40px;
    position: relative;
}

.our-beliefs-section-inner {
    background-color: #a3bcc9;
    background-image: url('/portfolio/church/images/cross-background-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Blue overlay for cross background */
.our-beliefs-section-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(163, 188, 201, 0.85);
    pointer-events: none;
    border-radius: 20px;
}

.our-beliefs-section .container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.our-beliefs-section .section-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'HariettaFont', Georgia, serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.our-beliefs-section .section-subtitle {
    font-size: 1.4rem;
    color: #4A5568;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.belief-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.belief-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    border-color: rgba(44, 62, 80, 0.2);
}

.belief-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 15px;
    font-family: 'HariettaFont', Georgia, serif;
}

.belief-card p {
    font-size: 1rem;
    color: #4A5568;
    line-height: 1.7;
    margin: 0;
}

.belief-card a {
    color: #2C3E50;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.belief-card a:hover {
    color: #47677A;
    text-decoration: none;
}

/* Mobile responsiveness for Our Beliefs */
@media (max-width: 768px) {
    .our-beliefs-section {
        padding: 18px 18px 36px 18px;
    }
    
    .our-beliefs-section .container {
        padding: 0 18px;
    }
    
    .our-beliefs-section-inner {
        padding: 60px 0;
        border-radius: 15px;
    }
    
    .our-beliefs-section .section-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .our-beliefs-section .section-subtitle {
        font-size: 1.2rem;
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .beliefs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .belief-card {
        padding: 25px;
    }
    
    .belief-card h3 {
        font-size: 1.3rem;
    }
}

.our-story-section .section-title {
    font-size: 3rem;
    font-weight: 600;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'HariettaFont', Georgia, serif;
}

.our-story-section .section-subtitle {
    font-size: 1.4rem;
    font-weight: 600; /* Darken text to match first paragraph */
    color: #2C3E50; /* Same color as first paragraph */
    text-align: center;
    margin-bottom: 60px;
    font-style: italic;
    line-height: 1.6;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start; /* Changed from center to allow vertical positioning */
    min-height: 700px; /* Increased container height */
}

.story-text {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center text vertically with images */
    padding: 20px; /* Outer padding for column */
    transform: translateY(4%); /* Move text down 5% more */
}

.story-text-container {
    padding: 60px 20px; /* Reduced horizontal padding to spread text more */
    margin: 0 0 0 22%; /* Moved right 2% toward center */
    /* Removed background, border-radius, and box-shadow for clean text display */
}

.story-intro {
    font-size: 1.5rem; /* Increased by 1 from 1.4rem */
    font-weight: 600;
    color: #2C3E50;
    line-height: 1.7;
    margin-bottom: 30px;
    letter-spacing: 0.5px; /* Tiny gap between letters */
}

.story-text p {
    font-size: 1.25rem; /* Increased by 1 from 1.15rem */
    color: #2C3E50; /* Fixed case to match first paragraph exactly */
    font-weight: 600; /* Match first paragraph weight */
    line-height: 1.7;
    margin-bottom: 20px;
    letter-spacing: 0.3px; /* Tiny gap between letters */
}

/* Creative tall image layout - centered in right column */
.story-images {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(10%); /* Move image column down 10% */
}

.story-image-container {
    position: absolute;
    width: 200px; /* Made even bigger */
    height: 480px; /* Made even bigger */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1); /* Reduced shadow/overlay */
    transition: all 0.3s ease;
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Creative positioning with more spread and slight overlaps - centered */
.story-image-container.image-1 {
    top: 40px;
    left: 50%;
    transform: translateX(-50%) translateX(-170px) rotate(-3deg); /* Further increased spread */
    z-index: 3;
}

.story-image-container.image-2 {
    top: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
    z-index: 2;
}

.story-image-container.image-3 {
    top: 70px;
    left: 50%;
    transform: translateX(-50%) translateX(170px) rotate(-1deg); /* Further increased spread */
    z-index: 1;
}

.story-image-container:hover {
    transform: translateX(-50%) scale(1.05) rotate(0deg);
    z-index: 10;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15); /* Reduced hover shadow */
}

/* Fix hover states for positioned images */
.story-image-container.image-1:hover {
    transform: translateX(-50%) translateX(-170px) scale(1.05) rotate(0deg);
}

.story-image-container.image-3:hover {
    transform: translateX(-50%) translateX(170px) scale(1.05) rotate(0deg);
}

/* Responsive Our Story */
@media (max-width: 968px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 10px; /* 10px gap for proper mobile spacing */
        min-height: auto;
    }
    
    .story-text {
        padding: 20px;
        order: 1;
    }
    
    .story-text-container {
        margin: -70px 8% 0 8%; /* Added negative top margin to move text up more */
        padding: 40px 30px;
        /* Override desktop letter spacing and positioning */
        letter-spacing: normal;
    }
    
    .story-images {
        order: 2;
        height: 400px;
        margin: 0 auto;
        transform: none; /* Remove vertical spacing transform on mobile */
    }
    
    .our-story-section .section-title {
        font-size: 2.5rem;
    }
    
    .story-image-container {
        width: 170px; /* Updated for bigger base size */
        height: 420px; /* Updated for bigger base size */
    }
}

@media (max-width: 768px) {
    .about-hero::after {
        display: none; /* Remove hero gradient transition on mobile */
    }
    
    .our-story-section {
        padding: 80px 0;
        margin-top: -150px; /* Move story section up more to close grey gap */
        padding-top: 40px; /* Add padding to maintain content spacing */
    }
    
    .story-content {
        gap: 10px; /* 10px gap for proper mobile spacing */
    }
    
    .story-text {
        padding: 20px 30px;
        margin-bottom: 0; /* Remove any bottom margin */
        transform: none; /* Remove desktop transform on mobile */
        justify-content: flex-start; /* Move text up toward headers */
    }
    
    .story-intro {
        font-size: 1.2rem;
    }
    
    .story-text p {
        font-size: 1rem;
    }
    
    .story-images {
        height: 350px;
        transform: none; /* Remove vertical spacing transform on mobile */
        margin-top: -60px; /* Pull images much closer to text */
    }
    
    .story-image-container {
        width: 120px;
        height: 300px;
    }
    
    .story-image-container.image-1 {
        transform: translateX(-50%) translateX(-80px) rotate(-3deg);
    }
    
    .story-image-container.image-3 {
        transform: translateX(-50%) translateX(80px) rotate(-1deg);
    }
    
    .story-image-container.image-1:hover {
        transform: translateX(-50%) translateX(-80px) scale(1.05) rotate(0deg);
    }
    
    .story-image-container.image-3:hover {
        transform: translateX(-50%) translateX(80px) scale(1.05) rotate(0deg);
    }
}

@media (max-width: 480px) {
    .our-story-section .section-title {
        font-size: 2rem;
        padding: 0 20px;
    }
    
    .story-text {
        padding: 20px 25px;
    }
    
    .story-intro {
        font-size: 1.1rem;
    }
    
    .story-images {
        height: 300px;
    }
    
    .story-image-container {
        width: 100px;
        height: 250px;
    }
    
    .story-image-container.image-1 {
        transform: translateX(-50%) translateX(-60px) rotate(-3deg);
    }
    
    .story-image-container.image-3 {
        transform: translateX(-50%) translateX(60px) rotate(-1deg);
    }
    
    .story-image-container.image-1:hover {
        transform: translateX(-50%) translateX(-60px) scale(1.05) rotate(0deg);
    }
    
    .story-image-container.image-3:hover {
        transform: translateX(-50%) translateX(60px) scale(1.05) rotate(0deg);
    }
}

/* ========================================================================
   VISIT.PHP - VISIT PAGE SPECIFIC STYLES
   ======================================================================== */

/* Visit Hero Section */
.visit-hero {
    margin-top: 118px; /* Account for fixed header like index.php */
    position: relative;
    overflow: hidden;
}

.visit-hero-blue {
    background-image: url('/portfolio/church/images/visit-page-your-church-chapel.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #2C3E50;
    position: relative;
    padding: 80px 0 60px 0; /* Reduced excessive padding */
    min-height: 600px;
}

/* WebP support for visit hero */
.webp .visit-hero-blue {
    background-image: url('/portfolio/church/images/visit-page-your-church-chapel.webp');
}

.visit-hero-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.visit-hero-title {
    text-align: center;
    padding: 0 0 40px 0;
    position: relative;
    z-index: 2;
}

.visit-hero .visit-hero-title h1 {
    font-size: 3rem; /* Reduced from 56px to be more reasonable */
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.3);
    line-height: 1.2;
}

.visit-hero-title .subtitle {
    font-size: 24px;
    color: #2c3e50;
    font-weight: 500;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

.visit-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* New centered layout for visit hero */
.visit-hero-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.visit-hero-right {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
    position: relative;
    padding-left: 0;
    padding-right: 6%;
}

.about-container {
    width: 65%;
    margin: 0 auto;
}

.video-container {
    width: 100%;
    max-width: 700px;
    margin: 10px auto;
}

.buttons-container {
    margin-top: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.visit-hero .visit-hero-left h2:first-of-type {
    font-size: 1.75rem; /* Adjusted from 28px */
    margin-bottom: 25px;
    color: #2c3e50;
    font-weight: 600;
}

.visit-hero-right .bible-verse {
    font-size: 1.1rem; /* Adjusted from 18px */
    font-style: italic;
    margin-top: 30px;
    margin-bottom: 0;
    color: #2c3e50;
    line-height: 1.6;
    border-left: 3px solid #2c3e50;
    padding-left: 20px;
    text-align: left;
    width: 50%;
    margin-left: 14%;
    margin-right: auto;
    min-width: 300px;
    font-weight: 600;
}

.visit-hero .visit-hero-left h2 {
    font-size: 2rem; /* Adjusted from 32px */
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 0;
    color: #2c3e50;
}

.church-synopsis {
    font-size: 22px;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #2c3e50;
    font-weight: 600;
}

.visit-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.visit-hero .visit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    background: rgba(255,255,255,0.1);
    border: 2px solid #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    flex: 1;
    height: 92px;
    text-align: center;
    max-width: 250px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.visit-hero .visit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.6);
    border-radius: 8px;
    z-index: 1;
}

.visit-hero .visit-btn span {
    position: relative;
    z-index: 2;
}

.visit-hero .visit-btn:nth-child(1) {
    background-image: url('/portfolio/church/images/your-church-email-before-service.webp');
}

.visit-hero .no-webp .visit-btn:nth-child(1) {
    background-image: url('/portfolio/church/images/your-church-email-before-service.png');
}

.visit-hero .visit-btn:nth-child(2) {
    background-image: url('/portfolio/church/images/your-church-checkin-kids-early.webp');
}

.visit-hero .no-webp .visit-btn:nth-child(2) {
    background-image: url('/portfolio/church/images/your-church-checkin-kids-early.png');
}

.visit-hero .visit-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: #2c3e50;
    transform: translateY(-2px);
}

.visit-btn-icon {
    display: none;
}

.video-placeholder {
    background: #2C3E50;
    border: 2px solid #2C3E50;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 20px;
}

.video-placeholder h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffffff;
}

.video-placeholder p {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 20px;
}

.video-play-btn {
    width: 80px;
    height: 92px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.video-play-btn::after {
    content: '▶';
    font-size: 24px;
    color: white;
    margin-left: 5px;
}

/* Visit Service Information Section */
.service-info {
    padding: 76px 0 20px 0;
    background: #f8f9fa;
    position: relative;
}

/* Override footer spacing on visit page only */
#footer-placeholder {
    margin-top: 0 !important;
}

.footer {
    margin-top: 0 !important;
    padding-top: 20px !important;
}

.service-info-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.service-info-title {
    text-align: center;
    font-size: 2.5rem; /* Adjusted from 42px */
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 700;
    width: 100%;
    padding: 0 20px;
    position: relative;
}

/* Church welcome text styling */
.church-welcome-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem auto;
    padding: 0 40px;
}

.church-welcome-text p {
    font-size: 1.2rem;
    color: #2c3e50;
    line-height: 1.7;
    margin: 0;
}

.service-info-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f8f9fa;
    width: 80%;
    height: 120px;
    border-radius: 60px;
    z-index: -1;
}

.service-info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    align-items: start;
}

.service-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    padding-left: 140px;
}

.service-text-container {
    width: 85%;
    max-width: 635px;
    text-align: left;
}

.service-left h3 {
    font-size: 2rem; /* Adjusted from 32px */
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
}

.service-left h4 {
    font-size: 1.5rem; /* Adjusted from 25px */
    color: #47677A;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-left p {
    font-size: 1.1rem; /* Adjusted from 18px */
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 15px;
}

.visit-hero .service-times {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.visit-hero .service-times p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.service-watch-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #2c3e50;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.service-watch-btn:hover {
    background: #47677A;
    color: white !important;
    transform: translateY(-2px);
}

.service-right {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    padding-right: 130px;
}

.service-images-container {
    width: 90%;
    max-width: 850px;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    justify-items: center;
}

.service-image {
    width: 400px;
    height: 400px;
    border-radius: 12px;
    object-fit: cover;
    border: none;
    outline: none;
}

.service-times-list {
    margin: 20px 0;
    padding: 0;
}

.service-times-list h5 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    text-decoration: underline;
}

.service-times-list ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.service-times-list li {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Visit FAQ Section */
.visit-faq-section {
    background: #ffffff;
    padding: 40px 40px 60px 40px;
    position: relative;
}

.visit-faq-section-inner {
    background-color: #a3bcc9;
    background-image: url('/portfolio/church/images/cross-background-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.visit-faq-section-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(163, 188, 201, 0.85);
    pointer-events: none;
    border-radius: 20px;
}

.visit-faq-section .container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.visit-faq-section .section-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'HariettaFont', Georgia, serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.visit-faq-section .section-subtitle {
    font-size: 1.4rem;
    color: #4A5568;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 30px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(44, 62, 80, 0.05);
}

.faq-question span:first-child {
    flex: 1;
    text-align: left;
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: #47677A;
    transition: transform 0.3s ease;
    margin-left: 20px;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px 30px;
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #2c3e50;
}

/* Pastor's Welcome Section */
.pastor-welcome-section {
    background: #ffffff;
    padding: 40px 0;
    position: relative;
}

.pastor-welcome-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pastor-welcome-content h2 {
    font-size: 3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 40px;
    font-family: 'HariettaFont', Georgia, serif;
}

.welcome-message p {
    font-size: 20px;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.pastor-signature {
    margin-top: 40px;
    text-align: center;
}

.pastor-signature p {
    font-size: 18px;
    margin-bottom: 8px;
    color: #2c3e50;
}

.pastor-signature p:last-child {
    margin-bottom: 0;
    color: #47677A;
    font-size: 16px;
}

/* Visit Page Responsive Design */
@media (max-width: 768px) {
    .visit-hero .visit-hero-title h1 {
        font-size: 2.2rem; /* Adjusted from 40px */
        padding: 0 20px;
    }
    
    .visit-hero-title .subtitle {
        font-size: 20px;
        padding: 0 20px;
    }
    
    .visit-hero-content {
        flex-direction: column;
        gap: 40px;
    }
    
    /* Responsive styles for church welcome text */
    .church-welcome-text {
        padding: 0 20px;
        margin-bottom: 2rem;
    }
    
    .church-welcome-text p {
        font-size: 1.1rem;
    }
    
    .visit-hero-left {
        padding: 20px;
        padding-left: 20px;
    }
    
    .visit-hero-right {
        padding: 20px;
        align-items: center;
    }
    
    .about-container {
        width: 90%;
    }
    
    .video-container {
        width: 90%;
        max-width: 600px;
        margin: 30px auto 0 auto;
    }
    
    .visit-hero-right .bible-verse {
        width: 80%;
        min-width: 280px;
        margin-left: auto;
    }
    
    .video-placeholder {
        padding: 15px;
    }
    
    .visit-buttons {
        flex-direction: column;
        gap: 30px;
    }
    
    .visit-hero .visit-btn {
        max-width: 90vw;
        word-wrap: break-word;
        flex: none;
        min-height: 50px;
        width: 100%;
        max-width: 320px;
        text-align: center;
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .service-info-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-left {
        padding: 20px;
        padding-left: 20px;
    }
    
    .service-right {
        padding: 20px;
    }
    
    .service-text-container {
        width: 90%;
        max-width: none;
    }
    
    .service-images-container {
        width: 90%;
        max-width: none;
    }
    
    .service-image {
        width: 280px;
        height: 280px;
        max-width: 90vw;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        justify-items: center;
    }
    
    .visit-faq-section {
        padding: 18px 18px 36px 18px;
    }
    
    .visit-faq-section .container {
        padding: 0 18px;
    }
    
    .visit-faq-section-inner {
        padding: 60px 0;
        border-radius: 15px;
    }
    
    .visit-faq-section .section-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .visit-faq-section .section-subtitle {
        font-size: 1.2rem;
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .faq-question {
        padding: 20px 25px;
        font-size: 16px;
    }
    
    .faq-answer p {
        padding: 0 25px 20px 25px;
        font-size: 17px;
    }
    
    .pastor-welcome-section {
        padding: 30px 20px;
    }
    
    .pastor-welcome-content h2 {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    
    .welcome-message p {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .pastor-signature p {
        font-size: 16px;
    }
    
    .pastor-signature p:last-child {
        font-size: 14px;
    }
}