/* ============================================
   CORE VARIABLES & RESET
============================================ */
:root {
    /* Color Palette - Blue, Black, White */
    --primary-blue: #24156C;
    --black: #000000;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --medium-gray: #666666;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;
    
    /* Transitions */
    --transition-normal: 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);

    /* Legacy aliases used by older pages */
    --primary-color: var(--primary-blue);
    --light-color: var(--light-gray);
    --dark-color: var(--dark-gray);
    --text-light: var(--medium-gray);
    --footer-blue: var(--primary-blue);
    --box-shadow: var(--shadow-md);
    --border-radius: 8px;
    --transition: var(--transition-normal);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--black);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    color: var(--dark-gray);
    margin-bottom: var(--space-md);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--space-xxl) 0;
    scroll-margin-top: 110px;
}

/* ============================================
   HEADER & NAVIGATION
============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: var(--space-sm) 0;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 0;
    flex: 1 1 auto;
}

.logo img {
    height: 60px;
    width: auto;
    flex-shrink: 0;
}

.logo-text h1 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 2px;
}

.logo-text span {
    font-size: 0.85rem;
    color: var(--medium-gray);
    font-weight: 500;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.desktop-nav li {
    position: relative;
}

.desktop-nav-container {
    display: flex;
    align-items: center;
}

.desktop-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--black);
    padding: var(--space-xs) 0;
}

.desktop-nav a:hover {
    color: var(--primary-blue);
}

.desktop-nav .current-menu-item a {
    color: var(--primary-blue);
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 240px;
    padding: 10px 0;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1005;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 10px 16px;
    font-size: 0.92rem;
    color: var(--dark-gray);
}

.dropdown-content a:hover {
    color: var(--primary-blue);
    background: rgba(36, 21, 108, 0.05);
}

/* Mobile Navigation Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--black);
    transition: var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(86vw, 320px);
    height: 100%;
    background: var(--white);
    padding: 80px var(--space-lg) var(--space-lg);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: var(--transition-normal);
    z-index: 1001;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: var(--space-sm);
}

.mobile-nav a {
    display: block;
    padding: var(--space-sm);
    font-weight: 600;
    color: var(--black);
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav a:hover {
    color: var(--primary-blue);
}

.mobile-nav-table {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(86vw, 320px);
    height: 100%;
    background: var(--white);
    padding: 88px 20px 24px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
    display: none;
}

.mobile-nav-table.active {
    right: 0;
}

.mobile-nav-table table {
    width: 100%;
    border-collapse: collapse;
}

.mobile-nav-table td {
    padding: 0;
}

.mobile-nav-table a,
.mobile-nav-link,
.mobile-dropdown-content a {
    display: block;
    padding: 14px 0;
    font-weight: 600;
    color: var(--black);
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-item {
    position: relative;
}

.mobile-dropdown-toggle {
    position: absolute;
    top: 9px;
    right: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-blue);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.mobile-dropdown-toggle.active {
    transform: rotate(45deg);
    background: rgba(36, 21, 108, 0.08);
}

.mobile-dropdown-content {
    display: none;
    padding-left: 16px;
}

.mobile-dropdown-content.active {
    display: block;
}

@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }

    .mobile-nav-table {
        display: block;
    }
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 12px 28px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    min-height: 48px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    border: 1px solid var(--primary-blue);
}

.btn-primary:hover {
    background: #1A0F4C;
    border-color: #1A0F4C;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    min-height: 40px;
}

.btn-group {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
    justify-content: center;
}

.btn-center {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .btn-group, .btn-center {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   HERO SECTION
============================================ */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('maranatha.jpg') center/cover no-repeat;
    margin-top: 70px;
    padding: var(--space-xxl) 0;
    overflow: hidden;
}

.hero-slideshow {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.hero-content > * {
    animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content > *:nth-child(2) {
    animation-delay: 0.12s;
}

.hero-content > *:nth-child(3) {
    animation-delay: 0.24s;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-weight: 800;
}

.hero-content .hero-content-mara {
    font-size: 2.2rem;
    font-weight: 600;
    display: block;
    margin-top: 10px;
    color: #fff;
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta a {
    min-width: 200px;
}

/* ============================================
   HOLY GHOST SERVICE SECTION
============================================ */
.holy-ghost-service {
    background: var(--white);
    padding: var(--space-xl) 0;
}

.holy-ghost-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.holy-ghost-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.holy-ghost-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    min-height: 300px;
}

.holy-ghost-image:hover img {
    transform: scale(1.05);
}

.holy-ghost-details {
    padding: var(--space-md);
}

.holy-ghost-details h3 {
    color: var(--primary-blue);
    margin-bottom: var(--space-md);
    font-size: 1.8rem;
}

.service-info {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.service-info li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--dark-gray);
}

.service-info i {
    color: var(--primary-blue);
    width: 20px;
}

.holy-ghost-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

/* ============================================
   SERVICE SCHEDULE SECTION
============================================ */
.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-md);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--primary-blue);
}

.schedule-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: var(--space-xl);
    border: 1px solid var(--light-gray);
}

/* New Schedule Grid Design */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    align-items: stretch;
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: var(--space-md);
    background: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition-normal);
    border-left: 5px solid var(--primary-blue);
    min-height: 138px;
}

.schedule-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.schedule-item.active {
    background: var(--primary-blue);
    color: var(--white);
}

.schedule-item.in-progress {
    animation: pulse 2s infinite;
    background: var(--primary-blue);
    color: var(--white);
    position: relative;
}

.schedule-item.in-progress::before {
    content: 'LIVE NOW';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FF0000;
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes pulse-red {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.schedule-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-md);
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.schedule-item.active .schedule-icon,
.schedule-item.in-progress .schedule-icon {
    background: var(--white);
    color: var(--primary-blue);
}

.schedule-info {
    flex: 1;
    min-width: 0;
}

.schedule-day {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.schedule-item.active .schedule-day,
.schedule-item.in-progress .schedule-day,
.schedule-item.active .schedule-time,
.schedule-item.in-progress .schedule-time {
    color: var(--white);
}

.schedule-time {
    font-weight: 600;
    font-size: 1.2rem;
    white-space: nowrap;
}

.schedule-desc {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-top: var(--space-xs);
}

.schedule-item.active .schedule-desc,
.schedule-item.in-progress .schedule-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* Countdown Timer - Text Format */
.countdown-container {
    text-align: center;
    padding: var(--space-lg);
    background: var(--light-gray);
    border-radius: 8px;
    margin: var(--space-xl) auto 0;
    max-width: 720px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-title {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

#nextServiceCountdown {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: var(--space-sm) 0;
    min-height: 60px;
    line-height: 1.4;
}

.countdown-text {
    font-size: 1.8rem;
}

#nextServiceName {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

/* Live Service Links */
.live-service-links {
    display: none;
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 2px solid var(--primary-blue);
}

.live-service-links.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.live-service-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
    text-align: center;
}

.live-links {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.live-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition-normal);
    text-decoration: none;
}

.live-link:hover {
    background: #1A0F4C;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.live-link i {
    font-size: 1.2rem;
}

/* ============================================
   ARTIST HIGHLIGHT STYLES
============================================ */
.artist-highlight {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.5rem 1.25rem 1.25rem;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        rgba(36, 21, 108, 0.97),
        rgba(0, 35, 102, 0.96),
        rgba(36, 21, 108, 0.9)
    );
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    color: #fff;
}

.artist-highlight .section-title {
    margin-bottom: 0.8rem;
}

.artist-highlight .section-title h2.artist-section-title {
    font-size: 1.6rem;
    color: #ffffff;
}

.artist-highlight .section-title h2.artist-section-title::after {
    background: var(--white);
}

.artist-video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 default */
    overflow: hidden;
    border-radius: 14px;
}

.artist-video-wrapper.split-layout {
    padding-top: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    min-height: 240px;
}

#artistVideoContainer {
    position: absolute;
    inset: 0;
}

.artist-video-wrapper.split-layout #artistVideoContainer {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
}

#artistVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.artist-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
    z-index: 2;
}

.artist-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.artist-video-wrapper.split-layout .artist-overlay {
    position: relative;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    backdrop-filter: none;
    align-items: center;
    justify-content: center;
}

.overlay-content {
    text-align: center;
    color: #ffffff;
    padding: 1.2rem;
}

.overlay-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.overlay-content p {
    margin: 0.3rem 0;
    color: #ffffff;
}

.overlay-subtitle {
    margin-top: 0.3rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.95;
}

.overlay-note,
.artist-name-line {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.9;
}

.music-platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.7rem;
}

.music-platforms a {
    text-decoration: none;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--primary-blue);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.music-platforms a i {
    font-size: 0.9rem;
}

.music-platforms a:hover {
    transform: translateY(-2px);
    background: #1A0F4C;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.artist-name-line {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.artist-video-controls {
    margin-top: 0.8rem;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.artist-control-btn {
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: transparent;
    color: #fff;
    padding: 0.45rem 1.2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.artist-control-btn i {
    font-size: 0.9rem;
}

.artist-control-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.volume-toggle-btn {
    background: #ffffff;
    color: var(--primary-blue);
    border-color: #ffffff;
    padding: 0.5rem 1.4rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

.volume-toggle-btn:hover {
    background: #1A0F4C;
    color: #ffffff;
}

.load-video-container {
    margin-top: 1.5rem;
    text-align: center;
}

.video-loading-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 14px;
}

.spinner-container {
    text-align: center;
    color: white;
}

.spinner-container p {
    margin-top: 15px;
    font-size: 1rem;
}

.load-video-btn {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #ffffff;
    padding: 0.6rem 1.8rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.load-video-btn:hover {
    background: #1A0F4C;
    border-color: #1A0F4C;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* ============================================
   MUSIC HIGHLIGHT SECTION
============================================ */
.music-highlight {
    background:
        radial-gradient(circle at 50% 18%, rgba(250, 123, 8, 0.12), transparent 30%),
        linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
    padding: var(--space-xxl) 0;
    overflow-x: clip;
    overflow-y: visible;
}

.music-card {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 249, 252, 0.96)),
        var(--white);
    border: 1px solid rgba(36, 21, 108, 0.1);
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 24px 60px rgba(16, 22, 54, 0.16);
    display: block;
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 0 34px;
}

.music-visual {
    position: relative;
    min-width: 0;
    overflow: visible;
    width: 100%;
}

.music-image {
    position: relative;
    width: 100%;
    min-height: 430px;
    isolation: isolate;
    z-index: 2;
}

.music-visual .video-wrapper {
    position: absolute !important;
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    width: min(300px, 22.5vw) !important;
    transform: translate(-50%, -50%) translateY(88px);
    aspect-ratio: auto !important;
    height: 58px;
    z-index: 9;
    overflow: visible;
    background: transparent;
    pointer-events: none;
}

.music-visual #yt-player {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    opacity: 0;
    pointer-events: none;
}

.music-carousel-window {
    position: relative;
    width: min(100vw, 1180px);
    min-height: 390px;
    left: 50%;
    transform: translateX(-50%);
    overflow: visible;
}

.music-carousel-track {
    position: absolute;
    inset: 0;
}

.music-carousel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(190px, 24vw, 320px);
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #111;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(16, 22, 54, 0.18);
    opacity: 0.16;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.56) translateY(42px);
    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.55s ease,
        filter 0.55s ease,
        box-shadow 0.55s ease,
        z-index 0.01s linear;
    will-change: transform, opacity, filter;
}

.music-carousel-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.music-carousel-item span {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(9, 12, 32, 0.86);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.music-carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 30%),
        linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.86));
    pointer-events: none;
}

.music-carousel-item.is-active {
    opacity: 1;
    z-index: 5;
    pointer-events: auto;
    filter: blur(0) saturate(1.08);
    transform: translate(-50%, -50%) scale(1.05) translateY(-28px);
    box-shadow: 0 28px 70px rgba(16, 22, 54, 0.34);
}

.music-carousel-item.is-active.is-new {
    box-shadow:
        0 32px 80px rgba(36, 21, 108, 0.34),
        0 0 0 4px rgba(250, 123, 8, 0.22),
        0 0 42px rgba(250, 123, 8, 0.28);
}

.music-carousel-item.is-prev,
.music-carousel-item.is-next {
    opacity: 0.54;
    z-index: 2;
    pointer-events: auto;
    filter: blur(3px) saturate(0.78);
}

.music-carousel-item.is-prev {
    transform: translate(-126%, -50%) scale(0.74) translateY(30px);
}

.music-carousel-item.is-next {
    transform: translate(26%, -50%) scale(0.74) translateY(30px);
}

.music-carousel-item.is-far-prev,
.music-carousel-item.is-far-next,
.music-carousel-item.is-far {
    z-index: 1;
    pointer-events: none;
    filter: blur(6px) saturate(0.65);
}

.music-carousel-item.is-far-prev {
    opacity: 0.2;
    transform: translate(-188%, -50%) scale(0.52) translateY(52px);
}

.music-carousel-item.is-far-next {
    opacity: 0.2;
    transform: translate(88%, -50%) scale(0.52) translateY(52px);
}

.music-carousel-item.is-far {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.46) translateY(58px);
}

.play-overlay-always {
    position: absolute;
    top: 195px;
    left: 50%;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%) translateY(-26px);
    background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.26));
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 8;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.music-image.is-playing .play-overlay-always {
    opacity: 0;
}

.play-btn-always {
    width: 72px;
    height: 72px;
    background: var(--white);
    color: var(--primary-blue);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 14px 34px rgba(0,0,0,0.34);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    pointer-events: auto;
}

.play-btn-always:hover {
    transform: scale(1.1);
    background: var(--primary-blue);
    color: var(--white);
}

.custom-player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(36, 21, 108, 0.9);
    display: flex;
    align-items: center;
    padding: 8px 12px;
    gap: 12px;
    z-index: 10;
    backdrop-filter: blur(5px);
    pointer-events: auto;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 -10px 28px rgba(16, 22, 54, 0.16);
}

.ctrl-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    display: flex;
    justify-content: center;
    transition: transform 0.2s ease;
}

.ctrl-btn:hover {
    transform: scale(1.2);
}

.progress-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: visible; /* Changed to visible to allow thumb glow */
    position: relative;
    cursor: pointer;
    transition: height 0.2s ease;
}

.progress-container:hover {
    height: 10px;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--white);
    width: 0%;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: width 0.1s linear;
}

/* Static Animation: Subtle Pulse on the bar */
@keyframes barPulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; box-shadow: 0 0 15px rgba(255, 255, 255, 0.8); }
    100% { opacity: 0.8; }
}

.progress-bar {
    animation: barPulse 2s infinite ease-in-out;
}

/* Progress Thumb (Indicator) */
.progress-bar::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-container:hover .progress-bar::after {
    opacity: 1;
}

#yt-player {
    pointer-events: none; /* Prevent direct interaction with YT UI */
}

@media (max-width: 768px) {
    .custom-player-controls {
        padding: 8px 10px;
        gap: 10px;
    }
    
    .ctrl-btn {
        font-size: 1rem;
    }
}

.music-details {
    padding: 4px 32px 0;
    min-width: 0;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}

.music-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    position: static;
    width: auto;
    transform: none;
    gap: 14px;
    margin: 14px auto 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--primary-blue);
    font-weight: 700;
    z-index: auto;
    pointer-events: auto;
}

.music-featured-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 auto 12px;
    padding: 7px 11px;
    border-radius: 8px;
    background: rgba(36, 21, 108, 0.08);
    color: var(--primary-blue);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.music-featured-pill.is-featured {
    background: linear-gradient(135deg, #FA7B08, var(--primary-blue));
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(36, 21, 108, 0.22);
}

.music-slide-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(36, 21, 108, 0.16);
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    pointer-events: auto;
    box-shadow: 0 10px 24px rgba(16, 22, 54, 0.16);
}

.music-slide-btn:hover {
    background: var(--primary-blue);
    color: #ffffff;
    transform: translateY(-1px);
}

.music-details h3 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.02;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.artist-name {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--medium-gray);
    margin-bottom: var(--space-lg);
}

.music-platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: none;
    margin: 0 auto;
}

.music-platforms a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    flex: 0 1 auto;
    padding: 11px 16px;
    background: var(--light-gray);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--primary-blue);
    transition: var(--transition-normal);
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .music-platforms {
        flex-wrap: nowrap;
    }
}

.music-platforms a i {
    font-size: 1.2rem;
}

.music-platforms a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .music-card {
        max-width: 430px;
        padding: 20px 0 24px;
    }

    .music-image,
    .music-carousel-window {
        min-height: 350px;
    }

    .music-carousel-item {
        width: min(68vw, 270px);
    }

    .music-carousel-item.is-prev {
        transform: translate(-94%, -50%) scale(0.62) translateY(32px);
    }

    .music-carousel-item.is-next {
        transform: translate(-6%, -50%) scale(0.62) translateY(32px);
    }

    .music-carousel-item.is-far-prev {
        transform: translate(-132%, -50%) scale(0.48) translateY(54px);
    }

    .music-carousel-item.is-far-next {
        transform: translate(32%, -50%) scale(0.48) translateY(54px);
    }

    .play-overlay-always {
        max-width: min(70vw, 270px);
        top: 155px;
    }

    .music-visual .video-wrapper {
        width: min(64vw, 250px) !important;
        height: 50px;
        transform: translate(-50%, -50%) translateY(76px);
    }

    .custom-player-controls {
        padding: 7px 9px;
        gap: 8px;
    }

    .music-slide-btn {
        width: 42px;
        height: 42px;
    }
    
    .music-details {
        padding: 0 18px;
        text-align: center;
    }
    
    .music-platforms {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 340px;
        margin: 0 auto;
    }

    .music-details h3 {
        font-size: 2rem;
        line-height: 1.1;
    }
}
.online-giving {
    padding: var(--space-xxl) 0;
    background: var(--primary-blue);
    color: var(--white);
}

.giving-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-align: center;
}

.giving-container p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--white);
    text-align: center;
}

.giving-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.giving-option {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.giving-option a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.giving-option h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
    text-align: center;
}

.giving-option p {
    font-size: 1rem;
    color: var(--dark-gray);
    margin: 0;
    text-align: center;
}

.giving-option i {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 2.5rem;
    transition: transform .3s;
    display: block;
    text-align: center;
}

.giving-option:hover {
    background: var(--white);
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.giving-option:hover h4 {
    color: #1A0F4C;
}

.giving-option:hover i {
    transform: rotate(360deg);
    color: #1A0F4C;
}

/* ============================================
   YOUTUBE VIDEOS
============================================ */
.youtube-videos {
    background: var(--white);
    padding: var(--space-xxl) 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: var(--space-xl);
}

.video-container {
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   GALLERY SECTION
============================================ */
.gallery {
    padding: var(--space-xxl) 0;
    background: var(--light-gray);
}

.gallery-container {
    position: relative;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.gallery-container img {
    position: absolute;
    width: 33vw;
    transform: translateY(100vh);
    animation: linear infinite float-up;
    box-shadow: 1px 3px 15px rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: 8px;
}

@keyframes float-up {
    from { transform: translateY(100vh); }
    to { transform: translateY(-100vh); }
}

.gallery-container img:nth-child(1) { animation-duration: 20s; animation-delay: 0s; left: 0; }
.gallery-container img:nth-child(2) { animation-duration: 30s; animation-delay: -3s; left: 10vw; }
.gallery-container img:nth-child(3) { animation-duration: 25s; animation-delay: -6s; left: 90vw; }
.gallery-container img:nth-child(4) { animation-duration: 22s; animation-delay: -9s; left: 36vw; }
.gallery-container img:nth-child(5) { animation-duration: 28s; animation-delay: -12s; left: 62vw; }
.gallery-container img:nth-child(6) { animation-duration: 24s; animation-delay: -15s; left: 15vw; }
.gallery-container img:nth-child(7) { animation-duration: 26s; animation-delay: -18s; left: 55vw; }
.gallery-container img:nth-child(8) { animation-duration: 32s; animation-delay: -21s; left: -20vw; }
.gallery-container img:nth-child(9) { animation-duration: 23s; animation-delay: -24s; left: 68vw; }
.gallery-container img:nth-child(10) { animation-duration: 27s; animation-delay: -27s; left: 0; }

/* ============================================
   TESTIMONIES
============================================ */
.testimonies-display {
    background: var(--white);
    padding: var(--space-xxl) 0;
}

.testimonies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.testimony-card {
    padding: 20px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    transition: var(--transition-normal);
}

.testimony-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.testimony-content {
    font-style: italic;
    position: relative;
    padding-left: 25px;
    color: var(--dark-gray);
}

.testimony-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -15px;
    font-size: 3rem;
    color: rgba(36, 21, 108, 0.2);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.testimony-meta {
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
    margin-top: 15px;
}

.testimony-author {
    font-weight: 600;
    color: var(--primary-blue);
}

.testimony-date {
    font-size: .9rem;
    color: var(--medium-gray);
}

.response-message {
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: none;
    align-items: center;
    gap: 10px;
}

.response-message.success {
    background: #d4edda;
    color: #155724;
    display: flex;
}

.response-message.error {
    background: #f8d7da;
    color: #721c24;
    display: flex;
}

.response-message i {
    font-size: 1.2rem;
}

.loading-testimonies {
    padding: 40px;
    grid-column: 1/-1;
    text-align: center;
}

.loading-testimonies i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

.load-more-container {
    grid-column: 1/-1;
    margin-top: 20px;
    text-align: center;
}

.load-more-btn {
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition-normal);
}

.load-more-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.load-more-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    background: var(--white);
    color: var(--primary-blue);
}

/* ============================================
   OFFICIAL LINK
============================================ */
.official-link {
    background: var(--primary-blue);
    padding: var(--space-xl) 0;
    text-align: center;
    color: var(--white);
}

.official-link h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--white);
}

.official-link p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   MAP SECTION
============================================ */
.map-section {
    background: var(--white);
    padding: var(--space-xl) 0;
}

.map-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    background: var(--white);
    padding: 20px;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    z-index: 1;
}

.get-directions {
    display: block;
    margin: 20px auto;
    width: auto;
}

/* ============================================
   FOOTER
============================================ */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: var(--space-xxl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--white);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition-normal);
}

.footer-col ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-col ul li i {
    width: 20px;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 4px;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ============================================
   ANIMATIONS & PROGRESSIVE LOADING
============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-loading {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-loaded {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.985);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.animate-delay-1 {
    transition-delay: 0.2s;
}

.animate-delay-2 {
    transition-delay: 0.4s;
}

.animate-delay-3 {
    transition-delay: 0.6s;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.loaded {
    opacity: 1;
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal-on-scroll,
    .fade-in,
    .content-loading,
    img[loading="lazy"] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 992px) {
    .holy-ghost-content {
        grid-template-columns: 1fr;
    }

    .header-container {
        gap: 12px;
    }

    .schedule-container {
        padding: 15px;
    }
    
    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        display: grid;
    }
    
    .schedule-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 10px;
        height: 100%;
        min-height: 165px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-left: none; /* Remove desktop left border for balance */
        border-top: 4px solid var(--primary-blue); /* Move accent to top */
        background: #f8f9fa;
    }
    
    .schedule-icon {
        margin-right: 0;
        margin-bottom: 12px;
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .schedule-day {
        font-size: 0.88rem;
        font-weight: 700;
        margin-bottom: 4px;
        line-height: 1.15;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .schedule-time {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--black);
    }

    .schedule-desc {
        display: none;
    }
    
    .artist-video-wrapper.split-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--space-xl) 0;
    }
    
    .hero-section {
        min-height: 70vh;
        margin-top: 60px;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .logo-text span {
        font-size: 0.72rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content .hero-content-mara {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta a {
        width: 100%;
        max-width: 300px;
    }

    .holy-ghost-details,
    .music-details,
    .countdown-container,
    .schedule-container,
    .map-container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .giving-options {
        grid-template-columns: 1fr;
    }
    
    .testimonies-grid {
        grid-template-columns: 1fr;
    }
    
    #map {
        height: 300px;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    .gallery-container {
        height: 90vh;
        overflow: hidden;
    }

    .gallery-container img {
        position: absolute;
        width: 42vw;
        aspect-ratio: auto;
        object-fit: cover;
        transform: translateY(100vh);
        animation: linear infinite float-up;
    }
    
    .live-links {
        flex-direction: column;
        align-items: center;
    }
    
    .live-link {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .artist-highlight .music-platforms {
        flex-direction: column;
        align-items: center;
    }
    
    .artist-highlight .music-platforms a {
        width: 80%;
        justify-content: center;
    }
    
    .artist-video-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .artist-control-btn {
        width: 100%;
        justify-content: center;
    }

    .event-detail-content .event-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-text span {
        display: block;
        font-size: 0.66rem;
        line-height: 1.2;
    }
    
    .hero-section {
        min-height: 60vh;
    }

    .logo img {
        height: 52px;
    }

    .mobile-nav,
    .mobile-nav-table {
        width: min(86vw, 320px);
    }

    .gallery-container {
        height: 82vh;
    }

    .gallery-container img {
        width: 58vw;
    }
    
    .countdown-text {
        font-size: 1.5rem;
    }
    
    #nextServiceName {
        font-size: 1rem;
    }
    
    .giving-options {
        grid-template-columns: 1fr;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .artist-highlight .section-title h2.artist-section-title {
        font-size: 1.3rem;
    }
    
    .overlay-content h3 {
        font-size: 1.1rem;
    }
    
    .overlay-subtitle {
        font-size: 0.9rem;
    }
    
    .artist-name-line, .overlay-note {
        font-size: 0.75rem;
    }
    
    .load-video-btn {
        width: 100%;
    }
}

/* ============================================
   2026 EVENT, SCHEDULE AND RSS GALLERY UPDATES
============================================ */
.service-schedule-section {
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
}

.schedule-container {
    max-width: 1080px;
    border: 1px solid rgba(36, 21, 108, 0.1);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(16, 22, 54, 0.12);
}

.schedule-grid {
    gap: 18px;
}

.schedule-item {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(36, 21, 108, 0.1);
    border-left: 5px solid var(--primary-blue);
    box-shadow: 0 10px 24px rgba(16, 22, 54, 0.08);
}

.schedule-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(36, 21, 108, 0.08), transparent 55%);
    pointer-events: none;
}

.schedule-icon {
    position: relative;
    z-index: 1;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(36, 21, 108, 0.18);
}

.schedule-info {
    position: relative;
    z-index: 1;
}

.countdown-container {
    background: #ffffff;
    border: 1px solid rgba(36, 21, 108, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6), 0 12px 28px rgba(16, 22, 54, 0.08);
}

.instagram-image-container {
    max-width: min(1180px, 100%);
    margin: 20px auto;
    text-align: center;
}

.gallery-rss-wide-card {
    max-width: min(1180px, 100%);
    width: 100%;
}

.gallery-rss-card {
    padding: 18px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(36, 21, 108, 0.1);
    box-shadow: 0 18px 42px rgba(16, 22, 54, 0.12);
}

.gallery-page-rss-card {
    margin-bottom: 36px;
}

.rss-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    width: 100%;
}

.home-rss-photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery .home-rss-photo-grid {
    position: relative;
    display: block;
    height: min(96vh, 840px);
    overflow: hidden;
}

.home-rss-photo-grid .rss-photo-item {
    position: absolute;
    top: auto;
    bottom: -32vh;
    left: var(--float-left, 0);
    width: clamp(150px, 18vw, 260px);
    min-height: 0;
    transform: translateY(0);
    opacity: 1;
    animation: home-gallery-float var(--float-duration, 26s) linear infinite;
    animation-delay: var(--float-delay, 0s);
    will-change: transform;
}

.home-rss-photo-grid .rss-photo-item img {
    min-height: 0;
    aspect-ratio: 4 / 5;
}

@keyframes home-gallery-float {
    from { transform: translateY(18vh) scale(var(--float-scale, 1)) rotate(-1deg); }
    to { transform: translateY(-138vh) scale(var(--float-scale, 1)) rotate(1deg); }
}

.gallery-rss-photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.rss-photo-item {
    margin: 0;
    min-height: 220px;
    border-radius: 8px;
    overflow: hidden;
    background: #f4f5f8;
    opacity: 0;
    transform: translateY(12px);
    animation: rss-photo-in 0.45s ease forwards;
    animation-delay: var(--rss-delay, 0ms);
}

.rss-photo-item img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: block;
}

@keyframes rss-photo-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-text {
    color: var(--medium-gray);
    margin: 0;
}

@media (max-width: 992px) {
    .schedule-item {
        border-left: 1px solid rgba(36, 21, 108, 0.1);
        border-top: 4px solid var(--primary-blue);
    }
}

@media (max-width: 576px) {
    .gallery-rss-card {
        padding: 12px;
    }

    .rss-photo-grid,
    .gallery-rss-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .gallery .home-rss-photo-grid {
        height: 82vh;
    }

    .home-rss-photo-grid .rss-photo-item {
        width: 46vw;
    }

    .rss-photo-item,
    .rss-photo-item img {
        min-height: 150px;
    }
}
