/*
* DR JAYAPAUL MINISTRIES - OPTIMIZED STYLESHEET
* (All unused legacy template code has been stripped)
*/

@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:300,300i,400,400i,600,600i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Poppins:300,300i,400,400i,500,500i,600,600i,700,700i');

/* ----------------------------------------------------
   1. GLOBAL & TYPOGRAPHY
-------------------------------------------------------- */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    color: #6c757d;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Josefin Sans', sans-serif;
    color: #000;
    font-weight: 700;
    line-height: 1.5em;
}

a, button {
    transition: all 0.4s ease-in-out;
}

a, a:hover { text-decoration: none; }
a:focus, button:focus { outline: none; }
img { max-width: 100%; height: auto; display: block; }
hr { width: 100%; }

.parallax {
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.diffuse-shadow { box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.05); }

/* ----------------------------------------------------
   2. BUTTONS & FLOATING WIDGETS
-------------------------------------------------------- */
.btn {
    position: relative;
    padding: 15px 35px;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color .3s, border-color .3s, background-color .3s ease-in-out;
}

.float, .floati, .floatw {
    position: fixed;
    width: 60px;
    height: 60px;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.float { bottom: 40px; right: 40px; background-color: #1877F2; }
.floati { bottom: 120px; right: 40px; background: linear-gradient(to right, #f9ce34, #ee2a7b, #6228d7); }
.floatw { bottom: 195px; right: 40px; background-color: #25d366; }

.my-float, .my-floati { margin-top: 16px; }

.bounce { animation: bounce 2s infinite; }

@keyframes bounce {
    0%, 25%, 50%, 75%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-12px); }
}

@media only screen and (max-width: 600px) {
    .float, .floati, .floatw { width: 40px; height: 40px; right: 20px; font-size: 20px; }
    .float { bottom: 20px; }
    .floati { bottom: 70px; }
    .floatw { bottom: 120px; }
}

/* ----------------------------------------------------
   3. DIVIDERS & PRELOADER
-------------------------------------------------------- */
.divider-circle, .divider-circle-violet {
    width: 200px;
    opacity: 0.8;
    position: relative;
    display: inline-block;
}

.divider-circle { border: 1px solid #38C695; }
.divider-circle-violet { border: 1px solid #7F00FF; margin-top: auto; }

.divider-circle:before, .divider-circle:after,
.divider-circle-violet:before, .divider-circle-violet:after {
    position: absolute; content: ""; width: 15px; height: 15px;
    top: -9px; transform: rotate(45deg);
}

.divider-circle:before, .divider-circle:after { background-color: #38C695; }
.divider-circle-violet:before, .divider-circle-violet:after { background-color: #7F00FF; }
.divider-circle:after, .divider-circle-violet:after { left: 45%; }

.bg-light { background: #f1f1f1 !important; }
.overlay { position: relative; }
.overlay:before { content: ""; position: absolute; width: 100%; height: 100%; left: 0; top: 0; }
.overlay-5::before { background: rgba(0, 0, 0, 0.5); }

.preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #000000; display: flex; justify-content: center;
    align-items: center; flex-direction: column; z-index: 9999;
}
.preloader .im img { width: 300px; height: auto; }

/* ----------------------------------------------------
   4. HERO SLIDER
-------------------------------------------------------- */
.hero-slide { position: relative; background-size: cover; background-repeat: no-repeat; }
.hero-slide .overlay { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }

.hero-swiper .swiper-pagination-bullet-active { background-color: #38C695; }
.hero-swiper .swiper-pagination-bullet { opacity: 1; border: 1px solid #e1e1e1; }
.hero-swiper .swiper-pagination-bullet { width: 15px; height: 15px; }

.hero-area { background-color: #f1f1f1; color: #ffffff; width: 100%; position: relative; background-position: center; }
.full-height { min-height: 100vh; }
.hero-area h4 { margin-bottom: 0px; }

@media (max-width: 768px) {
    .full-height { height: auto !important; max-height: 100vh; }
    .tlt1 { font-size: 10px; }
    .tlt { font-size: 16px; }
    .divider-circle { width: 100px; }
    .hero-swiper .swiper-pagination-bullet { width: 10px; height: 10px; }
}

@media (min-width: 769px) and (max-width: 992px) {
    .full-height { height: 100vh !important; }
    .tlt1, .tlt { font-size: 16px; }
}


/* ====================================================
   FIX FOR RIGHT SIDE GAP (HORIZONTAL OVERFLOW)
======================================================== */

/* 1. Lock the body and html to prevent side-scrolling */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

/* 2. Prevent the fixed navbar from stretching past the screen */
header, .fixed-top {
    max-width: 100vw;
}

/* 3. Ensure slider and hero elements strictly fit the viewport */
.hero-area, .swiper-container, .hero-slide {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* 4. Fix Bootstrap negative margins on mobile that cause overflow */
/* 4. Global Mobile Fixes (max 575px) */


@media (max-width: 575px) {
    
   /* 1. Navbar Mobile Fixes: Perfect vertical alignment & no overflowing */
    header .custom-navbar, 
    header .navbar.fixed-top {
        background-color: #ffffff !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important; 
        padding: 10px 15px !important; 
        height: auto !important; /* Let the height adapt to the logo */
        min-height: 70px !important; 
        transition: none !important;
    }

    /* Force the internal container to stay in one row and center vertically */
    header .custom-navbar .container {
        display: flex !important;
        flex-wrap: nowrap !important; /* Prevents the buttons from dropping down */
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Keep the right-side buttons neatly aligned together */
    header .custom-navbar .d-flex.align-items-center {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px; /* Adds clean spacing between the Android icon, Events button, and Menu */
    }

    /* Slightly scale the logo on mobile to prevent layout breaking */
    .navbar-brand img {
        width: 55px !important; 
        height: auto;
    }
    
    /* Push the slider down exactly below the 70px navbar */
    #home {
        margin-top: 70px !important; 
    }
    
    /* 2. Image Cropping Fix: Make the slider shorter to fit wide images better */
    .hero-slide {
        background-position: center center !important;
        background-size: cover !important; 
    }

    /* By reducing the height to 300px, it perfectly frames landscape photos without chopping the sides off */
    .full-height { 
        min-height: 300px !important; 
        height: auto !important;
        align-items: center !important; 
    } 
    
/* ====================================================
   GLOBAL HERO TEXT STYLING (Half-White)
======================================================== */
.hero-title, .hero-title.tlt1 { 
    /* rgba(255, 255, 255, 0.75) means White with 75% Opacity */
    color: rgb(255, 255, 255) !important; 
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9), 0px 0px 20px rgba(0,0,0,0.8) !important; 
    font-weight: 800 !important;
    z-index: 10;
    position: relative;
}

.hero-subtitle, .hero-subtitle.tlt { 
    /* rgba(255, 255, 255, 0.5) means White with 50% Opacity (True Half-White) */
    color: rgb(255, 255, 255) !important; 
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.9), 0px 0px 15px rgba(0,0,0,0.8) !important; 
    font-weight: 600 !important;
    z-index: 10;
    position: relative;
}
    
    .slider-text, .hero-area .col { 
        padding-top: 0px !important; 
        padding-bottom: 0px !important; 
    }

    /* Remove extra padding globally on all sections */
    .about-section, .ministries-section, .today-word-section, .social-section,
    .church-timing-section, .prayer-contact-section, .testimonials-section,
    .magazine-section, .newsletter-section, .history-wrapper,
    .portrait-gallery-section, .prayer-book-section, .book-promo-section, .app-promo-section {
        padding: 50px 0 !important;
    }

    /* Scale down large headings */
    .section-title h2 { font-size: 1.8rem !important; }
    
    /* Compress bulky cards */
    .about-section .about-content-card,
    .prayer-contact-section .contact-form-box,
    .church-timing-section .schedule-card,
    .newsletter-section .newsletter-card {
        padding: 25px 20px !important;
    }

    /* Fix social floating container overlapping content */
    .social-floating-container { transform: scale(0.8); transform-origin: bottom right; }
    
    /* Adjust magazine covers to fit mobile screens better */
    .magazine-section .magazine-cover { height: 280px !important; }
    
    /* Stack app promo buttons */
    .store-links { flex-direction: column !important; align-items: center; width: 100%; }
    .store-btn { width: 100%; max-width: 250px; justify-content: center; }
}


/* ====================================================
   MOBILE DROPDOWN MENU FIX
======================================================== */
@media (max-width: 1199px) { 
    
    /* Forces the menu to drop down OVER the slider, keeping the logo/events locked at the top */
    #mainNavigation { 
        position: absolute !important; 
        top: 100% !important; /* Starts exactly at the bottom border of the white navbar */
        left: 0 !important; 
        right: 0 !important; 
        background-color: #ffffff !important; 
        padding: 10px 0 20px 0 !important; 
        box-shadow: 0 15px 25px rgba(0,0,0,0.1) !important; 
        z-index: 9999 !important;
        border-top: 1px solid #f1f5f9;
    }

    /* Forces the links to stack cleanly in a vertical list */
    #mainNavigation .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        margin: 0 !important;
    }

    #mainNavigation .nav-item {
        width: 100%;
    }

    /* Styles the individual links to look like native app buttons */
    #mainNavigation .nav-link {
        text-align: center !important;
        padding: 15px 20px !important;
        color: #1e293b !important;
        font-weight: 600 !important;
        border-bottom: 1px solid #f8fafc;
        display: block;
    }

    /* Adds a tap-highlight effect for mobile users */
    #mainNavigation .nav-link:active {
        background-color: #f1f5f9;
        color: #0d6efd !important;
    }
}


/* ====================================================
   HAMBURGER MENU (DROPDOWN ICON) PERMANENT FIX
======================================================== */
@media (max-width: 1199px) {
    /* 1. Force the button to always be visible and never pushed off screen */
    .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: transparent !important;
        border: none !important;
        padding: 5px !important;
        margin-left: 5px !important;
        flex-shrink: 0 !important; /* Prevents it from getting squished */
    }

    /* 2. Lock the lines to always be green, regardless of scroll position */
    .navbar-toggler .mobile-icon {
        display: block !important;
        width: 26px !important; 
        height: 3px !important;
        background-color: #38C695 !important; /* Forces green color so it never turns white */
        margin: 5px 0 !important;
        border-radius: 3px !important;
        transition: 0.3s ease;
    }

    /* 3. Slightly adjust the Events button on small screens so everything fits */
    .custom-cta-btn {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        white-space: nowrap !important;
    }
}

/* ----------------------------------------------------
   5. NEW ABOUT SECTION
-------------------------------------------------------- */
.about-section {
    background-color: #f8fafc;
    padding: 100px 0;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}
.about-section .image-wrapper { position: relative; z-index: 1; }
.about-section .image-wrapper img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative; z-index: 2; width: 100%; object-fit: cover;
}
.about-section .elevation-box {
    position: absolute; bottom: -25px; left: -25px;
    width: 100%; height: 100%;
    border: 4px solid #0d6efd; border-radius: 16px;
    z-index: 0; opacity: 0.5;
}
.about-section .about-content-card {
    background: #ffffff; padding: 50px; border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
    position: relative; z-index: 3; margin-left: -50px;
}
.about-section .section-title h2 {
    color: #1a202c; font-weight: 800; font-size: 2.5rem;
    letter-spacing: -1px; margin-bottom: 15px;
}
.about-section .divider-circle {
    width: 80px; height: 4px; background: linear-gradient(90deg, #0d6efd, #3b82f6);
    margin: 0 0 30px 0; border-radius: 4px;
}
.about-section .content p { font-size: 1.125rem; color: #475569; line-height: 1.8; margin-bottom: 20px; }
.about-section .highlight-text { color: #0d6efd; font-weight: 700; }
.about-section .calling-quote {
    background-color: #eff6ff; border-left: 4px solid #0d6efd;
    padding: 25px 30px; border-radius: 0 12px 12px 0; margin: 30px 0;
}
.about-section .calling-quote p { color: #1e293b; font-size: 1.2rem; font-style: italic; font-weight: 500; margin-bottom: 10px; }
.about-section .calling-quote .verse-ref { display: block; font-size: 1rem; color: #0d6efd; font-weight: 700; font-style: normal; }

@media (max-width: 991px) {
    .about-section { padding: 60px 0; }
    .about-section .about-content-card { margin-left: 0; margin-top: 50px; padding: 30px; }
    .about-section .elevation-box { bottom: -15px; left: -15px; }
    .about-section .section-title h2 { font-size: 2.2rem; }
}

/* ----------------------------------------------------
   6. NEW MINISTRIES SECTION
-------------------------------------------------------- */
.ministries-section { background-color: #f8fafc; padding: 100px 0; font-family: 'Inter', sans-serif; }
.ministries-section .section-title h2 { font-weight: 700; color: #1a202c; font-size: 2.5rem; margin-bottom: 15px; }
.ministries-section .section-divider { height: 4px; width: 60px; background-color: #0d6efd; margin: 0 auto 60px auto; border-radius: 2px; }
.ministries-section .ministry-row { margin-bottom: 100px; }
.ministries-section .ministry-row:last-child { margin-bottom: 0; }
.ministries-section .ministry-img {
    width: 100%; height: 400px; object-fit: cover; border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06); transition: transform 0.4s ease;
}
.ministries-section .ministry-img:hover { transform: translateY(-5px); }
.ministries-section .ministry-content { padding: 30px 50px; }
.ministries-section .ministry-header { display: flex; align-items: center; margin-bottom: 24px; }
.ministries-section .ministry-icon {
    width: 55px; height: 55px; margin-right: 20px; background: #ffffff;
    border-radius: 50%; padding: 12px; box-shadow: 0 8px 16px rgba(0,0,0,0.06); flex-shrink: 0; 
}
.ministries-section .ministry-title { font-size: 1.75rem; font-weight: 700; color: #1a202c; margin: 0; text-decoration: none; transition: color 0.3s ease; }
.ministries-section .ministry-title:hover { color: #0d6efd; }
.ministries-section .ministry-desc { color: #4a5568; line-height: 1.8; font-size: 1.125rem; margin-bottom: 0; }

@media (max-width: 991px) {
    .ministries-section { padding: 60px 0; }
    .ministries-section .ministry-row { margin-bottom: 70px; }
    .ministries-section .ministry-content { padding: 30px 15px 10px 15px; text-align: left; }
    .ministries-section .ministry-img { height: 300px; }
    .ministries-section .ministry-title { font-size: 1.5rem; }
}

/* ----------------------------------------------------
   7. TODAY'S WORD (VIDEO CARDS)
-------------------------------------------------------- */
.today-word-section { background-color: #0f172a; padding: 100px 0; font-family: 'Inter', sans-serif; }
.today-word-section .section-title h2 { color: #ffffff; font-weight: 800; font-size: 3rem; letter-spacing: -1.5px; margin-bottom: 15px; }
.today-word-section .divider-circle { width: 60px; height: 4px; background-color: #ef4444; margin: 0 auto 20px auto; border-radius: 2px; }
.today-word-section .lead-text { color: #cbd5e1; font-size: 1.2rem; margin-bottom: 35px; }
.today-word-section .filter-btn {
    border-radius: 50rem; padding: 10px 28px; font-weight: 600; font-size: 1rem;
    border: 2px solid #334155; color: #cbd5e1; background: transparent; transition: all 0.3s ease; margin: 0 5px 10px 5px;
}
.today-word-section .filter-btn:hover, .today-word-section .filter-btn.active {
    background-color: #ef4444; border-color: #ef4444; color: #ffffff; box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}
.today-word-section .video-card { background: #ffffff; border-radius: 16px; border: none; transition: transform 0.3s ease; }
.today-word-section .video-card:hover { transform: translateY(-5px); }
.today-word-section .video-title { font-size: 1.15rem; font-weight: 700; color: #1e293b; margin: 0; line-height: 1.3; text-transform: uppercase; }
.today-word-section .video-subtitle { font-size: 0.95rem; color: #64748b; margin-top: 4px; font-weight: 500; }
.today-word-section .time-badge { background-color: #f1f5f9; color: #475569; font-weight: 700; font-size: 0.8rem; padding: 6px 12px; border-radius: 8px; white-space: nowrap; }
.today-word-section .card-footer-info { border-top: 1px solid #e2e8f0; padding-top: 16px; margin-top: 16px; }
.today-word-section .channel-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #e2e8f0; }
.today-word-section .btn-subscribe {
    background-color: #ef4444; color: white; border: none; font-weight: 600;
    border-radius: 50rem; padding: 6px 16px; transition: background-color 0.2s;
}
.today-word-section .btn-subscribe:hover { background-color: #dc2626; color: white; }

/* ----------------------------------------------------
   8. SOCIAL MEDIA TAGS
-------------------------------------------------------- */
.social-section { background-color: #f8fafc; padding: 100px 0; font-family: 'Inter', sans-serif; }
.social-section .section-title h2 { color: #1a202c; font-weight: 800; font-size: 2.5rem; letter-spacing: -1px; margin-bottom: 15px; }
.social-section .divider-circle { width: 60px; height: 4px; background-color: #0d6efd; margin: 0 auto 50px auto; border-radius: 2px; }
.social-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 40px 15px; background: #ffffff; border-radius: 16px;
    transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 2px solid transparent; height: 100%;
}
.social-card:hover { transform: translateY(-8px); }
.social-icon-wrapper img { width: 45px; height: 45px; object-fit: contain; margin-bottom: 15px; transition: transform 0.3s ease; }
.social-card:hover .social-icon-wrapper img { transform: scale(1.1); }
.social-name { font-weight: 600; color: #475569; font-size: 1.05rem; transition: color 0.3s ease; }

.social-card.instagram:hover { border-color: #E1306C; box-shadow: 0 10px 30px rgba(225, 48, 108, 0.15); }
.social-card.instagram:hover .social-name { color: #E1306C; }
.social-card.youtube:hover { border-color: #FF0000; box-shadow: 0 10px 30px rgba(255, 0, 0, 0.15); }
.social-card.youtube:hover .social-name { color: #FF0000; }
.social-card.facebook:hover { border-color: #1877F2; box-shadow: 0 10px 30px rgba(24, 119, 242, 0.15); }
.social-card.facebook:hover .social-name { color: #1877F2; }
.social-card.twitter:hover { border-color: #000000; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); }
.social-card.twitter:hover .social-name { color: #000000; }
.social-card.whatsapp:hover { border-color: #25D366; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.15); }
.social-card.whatsapp:hover .social-name { color: #25D366; }
.social-card.spotify:hover { border-color: #1DB954; box-shadow: 0 10px 30px rgba(29, 185, 84, 0.15); }
.social-card.spotify:hover .social-name { color: #1DB954; }
/* ----------------------------------------------------
   9. CHURCH TIMINGS & MAP
-------------------------------------------------------- */
.church-timing-section { 
    background-color: #f8fafc; 
    padding: 100px 0; 
    font-family: 'Inter', sans-serif; 
}
.church-timing-section .section-title h2 { 
    color: #1a202c; 
    font-weight: 800; 
    font-size: 2.5rem; 
    letter-spacing: -1px; 
    margin-bottom: 15px; 
}
.church-timing-section .divider-circle { 
    width: 80px; 
    height: 4px; 
    background: linear-gradient(90deg, #0d6efd, #3b82f6); 
    margin: 0 auto 30px auto; 
    border-radius: 4px; 
}
.church-timing-section .lead-text { 
    color: #64748b; 
    font-size: 1.15rem; 
    margin-bottom: 50px; 
    line-height: 1.6; 
}
.church-timing-section .schedule-card {
    background: #ffffff; 
    border-left: 5px solid #0d6efd; 
    padding: 24px 30px;
    border-radius: 12px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); 
    margin-bottom: 20px; 
    transition: transform 0.3s ease;
}
.church-timing-section .schedule-card:hover { 
    transform: translateX(8px); 
}
.church-timing-section .schedule-title { 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: #1e293b; 
    margin-bottom: 15px; 
    display: flex; 
    align-items: center; 
}
.church-timing-section .schedule-title svg { 
    margin-right: 10px; 
    color: #0d6efd; 
}
.church-timing-section .time-slot { 
    display: flex; 
    align-items: center; 
    color: #475569; 
    font-size: 1.05rem; 
    margin-bottom: 8px; 
}
.church-timing-section .time-slot:last-child { 
    margin-bottom: 0; 
}
.church-timing-section .time-slot strong { 
    width: 140px; 
    color: #334155; 
    font-weight: 600; 
}

/* Contact Box Styles */
.church-timing-section .contact-box { 
    display: flex; 
    align-items: center; 
    background: #ffffff; 
    padding: 20px; 
    border-radius: 12px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); 
}
.church-timing-section .contact-icon {
    width: 50px; 
    height: 50px; 
    background: #eff6ff; 
    color: #0d6efd; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-right: 15px; 
    flex-shrink: 0;
}

/* --- ADDED FIXES FOR ALIGNMENT AND OVERFLOW --- */
.church-timing-section .contact-details { 
    flex: 1; 
    min-width: 0; 
}
.church-timing-section .contact-details h4 { 
    font-size: 0.95rem; 
    font-weight: 700; 
    color: #64748b; 
    margin: 0 0 4px 0; 
    text-transform: uppercase; 
}
.church-timing-section .contact-details p { 
    margin: 0; 
    color: #1e293b; 
    font-weight: 600; 
    font-size: 1.1rem; 
    overflow-wrap: break-word; 
    word-break: break-word; 
}
/* ---------------------------------------------- */

.church-timing-section .map-wrapper { 
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    height: 100%; 
    min-height: 500px; 
}
.church-timing-section .map-wrapper iframe { 
    width: 100%; 
    height: 100%; 
    min-height: 500px; 
    border: 0; 
}

@media (max-width: 991px) {
    .church-timing-section { 
        padding: 60px 0; 
    }
    .church-timing-section .map-wrapper { 
        min-height: 400px; 
        margin-top: 40px; 
    }
    .church-timing-section .time-slot { 
        flex-direction: column; 
        align-items: flex-start; 
    }
    .church-timing-section .time-slot strong { 
        width: auto; 
        margin-bottom: 2px; 
    }
}

/* ----------------------------------------------------
   10. PRAYER CONTACT FORM
-------------------------------------------------------- */
.prayer-contact-section { background-color: #f8fafc; padding: 100px 0; font-family: 'Inter', sans-serif; }
.prayer-contact-section .section-title h2 { color: #1a202c; font-weight: 800; font-size: 2.5rem; margin-bottom: 15px; text-transform: capitalize; }
.prayer-contact-section .divider-circle { width: 80px; height: 4px; background: linear-gradient(90deg, #0d6efd, #3b82f6); margin: 0 auto 25px auto; border-radius: 4px; }
.prayer-contact-section .lead-text { color: #64748b; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 1px; }
.prayer-contact-section .contact-form-box { background: #ffffff; padding: 40px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.04); }
.prayer-contact-section .form-control {
    background-color: #ffffff; border: 2px solid #cbd5e1; padding: 18px 24px; border-radius: 10px;
    color: #0f172a; font-size: 1.15rem; font-weight: 500; transition: all 0.3s ease; min-height: 60px;
}
.prayer-contact-section .form-control::placeholder { color: #64748b; font-weight: 400; }
.prayer-contact-section .form-control:focus { border-color: #0d6efd; box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15); outline: none; }
.prayer-contact-section select.form-control { appearance: auto; cursor: pointer; }
.prayer-contact-section textarea.form-control { min-height: 180px; padding-top: 20px; resize: vertical; }
.prayer-contact-section .submit-btn {
    background: linear-gradient(90deg, #0d6efd, #2563eb); color: #ffffff; border: none; padding: 14px 35px;
    font-size: 1.1rem; font-weight: 600; border-radius: 50rem; transition: transform 0.3s ease, box-shadow 0.3s ease; width: 100%;
}
.prayer-contact-section .submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3); }
.prayer-contact-section .address-wrap {
    background: #0f172a; padding: 40px; border-radius: 16px; height: 100%; color: #ffffff; box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.prayer-contact-section .address-wrap h3 { font-weight: 700; margin-bottom: 30px; font-size: 1.5rem; color: #ffffff; }
.prayer-contact-section .contact-info-item { display: flex; align-items: flex-start; margin-bottom: 25px; }
.prayer-contact-section .contact-info-item .icon {
    background: rgba(255,255,255,0.1); color: #60a5fa; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin-right: 15px; flex-shrink: 0;
}
.prayer-contact-section .contact-info-item h4 { font-size: 1.05rem; margin: 0 0 5px 0; color: #cbd5e1; font-weight: 600; }
.prayer-contact-section .contact-info-item p { margin: 0; color: #94a3b8; line-height: 1.6; }

.email-loading { font-size: 15px; text-align: center; padding: 10px; display: none; }
.email-loading img { width: 20px; margin: 0 auto; }

@media (max-width: 991px) {
    .prayer-contact-section .contact-form-box { padding: 25px; }
    .prayer-contact-section .address-wrap { margin-top: 30px; }
}

/* ----------------------------------------------------
   11. TESTIMONIALS SECTION
-------------------------------------------------------- */
.testimonials-section { background-color: #ffffff; padding: 100px 0; font-family: 'Inter', sans-serif; overflow: hidden; }
.testimonials-section .section-title h2 { color: #1a202c; font-weight: 800; font-size: 3rem; letter-spacing: -1.5px; margin-bottom: 15px; line-height: 1.2; }
.testimonials-section .divider-circle { width: 80px; height: 4px; background: linear-gradient(90deg, #0d6efd, #3b82f6); margin: 0 auto 50px auto; border-radius: 4px; }
.testimonials-section .single-testimonial {
    background: #f8fafc; border-radius: 16px; padding: 50px 40px; margin: 15px; border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform 0.3s ease; height: 100%;
}
.testimonials-section .single-testimonial:hover { transform: translateY(-5px); }
.testimonials-section .quote-icon { color: #0d6efd; opacity: 0.2; margin-bottom: 25px; }
.testimonials-section blockquote { font-size: 1.35rem; color: #334155; line-height: 1.9; font-style: italic; font-weight: 500; margin-bottom: 35px; padding: 0; border: none; }
.testimonials-section .img-thumbnail {
    width: 100px; height: 100px; object-fit: cover; border-radius: 50%; padding: 4px; border: 2px solid #e2e8f0; background: #ffffff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); margin-bottom: 15px;
}
.testimonials-section .swiper-pagination { position: relative; margin-top: 30px; }
.testimonials-section .swiper-pagination-bullet { width: 12px; height: 12px; background-color: #cbd5e1; opacity: 1; margin: 0 6px !important; transition: all 0.3s ease; }
.testimonials-section .swiper-pagination-bullet-active { background-color: #0d6efd; width: 24px; border-radius: 10px; }

@media (max-width: 768px) {
    .testimonials-section { padding: 60px 0; }
    .testimonials-section .section-title h2 { font-size: 2.2rem; }
    .testimonials-section .single-testimonial { padding: 30px 20px; margin: 10px; }
    .testimonials-section blockquote { font-size: 1.15rem; }
}

/* ----------------------------------------------------
   12. MAGAZINE SECTION
-------------------------------------------------------- */
.magazine-section { background-color: #f8fafc; padding: 100px 0; font-family: 'Inter', sans-serif; }
.magazine-section .section-title h2 { color: #1a202c; font-weight: 800; font-size: 3rem; letter-spacing: -1.5px; margin-bottom: 15px; }
.magazine-section .highlight-text { background: linear-gradient(90deg, #0d6efd, #3b82f6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.magazine-section .divider-circle { width: 80px; height: 4px; background: linear-gradient(90deg, #0d6efd, #3b82f6); margin: 0 auto 30px auto; border-radius: 4px; }
.magazine-section .lead-text { color: #64748b; font-size: 1.15rem; margin-bottom: 25px; line-height: 1.6; }
.magazine-section .contact-badge {
    display: inline-flex; align-items: center; background-color: #ffffff; padding: 10px 24px; border-radius: 50rem;
    color: #0f172a; font-weight: 600; font-size: 1.05rem; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0;
}
.magazine-section .contact-badge svg { color: #0d6efd; margin-right: 10px; }
.magazine-section .magazine-card {
    background: #ffffff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease; border: 1px solid #f1f5f9; height: 100%; display: flex; flex-direction: column;
}
.magazine-section .magazine-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.magazine-section .magazine-cover { height: 420px; width: 100%; overflow: hidden; position: relative; background-color: #f1f5f9; }
.magazine-section .magazine-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.magazine-section .magazine-card:hover .magazine-cover img { transform: scale(1.05); }
.magazine-section .magazine-info { padding: 30px 25px; display: flex; flex-direction: column; flex-grow: 1; }
.magazine-section .magazine-info h3 { font-size: 1.35rem; font-weight: 700; color: #1e293b; margin-bottom: 5px; }
.magazine-section .edition-text { color: #64748b; font-size: 1rem; font-weight: 500; margin-bottom: 25px; }
.magazine-section .read-btn {
    display: inline-flex; align-items: center; justify-content: center; background-color: #eff6ff; color: #0d6efd;
    padding: 12px 20px; border-radius: 8px; font-weight: 600; transition: all 0.3s ease; margin-top: auto;
}
.magazine-section .read-btn svg { margin-right: 8px; }
.magazine-section .read-btn:hover { background-color: #0d6efd; color: #ffffff; }

@media (max-width: 991px) {
    .magazine-section { padding: 60px 0; }
    .magazine-section .section-title h2 { font-size: 2.2rem; }
    .magazine-section .magazine-cover { height: 350px; }
}

/* ----------------------------------------------------
   13. NEWSLETTER SECTION
-------------------------------------------------------- */
.newsletter-section { background-color: #ffffff; padding: 100px 0; font-family: 'Inter', sans-serif; }
.newsletter-section .section-title h2 { color: #1a202c; font-weight: 800; font-size: 3rem; letter-spacing: -1.5px; margin-bottom: 15px; }
.newsletter-section .divider-circle { width: 80px; height: 4px; background: linear-gradient(90deg, #0d6efd, #3b82f6); margin: 0 auto 30px auto; border-radius: 4px; }
.newsletter-section .lead-text { color: #64748b; font-size: 1.15rem; margin-bottom: 50px; line-height: 1.6; }
.newsletter-section .newsletter-card {
    background: #ffffff; border-radius: 20px; padding: 50px; box-shadow: 0 15px 50px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; overflow: hidden;
}
.newsletter-section .newsletter-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.newsletter-section .icon-wrapper {
    width: 80px; height: 80px; background: #dcfce7; color: #10b981; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 25px auto;
}
.newsletter-section .icon-wrapper svg { width: 36px; height: 36px; }
.newsletter-section .newsletter-title { font-size: 2rem; font-weight: 800; color: #1e293b; margin-bottom: 5px; letter-spacing: -0.5px; }
.newsletter-section .newsletter-subtitle { font-size: 1.1rem; color: #64748b; font-weight: 500; margin-bottom: 20px; }
.newsletter-section .newsletter-date { display: inline-block; background: #f1f5f9; color: #475569; padding: 6px 16px; border-radius: 50rem; font-size: 0.95rem; font-weight: 600; margin-bottom: 25px; }
.newsletter-section .newsletter-content { font-size: 1.15rem; color: #475569; line-height: 1.8; margin-bottom: 35px; padding: 0 20px; }
.newsletter-section .newsletter-content strong { color: #1e293b; font-weight: 700; }
.newsletter-section .btn-read {
    display: inline-flex; align-items: center; background: linear-gradient(90deg, #10b981, #059669); color: #ffffff;
    padding: 14px 35px; border-radius: 50rem; font-weight: 600; font-size: 1.1rem; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.newsletter-section .btn-read:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); color: #ffffff; }
.newsletter-section .btn-read svg { margin-left: 8px; }

@media (max-width: 768px) {
    .newsletter-section { padding: 60px 0; }
    .newsletter-section .section-title h2 { font-size: 2.2rem; }
    .newsletter-section .newsletter-card { padding: 40px 20px; }
    .newsletter-section .newsletter-title { font-size: 1.75rem; }
    .newsletter-section .newsletter-content { padding: 0; }
}

/* ----------------------------------------------------
   14. HISTORY & FOUNDATIONS
-------------------------------------------------------- */
.history-wrapper { background-color: #f8fafc; padding: 80px 0; font-family: 'Inter', sans-serif; }
.history-wrapper .history-card {
    background: #ffffff; border-radius: 20px; padding: 50px; box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    margin-bottom: 50px; border: 1px solid #f1f5f9;
}
.history-wrapper .history-card:last-child { margin-bottom: 0; }
.history-wrapper .card-header-titles { text-align: center; margin-bottom: 40px; }
.history-wrapper .card-title { font-size: 2.25rem; font-weight: 800; color: #1e293b; letter-spacing: -0.5px; margin-bottom: 5px; }
.history-wrapper .card-subtitle { font-size: 1.1rem; color: #64748b; font-weight: 600; letter-spacing: 2px; }
.history-wrapper .card-description { font-size: 1.05rem; color: #475569; margin-top: 5px; }
.history-wrapper .divider-red { width: 80px; height: 4px; background: linear-gradient(90deg, #dc2626, #ef4444); margin: 20px auto 0 auto; border-radius: 4px; }
.history-wrapper .divider-blue { width: 80px; height: 4px; background: linear-gradient(90deg, #0d6efd, #3b82f6); margin: 20px auto 0 auto; border-radius: 4px; }
.history-wrapper .history-text p { font-size: 1.125rem; color: #475569; line-height: 1.85; margin-bottom: 25px; text-align: justify; }
.history-wrapper .history-text p:last-child { margin-bottom: 0; }
.history-wrapper .text-highlight-red { color: #dc2626; font-weight: 700; }
.history-wrapper .text-highlight-blue { color: #0d6efd; font-weight: 700; }
.history-wrapper .impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; height: 100%; }
.history-wrapper .stat-box {
    background: #f8fafc; border-radius: 12px; padding: 25px 20px; text-align: center; border: 1px solid #e2e8f0;
    transition: transform 0.3s ease; display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.history-wrapper .stat-box:hover { transform: translateY(-5px); }
.history-wrapper .stat-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.history-wrapper .icon-red { background: #fef2f2; color: #dc2626; }
.history-wrapper .icon-blue { background: #eff6ff; color: #0d6efd; }
.history-wrapper .stat-number { font-size: 1.5rem; font-weight: 800; color: #1e293b; margin-bottom: 5px; line-height: 1.2; }
.history-wrapper .stat-label { font-size: 0.95rem; color: #64748b; font-weight: 500; line-height: 1.4; }

@media (max-width: 991px) {
    .history-wrapper .history-card { padding: 30px 20px; }
    .history-wrapper .card-title { font-size: 1.8rem; }
    .history-wrapper .impact-grid { margin-top: 40px; }
}
@media (max-width: 576px) {
    .history-wrapper .impact-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------
   15. PORTRAIT GALLERY
-------------------------------------------------------- */
.portrait-gallery-section { background-color: #ffffff; padding: 100px 0; font-family: 'Inter', sans-serif; overflow: hidden; }
.portrait-gallery-section .section-title h2 { color: #1a202c; font-weight: 800; font-size: 3rem; letter-spacing: -1.5px; margin-bottom: 15px; text-transform: uppercase; }
.portrait-gallery-section .divider-circle { width: 80px; height: 4px; background: linear-gradient(90deg, #0d6efd, #3b82f6); margin: 0 auto 20px auto; border-radius: 4px; }
.portrait-gallery-section .lead-text { color: #64748b; font-size: 1.15rem; margin-bottom: 40px; }
.portrait-gallery-section .portrait-card {
    border-radius: 16px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    margin: 15px 10px; background: #f8fafc; position: relative; aspect-ratio: 4 / 5;
}
.portrait-gallery-section .portrait-card img {
    width: 100%; height: 100%; object-fit: cover; object-position: center top;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); display: block;
}
.portrait-gallery-section .portrait-card:hover img { transform: scale(1.06); }
.portrait-gallery-section .swiper-pagination { position: relative; margin-top: 40px; }
.portrait-gallery-section .swiper-pagination-bullet { width: 12px; height: 12px; background-color: #cbd5e1; opacity: 1; margin: 0 6px !important; transition: all 0.3s ease; }
.portrait-gallery-section .swiper-pagination-bullet-active { background-color: #0d6efd; width: 30px; border-radius: 10px; }

@media (max-width: 768px) {
    .portrait-gallery-section { padding: 60px 0; }
    .portrait-gallery-section .section-title h2 { font-size: 2.2rem; }
}

/* ----------------------------------------------------
   16. PRAYER BOOK SECTION
-------------------------------------------------------- */
.prayer-book-section { background-color: #f8fafc; padding: 100px 0; font-family: 'Inter', sans-serif; overflow: hidden; }
.prayer-book-section .section-title h2 { color: #1a202c; font-weight: 800; font-size: 3rem; letter-spacing: -1.5px; margin-bottom: 15px; }
.prayer-book-section .highlight-text { background: linear-gradient(90deg, #10b981, #059669); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.prayer-book-section .divider-circle { width: 80px; height: 4px; background: linear-gradient(90deg, #10b981, #059669); margin: 0 auto 40px auto; border-radius: 4px; }
.prayer-book-section .lead-text { color: #64748b; font-size: 1.15rem; }
.prayer-book-section .book-card { background: #ffffff; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; }
.prayer-book-section .book-image-wrapper { background-color: #f1f5f9; padding: 50px; display: flex; align-items: center; justify-content: center; height: 100%; }
.prayer-book-section .book-cover {
    width: 80%; max-width: 300px; border-radius: 2px 8px 8px 2px;
    box-shadow: -5px 15px 30px rgba(0,0,0,0.15), inset 4px 0 10px rgba(255,255,255,0.3); transition: transform 0.4s ease;
}
.prayer-book-section .book-card:hover .book-cover { transform: scale(1.05) translateY(-5px); }
.prayer-book-section .book-content-wrapper { padding: 50px; display: flex; flex-direction: column; justify-content: center; height: 100%; }
.prayer-book-section .book-content-wrapper h3 { font-size: 2rem; font-weight: 700; color: #1e293b; margin-bottom: 15px; letter-spacing: -0.5px; }
.prayer-book-section .book-content-wrapper p { font-size: 1.125rem; color: #475569; line-height: 1.8; margin-bottom: 30px; }
.prayer-book-section .btn-download {
    display: inline-flex; align-items: center; background: linear-gradient(90deg, #10b981, #059669);
    color: #ffffff; padding: 14px 35px; border-radius: 50rem; font-weight: 600; font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease; align-self: flex-start;
}
.prayer-book-section .btn-download:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); color: #ffffff; }
.prayer-book-section .btn-download svg { margin-right: 10px; }

@media (max-width: 991px) {
    .prayer-book-section { padding: 60px 0; }
    .prayer-book-section .section-title h2 { font-size: 2.2rem; }
    .prayer-book-section .book-image-wrapper { padding: 40px 20px; }
    .prayer-book-section .book-content-wrapper { padding: 40px 25px; text-align: center; align-items: center; }
}

/* ----------------------------------------------------
   17. BOOK PROMOTION
-------------------------------------------------------- */
.book-promo-section {
    background: linear-gradient(rgba(248, 250, 252, 0.92), rgba(248, 250, 252, 0.92)), url('https://hkstudio.b-cdn.net/photos/pdf/website%20book%20bg%20design%20copy.jpg');
    background-size: cover; background-position: center; padding: 100px 0; font-family: 'Inter', sans-serif; overflow: hidden;
}
.book-promo-section .section-subtitle { color: #4f46e5; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 10px; display: block; }
.book-promo-section .section-title { color: #0f172a; font-weight: 800; font-size: 2.8rem; line-height: 1.2; letter-spacing: -1px; margin-bottom: 10px; }
.book-promo-section .title-english { display: block; font-size: 1.5rem; color: #64748b; font-weight: 500; margin-top: 5px; font-family: 'Inter', sans-serif; }
.book-promo-section .milestone-list { list-style: none; padding: 0; margin: 40px 0; }
.book-promo-section .milestone-item { display: flex; align-items: flex-start; margin-bottom: 25px; }
.book-promo-section .milestone-icon {
    width: 45px; height: 45px; background: #e0e7ff; color: #4f46e5; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-right: 20px; box-shadow: 0 4px 10px rgba(79, 70, 229, 0.15);
}
.book-promo-section .milestone-content h4 { font-size: 1.15rem; font-weight: 700; color: #1e293b; margin: 0 0 5px 0; }
.book-promo-section .milestone-content p { font-size: 1.05rem; color: #475569; line-height: 1.6; margin: 0; }
.book-promo-section .book-presentation { position: relative; padding: 20px; display: flex; justify-content: center; align-items: center; }
.book-promo-section .book-backdrop {
    position: absolute; width: 80%; height: 90%; background: linear-gradient(135deg, #312e81 0%, #4f46e5 100%);
    border-radius: 30px 80px 30px 80px; z-index: 1; transform: rotate(-3deg); box-shadow: 0 20px 40px rgba(49, 46, 129, 0.2);
}
.book-promo-section .book-cover {
    position: relative; z-index: 2; width: 100%; max-width: 380px; border-radius: 4px 16px 16px 4px;
    border-left: 14px solid #1e1b4b; box-shadow: -15px 20px 45px rgba(0,0,0,0.25), inset 6px 0 15px rgba(255,255,255,0.4);
    transition: transform 0.4s ease-out; will-change: transform; 
}
.book-promo-section .book-presentation:hover .book-cover { transform: scale(1.05) translateY(-10px) rotateY(-4deg); }
.book-promo-section .accent-dot {
    position: absolute; bottom: 20px; right: 20px; width: 20px; height: 20px;
    background-color: #ef4444; border-radius: 50%; z-index: 3; box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}
.book-promo-section .btn-read-book {
    display: inline-flex; align-items: center; background: #4f46e5; color: #ffffff; padding: 14px 35px;
    border-radius: 50rem; font-weight: 600; font-size: 1.1rem; transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3); will-change: transform;
}
.book-promo-section .btn-read-book:hover { background: #4338ca; transform: translateY(-3px); box-shadow: 0 12px 25px rgba(79, 70, 229, 0.4); color: #ffffff; }
.book-promo-section .btn-read-book svg { margin-left: 10px; }

@media (max-width: 991px) {
    .book-promo-section { padding: 60px 0; }
    .book-promo-section .section-title { font-size: 2.2rem; }
    .book-promo-section .book-presentation { margin-bottom: 50px; }
}

/* ----------------------------------------------------
   18. FOOTER SECTION
-------------------------------------------------------- */
.widget-logo { font-size: 25px; color: #000000; margin-bottom: 20px; display: inline-block; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.widget-logo:hover { color: #38C695; }
.single-widget { margin-bottom: 15px; }
.single-widget h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; text-transform: capitalize; }
.single-widget ul { margin: 0; padding: 0; list-style: none; }
.single-widget ul li { margin-bottom: 15px; position: relative; padding-left: 15px; }
.single-widget ul li:before { position: absolute; width: 6px; height: 6px; content: ""; background: #38C695; left: 0; top: 7px; }
.single-widget ul li a { color: #6c757d; }
.single-widget ul li a:hover { color: #38c695; }
.copyright-text { margin: 0px; }
.copyright-text a { color: #000; }
.copyright-text a:hover { color: #38C695; }


/* social media all Youtube channels custom responsive css */

/* Responsive Enhancements for Today's Word Section */
    .today-word-section .section-title h2 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        font-weight: 700;
    }
    
    .professional-divider {
        height: 3px;
        width: 60px;
        background-color: #ff4d4d;
        margin: 15px auto;
        border-radius: 2px;
    }

    .btn-subscribe.main-channel-btn {
        background: linear-gradient(90deg, #ff3333, #cc0000);
        color: white;
        border-radius: 30px;
        font-weight: 600;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .btn-subscribe.main-channel-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
        color: white;
    }

    /* Responsive Filter Buttons */
    .filter-btn {
        padding: 8px 20px;
        border: 1px solid #d1d5db;
        background: transparent;
        border-radius: 25px;
        font-size: clamp(0.85rem, 2vw, 1rem);
        font-weight: 500;
        color: #4b5563;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .filter-btn.active, .filter-btn:hover {
        background: #ff4d4d;
        color: white;
        border-color: #ff4d4d;
        box-shadow: 0 4px 10px rgba(255, 77, 77, 0.3);
    }

    /* Video Card Styling */
    .video-card {
        border-radius: 12px;
        border: none;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

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

    .video-title {
        font-size: clamp(1rem, 2.5vw, 1.15rem);
        font-weight: 700;
        margin-bottom: 2px;
        line-height: 1.2;
    }

    .video-subtitle {
        font-size: 0.85rem;
        color: #6b7280;
    }

    .time-badge {
        background-color: #f3f4f6;
        color: #374151;
        padding: 4px 10px;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .channel-avatar {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        object-fit: cover;
    }

    .btn-subscribe {
        background-color: #cc0000;
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        transition: background-color 0.2s;
    }

    .btn-subscribe:hover {
        background-color: #990000;
        color: white;
    }

    /* Mobile Adjustments */
    @media (max-width: 767px) {
        .today-word-section {
            padding-top: 30px !important;
            padding-bottom: 30px !important;
        }
        
        .card-footer-info {
            flex-direction: column;
            gap: 10px;
            align-items: flex-start !important;
        }
        
        .card-footer-info .btn-subscribe {
            width: 100%;
            text-align: center;
        }
    }


    /* Youtube Video Section */

    /* ====================================================
   FIX FOR YOUTUBE VIDEO OVERFLOW IN TODAY'S WORD SECTION
======================================================== */
.today-word-section .video-card {
    overflow: hidden; /* Prevents the video from breaking out of the card */
    width: 100%;
    max-width: 100%;
}

.today-word-section .video-card .ratio {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Enforces strict 16:9 aspect ratio */
    height: 0;
    display: block;
    flex-shrink: 0; /* Prevents the flex column from distorting the wrapper */
    overflow: hidden;
}

.today-word-section .video-card .ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
    max-width: 100%;
}


/* daily verse */

/* Container for the scrolling area */
.horizontal-scroller {
  display: flex;
  overflow-x: auto;
  gap: 20px; /* Space between images */
  padding: 20px 15px; /* Gives top/bottom and left/right padding so the first item isn't flush against the screen */
  
  /* Smooth snapping fixes */
  scroll-snap-type: x mandatory; 
  scroll-padding-left: 15px; /* Ensures the snap respects the left padding */
  -webkit-overflow-scrolling: touch; 
  
  /* Forces it to start exactly from the left, preventing the cutoff bug */
  justify-content: flex-start; 
  
  /* Hides the scrollbar */
  scrollbar-width: none; 
}

.horizontal-scroller::-webkit-scrollbar {
  display: none; 
}

/* Base style for the images */
.promise-img {
  flex: 0 0 auto; /* Prevents images from shrinking */
  width: 85vw; /* Takes up most of the screen on mobile */
  max-width: 350px; /* Caps the maximum size */
  border-radius: 12px; 
  object-fit: cover;
  
  /* Snaps to the START of the image, not the center, fixing the left edge cut */
  scroll-snap-align: start; 
  
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); 
}

/* Tablet Adjustments */
@media (min-width: 768px) {
  .horizontal-scroller {
    padding: 20px;
    scroll-padding-left: 20px;
  }
  .promise-img {
    width: 40vw; /* Shows a bit more than 2 images on screen */
  }
}

/* Desktop Adjustments */
@media (min-width: 1024px) {
  .promise-img {
    width: 350px; /* Nice fixed size for desktop screens */
  }
  /* Notice we do NOT use justify-content: center here anymore! */
}