/* ==========================================================================
   THE UNCOMMON TRUTH EXPERIENCE - HOME PAGE STYLE SYSTEM
   Color scheme and fonts match https://www.kerryclark.org/ perfectly:
   - Primary Accent: Royal Blue (#0314fb)
   - Secondary Accent: Gold/Orange (#ea9401)
   - Dark elements & Slate: Deep Slate Grey (#373847)
   - Light backgrounds: Soft Grey-Purple (#ecedf4)
   - Dark Typography: Deep Charcoal (#151109)
   - Font Family: Google Font "Ubuntu", sans-serif / serif
   ========================================================================== */

/* --- Import Ubuntu from Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

/* --- Theme Variables --- */
:root {
    --font-main: 'Ubuntu', sans-serif;
    --font-heading: 'Georgia', serif; /* For editorial touch matching the playbook */
    
    /* Perfect brand colors matching kerryclark.org */
    --color-primary: #0314fb;        /* New Blue */
    --color-primary-alpha: rgba(3, 20, 251, 0.15);
    --color-secondary: #ea9401;      /* Bright Gold/Orange */
    --color-secondary-alpha: rgba(234, 148, 1, 0.15);
    --color-dark-slate: #373847;     /* Footer & Header social bar grey */
    --color-light-bg: #ecedf4;       /* Soft alternate section grey-purple */
    --color-dark-text: #151109;      /* Brand Heading color */
    
    --color-bg-white: #ffffff;
    --color-text-main: #333333;
    --color-text-muted: #6b7280;
    
    --shadow-premium: 0 10px 25px rgba(0, 0, 0, 0.08), 0 3px 10px rgba(3, 20, 251, 0.04);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-premium: 16px;
}

/* --- Base & Reset Rules --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-white);
    color: var(--color-text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Navigation & Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(3, 20, 251, 0.15);
    transition: var(--transition-smooth);
}

.topheader-social {
    background-color: var(--color-dark-slate);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topheader-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: flex-end;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 26px;
    height: 26px;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-links a:hover {
    color: #ffffff;
    border-color: #ffffff;
    background-color: rgba(255,255,255,0.1);
    transform: scale(1.05);
}

.social-links svg {
    width: 12px;
    height: 12px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-block svg {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

.logo-text h1 {
    font-family: var(--font-main);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.logo-text span {
    display: block;
    font-size: 0.72rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    padding: 6px 0;
}

nav a:hover {
    color: var(--color-secondary);
}

.btn-cta {
    background-color: #ffffff;
    color: var(--color-primary);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-family: var(--font-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.btn-cta:hover {
    background-color: var(--color-dark-slate);
    color: #ffffff;
    transform: translateY(-2px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-search-toggle,
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition-smooth);
}

.header-search-toggle:hover,
.menu-toggle:hover {
    color: var(--color-secondary);
}

.header-search-toggle svg,
.menu-toggle svg {
    stroke: currentColor;
    width: 26px;
    height: 26px;
}

/* Initially hide menu-toggle on desktop */
.menu-toggle {
    display: none;
}

/* Search Bar Overlay */
.header-search-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    z-index: 10;
}

.header-search-bar.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-bar-inner {
    width: 100%;
    max-width: 800px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon-input {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
}

#headerSearchInput {
    width: 100%;
    padding: 12px 48px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    font-family: var(--font-main);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    outline: none;
}

.close-search-btn {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-search-btn:hover {
    color: var(--color-dark-text);
}

.close-search-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* --- Hero Section & Carousel --- */
.hero-section {
    padding: 65px 0 0 0; /* Align top padding with fixed header height, 0 side/bottom padding */
    background: #000000; /* Dark fallback background */
    position: relative;
    overflow: hidden;
}

/* Custom twinkling stars inside hero */
.stars-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.star {
    position: absolute;
    background-color: var(--color-secondary);
    border-radius: 50%;
    opacity: 0.3;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.carousel-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    perspective: 1200px; /* Enable immersive 3D space perspective */
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 600px;
    background-color: #000;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* --- Simple Slider Design --- */
.simple-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.simple-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 20, 251, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

.simple-slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.simple-slide-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.simple-slide-content p {
    font-size: 1.2rem;
    color: #f1f1f1;
    margin-bottom: 30px;
    max-width: 600px;
}

.simple-btn {
    background-color: var(--color-secondary);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.simple-btn:hover {
    background-color: #d18200;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .carousel-slides {
        height: 450px;
    }
    .simple-slide-content {
        padding: 0 60px;
    }
    .simple-slide-content h2 {
        font-size: 2.2rem;
    }
    .simple-slide-content p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   CREATIVE GRAPHIC WORKSPACE & GLASSMORPHIC LAYOUTS
   ========================================================================== */

.creative-graphic-container {
    position: relative;
    width: 100%;
    max-width: 540px;
    height: 520px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    z-index: 10;
}

.canvas-board {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* Base floating animation */
.float-anim {
    animation: floatCallout 8s infinite ease-in-out;
}

.hover-float {
    animation: hoverFloat 6s infinite ease-in-out;
}

@keyframes floatCallout {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.8deg); }
}

@keyframes hoverFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(-0.5deg); }
}

/* Background glows tailored for each theme */
.creative-graphic-container .glow-bg {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    z-index: 1;
    pointer-events: none;
}

.truth-theme .glow-bg { background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%); }
.insight-theme .glow-bg { background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%); }
.prayer-theme .glow-bg { background: radial-gradient(circle, #10b981 0%, transparent 70%); }
.video-theme .glow-bg { background: radial-gradient(circle, var(--color-primary) 0%, var(--color-secondary) 100%); opacity: 0.18; }
.resources-theme .glow-bg { background: radial-gradient(circle, #8b5cf6 0%, transparent 70%); }

/* Glassmorphism base layout token */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 
                inset 0 1px 2px rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

/* --- Slide 1: Discover Uncommon Truths (Scripture + Post Card) --- */
.scripture-glow-card {
    position: absolute;
    top: 50px;
    left: 20px;
    width: 85%;
    padding: 28px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.scripture-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(3, 20, 251, 0.15);
    border: 1px solid rgba(3, 20, 251, 0.3);
    border-radius: 20px;
    color: #8ba2ff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.scripture-verse-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    line-height: 1.6;
    color: #ffffff;
    font-style: italic;
    font-weight: 400;
}

.ut-summary-card {
    position: absolute;
    bottom: 50px;
    right: 15px;
    width: 68%;
    padding: 24px;
    z-index: 10;
    background: rgba(11, 12, 16, 0.85);
    border: 1px solid rgba(3, 20, 251, 0.25);
    border-radius: 16px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45);
}

.avatar-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.avatar-letter {
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 0 10px rgba(3, 20, 251, 0.4);
}

.avatar-info h5 {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
}

.avatar-info span {
    display: block;
    font-size: 0.68rem;
    color: var(--color-text-muted);
}

.ut-summary-body {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.card-action-tag {
    display: inline-block;
    font-size: 0.65rem;
    color: var(--color-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Connecting graphics */
.scripture-link-connector {
    position: absolute;
    right: 40px;
    bottom: -35px;
    width: 2px;
    height: 40px;
    pointer-events: none;
    z-index: 4;
}

.connector-line {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, var(--color-secondary) 100%);
    box-shadow: 0 0 8px var(--color-secondary);
}

/* --- Slide 2: Insight (Greek Key Word Study) --- */
.word-lexicon-card {
    position: absolute;
    top: 50px;
    left: 20px;
    width: 82%;
    padding: 28px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.greek-word-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(234, 148, 1, 0.15);
    border: 1px solid rgba(234, 148, 1, 0.3);
    border-radius: 20px;
    color: var(--color-secondary);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.greek-word-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 6px;
}

.greek-word-title .phonetic {
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-left: 10px;
}

.greek-definition {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    line-height: 1.5;
}

.greek-definition strong {
    color: var(--color-secondary);
}

.insight-overlay-card {
    position: absolute;
    bottom: 50px;
    right: 20px;
    width: 72%;
    padding: 24px;
    z-index: 10;
    background: rgba(11, 12, 16, 0.9);
    border: 1px solid rgba(234, 148, 1, 0.2);
    border-radius: 16px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45);
}

.insight-badge {
    font-size: 0.68rem;
    color: var(--color-secondary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.insight-subject {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.insight-explanation {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    line-height: 1.45;
    margin-bottom: 10px;
}

.root-concept-pill {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.65rem;
}

/* --- Slide 3: Prayer (Guided Reflection / Psalm 23) --- */
.prayer-glass-sheet {
    position: absolute;
    top: 40px;
    left: 20px;
    width: 85%;
    padding: 30px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
}

.prayer-seal {
    font-size: 0.7rem;
    color: #34d399;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.prayer-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.prayer-scripture-ref {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    margin-bottom: 14px;
}

.prayer-verses {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-style: italic;
}

.journal-reflect-card {
    position: absolute;
    bottom: 40px;
    right: 15px;
    width: 65%;
    padding: 20px;
    z-index: 10;
    background: rgba(6, 12, 10, 0.88);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.journal-badge {
    font-size: 0.68rem;
    color: #34d399;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.journal-prompt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.journal-input-sim {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

.pen-sim {
    font-size: 0.85rem;
    animation: penBounce 3s infinite ease-in-out;
}

@keyframes penBounce {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-2px, -3px); }
}

/* --- Slide 4: Videos (Widescreen Cinema Frame) --- */
.cinema-player-card {
    position: absolute;
    top: 50px;
    left: 20px;
    width: 85%;
    z-index: 5;
    background: #0d0e12;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.player-widescreen {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000000;
    overflow: hidden;
}

.sim-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transition: var(--transition-smooth);
}

.cinema-player-card:hover .sim-video-bg {
    transform: scale(1.03);
    opacity: 0.75;
}

.ripple-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    animation: pulsePlay 2.5s infinite ease-in-out;
}

.ripple-play-button svg {
    width: 18px;
    height: 18px;
    fill: #000000;
    margin-left: 3px;
}

@keyframes pulsePlay {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(234, 148, 1, 0.4);
    }
    70% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 0 14px rgba(234, 148, 1, 0);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(234, 148, 1, 0);
    }
}

.video-timeline-sim {
    position: absolute;
    bottom: 24px;
    left: 10px;
    right: 10px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    z-index: 8;
}

.video-time-fill {
    height: 100%;
    background-color: var(--color-secondary);
    border-radius: 10px;
}

.video-scrubber {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.video-meta-bar {
    position: absolute;
    bottom: 6px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.7);
    font-size: 0.62rem;
    z-index: 8;
}

.cinema-info {
    padding: 14px 18px;
}

.cinema-info h5 {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.creator-badge {
    font-size: 0.62rem;
    color: var(--color-text-muted);
}

.video-playlist-card {
    position: absolute;
    bottom: 30px;
    right: 10px;
    width: 58%;
    padding: 16px;
    z-index: 10;
    background: rgba(11, 12, 16, 0.92);
    border: 1px solid rgba(3, 20, 251, 0.2);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.playlist-header {
    font-size: 0.68rem;
    color: var(--color-secondary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 4px;
}

.playlist-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.6);
    padding: 4px 0;
}

.playlist-item.active {
    color: var(--color-secondary);
    font-weight: 700;
}

.playlist-item .dur {
    color: var(--color-text-muted);
}

/* --- Slide 5: Resources (Interactive Checklist Dashboard) --- */
.dashboard-progress-card {
    position: absolute;
    top: 50px;
    left: 20px;
    width: 54%;
    padding: 24px;
    z-index: 10;
    background: rgba(25, 20, 35, 0.9);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.dash-header {
    margin-bottom: 14px;
    text-align: left;
}

.dash-header span {
    font-size: 0.62rem;
    color: #a78bfa;
    font-weight: 700;
    letter-spacing: 1px;
}

.dash-header h5 {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
}

.dash-circular-progress-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 14px auto;
}

.circular-chart {
    width: 100%;
    height: 100%;
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2.8;
}

.circle-fill {
    fill: none;
    stroke: #8b5cf6;
    stroke-width: 2.8;
    stroke-linecap: round;
    transition: stroke-dasharray 0.4s ease;
}

.circular-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.dash-status {
    color: rgba(255,255,255,0.7);
    font-size: 0.68rem;
    margin-bottom: 8px;
}

.dash-status strong {
    color: #c084fc;
}

.checklist-panel {
    position: absolute;
    bottom: 50px;
    right: 20px;
    width: 60%;
    padding: 20px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.checklist-header {
    font-size: 0.68rem;
    color: #a78bfa;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 6px;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checklist-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    font-size: 0.72rem;
    transition: var(--transition-smooth);
    user-select: none;
}

.checklist-item-row:hover {
    color: #ffffff;
}

.checklist-item-row input[type="checkbox"] {
    display: none;
}

.checkmark-sim {
    position: relative;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 3px;
    display: inline-block;
    transition: var(--transition-smooth);
}

.checklist-item-row input[type="checkbox"]:checked + .checkmark-sim {
    background-color: #8b5cf6;
    border-color: #8b5cf6;
}

.checklist-item-row input[type="checkbox"]:checked + .checkmark-sim::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
}

.checklist-item-row input[type="checkbox"]:checked ~ .checklist-text {
    text-decoration: line-through;
    color: rgba(255,255,255,0.35);
}

/* ==========================================================================
   PREMIUM DYNAMIC ALERTS & VIDEO LIGHTBOX
   ========================================================================== */

.premium-toast-alert {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(15, 16, 22, 0.95);
    border: 1px solid var(--color-secondary);
    box-shadow: 0 10px 30px rgba(234, 148, 1, 0.15), 0 0 15px rgba(234, 148, 1, 0.05);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2000;
    max-width: 380px;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.premium-toast-alert.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-content h4 {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.toast-content p {
    color: var(--color-text-muted);
    font-size: 0.72rem;
    line-height: 1.35;
}

/* Widescreen Video Lightbox Modal */
.video-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 70px rgba(0,0,0,0.8);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.video-lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    z-index: 10100;
    transition: var(--transition-smooth);
}

.lightbox-close-btn:hover {
    background: #ffffff;
    color: #000000;
}

.lightbox-video-frame-sim {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

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

.lightbox-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    z-index: 5;
    color: #ffffff;
}

.lightbox-play-overlay h3 {
    margin-top: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.lightbox-play-overlay p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.lightbox-controls-bar {
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    width: 100%;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 15px;
}

.lightbox-play-pause-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.1rem;
}

.lightbox-timeline-container {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

.lightbox-timeline-fill {
    height: 100%;
    background: var(--color-secondary);
    border-radius: 10px;
    width: 0%;
    transition: width 0.1s linear;
}

.lightbox-meta {
    color: #ffffff;
    font-size: 0.72rem;
}

/* Highlighting Active commentary chapters */
.chapter-num-box.chapter-active {
    background-color: var(--color-primary-alpha) !important;
    border: 1px solid var(--color-secondary) !important;
    box-shadow: 0 0 10px var(--color-secondary-alpha) !important;
    color: var(--color-secondary) !important;
    font-weight: 700 !important;
    position: relative;
}

.chapter-num-box.chapter-active::after {
    content: '★';
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 0.5rem;
    color: var(--color-secondary);
}

.modal-active-toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.modal-active-toggle-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    user-select: none;
}

.modal-active-toggle-label input {
    accent-color: var(--color-secondary);
}

/* Phone Glow Background lights */
.phone-glow-bg {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(3, 20, 251, 0.18) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 1;
}

/* Carousel dots navigation */
.carousel-nav-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.carousel-dot.active {
    background-color: var(--color-secondary);
    width: 32px;
    border-radius: 6px;
}

/* Carousel Arrow Navigation Buttons (Semi-transparent rectangles matching screenshot) */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000000;
    transition: var(--transition-smooth);
    z-index: 10;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.carousel-arrow:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 3;
    fill: none;
}

/* --- Section 3 - What is the Uncommon Truth Experience? (About Card) --- */
.about-section {
    padding: 90px 24px;
    background-color: var(--color-bg-white);
}

.about-card {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--color-bg-white);
    border: 1px solid rgba(3, 20, 251, 0.1);
    border-radius: 20px;
    padding: 60px 48px;
    box-shadow: var(--shadow-premium);
    position: relative;
    text-align: center;
}

.about-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 45px;
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--color-primary);
    opacity: 0.1;
    line-height: 1;
}

.about-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-dark-text);
    font-weight: 400;
    margin-bottom: 20px;
}

.about-text p strong {
    font-weight: 700;
    color: var(--color-primary);
}

/* --- Features Display Carousel Section --- */
.features-display-section {
    padding: 100px 20px;
    background-color: #f4f5f8;
}

.features-display-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-display-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-dark-text);
    margin-bottom: 15px;
}

.features-carousel {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scrollbar-width: none;
}
.features-carousel::-webkit-scrollbar {
    display: none;
}

.feature-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 300px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.feature-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.feature-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-img-wrapper img {
    transform: scale(1.05);
}

.feature-content {
    padding: 30px;
}

.feature-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.feature-content p {
    color: var(--color-text-muted);
    line-height: 1.6;
    font-size: 1.05rem;
}

@media (max-width: 991px) {
    .feature-card {
        flex: 1 1 calc(50% - 15px);
    }
}
@media (max-width: 768px) {
    .feature-card {
        flex: 1 1 85%;
    }
    .features-carousel {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* --- Get Started (Section 2 - Bible selector grid) --- */
.get-started-section {
    padding: 100px 24px;
    background: radial-gradient(circle at top right, rgba(234, 148, 1, 0.05), transparent 40%), radial-gradient(circle at bottom left, rgba(3, 20, 251, 0.05), transparent 40%), #ffffff;
    position: relative;
    overflow: hidden;
}

/* Add a glowing orb effect in the background for creativity */
.get-started-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(234, 148, 1, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.get-started-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(3, 20, 251, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    position: relative;
    z-index: 2;
}

.section-header span {
    color: var(--color-secondary);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3rem;
    color: var(--color-dark-text);
}

.section-description {
    font-family: var(--font-main);
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-top: 15px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
/* Dynamic Live Search Bar */
.search-container {
    max-width: 650px;
    margin: 0 auto 40px auto;
    position: relative;
    z-index: 2;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input-wrapper input {
    width: 100%;
    padding: 18px 24px 18px 55px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 40px;
    font-family: var(--font-main);
    font-size: 1.1rem;
    color: var(--color-text-main);
    outline: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.search-input-wrapper input::placeholder {
    color: var(--color-text-muted);
}

.search-input-wrapper input:focus {
    border-color: var(--color-secondary);
    background: #ffffff;
    box-shadow: 0 0 20px rgba(234, 148, 1, 0.2), inset 0 0 10px rgba(234, 148, 1, 0.1);
}

.search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    color: var(--color-secondary);
    pointer-events: none;
}

.clear-search-btn {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: none;
    transition: color 0.3s;
}

.clear-search-btn:hover {
    color: #ffffff;
}

/* Testament Selectors filter tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.tab-btn {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--color-text-main);
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.tab-btn.active {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(3, 20, 251, 0.3);
    transform: translateY(-2px);
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: #000000 !important;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Collections & Book Grid Styles */
.collections-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.collection-group {
    background: linear-gradient(135deg, rgba(3, 20, 251, 0.08), rgba(234, 148, 1, 0.08));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .collection-group {
        padding: 20px;
    }
}

.collection-group:hover {
    border-color: rgba(0, 0, 0, 0.1);
}

.collection-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 16px;
}

.collection-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-dark-text);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.3;
}

.collection-title svg {
    flex-shrink: 0;
    margin-top: 4px;
}

.collection-badge {
    background: rgba(3, 20, 251, 0.1);
    border: 1px solid rgba(3, 20, 251, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 576px) {
    .collection-title {
        font-size: 1.25rem;
        gap: 8px;
    }
    .collection-title svg {
        margin-top: 2px;
    }
    .collection-badge {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    .collection-header {
        gap: 8px;
    }
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.book-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(234, 148, 1, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.book-card:hover {
    background-color: #ffffff;
    border-color: var(--color-secondary);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(234, 148, 1, 0.15);
}

.book-card:hover::before {
    opacity: 1;
}

.book-name {
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-dark-text);
    transition: color 0.3s;
}

.book-card:hover .book-name {
    color: var(--color-primary);
}

.book-chapters-count {
    font-size: 0.72rem;
    color: var(--color-text-muted);
}

.no-results {
    text-align: center;
    padding: 40px;
    background: #ffffff;
    border-radius: var(--radius-premium);
    max-width: 500px;
    margin: 0 auto;
    display: none;
    border: 1px solid rgba(3, 20, 251, 0.1);
    box-shadow: var(--shadow-premium);
}

.no-results svg {
    width: 44px;
    height: 44px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

/* --- Book Chapter Selection Modal --- */
.chapter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.chapter-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(55, 56, 71, 0.6);
    backdrop-filter: blur(4px);
    top: 0;
    left: 0;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: #ffffff;
    border: 1.5px solid var(--color-primary);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transform: scale(0.9);
    transition: var(--transition-smooth);
    max-height: 80vh;
    overflow-y: auto;
}

.chapter-modal.active .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-light-bg);
    border: none;
    color: var(--color-dark-slate);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-close-btn svg {
    width: 16px;
    height: 16px;
}

.modal-header-block {
    margin-bottom: 20px;
}

.modal-header-block span {
    color: var(--color-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 2px;
}

.modal-book-title {
    font-weight: 700;
    font-size: 2rem;
    color: var(--color-dark-text);
}

.chapter-numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.chapter-num-box {
    aspect-ratio: 1;
    background: var(--color-light-bg);
    border: 1px solid transparent;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--color-dark-text);
    text-decoration: none;
}

.chapter-num-box.has-content {
    background: var(--color-light-bg);
    color: var(--color-dark-text);
    cursor: pointer;
}

.chapter-num-box.has-content:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(3, 20, 251, 0.2);
}

.chapter-num-box.no-content {
    background: #f0f0f0;
    color: #b0b0b0;
    cursor: default;
    border-color: transparent;
    pointer-events: none;
}

.chapter-num-box:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(3, 20, 251, 0.2);
}

/* --- How does it work Section --- */
.how-it-works-section {
    padding: 90px 24px;
    background-color: var(--color-bg-white);
}

.how-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.step-card {
    background-color: var(--color-light-bg);
    border-radius: var(--radius-premium);
    padding: 30px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
}

.step-card:hover {
    background-color: #ffffff;
    box-shadow: var(--shadow-premium);
    transform: translateY(-4px);
    border: 1px solid rgba(3, 20, 251, 0.08);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(3, 20, 251, 0.08);
    position: absolute;
    top: 15px;
    right: 25px;
    line-height: 1;
}

.step-card svg {
    width: 44px;
    height: 44px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.step-card h3 {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-dark-text);
    margin-bottom: 10px;
}

.step-card p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.disclaimer-banner {
    max-width: 850px;
    margin: 44px auto 0 auto;
    background-color: rgba(234, 148, 1, 0.08);
    border: 1px solid rgba(234, 148, 1, 0.25);
    border-radius: 10px;
    padding: 18px 22px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.disclaimer-banner svg {
    color: var(--color-secondary);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.disclaimer-banner p {
    font-size: 0.88rem;
    color: #92400e;
    line-height: 1.45;
}

/* --- FAQ Section (Sleek Immersive Accordions) --- */
.faq-section {
    padding: 100px 24px;
    background-color: var(--color-light-bg);
}

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

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid rgba(3, 20, 251, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(3, 20, 251, 0.08);
}

.faq-trigger {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--color-dark-text);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
}

.faq-question-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.faq-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.faq-item.active .faq-icon-badge {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: scale(1.05);
}

.faq-trigger .chevron-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    flex-shrink: 0;
}

.faq-item.active .chevron-icon {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-content-inner {
    padding: 0 28px 24px 84px; /* Perfectly aligned with question text offset */
    color: var(--color-text-main);
    font-size: 0.95rem;
    line-height: 1.65;
    border-top: 1px solid rgba(0,0,0,0.03);
    padding-top: 16px;
}

/* ==========================================================================
   INTERACTIVE POPUP CONTENT SELECTION VIEW SYSTEM
   ========================================================================== */
.modal-view {
    display: none;
    animation: fadeIn 0.4s ease;
}

.modal-view.active {
    display: block;
}

.modal-nav-bar {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.modal-back-btn {
    background: transparent;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 24px;
    font-weight: 700;
    font-family: var(--font-main);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.modal-back-btn:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(3, 20, 251, 0.2);
}

.modal-back-btn svg {
    transition: transform 0.25s ease;
}

.modal-back-btn:hover svg {
    transform: translateX(-3px);
}

/* Verse Filter Container */
.verse-selector-container {
    margin-bottom: 22px;
    background: var(--color-light-bg);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid rgba(3, 20, 251, 0.05);
}

.verse-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-dark-slate);
    display: block;
    margin-bottom: 10px;
}

.verse-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.verse-pill {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-dark-text);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
}

.verse-pill.active {
    background-color: var(--color-secondary);
    color: #ffffff;
    border-color: var(--color-secondary);
    box-shadow: 0 3px 8px rgba(234, 148, 1, 0.3);
}

.verse-pill:hover:not(.active) {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: rgba(3, 20, 251, 0.04);
}

/* Modal Content Tab Selector */
.modal-sections-tabs {
    display: flex;
    border-bottom: 2px solid var(--color-light-bg);
    gap: 20px;
    margin-bottom: 20px;
}

.modal-tab {
    background: none;
    border: none;
    outline: none;
    padding: 10px 4px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.modal-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.modal-tab:hover:not(.active) {
    color: var(--color-dark-text);
}

.modal-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.modal-tab-content.active {
    display: block;
}

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

/* UT Commentary cards styles */
.ut-post-cards-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ut-post-card {
    background: #ffffff;
    border: 1px solid rgba(3, 20, 251, 0.06);
    border-left: 5px solid var(--color-secondary);
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: var(--transition-smooth);
}

.ut-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 20, 251, 0.05);
}

.ut-post-meta {
    font-size: 0.72rem;
    color: var(--color-secondary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.ut-post-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-dark-text);
    margin-bottom: 6px;
}

.ut-post-body {
    font-size: 0.88rem;
    color: var(--color-text-main);
    line-height: 1.55;
}

/* Related Articles cards styles */
.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.article-card {
    background-color: var(--color-light-bg);
    border-radius: 10px;
    padding: 16px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-card:hover {
    background-color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 6px 20px rgba(3, 20, 251, 0.08);
    transform: translateY(-2px);
}

.article-meta {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.article-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-dark-text);
    margin-bottom: 12px;
    line-height: 1.35;
}

.article-author {
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 700;
}

/* Media Cards grids styles */
.media-previews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.media-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid #e8e8e8;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.media-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(3, 20, 251, 0.10);
    transform: translateY(-3px);
}

.media-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background-color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: var(--transition-smooth);
}

.media-card:hover .media-thumbnail img {
    opacity: 0.88;
    transform: scale(1.03);
}

.media-card .play-icon-overlay {
    position: absolute;
    width: 52px;
    height: 52px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    transition: var(--transition-smooth);
    z-index: 5;
}

.media-card .play-icon-overlay svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
}

.media-card:hover .play-icon-overlay {
    transform: scale(1.12);
    background-color: var(--color-secondary);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.media-info {
    padding: 14px 14px 16px;
}

.media-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-dark-text);
    margin-bottom: 8px;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.media-card:hover .media-title {
    color: var(--color-primary);
}

.media-duration {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-top: 6px;
}

/* --- Immersive Get Started CTA Banner --- */
.get-started-cta {
    position: relative;
    padding: 100px 20px;
    float: left;
    width: 100%;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
}

.get-started-cta .cta-floating-shapes {
    display: none;
}

.get-started-cta .glass-panel {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    padding: 70px 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
    margin: 0 auto;
}

.get-started-cta .glass-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.get-started-cta .glass-panel h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-dark-text);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.get-started-cta .glass-panel h2 span {
    color: var(--color-primary);
}

.get-started-cta .glass-panel p {
    font-family: var(--font-main);
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

.get-started-cta .creative-btn {
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(3, 20, 251, 0.2);
    transition: all 0.3s ease;
}

.get-started-cta .creative-btn:hover {
    background: #000cbe;
    box-shadow: 0 15px 25px rgba(3, 20, 251, 0.35);
    transform: translateY(-3px);
}

.creative-btn {
    background: linear-gradient(135deg, var(--color-primary), #4e5cfb);
    color: #ffffff;
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(3, 20, 251, 0.3);
    transition: all 0.3s ease;
}

.creative-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(3, 20, 251, 0.5);
    color: #ffffff;
    background: linear-gradient(135deg, #4e5cfb, var(--color-primary));
}

/* Media Queries for Get Started CTA */
@media (max-width: 1200px) {
    .get-started-cta .glass-panel h2 { font-size: 3rem; }
    .get-started-cta .glass-panel p { font-size: 1.3rem; }
}

@media (max-width: 991px) {
    .get-started-cta { padding: 40px 15px 60px 15px; }
    .get-started-cta .glass-panel { padding: 60px 20px; border-radius: 20px; }
    .get-started-cta .glass-panel h2 { font-size: 2.5rem; }
    .get-started-cta .glass-panel p { font-size: 1.1rem; padding-bottom: 20px; }
    .creative-btn { font-size: 1rem; padding: 15px 35px; }
}

@media (max-width: 576px) {
    .get-started-cta .glass-panel h2 { font-size: 2rem; }
    .get-started-cta .glass-panel p { font-size: 1rem; padding-bottom: 20px; line-height: 1.4; }
    .creative-btn { font-size: 0.9rem; padding: 12px 30px; width: 100%; }
    
    .carousel-arrow {
        width: 36px;
        height: 36px;
    }
    .carousel-arrow.prev { left: 8px; }
    .carousel-arrow.next { right: 8px; }
    .carousel-arrow svg { width: 20px; height: 20px; }
    .simple-slide-content { padding: 0 54px; }
    .simple-slide-content h2 { font-size: 1.8rem; margin-bottom: 15px; }
    .simple-slide-content p { font-size: 0.95rem; margin-bottom: 25px; }
}

/* --- Premium Footer matching kerryclark.org brand screenshot --- */
.kacfooter {
    background-color: #373847;
    padding: 80px 0 40px 0;
    float: left;
    width: 100%;
    color: #ffffff;
    font-family: var(--font-main);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0 20px;
}

.fcol {
    padding: 10px 0;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fcol4 {
    border-right: none;
    align-items: flex-start;
    padding-left: 55px;
    text-align: left;
}

.fcol h4 {
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.2;
}

.fcol-subtitle {
    display: block;
    font-size: 16px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 18px;
}

/* Social circular outline icons */
.clssocials {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.clssocials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    opacity: 0.7;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.clssocials a:hover {
    opacity: 1;
    background-color: #ffffff;
    color: #373847;
    transform: translateY(-2px);
}

.clssocials svg {
    width: 14px;
    height: 14px;
}

/* Quick links styling */
.clslinks {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.clslinks a {
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.clslinks a:hover {
    color: var(--color-secondary); /* Gold/Orange */
    transform: translateX(4px);
}

/* Copyright Centered Section */
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 25px;
    margin-top: 50px;
    float: left;
    width: 100%;
    text-align: center;
}

.copyright p {
    font-size: 18px;
    color: #ffffff;
    font-family: var(--font-main);
}

/* --- Mobile Menu Styles (Responsive Layouts) --- */
@media (max-width: 991px) {
    .slide-bg-image {
        height: auto; /* Show full image, do not crop it */
    }

    .slide-overlay-content {
        padding: 0 20px;
    }
    
    .overlay-left {
        padding-right: 14%;
    }
    
    .overlay-right {
        padding-left: 14%;
    }
    
    .overlay-left h3, .overlay-right h3 {
        font-size: 1.6rem;
    }
    
    .slide-desc {
        font-size: 0.8rem;
        margin-top: 8px;
        max-width: 220px;
    }

    .carousel-arrow {
        width: 44px;
        height: 44px;
    }

    .carousel-arrow.prev {
        left: 10px;
    }

    .carousel-arrow.next {
        right: 10px;
    }
    
    .how-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
} /* Close @media (max-width: 991px) */

/* --- Floating Interactive Glass widgets --- */
.floating-glass-widget {
    position: absolute;
    background: rgba(15, 17, 26, 0.45); /* Elegant glass overlay */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 
                inset 0 1px 1px rgba(255, 255, 255, 0.15);
    z-index: 5;
    pointer-events: auto;
    max-width: 250px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
    transform: translateZ(40px); /* elevate in 3D */
    text-align: left;
}

.floating-glass-widget:hover {
    background: rgba(15, 17, 26, 0.65);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 45px rgba(3, 20, 251, 0.15), 
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transform: translateZ(65px) scale(1.04);
}

.scripture-widget {
    top: 25%;
    left: 8%;
    border-left: 4px solid var(--color-secondary);
}

.prayer-widget {
    bottom: 22%;
    right: 8%;
    border-left: 4px solid #10b981;
}

.tracker-widget {
    top: 22%;
    right: 8%;
    border-left: 4px solid #8b5cf6;
    min-width: 210px;
}

.widget-tag {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-secondary);
    margin-bottom: 6px;
}

.widget-text {
    font-size: 0.76rem;
    line-height: 1.45;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 6px;
    font-family: Georgia, serif;
}

.widget-ref {
    display: block;
    font-size: 0.68rem;
    color: var(--color-secondary);
    text-align: right;
    font-weight: 500;
}

/* Tracker Widget Styles */
.tracker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tracker-header span {
    color: rgba(255, 255, 255, 0.85);
}

.tracker-header strong {
    color: #c084fc;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.tracker-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tracker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    cursor: pointer;
    user-select: none;
}

.tracker-item input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    position: relative;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    display: inline-block;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
}

.tracker-item input[type="checkbox"]:checked + .checkbox-custom {
    background-color: #8b5cf6;
    border-color: #8b5cf6;
}

.tracker-item input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
}

.tracker-item input[type="checkbox"]:checked ~ span {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.4);
}

.prayer-pulse-dot {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
}

.prayer-pulse-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #10b981;
    border-radius: 50%;
    animation: goldPulse 2s infinite ease-in-out;
}

@keyframes goldPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.5); opacity: 0; }
}

@media (max-width: 991px) {
    .floating-glass-widget {
        display: none !important; 
    }

    .slide-image-wrapper {
        height: auto; 
    }

    .slide-blur-bg {
        display: none; 
    }

    .slide-bg-image {
        height: auto; 
    }

    .slide-overlay-content {
        position: relative;
        grid-template-columns: 1fr;
        padding: 24px 16px;
        text-align: center;
        background: transparent;
        left: 0;
        transform: none;
    }
    
    .overlay-left, .overlay-right {
        text-align: center;
        padding: 0;
    }
    
    .overlay-left h3, .overlay-right h3 {
        font-size: 1.4rem;
        text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    }

    .overlay-left .accent-text {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }
    
    .slide-desc {
        font-size: 0.85rem;
        margin: 10px auto 0 auto;
        max-width: 100%;
        text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    }

    .header-container {
        padding: 12px 24px;
    }

    nav {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        height: calc(100vh - 76px);
        background-color: var(--color-primary);
        padding: 40px 24px;
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
        box-shadow: 0 8px 15px rgba(3, 20, 251, 0.15);
    }
    
    nav.active {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    nav a {
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .slide-content h3 {
        font-size: 2.2rem;
    }
    
    .about-card {
        padding: 40px 24px;
    }
    
    .about-text p {
        font-size: 1.1rem;
    }
    
    .signup-form {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}
