/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {

    --white-color: #ffffff;
    --primary-color: #13547a;
    --secondary-color: #D9B573;
    --section-bg-color: #f0f8ff;
    --custom-btn-bg-color: #80d0c7;
    --custom-btn-bg-hover-color: #13547a;
    --dark-color: #000000;
    --p-color: #2a2a2b;
    --border-color: #7fffd4;

    --accent1: #3b82f6;
    --secondary-color2: #ecd6ad;

    --primary: #4a6fa5;
    --secondary: #f9c846;
    --accent: #e74c3c;
    --light: #f5f7fa;
    --dark: #2c3e50;
    --success: #218838;


    --h1-font-size: 65px;
    --h2-font-size: 24px;
    --h3-font-size: 32px;
    --h4-font-size: 28px;
    --h5-font-size: 24px;
    --h6-font-size: 15px;
    --p-font-size: 17px;
    --menu-font-size: 14px;
    --btn-font-size: 13px;
    --copyright-font-size: 16px;

    --border-radius-medium: 20px;
    --border-radius-small: 4px;
    --radius: 14px;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

/* ========== LIGHT/DARK MODE VARIABLES ========== */
:root {
    /* Light theme (default) */
    --bg-color: #fbf9f9;
    --text-color: #000;
    --nav-bg: #ffffff;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --hover-shadow: rgba(0, 0, 0, 0.15);
    --border-color: #e0e0e0;
    --footer-bg: #ffffff;
    --footer-text: #333333;
    --link-hover: #80d0c7;
    --section-bg: #f0f8ff;
    --kids-bg: linear-gradient(to right, #007ABB 0%, 15.384615957736969%, #069BD3 30.769231915473938%, 65.38461595773697%, #ADD7E7 100%);
    --story: #f0f7ff;
    --less: #e8f4f8;
    --vers: #fff9e6;
    --login: #08c8ee;
    --term: #b4c7dd;
    --hh: #4a6fa5;
    --memo: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    --primaryy: #4a6fa5;
    --secondaryy: #e7c566;
    --bg-hover-color: #A67F38;
    --caption: #6c757d4a;
    --gray-color: #d4cbcb;
    /*--bg: #e6e6e6;*/
    --bg: #f2ede1;
    --devotion: #424243;
    --scripture: #585858e3;
}

[data-theme="dark"] {
    /* Dark theme */
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --nav-bg: #2d2d2d;
    --card-bg: #2d2d2d;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --hover-shadow: rgba(0, 0, 0, 0.5);
    --border-color: #404040;
    --footer-bg: #252525;
    --footer-text: #ffffff;
    --link-hover: #80d0c7;
    --section-bg: #2a2a2a;
    --kids-bg: #1a1a1a;
    --story: #252525;
    --less: #343333;
    --vers: #4c4a4a;
    --login: #08c8ee;
    --term: #454242;
    --hh: #f9c846;
    --memo: linear-gradient(135deg, #e8e0c5, #efd9b1);
    --primaryy: #f9c846;
    --secondaryy: #4a6fa5;
    --bg-hover-color: #A67F38;
    --caption: #252525;
    --gray-color: #665e5e;
    --bg: black;
    --devotion: #424243;
    --scripture: #BAFF53;
}

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

body {
    background-color: var(--bg);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    /*display: flex;
    flex-direction: column;
    align-items: center;*/
    /* top:0; right:0; bottom:0; left:0 
    background-image: url("backg/2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.95;
    z-index: 0;
    /* sits under content but above page bg */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: transparent;
}


/*========= TOP =========*/

.infinite-slider {
    width: 100%;
    overflow: hidden;
    background: var(--bg);
    padding: 4px 0;
    white-space: nowrap;
}

.slider-track1 {
    display: inline-flex;
    gap: 10px;
    animation: scroll 40s linear infinite;
}

.slider-track1 span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-color);
}

/* Infinite animation */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pause on hover (optional) */
.infinite-slider:hover .slider-track1 {
    animation-play-state: paused;
}

/*========= END OF TOP =========*/

/*========= features product =========*/

.infinite-slider {
    width: 100%;
    overflow: hidden;
    background: var(--bg);
    padding: 4px 0;
    white-space: nowrap;
}

.slider-track {
    display: inline-flex;
    gap: 10px;
    animation: scroll 40s linear infinite;
}

.slider-track span {
    font-size: 0.8rem;
    font-weight: 700;
    color: black;
}

/* Infinite animation */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pause on hover (optional) */
.infinite-slider:hover .slider-track {
    animation-play-state: paused;
}

/*========= End features product =========*/

/*========== Navbar Styles ==========*/
.navbar {
    background-color: var(--nav-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius-small);
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    /* ✅ makes it sticky */
    top: 0;
    /* ✅ stick to top */
    z-index: 9999;
    /* ✅ stay above all content */
    width: 100%;
    max-width: 1200px;
}

/* Left Menu */
.nav-left {
    display: flex;
    align-items: center;
    flex: 1;
}

ol,
ul {
    padding-left: 0;
}

.nav-left .nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    margin-bottom: 0;
}

.nav-left .nav-menu li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-left .nav-menu li a:hover {
    color: var(--bg-hover-color);
}

/*
.nav-left .nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--bg-hover-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
    border-radius: var(--border-radius-small);
}
*/

/* .nav-left .nav-menu li a:hover::after {
    width: 100%;
} */

.nav-left .nav-menu li a::after,
.nav-right .nav-menu li a::after {
    content: '';
    position: absolute;

    width: 0;
    height: 3px;

    background: transparent;
    /* <-- important */
    bottom: -6px;
    left: 0;

    opacity: 0;
    transition: width 0.3s ease, opacity 0.2s ease, background 0.2s ease;

    border-radius: var(--border-radius-small);
}

/* Show underline only on hover */
.nav-left .nav-menu li a:hover::after,
.nav-right .nav-menu li a:hover::after {
    width: 100%;
    opacity: 1;
    background: var(--bg-hover-color);
}



/*=== LIGHT LOGO AND BLACK LOGO ====*/

/* Logo Theme Switcher CSS */
.site-nav .logo {
    width: 195px;
    height: auto;
    transition: opacity 0.3s ease;
    margin-left: 22px;
}

/* Default: Show light logo, hide dark logo */
.site-nav .light-logo {
    display: block;
}

.site-nav .dark-logo {
    display: none;
}

/* Dark theme: Show dark logo, hide light logo */
[data-theme="dark"] .site-nav .light-logo {
    display: none;
}

[data-theme="dark"] .site-nav .dark-logo {
    display: block;
}

/* Optional: Smooth theme transition for the whole page */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/*=== END LIGHT LOGO AND BLACK LOGO ====*/

/* Right Menu */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.nav-right .nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    margin-bottom: 0;
}

.nav-right .nav-menu li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

/*
.nav-right .nav-menu li a i {
    font-size: 14px;
}
*/

.nav-right .nav-menu li a:hover {
    color: var(--bg-hover-color);
}

/*
.nav-right .nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--bg-hover-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
    border-radius: var(--border-radius-small);
}
*/

/*
.nav-right .nav-menu li a:hover::after {
    width: 100%;
}
*/

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
}

/* Button Donate Custom */
.btn-custom2 {
    background: var(--secondary-color);
    padding: 0px 2px;
    color: black;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
    font-size: 14px;
}

.btn-custom2:hover {
    background: var(--bg-hover-color);
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--hover-shadow);
}

/* ===== DROPDOWN MENU ===== */

.has-dropdown {
    position: relative;
}

/* Dropdown box */
.dropdown {
    position: absolute;
    top: 140%;
    left: 0;
    min-width: 200px;
    background: var(--nav-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-radius: var(--border-radius-small);
    padding: 10px 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;

    z-index: 999;
}

/* Show dropdown */
.has-dropdown:hover .dropdown,
.has-dropdown.active .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown links */
.dropdown a {
    display: block;
    text-align: center;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.dropdown a:hover {
    background: rgba(0, 0, 0, 0.05);
    padding-left: 24px;
    color: var(--bg-hover-color);
}

/* Chevron rotate */
.has-dropdown i {
    display: none;
    font-size: 11px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.has-dropdown.active i,
.has-dropdown:hover i {
    transform: rotate(180deg);
}


/*============ END OF NAV ==========*/

/* ====== BACK TO TOP BUTTON ====== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px !important;
    height: 50px !important;
    background: var(--bg-hover-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--primaryy), var(--primary));
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
}

/* Animation for arrow */
.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 25px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 20px;
        right: 25px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/*============ HOME ==========*/

.insp {
    font-family: "Momo Trust Display", serif;
    font-size: 3.2rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

/* Daily Features Section - Smaller */
.daily-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
    margin: 10px 0;
}

/* Verse of the Day with Video Background */
.verse-of-day {
    position: relative;
    color: white;
    padding: 25px;
    border-radius: var(--border-radius-small);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.verse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(29 40 50 / 70%);
    z-index: 1;
}

.verse-content {
    position: relative;
    z-index: 2;
}

.verse-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.verse-header h3 {
    font-family: "Momo Trust Display", serif;
    font-size: 1.2rem;
    color: white;
}

.verse-date {
    font-size: 0.95rem;
    opacity: 0.9;
}

.verse-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.verse-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.verse-btn {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.verse-btn:hover {
    background: rgba(230, 126, 34, 0.8);
    transform: translateY(-2px);
}

/* Daily Devotion - Smaller */
.daily-devotion {
    background: var(--footer-bg);
    /* padding: 20px; */
    border-radius: var(--border-radius-small);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.devotion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.devotion-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1abc9c, #16a085);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.devotion-header h3 {
    font-family: "Momo Trust Display", serif;
    font-size: 25px;
    color: var(--secondary-color);
    margin: 0;
    font-style: normal;
}

.devotion-title {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 300;
    font-style: normal;
}

.devotion-content {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
    font-style: normal;
}

.devotion-verse {
    background:
        color-mix(in srgb, var(--secondary-color) 7%, transparent);
    padding: 10px;
    border-radius: var(--border-radius-small);
    border-left: 5px solid var(--secondary-color);
    margin: 0px;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.devotion-prayer {
    background: var(--link-hover);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 5px solid #15846e;
}

.devotion-prayer h4 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 600;
}

.devotion-prayer p {
    font-size: 0.9rem;
    margin: 0;
    color: black;
}

/* Quick Access Cards - Smaller */
.quick-access {
    margin: 10px 0;
}

.quick-access h2,
.devotions-section h2 {
    text-align: center;
    font-family: "Momo Trust Display", serif;
    font-size: 25px;
    color: var(--bg-hover-color);
    margin-bottom: 10px;
}

.access-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.access-card {
    background: var(--footer-bg);
    padding: 25px;
    border-radius: var(--border-radius-small);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.access-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #1abc9c;
}

.access-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.access-card h3 {
    font-family: "Momo Trust Display", serif;
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.access-card p {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.card-btn {
    display: inline-block;
    padding: 8px 18px;
    background: #2c3e50;
    color: white;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.card-btn:hover {
    background: #1abc9c;
    transform: scale(1.03);
}



.featured-header {
    text-align: center;
    margin-bottom: 30px;
}

.featured-header h2 {
    font-family: "Momo Trust Display", serif;
    font-size: 25px;
    color: var(--bg-hover-color);
    margin-bottom: 8px;
}

/*    color: var(--text-color);
    max-width: 100%;
    margin: 0 auto;
    font-size: 1rem;
    text-align: center;
}
*/

/*========== DEVOTION AUDIO =========*/


/* Main Container - The Green Card */
.devotionaudio-card {
    display: flex;
    width: 100%;
    height: 100%;

}

/* LEFT SIDE: Player Controls */
.player-panel {
    background-color: #15846e;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1px 15px;
    border-radius: var(--border-radius-small);
    position: relative;
}

/* Buttons Row */
.controls-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    /* margin-top: 20px; */
}

.navv-btn {
    background: none;
    border: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.play-btn {
    background: none;
    border: none;
    font-size: 50px;
    color: white;
    cursor: pointer;
    transition: transform 0.1s;
}

.play-btn:active {
    transform: scale(0.95);
}

/* Progress Bar */
.progress-section {
    width: 96%;
}

.progress {
    background-color: #555;
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
}

.time-row {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 14px;
    /* font-weight: 600; */
    color: white;
}

/* RIGHT SIDE: Info Text */
.info-panel {
    /* padding: 30px 40px; */
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.titledevo {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin: 0;
    font-weight: 600;
    font-style: normal;
}

.subtitledevo {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-size: 14px;
    letter-spacing: 2px;
    margin: 10px 0 25px;
    font-weight: 500;
    text-transform: uppercase;
}

.quote-block {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #000;
}

.quote-block p {
    margin: 5px 0;
    font-style: normal;
    font-size: 15px;
}

.verseee {
    font-style: normal;
}

/* Responsive Tweaks for Mobile */
@media (max-width: 768px) {
    .devotionaudio-card {
        flex-direction: column;
        width: 90%;
        height: auto;
    }

    .player-panel,
    .info-panel {
        width: auto;
        margin: 15px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .devotionaudio-card {
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    .player-panel,
    .info-panel {
        width: auto;
        margin: 1px;
        padding: 1px;

    }

    .devotion-prayer {

        padding: 8px;

        margin-top: 10px;

    }

    .controls-row {
        gap: 30px;
        margin-top: 1px;
    }

    .subtitledevo {
        font-size: 12px;
        margin: 10px 0 6px;
    }
}

/*========= END DEVOTION AUDIO =========*/


.preview-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.preview-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.preview-btn {
    padding: 10px 24px;
    background: #2c3e50;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.preview-btn.primary {
    background: #e67e22;
}

.preview-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Testimonial Section - Smaller */
.testimonial-section {
    margin: 10px 0;
}

.testimonial-section h2 {
    text-align: center;
    font-family: "Momo Trust Display", serif;
    font-size: 25px;
    color: var(--bg-hover-color);
    margin-bottom: 10px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    Background: var(--footer-bg);
    padding: 25px;
    border-radius: var(--border-radius-small);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    position: relative;

}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 40px;
    color: #e67e22;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-content {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;

}

.author-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1abc9c, #16a085);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.author-info h4 {
    color: var(--secondary-color);
    margin: 0;
    font-size: 1rem;
}

.author-info p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.85rem;
    font-style: italic;

}

/* Newsletter Section - Smaller */
.newsletter-section {
    background: linear-gradient(135deg, #2c3e50, #1a2530);
    color: white;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    margin: 50px 0;
}

.newsletter-content {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: #e67e22;
}

.newsletter-content h2 {
    font-family: "Momo Trust Display", serif;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.newsletter-content p {
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
}

.newsletter-btn {
    padding: 12px 24px;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.newsletter-btn:hover {
    background: #d35400;
    transform: translateY(-2px);
}

/* Responsive Design - Adjusted for Medium/Small */
@media (max-width: 768px) {
    .verse-reference {
        font-size: 38px !important;
        padding-bottom: 25px;
    }

    .verse-text {
        font-style: normal;
        color: white;
        margin-bottom: 15px;
        line-height: 1.5 !important;
        font-size: 24px !important;
        position: relative;
        z-index: 2;
    }

    .daily-features {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .access-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }

    .access-card {
        background: var(--footer-bg);
        padding: 5px;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .quick-access h2 {
        text-align: center;
        font-family: "Momo Trust Display", serif;
        font-size: 1.5rem;
        color: var(--secondary-color);
        margin-bottom: 20px;
    }

    .featured-header h2,
    .quick-access h2,
    .testimonial-section h2 {
        font-size: 20px;
    }

    .testimonial-grid {
        gap: 10px;
    }


    .preview-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .preview-actions {
        /* flex-direction: column; */
        align-items: center;
    }

    .verse-actions {
        justify-content: center;
    }

    .verse-of-day {
        min-height: fit-content;
    }

    .devotion-header h3 {
        font-size: 1.2rem;
        font-style: normal;
    }


}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .featured-header h2,
    .quick-access h2,
    .testimonial-section h2 {
        font-size: 20px;
        color: var(--bg-hover-color);
        margin-bottom: 14px;
    }

    .devotion-icon {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #1abc9c, #16a085);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: white;
    }



    .verse-reference {
        font-size: 30px !important;
        padding-bottom: 20px;
    }

    .verse-text {
        font-style: normal;
        color: white;
        margin-bottom: 15px;
        line-height: 1.5 !important;
        font-size: 20px !important;
        position: relative;
        z-index: 2;
    }

    .access-cards {
        grid-template-columns: 1fr 1fr;
    }

    .access-card {
        background: var(--footer-bg);
        padding: 10px;
        border-radius: var(--border-radius-small);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
        text-align: center;
        transition: all 0.3s ease;
        border: 1px solid transparent;
    }

    .daily-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .verse-date {
        align-self: flex-end;
        font-size: 0.8rem;

    }

}

.verse-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.verse-date {
    align-self: flex-end;

}


/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

.daily-features>div,
.access-card,
.testimonial-card {
    animation: fadeIn 0.5s ease-out forwards;
}

.daily-features>div:nth-child(1) {
    animation-delay: 0.1s;
}

.daily-features>div:nth-child(2) {
    animation-delay: 0.2s;
}

.access-card:nth-child(1) {
    animation-delay: 0.1s;
}

.access-card:nth-child(2) {
    animation-delay: 0.2s;
}

.access-card:nth-child(3) {
    animation-delay: 0.3s;
}

.access-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Video Loading State - Simplified */
.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.video-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #e67e22;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Video Fallback Background */
.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    z-index: 0;
    display: none;
}

/*======== END OF HOME =======*/

/*========= BIBLE TEACHINGS =========*/
/* Bible Teachings - Single Topic View */
.bible-teachings-container {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

/* Topic Navigation Enhanced */
.topic-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(var(--bg-hover-color-rgb, 30, 58, 138), 0.1);
    justify-content: center;
}

.topic-btn {
    padding: 4px 8px;
    background: #f2ede1;
    color: black;
    border: 0.1px solid;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.topic-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1%;
    background: var(--secondary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.topic-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.2);
    border-color: var(--bg-hover-color, #1e3a8a);
    color: white;
}

.topic-btn:hover::before {
    opacity: 1;
}

.topic-btn.active {
    background: linear-gradient(135deg, var(--bg-hover-color, #1e3a8a) 0%, var(--secondary-color, #3b82f6) 100%);
    color: white;
    border-color: var(--bg-hover-color, #1e3a8a);
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.25);
    transform: translateY(-4px);
}

/* Teaching Content Area */
.teaching-content-area {
    position: relative;
    min-height: 500px;
}

.bible-teaching {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    background: none;
    box-shadow: none;
    border: none;
}

.bible-teaching.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Teaching Card Styling */
.teaching-card {
    background: var (--footer-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.teaching-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color, #3b82f6), var(--bg-hover-color, #1e3a8a));
}

.teaching-header {
    margin-bottom: 30px;
    position: relative;
}

.teaching-title {
    font-family: "Momo Trust Display", serif;
    font-size: 32px;
    color: var(--bg-hover-color, #1e3a8a);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.teaching-icon {
    font-size: 36px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color, #3b82f6) 0%, var(--bg-hover-color, #1e3a8a) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.4);
}

.teaching-subtitle {
    font-style: italic;
    color: var(--text-color, #4b5563);
    font-size: 20px;
    padding-left: 90px;
    position: relative;
    line-height: 1.6;
}

.teaching-subtitle::before {
    content: '❝';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 48px;
    color: var(--secondary-color, #3b82f6);
    opacity: 0.3;
}

.teaching-body {
    padding-left: 90px;
}

.teaching-body h4 {
    font-family: "Momo Trust Display", serif;
    font-size: 24px;
    color: var(--bg-hover-color, #1e3a8a);
    margin: 30px 0 20px;
    position: relative;
    padding-left: 20px;
}

.teaching-body h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 28px;
    background: var(--secondary-color, #3b82f6);
    border-radius: 3px;
}

.teaching-body p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-color, #4b5563);
    font-size: 17px;
    text-align: justify;
}

.verse-container {
    background:
        color-mix(in srgb, var(--secondary-color) 7%, transparent);
    padding: 10px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 6px solid var(--secondary-color, #3b82f6);
    position: relative;
    overflow: hidden;
}

.verse-container::before {
    content: '❞';
    position: absolute;
    bottom: 15px;
    right: 25px;
    font-size: 80px;
    color: rgba(59, 130, 246, 0.1);
    line-height: 1;
}

.verse-text {
    font-style: normal;
    font-weight: 400;
    color: white;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 20px;
    position: relative;
    z-index: 2;
}

.verse-reference {
    font-family: "Playfair Display SC", serif;
    font-weight: 900;
    font-size: 50px;
    text-align: left;
    color: var(--secondary-color);
    position: relative;
    z-index: 2;
}

.key-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.key-point-card {
    background: var (--footer-bg);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.key-point-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color, #3b82f6), var(--bg-hover-color, #1e3a8a));
}

.key-point-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.15);
    border-color: var(--secondary-color, #3b82f6);
}

.key-point-card strong {
    color: var(--bg-hover-color, #1e3a8a);
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
    font-family: "Momo Trust Display", serif;
}

.teaching-body ul {
    padding-left: 30px;
    margin-bottom: 25px;
}

.teaching-body li {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-color, #4b5563);
    position: relative;
    padding-left: 15px;
}

.teaching-body li::before {
    content: '✦';
    color: var(--secondary-color, #3b82f6);
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: -20px;
}

.teaching-note {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(59, 130, 246, 0.08) 100%);
    padding: 25px;
    border-radius: 15px;
    margin-top: 35px;
    border-left: 5px solid var(--bg-hover-color, #1e3a8a);
    position: relative;
}

.teaching-note::before {
    content: '💡';
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 28px;
    opacity: 0.3;
}

.teaching-note strong {
    color: var(--bg-hover-color, #1e3a8a);
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

/* Navigation Control Bar */
.teaching-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.nav-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--footer-bg, #f8fafc) 0%, #ffffff 100%);
    color: var(--bg-hover-color, #1e3a8a);
    border: 2px solid rgba(var(--bg-hover-color-rgb, 30, 58, 138), 0.15);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-btn:hover {
    background: linear-gradient(135deg, var(--bg-hover-color, #1e3a8a) 0%, var(--secondary-color, #3b82f6) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
    border-color: transparent;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.teaching-progress {
    text-align: center;
    color: var(--text-color, #4b5563);
    font-weight: 500;
}

.teaching-progress .current {
    color: var(--bg-hover-color, #1e3a8a);
    font-weight: 700;
    font-size: 20px;
}

.teaching-progress .total {
    color: var(--text-color, #4b5563);
    font-size: 16px;
}

/* Welcome Message (Initial State) */
.welcome-message {
    text-align: center;
    padding: 60px 40px;
    background:
        color-mix(in srgb, var(--secondary-color) 7%, transparent);
    border-radius: 20px;
    border: 2px dashed rgba(59, 130, 246, 0.3);
    margin: 18px 0;
}

.welcome-message .welcome-icon {
    font-size: 64px;
    color: var(--secondary-color, #3b82f6);
    /* margin-bottom: 20px; */
}

.welcome-message h3 {
    font-family: "Momo Trust Display", serif;
    font-size: 32px;
    color: var(--bg-hover-color, #1e3a8a);
    margin-bottom: 15px;
}

.welcome-message p {
    font-size: 18px;
    color: var(--text-color, #4b5563);
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.7;
}

.welcome-message .instruction {
    font-style: italic;
    margin-top: 20px;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .teaching-title {
        font-size: 28px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .teaching-icon {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .teaching-subtitle,
    .teaching-body {
        padding-left: 0;
    }

    .teaching-subtitle::before {
        display: none;
    }

    .key-points-grid {
        grid-template-columns: 1fr;
    }

    .topic-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .teaching-controls {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
    }

    .teaching-card {
        padding: 25px;
    }

    .teaching-title {
        font-size: 24px;
    }

    .teaching-subtitle {
        font-size: 18px;
    }

    .verse-text {
        font-size: 17px !important;
        font-weight: 500 !important;
    }

    .topic-nav {
        gap: 8px;
    }

    .topic-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .topic-nav {
        justify-content: center;
    }

    .topic-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .teaching-card {
        padding: 20px;
    }

    .teaching-title {
        font-size: 22px;
    }

    .verse-text {
        font-size: 16px;
    }


    .welcome-message {
        padding: 10px 5px;
    }

    .verse-container {
        background:
            color-mix(in srgb, var(--secondary-color) 7%, transparent);
        padding-bottom: 1px;
        border-radius: 15px;
        margin: 30px 0;
        border-left: 6px solid var(--secondary-color, #3b82f6);
        position: relative;
        overflow: hidden;
    }
}

/* Animation for teaching transitions */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

.slide-in-right {
    animation: slideInRight 0.5s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out forwards;
}

/* Loading state */
.teaching-loading {
    display: none;
    text-align: center;
    padding: 60px;
    color: var(--text-color, #4b5563);
}

.teaching-loading.active {
    display: block;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(59, 130, 246, 0.1);
    border-top: 4px solid var(--secondary-color, #3b82f6);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Print styles */
@media print {

    .topic-nav,
    .teaching-controls,
    .nav-btn,
    aside.card {
        display: none !important;
    }

    .bible-teaching.active {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .teaching-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/*===== END BIBLE TEACHINGS =====*/

/*===== COMMUNIYT =====*/


/*===== END OF COMMUNIYT =====*/

/*===== RETURN BACK SHOP =====*/

.backs a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
}

.backs i {
    font-size: 15px;
    gap: 1rem;
    font-weight: 500;
}

/*=== Before the shop ===*/
.myshopp img {
    width: 1rem;
}

/*=== Before the shop ===*/

/*======== READ =======*/
.read {
    padding-top: 20px;
}

.devotions-section {
    border-radius: var(--border-radius-small);
    background: var(--footer-bg);
}

.back {
    padding-bottom: 6px;
}

.back a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.back i {
    font-size: 15px;
    gap: 1rem;
    font-weight: 500;
}

.devotions-section {
    max-width: 1175px;
    margin: 20px auto;
    padding: 30px;
}

/*
.devotions-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 30px;
}
*/

.devotions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
}

.devotion-card {
    background: var(--footer-bg);
    padding-bottom: 20px;
    transition: transform 0.3s ease;
    border-radius: var(--border-radius-small);
}

.devotion-card a {
    text-decoration: none;
}

.image-container {
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-top: 0px solid var(--footer-bg);
    border-radius: var(--border-radius-small);
}

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

.category {
    color: #17c5c5;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 15px 20px 5px;
    text-transform: uppercase;
}

.devotion-card h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 5px 20px;
    color: var(--text-color);
}

.description {
    color: var(--text-color);
    font-size: 1rem;
    margin: 10px 20px;
    line-height: 1.5;
}

.date {
    color: #888;
    font-size: 0.9rem;
    margin: 10px 20px 0;
}

/******======*******/
.captionn {
    text-align: center;
}

.accordion {
    position: sticky;
    top: 114px;
    /* distance from top when scrolling */
    align-self: start;
    height: fit-content;
    margin-bottom: 12px;
}

.accordion-header {
    padding-left: 8px;
    background: var(--bg-color);
}

.article-feature h4,
.wrap h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25rem;
    text-transform: uppercase;
    color: var(--bg-hover-color);
}

.article-feature h1 {
    font-family: "Playfair Display", serif;
    font-size: 2.0rem;
    font-weight: 700;
    line-height: 2.25rem;
    text-align: center;
}

.article-feature h5 {
    font-size: 17px;
    font-weight: 300;
    text-align: center;
}

.caption-name {
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    background: var(--caption);
    padding: 2px;
}

.caption-date {
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--border-radius-small);
    background: var(--caption);
    padding: 2px;
}

.article-line {
    max-width: 100%;
    color: var(--bg-color);
}

.article-line2 {
    max-width: 100%;
    color: var(--bg-color);
}

.devotion-card {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.devotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

/*----------ARTICLES-----------*/
.artic {
    width: 776px;
    padding-right: 1px;
}

article .img1,
.img2 {
    max-width: 100%;
    width: 100%;
}

.accordion-button {
    box-shadow: none;
}

.cap {
    font-size: 30px;
}

.related {
    background: var(--bg-hover-color);

    height: 10px;
}

/*======= RELATED SCRIPTURE =====*/
.accordion {
    width: 400px;
    padding-left: 1px;
}


.accordion-button {
    padding: 10px;
    padding-left: 0;
    font-size: 15px;
    color: var(--text-color);
    text-align: left;
    background-color: var(--bg-color);
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
    border-top: 1px solid var(--gray-color);
}


/*----- ACCORDION SCROLLING-----*/
.accordion-body {
    max-height: 200px;
    /* adjust height */
    overflow-y: auto;
    /* enable vertical scrolling */
    background: var(--bg-color);
    color: var(--text-color);
}

.accordion-body::-webkit-scrollbar {
    width: 6px;
}

.accordion-body::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 3px;
}

.accordion-body::-webkit-scrollbar-thumb:hover {
    background: var(--bg-hover-color);
}

.accordion-button:not(.collapsed) {
    background-color: var(--footer-bg);
    color: var(--text-color);
}

/*======== END OF READ =======*/

/*======== Product Preview =======*/
.product-slider {
    background: var(--footer-bg);
    padding: 20px 0;
}

.slider-inner {
    margin: 0 auto;
    padding: 0 20px;
}

.slider-header {
    justify-content: space-between;
    margin-bottom: 18px;
    text-align: center;
}

.slider-header a {
    text-decoration: none;
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.slider-header h2 {
    font-size: 25px;
    font-family: "Momo Trust Display", serif;
    color: var(--bg-hover-color);
}

/*
.view-all {
    text-decoration: none;
    font-weight: 600;
}
*/

.slider-container {
    position: relative;
    overflow: hidden;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.product-card {
    min-width: 220px;
    background: white;
    border-radius: 14px;
    padding: 14px;
    text-decoration: none;
    color: #111;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-card img {
    width: 100%;
}

.product-card p {
    font-size: 14px;
    margin: 10px 0;
}

.product-card span {
    font-weight: bold;
    font-size: 17px;
    color: black;
}

.slide-btn {
    position: absolute;
    top: 42%;
    background: var(--secondary-color);
    border: none;
    font-size: 26px;
    padding: 10px 14px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.slide-btn.prev {
    left: 10px;
}

.slide-btn.next {
    right: 10px;
}


/*===== END OF Product Preview ====*/

/*========= DONATE =========*/
/*** donate button ***/
.donate-btn {
    background: #B3EBF2;
    color: black;
    border: none;
    padding: 10px 14px;
    border-radius: var(--border-radius-small);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.25s ease;
}

.linedonate {
    margin: 5px;
    color: var(--bg);
}

.donate-btn:hover {
    background: #9ddae2;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--hover-shadow);
}



/*** donate button ***/

.featureddonate {
    margin-top: 30px;
    max-width: 1176px;
    margin: 0 auto;
}

.unsubcribe {
    font-size: 13px;
    font-style: italic;
    color: var(--text-color);
}

.abo h1 {
    margin: 0;
    font-size: 28px;
    color: var(--bg-hover-color);
    text-align: center;
    font-family: "Momo Trust Display", sans-serif;
    font-weight: 400;
    font-style: normal;
    padding-bottom: 10px;
    padding-top: 10px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.hero h6 {
    color: var(--bg-hover-color);
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
}

.card {
    color: var(--text-color);
}

.ourbelief {
    margin-top: 10px;
    margin-bottom: 10px;
}

@media(min-width:820px) {
    .hero {
        grid-template-columns: 1fr 360px
    }
}

.card {
    background: var(--footer-bg);
    padding: 15px;
    border-radius: var(--border-radius-small);
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
    /* margin-bottom: 10px; */
}

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
}

.card h2 {
    margin-top: 0;
    text-align: center;
    font-family: "Momo Trust Display", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--bg-hover-color);
    font-size: 18px;
}

.card p {
    margin: 6px 0;
    color: var(--text-color);

}

@media (min-width:640px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature {
    display: flex;
    /* gap: 12px; */
    align-items: flex-start
}

.feature .icon {
    font-size: 26px
}

.feature h3 {
    margin: 0;
    font-size: 16px;
}

.quote {
    font-style: italic;
    color: var(--text-color);
    margin-top: 14px
}

.subscribe input[type="email"] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    margin-bottom: 8px;
    color: var(--text-color);
}

.btnabout {
    display: inline-block;
    padding: 10px 14px;
    border-radius: var(--border-radius-small);
    background: var(--secondary-color);
    color: var(--text-color1);
    text-decoration: none;
    font-weight: 500;
    border: none;
    outline: none;
    transition: all 0.25s ease;
}

.btnabout:hover {
    background: var(--bg-hover-color);
    color: var(--text-color);
    transform: translateY(-2px);

}

.btnabout:focus,
.btnabout:active {
    outline: none;
    box-shadow: none;
    box-shadow: 0 6px 20px var(--hover-shadow);
}

.testimony {
    background: color-mix(in srgb, var(--secondary-color) 7%, transparent);
    padding: 16px;
    border-radius: var(--border-radius-small);
    border-left: 4px solid var(--secondary-color);

}

.card h3 {
    margin: 0 0 10px;
    font-family: "Momo Trust Display", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
}


/*========= ASIDE =========*/
/* === Fixed Aside Scroll Control === */
.hero {
    position: relative;
    align-items: flex-start;
}

aside.card {
    position: sticky;
    top: 101px;
    /* distance from top when scrolling */
    align-self: start;
    height: fit-content;
    margin-bottom: 10px;
    padding: 22px;
}


@media (max-width: 820px) {
    aside.card {
        position: static;
        margin-top: -20px;
        width: 368px;
    }

}

/*========= END OF DONATE =========*/

/*======== BIBLE KIDS ======*/
.feature3 {
    /* background: var(--kids-bg); */
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    font-family: 'Sour Gummy', sans-serif;
    font-optical-sizing: auto;
}

.feature3 {
    max-width: 1175px;
}


.btn-kids {
    background: var(--secondary-color);
    color: var(--text-color1);
    border-radius: var(--border-radius-small);
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
    font-weight: 600;
    padding: 6px 8px;
}

.btn-kids:hover {
    background: var(--bg-hover-color);
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--hover-shadow);
}

.page-wrapper {
    max-width: 100%;
    margin-top: 10px;
}

/* Login Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

/*.login-box {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 20px 40px var(--shadow-color);
  width: 100%;
  max-width: 400px;
  text-align: center;
  margin-top: 120px;
}
*/
.login-box {
    position: relative;
    overflow: hidden;
    /* keeps rounded corners clean */
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0px 0px 30px 1px #9f9696;
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin-top: 120px;
    background: var(--card-bg);
    /* keeps fallback color */
}

/* background image with opacity */
.login-box::before {
    content: "";
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0 */
    background-image: url("backg/1.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.95;
    /* adjust opacity here (0 — 1) */
    z-index: 0;
    /* sits under content but above page bg */
    pointer-events: none;
    /* makes it non-interactive */
}

/* ensure the inner content sits above the pseudo-element */
.login-box>* {
    position: relative;
    z-index: 1;
}

.login-title {
    color: var(--dark-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;

}

.login-subtitle {
    color: var(--dark-color);
    /* margin-bottom: 2rem; */
    font-size: 19px;
}

.login-input {
    width: 250px;
    padding: 5px;
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.login-input:focus {
    border-color: var(--primary);
    outline: none;
    transform: scale(1.02);
}

.login-btn {
    width: 200px;
    padding: 10px;
    background: var(--success);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.login-avatar {
    font-size: 4rem;
}

/* Main App Styles */
.titre {
    background: linear-gradient(135deg, var(--primary), #6a98d6);
    color: white;
    padding: 1.5rem;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    /* margin-left: 410px; */

}

.subtitle {
    font-size: 1rem;
    opacity: 0.9;
    /* margin-left: 410px; */
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark);
}

.user-details {
    text-align: right;
}

.user-name {
    font-weight: bold;
    font-size: 1.1rem;
}

.user-points {
    font-size: 0.9rem;
    opacity: 0.9;
}

.logout-btn {
    background-color: white;
    color: var(--primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background-color: var(--accent);
    color: white;
}

/* Navigation */
.navv {
    background-color: var(--secondary);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.nav-btn {
    background: transparent;
    border: 2px solid transparent;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-btn.active {
    background: white;
    /* border-color: var(--primary); */
}

/* ====== WEEKLY NAVIGATION STYLES ====== */
.weekly-nav-container {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary);
}

.monthly-counter {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--secondary), #ffd700);
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.counter-icon {
    font-size: 2rem;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.counter-info {
    flex: 1;
}

.counter-title {
    font-weight: bold;
    color: var(--dark);
    font-size: 1.1rem;
}

.counter-details {
    color: var(--dark);
    opacity: 0.9;
    font-size: 0.9rem;
}

#games-played {
    font-weight: bold;
    color: var(--primaryy);
}

#games-limit {
    font-weight: bold;
    color: var(--primaryy);
}

.counter-progress {
    display: flex;
    align-items: center;
}

.progress-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(var(--success) 0%, #e0e0e0 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-circle::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
}

.progress-text {
    position: relative;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--dark);
}

.weekly-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.week-btn {
    flex: 1;
    min-width: 150px;
    background: var(--secondaryy);
    border: 2px solid transparent;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
    text-align: center;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Week indicator in match game */
#current-week-match {
    font-weight: bold;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.2);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

/* Update the character card styles for different weeks */
.character-card-week1 .character-icon {
    color: #FF6B6B;
}

.character-card-week2 .character-icon {
    color: #4ECDC4;
}

.character-card-week3 .character-icon {
    color: #FFD166;
}

.character-card-week4 .character-icon {
    color: #06D6A0;
}

/* -====week-btn styles===== */
.week-btn[data-week="1"] {
    background: #FF6B6B !important;
    color: white;
}

.week-btn[data-week="2"] {
    background: #4ECDC4 !important;
    color: white;
}

.week-btn[data-week="3"] {
    background: #FFD166 !important;
    color: #333;
}

.week-btn[data-week="4"] {
    background: #06D6A0 !important;
    color: white;
}

/* Active state styles */
.week-btn.active[data-week="1"] {
    background: #FF5252 !important;
}

/* ... and so on for other weeks */

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

.current-week-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--light);
    padding: 0.8rem;
    border-radius: 8px;
    border: 2px dashed var(--primary);
    background: var(--footer-bg);
}

.week-badge {
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.week-theme {
    flex: 1;
    margin: 0 1rem;
    font-weight: 600;
    color: var(--primaryy);
    text-align: center;
}

.week-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--success);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.status-icon {
    font-size: 1rem;
}



/* Disabled state */
.week-btn.disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
}

.week-status.disabled {
    background: #ff6b6b;
}

/* Main Content */
.main-container {
    display: flex;
    gap: 2rem;
}

.content1 {
    flex: 1;
}

.section {
    display: none;
}

.section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Current Lesson */
.current-lesson {
    background: linear-gradient(135deg, var(--secondary), #ffd700);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.current-lesson h2 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.lesson-theme {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

/* Cards */
.book-of-week,
.story-of-week,
.activity-card,
.quiz-container {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.activity-card h3 {
    font-size: 21px;
    text-align: center;
}

.book-icon,
.story-icon,
.activity-icon {
    font-size: 3rem;
    margin-bottom: 6px;
    text-align: center;
}

.book-title {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.book-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-item {
    background: var(--secondaryy);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.info-label {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.info-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primaryy);
}

.story-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.story-title {
    color: var(--primary);
    font-size: 1.8rem;
}

.verse-box {
    background-color: var(--vers);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 2px dashed var(--secondary);
    text-align: center;
    font-style: italic;
    font-size: 1.1rem;
}

.bible-term {
    background-color: var(--secondary);
    color: var(--dark);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.bible-term:hover {
    background-color: var(--primary);
    color: white;
    transform: scale(1.05);
}

.lesson-box {
    background-color: var(--less);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    border-left: 4px solid var(--accent);
}

.complete-btn {
    background-color: var(--success);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: block;
}

.complete-btn:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.complete-btn.completed {
    background-color: #6c757d;
    cursor: default;
}

/* Study Activities */
.study-activities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.bstudy h2,
.qqiz h2,
.progre h2 {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    color: white;
}

.bstudy,
.qqiz,
.progre {
    padding: 10px 0px 5px;
    border-radius: 10px;
    background: var(--primary);
    margin-top: -16px;
}

.memory-verse-box {
    background: color-mix(in srgb, var(--secondary-color) 50%, transparent);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    margin: 1rem 0;
}

.memory-verse {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.memory-reference {
    font-style: italic;
    color: var(--text-color);
    opacity: 1.8;
}

/* Match Game */
.match-game {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.match-card {
    background: linear-gradient(135deg, var(--primary), #6a98d6);
    color: white;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-card:hover {
    transform: translateY(-3px);
}

.match-card.selected {
    background: linear-gradient(135deg, var(--secondary), #ffd700);
    color: var(--dark);
}

.match-card.matched {
    background: linear-gradient(135deg, var(--success), #20c997);
    cursor: default;
}

/* Improved Match Game Styles */
.match-game {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
}

.match-card {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary), #6a98d6);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.match-card-front,
.match-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.match-card-front {
    background: linear-gradient(135deg, #4ECDC4, #81E9E0);
    color: white;
    font-size: 2rem;
}

.match-card-back {
    background: white;
    color: var(--dark);
    transform: rotateY(180deg);
    text-align: center;
}

.match-card.flipped {
    transform: rotateY(180deg);
}

.match-card.matched {
    transform: rotateY(180deg);
    cursor: default;
    background: linear-gradient(135deg, var(--success), #20c997);
    border: 3px solid gold;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.match-card.matched .match-card-back {
    background: #58ACF5;
    ;
    color: white;
}

.character-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.character-name {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primaryy);
}

.character-action {
    font-size: 0.8rem;
    line-height: 1.2;
}

/* Game Complete Screen */
.match-game-complete {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--success), #20c997);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: white;
    animation: bounceIn 0.8s ease;
}

.celebration-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.match-game-complete h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.match-game-complete p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.attempts {
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

/* Score Board Improvements */
.score-board {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--secondaryy);
    padding: 0.8rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.score-board .score {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primaryy);
}

.btn-customm {
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: block;
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 9px;
}

.completee-btn {
    background-color: var(--success);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: block;
    width: 100%;
}

.completee-btn.completed {
    background-color: #6c757d;
    cursor: default;
}

/* Animations */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    70% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .match-game {
        grid-template-columns: repeat(2, 1fr);
    }

    .btn-customm {
        border-radius: 10px;
        font-size: 15px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 1rem;
        display: block;
        width: 100%;
        background: var(--accent);
        color: white;
        border: none;
        padding: 9px;
    }

    .btn-customm:hover {
        background-color: #6c757d;
        color: white;
    }

    .don {
        font-weight: 500;

    }

}

@media (max-width: 480px) {
    .match-game {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.3rem;
    }

    .match-card-front,
    .match-card-back {
        padding: 0.3rem;
    }

    .btn-customm {
        border-radius: 10px;
        font-size: 15px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 1rem;
        display: block;
        width: 100%;
        background: var(--accent);
        color: white;
        border: none;
        padding: 7px;
    }

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


    .character-icon {
        font-size: 2rem;
    }

    .character-name {
        font-size: 1rem;
    }

    .character-action {
        font-size: 1rem;
    }
}

.match-game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.difficulty-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.diff-btn {
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    border: 1px solid var(--primary);
    background: white;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.diff-btn.active {
    background: var(--primary);
    color: white;
}

.match-timer {
    font-weight: bold;
    color: var(--primaryy);
    font-size: 0.9rem;
}

.time-up {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E) !important;
}

.time-up-icon {
    font-size: 3rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Match Game Header */
.match-game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    padding: 0.8rem;
    background: var(--secondaryy);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.difficulty-selector {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.difficulty-label {
    font-weight: 600;
    color: var(--primaryy);
    white-space: nowrap;
}

.diff-buttons {
    display: flex;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem;
    border-radius: 20px;
}

.diff-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    border: none;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.diff-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.diff-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.match-stats {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

.match-stats .stat {
    font-size: 0.85rem;
    color: var(--primaryy);
    font-weight: 500;
}

.match-stats .stat span {
    font-weight: bold;
    color: var(--dark);
}

/* Timer in score board */
.score-board {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--secondaryy);
    padding: 0.8rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.score-board .score {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primaryy);
}

.score-board .timer {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: var(--primaryy);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .match-game-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }

    .difficulty-selector {
        justify-content: center;
    }

    .match-stats {
        justify-content: center;
    }

    .diff-buttons {
        justify-content: center;
    }
}

.time-up {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E) !important;
}

.time-up-icon {
    font-size: 3rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}



/* Prayer Journal */
.prayer-journal {
    /* background: var(--light); */
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.prayer-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 1rem;
    min-height: 120px;
    resize: vertical;
    background: var(--footer-bg);
    color: var(--text-color);
}

/* Quiz */
.btn-custom {
    background: var(--accent);
    color: white;
}

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

.quiz-question {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: color-mix(in srgb, var(--secondary-color) 40%, transparent);
    border-radius: 10px;
}

.quiz-options {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.quiz-option {
    background: var(--card-bg);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-option:hover {
    background: var(--primary);
    color: white;
}

.quiz-option.selected {
    background: var(--primary);
    color: white;
}

.quiz-option.correct {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.quiz-option.incorrect {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.quiz-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-secondary {
    background: var(--secondary);
    color: black;
}

/* Progress Section */
.progress-section {
    /* margin: 1rem 0; */
}

.progress-bar {
    background: #e0e0e0;
    border-radius: 10px;
    height: 20px;
    margin: 0;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, var(--secondary), #ffd700);
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-card {
    background: var(--secondaryy);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primaryy);
}

.stat-label {
    color: var(--text-color);
    font-weight: bold;
}

/* Dictionary Sidebar */
.dictionary-sidebar {
    width: 300px;
    background-color: var(--card-bg);
    border-left: 3px solid var(--secondary);
    position: sticky;
    top: 20px;
    height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.dictionary-header {
    background-color: var(--primary);
    color: white;
    padding: 12px;
    text-align: center;
    flex-shrink: 0;
}

.dictionary-search {
    padding: 1rem;
    border-bottom: 2px solid var(--light);
    flex-shrink: 0;
}

.dictionary-search input {
    width: 100%;
    padding: 5px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--text-color);
}

.dictionary-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 1rem 1rem;
}

.dictionary-term {
    background-color: var(--term);
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
}

.dictionary-term.highlighted {
    background-color: rgba(255, 234, 167, 0.3);
    transform: scale(1.02);
}

.dictionary-term h3 {
    color: var(--primaryy);
    margin-bottom: 0.5rem;
    font-size: 19px;
}

/* Achievements */
.achievements-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.achievement-card {
    background: var(--secondaryy);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.achievement-card[data-achieved="true"] {
    background: linear-gradient(135deg, var(--success), #20c997);
    color: white;
}

.achievement-icon {
    font-size: 2rem;
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
    }

    .dictionary-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .titre {
        /*flex-direction: column;*/
        /* gap: 1rem; */
        text-align: center;
        margin-bottom: 15px;
    }

    .user-info {
        justify-content: center;
    }

    .navv {
        flex-direction: row;
        align-items: center;
    }

    .study-activities {
        grid-template-columns: 1fr;
    }

    .match-game {
        grid-template-columns: 1fr 1fr 1fr 1fr;

    }

    .book-info {
        grid-template-columns: 1fr fr;
    }

    .progress-stats {
        grid-template-columns: 1fr 1fr;
    }

    .quiz-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .monthly-counter {
        flex-direction: column;
        text-align: center;
    }

    .weekly-nav {
        /*flex-direction: column;*/
    }

    .current-week-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

}

/*======== END BIBLE KIDS =====*/

/*============ FOOTER ==========*/
footer {
    font-family: 'Poppins', sans-serif;
    padding: 30px 20px 0.5px;
    background: var(--footer-bg);
    color: var(--footer-text);
    position: relative;
    z-index: 10;
    max-width: 1175px;
    margin: auto;
    border-radius: var(--border-radius-small);
}

/*========LINE FOOTER======*/
.linefooter {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 15px;

}

.footer-container {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;

}


/*=== LIGHT LOGO AND BLACK LOGO ====*/
.site-footer img {
    width: 160px;
    margin-bottom: 15px;
}

/* Logo Theme Switcher CSS */
.site-footer .logo {
    max-width: 150px;
    height: auto;
    transition: opacity 0.3s ease;
}

/* Default: Show light logo, hide dark logo */
.site-footer .light-logo {
    display: block;
}

.site-footer .dark-logo {
    display: none;
}

/* Dark theme: Show dark logo, hide light logo */
[data-theme="dark"] .site-footer .light-logo {
    display: none;
}

[data-theme="dark"] .site-footer .dark-logo {
    display: block;
}

/* Optional: Smooth theme transition for the whole page */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/*=== LIGHT LOGO AND BLACK LOGO ====*/

.footer-logo p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 340px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 5px;

}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-hover-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    font-size: 13px;
}

.footer-column a {
    display: block;
    text-decoration: none;
    font-size: 0.93rem;
    margin-bottom: 6px;
    transition: color 0.2s ease;
    color: var(--footer-text);
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
}

.footer-column a:hover {
    color: #b45309;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

/* Lines 
.line,
.linefooter {
  border-color: var(--border-color);
}
*/

.followus a {
    text-decoration: none;
}

.followus i {
    color: var(--bg-hover-color);
    font-size: 31px;
}

/*==THEME TOGGLE & LANGUAGE SELECTOR==*/
.theme-language-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    padding: 0 20px;
    flex-wrap: wrap;
}

.theme-toggle,
.language-selector {
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 5px 5px;
    background: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    border-radius: var(--border-radius-small);
    font-family: 'Poppins', sans-serif;
    font-size: var(--btn-font-size);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.theme-btn:hover {
    background: var(--bg-hover-color);
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--hover-shadow);
}

.lang-select {
    padding: 5px 5px;
    background: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-family: 'Poppins', sans-serif;
    font-size: var(--btn-font-size);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 3rem;
}

[data-theme="dark"] .lang-select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23fff' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
}

.lang-select:focus {
    outline: none;
    border-color: var(--link-hover);
}

/*==END THEME TOGGLE & LANGUAGE SELECTOR==*/
/*====== END OF FOOTER =====*/

/*============ GWP ==========*/
.gwp-section {
    border-radius: var(--border-radius-small);
    background: var(--footer-bg);
    padding: 2px 20px 1px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.gwp-hero h1 {
    font-size: 20px;
    text-align: center;
}

/* Typing Animation CSS */
.wrapper {
    display: flex;
    align-items: center;
    overflow: hidden;

    /* responsive height */
    min-height: 3.5em;
}

/* Static text */
.static-txt {
    font-size: clamp(1.5rem, 4vw, 1.5rem);
    font-weight: 700;
    color: var(--text-color);
    margin-right: 0.6rem;
}

/* Animated list container */
.dynamic-txts {
    margin: 0;
    padding: 0;
    list-style: none;
    height: 1.4em;
    line-height: 1.4em;
    overflow: hidden;
    font-size: 60px;
}

/* Each animated word */
.dynamic-txts li {
    position: relative;
    top: 0;
    /* font-size: clamp(1.6rem, 4vw, 2.5rem); */
    font-weight: 700;
    color: #2563eb;
    line-height: 1.4em;
    animation: slide 12s steps(4) infinite;
}

/* Typing wrapper */
.dynamic-txts li span {
    position: relative;
    display: inline-block;
    font-family: "Momo Trust Display", serif;
}

/* Typing overlay */
.dynamic-txts li span::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--footer-bg);
    border-left: 2px solid #2563eb;
    animation: typing 3s steps(15) infinite;
}

@keyframes typing {

    40%,
    60% {
        left: calc(100% + 0.6rem);
    }

    100% {
        left: 0;
    }
}

/* Slide based on line-height */
@keyframes slide {
    100% {
        top: -5.6em;
        /* 4 lines × 1.4em */
    }
}

/* Cursor blink */


@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.gwp-description {
    text-align: justify;
    margin-top: 15px;
    font-size: clamp(1.0rem, 1vw, 1.2rem);
    color: var(--text-color);
    padding: 10px;
}

/* 📱 Responsive adjustments */
@media (max-width: 768px) {
    .wrapper {
        flex-direction: column;
        text-align: center;
    }


    .dynamic-txts li {
        font-size: clamp(2.3rem, 1vw, 2rem);
    }

    .dynamic-txts {
        height: 2.7em;
        line-height: 1.4em;
        font-size: clamp(1.0rem, 1vw, 1.2rem);
    }

    .static-txt {
        font-size: clamp(0.5rem, 1vw, 1rem);
        display: none;
    }
}

@media (max-width: 480px) {
    .wrapper {
        flex-direction: column;
        text-align: center;
    }


    .dynamic-txts li {
        font-size: clamp(2.3rem, 1vw, 2rem);
    }

    .dynamic-txts {
        height: 2.7em;
        line-height: 1.4em;
        font-size: clamp(1.0rem, 1vw, 1.2rem);
    }


}

/*====== PRODUCT CARD ======*/
.product-section {
    padding: 15px 20px;
    background-color: var(--footer-bg);
    margin-top: 10px;
    margin-bottom: 10px;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: stretch;
}

.moreproducts h4 {
    display: block;
    font-family: "Momo Trust Display", serif;
    text-align: center;
    font-weight: 500;

    color: var(--bg-hover-color);
    margin-bottom: 20px;

    font-size: 25px;
}


.products-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 15px;
    width: 100%;
    max-width: 100%;
}

.products-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.products-card p {
    margin: 10px 0 5px;
    font-weight: 500;
    font-size: 1rem;
    color: black;
}

.products-card span {
    font-weight: 700;
    color: black;
    font-size: 1rem;
}

.products-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-section {
        padding: 30px 10px;
    }

    .products-card {
        max-width: 200px;
    }

    .products-card p,
    .products-card span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .product-section {
        padding: 10px 10px;
    }

    .products-card {
        max-width: 200px;
    }

    .products-card p,
    .products-card span {
        font-size: 0.8rem;
    }

    .products {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .moreproducts h4 {
        display: block;
        font-family: "Momo Trust Display", serif;
        text-align: center;
        font-weight: 500;
        font-size: 1.2rem;
        color: var(--bg-hover-color);
        margin-bottom: 10px;
    }
}


/*====== PRODUCT CARD ======*/

/*======== END GWP =======*/

/*======= Responsive Design ========*/

@media (max-width: 768px) {

    /*=== NAVBAR ===*/
    .mobile-toggle {
        display: block;
    }

    .nav-left,
    .nav-right {
        display: none;
        position: absolute;
        top: 100%;
        width: 100%;
        left: 0;
        background-color: var(--footer-bg);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 4px 4px;
        z-index: 1000;
        padding: 20px;
    }

    .nav-left.active,
    .nav-right.active {
        display: block;
    }

    .nav-left .nav-menu,
    .nav-right .nav-menu {
        flex-direction: column;
        gap: 0;
        padding-left: 2px;
    }

    .nav-left .nav-menu li,
    .nav-right .nav-menu li {
        width: 100%;
    }

    .nav-left .nav-menu li a,
    .nav-right .nav-menu li a {
        /* padding: 15px; */
        display: block;
        /* border-bottom: 1px solid #f0f0f0; */
        text-align: center;
        color: var(--text-color);
    }



    .navbar {
        justify-content: space-between;
        height: auto;
        padding: 6px 10px;
    }

    /* CENTERED LOGO */
    .site-nav {

        left: 50%;
        transform: translateX(-0%);
        z-index: 99999;
        /* ⭐ logo always on top */
        pointer-events: none;
        /* ⭐ prevents any link from clicking over logo */
    }

    .site-nav .logo {
        width: 140px;
        height: auto;
    }

    /*=== END OF NAVBAR ===*/

    /*==== HEADER ====*/
    .slider-track span {
        font-size: 0.8rem;
        font-weight: 700;
        color: black;

    }

    /*==== END OF HEADER ====*/

    /*==== HOME ===*/
    .product-slider {
        padding: 20px 0;
    }

    .slider-header h2 {
        font-size: 20px;
    }

    .verse-header h3 {
        font-size: 0.8rem;
    }

    /*==== END OF HOME ===*/

    /*==== READING =====*/
    .devotions-section {
        padding-top: 30px;
    }

    .devotions-section h2 {
        font-size: 25px;
        text-align: center;
    }

    .subt {
        font-size: 14px;
        text-align: center;
    }

    .devotions-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }

    .devotion-card {
        background: var(--footer-bg);
        padding-bottom: 20px;
        transition: transform 0.3s ease;
        border-radius: var(--border-radius-small);
    }

    .devotion-card a {
        text-decoration: none;
    }

    .image-container {
        overflow: hidden;
    }

    .image-container img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        transition: transform 0.4s ease;
        border-top: 0px solid var(--footer-bg);
        border-radius: var(--border-radius-small);
    }

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

    .category {
        color: #17c5c5;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
    }

    .devotion-card h3 {
        font-size: 1.0rem;
        font-weight: 500;
        margin: 5px 20px;
        color: var(--text-color);
    }

    .description {
        color: var(--text-color);
        font-size: 0.9rem;
        line-height: 1rem;
        font-weight: 400;
    }

    .date {
        color: #888;
        font-size: 0.7rem;
    }

    /*************/
    .read {
        /* padding-top: 100px; */
        padding-left: 2rem;
        padding-right: 2rem;
    }


    .article-feature h4,
    .wrap h4 {
        font-size: 15px;
        font-weight: 600;
        line-height: 1.25rem;
        text-transform: uppercase;
        color: var(--bg-hover-color);
    }

    .article-feature h1 {
        font-family: "Playfair Display", serif;
        font-size: 2.0rem;
        font-weight: 700;
        line-height: 2.25rem;
        padding-top: 1rem;
    }

    .article-feature h5 {
        font-size: 17px;
        font-weight: 300;
    }

    .caption-name {
        font-size: 11px;
        font-weight: 600;
        border-radius: var(--border-radius-small);
        background: var(--caption);
        padding: 2px;
    }

    .caption-date {
        font-size: 11px;
        font-weight: 500;
        border-radius: var(--border-radius-small);
        background: var(--caption);
        padding: 2px;
    }

    .article-line {
        max-width: 100%;
        color: var(--bg-color);
    }

    .article-line2 {
        max-width: 100%;
        color: var(--bg-color);
    }

    /*----------ARTICLES-----------*/
    article .img1,
    .img2 {
        max-width: 100%;
        width: 100%;
    }

    .accordion-button {
        box-shadow: none;
    }

    .cap {
        font-size: 10px;
    }

    /*======= RELATED SCRIPTURE =====*/

    .accordion {
        width: 100%;
        padding-left: 1px;
        padding-right: 1px;
        position: relative;
        top: 0;
        margin-bottom: 0;
    }

    .accordion-button {
        padding: 10px;
        padding-left: 0;
        font-size: 15px;
        color: var(--text-color);
        text-align: left;
        background-color: var(--bg-color);
        overflow-anchor: none;
        transition: var(--bs-accordion-transition);
        border-top: 1px solid var(--gray-color);
    }

    /*----- ACCORDION SCROLLING-----*/
    .accordion-body {
        max-height: 200px;
        /* adjust height */
        overflow-y: auto;
        /* enable vertical scrolling */
        background: var(--bg-color);
        color: var(--text-color);
    }

    .accordion-body::-webkit-scrollbar {
        width: 6px;
    }

    .accordion-body::-webkit-scrollbar-thumb {
        background: var(--secondary-color);
        border-radius: 3px;
    }

    .accordion-body::-webkit-scrollbar-thumb:hover {
        background: var(--bg-hover-color);
    }

    .accordion-button:not(.collapsed) {
        background-color: var(--footer-bg);
        color: var(--text-color);
    }

    /*==== END READING ====*/

    /*====== ABOUT ======*/


    /*====== DONATE =====*/
    .featureddonate {
        margin-left: 12px;
        margin-right: 12px;
    }

    /*====== BIBLE KIDS ======*/
    /*============= KIDS ============*/


    .page-wrapper {
        margin-top: 10px;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .navv {
        /* display: block; */
        padding: 9px;
        margin-bottom: 15px;
    }

    /* Login Page Styles */
    .login-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 80vh;
    }

    /*==== END BIBLE KIDS ====*/

    /*============ GWP ==========*/
    .gwp-section {}

    .gwp-hero h1 {}

    .gwp-hero p {}

    /*========== END GWP =======*/

    /*====== FOOTER ======*/
    footer {
        /* padding-left: 1.5rem; */
        /* padding-right: 1.5rem; */
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-links {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .footer-logo img {
        position: relative;
        /* margin-bottom: 30px; */
        margin-left: 20rem;
    }

    .footer-logo p {
        text-align: center;
        margin-bottom: 9px;
        /* margin-left: 5.7rem; */
        max-width: 100%;
    }

    .theme-language-container {
        flex-direction: column;
        gap: 1rem;
    }

    .followus a {
        text-decoration: none;
    }

    .followus {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }

    .followus i {
        color: var(--bg-hover-color);
        font-size: 31px;
        /*margin-left: 60px;*/
    }

    /*.theme-btn {
    display: flex;
    padding: 1px 5px;
    position: relative;
    margin-left: 16rem;
  }

  .lang-select {
    padding: 1px 21px;
    position: absolute;
    margin-left: 23rem;
    margin-bottom: 74px;
  }
*/

    .theme-language-container {
        flex-direction: row;
        gap: 1rem;
    }

    /* Lines */
    .line,
    .linefooter,
    .linefooterr {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    /*====== END OF FOOTER ======*/

}

@media (max-width: 480px) {

    .site-nav .logo {
        width: 150px;
        height: auto;
    }

    .content {
        padding: 20px;
    }

    /*==== HOME ===*/

    /***Product Slide***/
    .product-slider {
        padding: 10px 0;
    }

    .slider-header h2 {
        text-align: center;
        font-family: "Momo Trust Display", serif;
        font-size: 1.2rem;
        color: var(--bg-hover-color);
        margin-bottom: 0px;
    }

    .product-slider {
        background: var(--footer-bg);
        padding: 20px 0;
    }

    .access-card h3 {
        margin-bottom: 12px;
        font-size: 0.9rem;
    }

    .access-icon {
        font-size: 32px;
        margin-bottom: 1px;
        color: #2c3e50;
    }

    .card-btn {
        padding: 1px 10px;
        font-weight: 600;
        font-size: 0.9rem;
    }

    /***Product Slide***/

    /*==== END OF HOME ===*/

    /*==== BIBLE TEACH ====*/
    .card {
        padding: 20px;
    }

    /*===== READING ======*/
    .read {
        /* padding-top: 100px; */
        padding-left: 1px;
        padding-right: 1px;
    }

    .article-feature h4 {
        font-size: 15px;
        font-weight: 600;
        line-height: 1.25rem;
        text-transform: uppercase;
        color: var(--bg-hover-color);
    }

    .article-feature h1 {
        font-family: "Playfair Display", serif;
        font-size: 2.0rem;
        font-weight: 700;
        line-height: 2.25rem;
        text-align: left;
    }

    .article-feature h5 {
        font-size: 17px;
        font-weight: 300;
        text-align: left;
    }

    .captionn {
        text-align: left;
    }

    .caption-name {
        font-size: 11px;
        font-weight: 600;
        border-radius: var(--border-radius-small);
        background: var(--caption);
        padding: 2px;
    }

    .caption-date {
        font-size: 11px;
        font-weight: 500;
        border-radius: var(--border-radius-small);
        background: var(--caption);
        padding: 2px;
    }

    .article-line {
        max-width: 100%;
        color: var(--bg-color);
    }

    .article-line2 {
        max-width: 100%;
        color: var(--bg-color);
        padding-bottom: 10px;
    }

    /*===== RELATED SCRIPTURE ===*/

    .accordion-button {
        padding: 10px;
        padding-left: 0;
        font-size: 15px;
        color: var(--text-color);
        text-align: left;
        background-color: var(--bg-color);
        overflow-anchor: none;
        transition: var(--bs-accordion-transition);
        border-top: 1px solid var(--gray-color);
    }

    /*----- ACCORDION SCROLLING-----*/
    .accordion-body {
        max-height: 200px;
        /* adjust height */
        overflow-y: auto;
        /* enable vertical scrolling */
        background: var(--bg-color);
        color: var(--text-color);
    }

    .accordion-body::-webkit-scrollbar {
        width: 6px;
    }

    .accordion-body::-webkit-scrollbar-thumb {
        background: var(--secondary-color);
        border-radius: 3px;
    }

    .accordion-body::-webkit-scrollbar-thumb:hover {
        background: var(--bg-hover-color);
    }

    .accordion-button:not(.collapsed) {
        background-color: var(--bg-color);
        color: var(--text-color);
    }

    /*===== END READING ======*/

    /*====== DONATE ======*/
    .featureddonate {
        /* padding-left: 12px; */
        /* padding-right: 12px; */
    }

    .linedonate {
        display: none;
    }

    /*===== ABOUT =====*/

    aside.card {
        position: static;
        margin-top: 0;
        width: 100%;
    }

    /*====== BIBLE KIDS ======*/

    .feature3 {
        padding: 5px;
    }

    .page-wrapper {
        margin-top: 10px;
    }

    .titre {
        display: block;
        /* margin-left: 3px; */
        /* margin-right: 3px; */
    }

    .login-box {
        background: white;
        border-radius: 20px;
        padding: 2px;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .login-input {
        width: 250px;
        padding: 5px;
        margin-bottom: 15px;
        border: 2px solid #e0e0e0;
        /* border-radius: var(--border-radius-small); */
        font-size: 1rem;
        font-weight: 600;
        transition: all 0.3s ease;
        background: #d1e1e5;
        color: var(--text-color1);
    }

    .header-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }

    .current-lesson h2 {
        color: var(--dark);
        margin-bottom: 0.5rem;
        font-weight: 500;
        font-size: 22px;
    }

    .book-icon,
    .activity-icon {
        font-size: 2rem;
        margin-bottom: 1px;
        text-align: center;

    }

    .book-title {
        color: var(--primary);
        font-size: 22px;
        margin-bottom: 1px;
        text-align: center;
        font-weight: bold;

    }

    .book-of-week p {
        text-align: center;
    }

    /* Cards */
    .book-of-week,
    .story-of-week,
    .activity-card,
    .quiz-container {
        background: var(--card-bg);
        border-radius: 10px;
        padding: 1rem;
        margin-bottom: 2rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .info-item {
        padding: 5px;
    }

    .complete-btn {
        border-radius: 10px;
        font-size: 15px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 1rem;
        display: block;
        width: 100%;
    }

    .story-icon {
        font-size: 2rem;
        margin-bottom: 5px;
        text-align: center;
    }

    .story-title {
        color: var(--primary);
        font-size: 22px;
        font-weight: bold;
    }

    .story-header h6 {
        text-align: center;
        font-size: 17px;
        font-weight: 600;
    }

    .login-btn {
        width: 200px;
        padding: 3px;
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 19px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 0rem;
    }

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .login-container {
        display: flex;
        justify-content: center;
        align-items: center;
        /* min-height: 100vh; */
        margin-top: -41px;
    }

    .login-title {
        /* color: var(--primary); */
        font-size: 25px;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }

    .login-avatar {
        font-size: 3rem;
        margin-bottom: 1px;
    }

    .login-subtitle {
        color: var(--dark);
        margin-bottom: 4px;
        font-size: 15px;
    }

    .dictionary-sidebar {
        margin-bottom: 40px;
    }

    /* Dictionary Sidebar */
    .dictionary-sidebar {
        width: 100%;
        background-color: var(--card-bg);
        border-left: 3px solid var(--secondary);
        position: sticky;
        top: 20px;
        height: calc(50vh - 40px);
        display: flex;
        flex-direction: column;
        box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        overflow: hidden;
    }

    .dictionary-header {
        background-color: var(--primary);
        color: white;
        padding: 5px;
        text-align: center;
        flex-shrink: 0;
    }

    .dictionary-search {
        padding: 5px;
        border-bottom: 2px solid var(--light);
        flex-shrink: 0;
    }

    .dictionary-search input {
        width: 100%;
        padding: 5px;
        border: 2px solid var(--primary);
        border-radius: 10px;
        font-size: 1rem;
        background: var(--bg-color);
        color: var(--text-color);
    }

    .dictionary-content {
        flex: 1;
        overflow-y: auto;
        padding: 0 1rem 1rem;
    }

    .dictionary-term {
        background-color: var(--term);
        border-radius: 10px;
        padding: 5px;
        margin-bottom: 1rem;
        border-left: 4px solid var(--secondary);
        transition: all 0.3s ease;
    }

    .dictionary-term.highlighted {
        background-color: rgba(255, 234, 167, 0.3);
        transform: scale(1.02);
    }

    .dictionary-term h3 {
        color: var(--primary);
        margin-bottom: 0.5rem;
        font-size: 17px;
        font-weight: 600;
    }

    .dictionary-header p {
        margin-bottom: 0.1rem;
    }

    .dictionary-header h2 {
        font-size: 22px;
        font-weight: bold;
    }

    .dictionary-content p {
        margin-top: 0;
        margin-bottom: 0;
    }

    /* Main Content */
    .main-container {
        display: flex;
        gap: 0rem;
    }

    /*== BIBLE STUDY ==*/
    .bstudy h2 {
        font-size: 22px;
        font-weight: 600;
        text-align: center;
        color: white;
    }

    .bstudy {
        padding: 10px 0px 5px;
        border-radius: 10px;
        background: var(--primary);
        margin-top: -16px;
    }

    .activity-card h3 {
        text-align: center;
        font-weight: 500;
    }

    .memory-verse-box {
        background: color-mix(in srgb, var(--secondary-color) 40%, transparent);
    }

    /*== Quiz section ==*/
    .qqiz h2,
    .progre h2 {
        font-size: 22px;
        font-weight: 600;
        text-align: center;
        color: white;
    }

    .qqiz,
    .progre {
        padding: 10px 0px 5px;
        border-radius: 10px;
        background: var(--primary);
        margin-top: -16px;
    }

    .progress-section h3 {
        font-size: 22px;
        font-weight: 600;
        text-align: center;
        color: var(--text-color);
    }

    .achievement-card,
    .stat-card {
        background: var(--vers);
    }

    .stat-number {
        color: var(--primaryy);
    }

    .stat-label {
        color: var(--text-color);
    }

    /*==== END BIBLE KIDS ====*/

    /*============ GWP ==========*/
    .gwp-section {
        border-radius: var(--border-radius-small);
        background: var(--footer-bg);
        padding: 2px 10px 1px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .gwp-hero h1 {
        font-size: 20px;
        text-align: center;
    }

    .gwp-hero p {
        font-size: 14px;
        text-align: justify;
    }

    /*========== END GWP =======*/

    /*====== FOOTER ======*/
    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-logo img {
        position: relative;
        padding-bottom: 15px;
        display: block;
        margin: 0 auto;
    }

    .footer-logo p {
        text-align: center;
        margin-bottom: 9px;
    }

    .followus {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem !important;
    }

    .followus a {
        text-decoration: none;
    }

    .followus i {
        color: var(--bg-hover-color);
        font-size: 31px;
        /*margin-left: 60px;*/
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120.5px, 1fr));
    }

    .footer-column h4 {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 4px;
        margin-left: 22px;
        color: var(--bg-hover-color);
    }

    .footer-column a {
        display: block;
        text-decoration: none;
        font-size: 13px;
        margin-bottom: -0.1rem;
        transition: color 0.2s ease;
        color: var(--footer-text);
        margin-left: 22px;
    }

    .footer-bottom {
        text-align: center;
        font-size: 0.9rem;
        color: #777;
    }

    /*
  .theme-btn {
    display: flex;
    padding: 1px 5px;
    position: relative;
    margin-left: 2.6rem;
  }

  .lang-select {
    padding: 1px 21px;
    position: absolute;
    margin-left: 10rem;
    margin-bottom: 74px;
  }
  */

    /*====== END OF FOOTER ======*/


}

/*============ Laptop: 769px - 1024px ============*/

@media (min-width: 769px) and (max-width: 1023.98px) {


    /*========*/
    

    /*=========*/
    .home,
    .devotions-section,
    .featureddonate {
        padding-left: 12px;
        padding-right: 12px;
    }




    footer {
        margin-left: 12px;
        margin-right: 12px;
    }

    /*====== HOME ======*/

    /*====== READ ======*/
    .accordion {
        padding-left: 1px;
        width: 35%;
    }

    .artic {
        width: 65%;
        padding-right: 1px;
    }

    .article-feature h1 {
        padding-top: 2rem;
    }

    /*====== DONATE ======*/

    /*====== FOOTER ======*/

    /*==== KIDS BIBLE ====*/
    .feature3 {
        padding-left: 4px;
        padding-right: 4px;
    }
}

/*============ Laptop L: 1025px - 1440px ============*/

@media (min-width: 1024px) and (max-width: 1199.98px) {

    /*=========*/
    .home,
    .devotions-section,
    .featureddonate {
        padding-left: 12px;
        padding-right: 12px;
    }

    footer {
        margin-left: 12px;
        margin-right: 12px;
    }

    /*====== HOME ======*/

    /*====== READ ======*/
    .accordion {
        padding-left: 1px;
        width: 35%;
    }

    .artic {
        width: 65%;
        padding-right: 1px;
    }

    .article-feature h1 {
        padding-top: 2rem;
    }

    /*====== DONATE ======*/

    /*====== FOOTER ======*/


}

/*============ 4K: 1441px - 2560px ============*/

@media (min-width: 1200px) and (max-width: 2560px) {

    /*=========*/


    /*====== HOME ======*/

    /*====== READ ======*/
    .accordion {
        padding-left: 1px;
        width: 35%;
    }

    .artic {
        width: 65%;
        padding-right: 1px;
    }

    .article-feature h1 {
        padding-top: 2rem;
    }

    /*====== DONATE ======*/

    /*====== FOOTER ======*/


}

/* Print Styles */
@media print {

    .theme-language-container {
        display: none;
    }

    body {
        background: white !important;
        color: black !important;
    }
}