:root {
    --primary-color: #2563eb;
    /* Vibrant Royal Blue */
    --secondary-color: #ffd700;
    --accent-color: #fb8c00;
    --text-dark: #1e293b;
    --text-light: #ffffff;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-cream: #faf8f3;
    --bg-slate: #f1f5f9;
    --navy-dark: #1e40af;
    /* Deep Royal */
    --navy-medium: #3b82f6;
    /* Bright Blue */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        url('../images/divine-bird-bg.png') center/cover fixed no-repeat;
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(26, 43, 109, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body>* {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 2.5rem);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    justify-content: flex-end;
    padding: 5px 40px;
    background: var(--navy-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 3px 12px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    font-weight: 700;
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
}

/* Header Styles */
/* Header styles moved to global.css */

/* Navigation Styles */
/* Navigation styles moved to global.css */

/* Mobile Toggle - Standardized */
/* Mobile toggle moved to global.css */

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 43, 109, 0.7), rgba(26, 43, 109, 0.5)),
        url('https://images.unsplash.com/photo-1696525899578-b029f8b7f15d?w=1600&auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: clamp(600px, 85vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(80px, 15vh, 120px) 20px 0;
    margin-top: 0;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 80vh;
        /* Better for content spacing */
        padding: 100px 15px 60px;
        /* Slightly reduced top padding */
        background-attachment: scroll;
        /* Fix for mobile browser background issues */
        background-position: center 20%;
        /* Ensure subject remains visible */
    }

    .hero-content h2 {
        font-size: var(--fs-h2);
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        margin-bottom: 30px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--navy-dark);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

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

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

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: var(--fs-h1);
    line-height: 1.1;
    margin-bottom: clamp(15px, 3vh, 25px);
    color: var(--text-light);
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.4);
    animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

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

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.4rem);
    margin-bottom: clamp(25px, 5vh, 45px);
    max-width: clamp(300px, 80vw, 800px);
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn i {
    font-size: 1.1rem;
}

.btn.primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--primary-color);
    border: none;
    font-weight: 700;
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.btn.primary:hover {
    filter: brightness(1.15);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.5);
}

/* Service Countdown Container */
.service-countdown {
    background: rgba(0, 0, 0, 0.4);
    /* Darker for better contrast */
    backdrop-filter: blur(8px);
    padding: 15px 20px;
    border-radius: 12px;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeIn 1.5s ease-out;
    max-width: 95%;
}

@media (max-width: 400px) {
    .service-countdown {
        gap: 10px;
        padding: 10px;
    }

    .countdown-item .number {
        font-size: 1.2rem !important;
    }

    .countdown-item .label {
        font-size: 0.6rem !important;
    }
}

.countdown-item {
    text-align: center;
}

.countdown-item .number {
    display: block;
    font-size: clamp(1.2rem, 5vw, 2rem);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.countdown-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

/* Upcoming Events */
.upcoming-events {
    padding: 40px 0 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, #f0e6d8 100%);
    position: relative;
}

.upcoming-events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(26, 43, 109, 0.015) 35px, rgba(26, 43, 109, 0.015) 70px);
    pointer-events: none;
}

.upcoming-events h2 {
    font-family: 'Playfair Display', serif;
    font-size: var(--fs-h2);
    margin-bottom: 40px;
    position: relative;
    color: #333333;
}

.upcoming-events h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #ffd700;
    margin: 15px auto;
}

.events-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
    gap: 30px;
}

.event-card {
    flex: 1 1 300px;
    max-width: 400px;
    background: linear-gradient(to bottom, #ffffff 0%, #fefefe 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(26, 43, 109, 0.08);
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
}

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

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(26, 43, 109, 0.15);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c5aa0 100%);
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.event-date::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.event-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.event-date .month {
    font-size: 0.9rem;
    opacity: 0.9;
}

.event-details {
    padding: 25px;
    text-align: left;
}

.event-details h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.event-time {
    color: var(--accent-color);
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-details p {
    color: #666666;
}

.view-all {
    margin-top: 20px;
}

/* Featured Publication (Premium 3D Book) */
.featured-publication {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.booklets-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.booklet-card {
    flex: 1 1 450px;
    max-width: 600px;
    width: 100%;
    margin: 0;
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: var(--transition);
}

.booklet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(26, 43, 109, 0.1);
}

/* 3D Book Structure */
.book-container {
    perspective: 1500px;
    flex: 0 0 70px;
    width: 70px;
    filter: drop-shadow(15px 20px 25px rgba(0, 0, 0, 0.2));
}

.book-main {
    position: relative;
    width: 100%;
    height: 100px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: rotateY(-30deg) rotateX(5deg);
}

.booklet-card:hover .book-main {
    transform: rotateY(0deg) rotateX(0deg) translateZ(20px);
}

.book-front,
.book-back,
.book-pages {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 2px 8px 8px 2px;
}

.book-front {
    background: linear-gradient(135deg, #1e40af 0%, #172554 100%);
    z-index: 5;
    transform: translateZ(12px);
    display: flex;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.book-pages {
    background: #ffffff;
    z-index: 3;
    width: 96%;
    left: 2%;
    transform: translateZ(0px);
    background-image:
        repeating-linear-gradient(to bottom,
            transparent,
            transparent 1px,
            #e2e8f0 1px,
            #e2e8f0 2px);
}

.book-back {
    background: #172554;
    z-index: 1;
    transform: translateZ(-12px);
}

.book-spine-effect {
    width: 20px;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset -5px 0 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.book-cover-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.book-cover-content i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.booklet-vol {
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.6rem;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Shine Animation */
.book-front::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: skewX(-20deg);
    transition: 0.8s;
}

.booklet-card:hover .book-front::after {
    left: 150%;
}

.booklet-details {
    flex: 1;
}

.booklet-details .badge {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--navy-dark);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

.booklet-details h2 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--navy-dark);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.booklet-details p {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.7;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .booklet-card {
        flex-direction: row;
        text-align: left;
        padding: 20px;
        gap: 20px;
    }

    .book-container {
        flex: 0 0 100px;
        width: 100px;
        margin: 0;
    }

    .book-main {
        transform: rotateY(-20deg) rotateX(5deg);
    }
}

/* Lite PDF Modal */
.lite-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lite-modal.show {
    display: flex;
    opacity: 1;
}

.lite-modal-body {
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    background: white;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.lite-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.lite-close:hover {
    background: #f8fafc;
    transform: scale(1.1);
}

.lite-iframe-container {
    width: 100%;
    height: 100%;
}

.lite-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 600px) {
    .lite-modal {
        padding: 0;
    }

    .lite-modal-body {
        height: 100%;
        border-radius: 0;
    }
}

/* Watch Online Styles */
.watch-online-page {
    padding: 50px 0 60px;
    background: linear-gradient(to bottom, var(--bg-slate) 0%, #cbd5e0 100%);
    position: relative;
}

.watch-online-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(30deg, rgba(26, 43, 109, 0.015) 12%, transparent 12.5%, transparent 87%, rgba(26, 43, 109, 0.015) 87.5%, rgba(26, 43, 109, 0.015)),
        linear-gradient(150deg, rgba(26, 43, 109, 0.015) 12%, transparent 12.5%, transparent 87%, rgba(26, 43, 109, 0.015) 87.5%, rgba(26, 43, 109, 0.015));
    background-size: 80px 140px;
    opacity: 0.4;
    pointer-events: none;
}

/* New Here Section */
.new-here {
    padding: 50px 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
    position: relative;
    overflow: hidden;
}

.new-here::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.new-here::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 43, 109, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.new-here .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.new-here h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.new-here .section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.watch-online {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    padding: clamp(20px, 5vw, 50px) clamp(15px, 8vw, 80px);
    margin: 30px auto;
    width: 95%;
    max-width: 1000px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    text-align: center;
}

.watch-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #2c5aa0;
}

.watch-content p {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: #666666;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    /* Full width */
    margin: 30px 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    border-radius: 15px;
    overflow: hidden;
}

.video-container iframe,
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(44, 90, 160, 0.8), rgba(44, 90, 160, 0.9)),
        url('https://images.unsplash.com/photo-1507838153414-b4b713384a76?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    flex-direction: column;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
    transition: transform 0.3s ease;
}

.video-placeholder span {
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-placeholder:hover i {
    transform: scale(1.1);
}

.video-placeholder:hover {
    background: linear-gradient(rgba(26, 79, 231, 0.7), rgba(65, 84, 168, 0.8)),
        url('https://images.unsplash.com/photo-1507838153414-b4b713384a76?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
}

.watch-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* YouTube Button */
.btn-youtube {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    border: none;
}

.btn-youtube:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    filter: brightness(1.1);
}

/* Switch Video Button */
.btn-switch {
    background: linear-gradient(135deg, var(--primary-color), #2c5aa0);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(26, 43, 109, 0.3);
    border: none;
}

.btn-switch:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 43, 109, 0.4);
    filter: brightness(1.15);
}

.video-info {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: left;
    color: #333333;
}

.video-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2c5aa0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
    color: #666666;
}

.video-info ul {
    margin: 20px 0 20px 20px;
}

.video-info li {
    margin-bottom: 10px;
    line-height: 1.5;
    color: #666666;
}

/* Social Media Section */
.social-media-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
    border-radius: 15px;
    text-align: center;
}

.social-media-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-media-section p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 3vw, 20px);
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-btn i {
    font-size: 1.2rem;
}

.social-btn.facebook {
    background: linear-gradient(135deg, #1877F2, #0d5dbf);
    color: white;
}

.social-btn.facebook:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.social-btn.tiktok {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
}

.social-btn.tiktok:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.social-btn.youtube {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: white;
}

.social-btn.youtube:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}


/* Footer */
.main-footer {
    background: linear-gradient(135deg, #1a2b6d 0%, #2c3e50 100%);
    color: white;
    padding: 60px 0 0;
    margin-top: 0;
}

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

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 80px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 2000;
        display: flex !important;
    }

    .nav-links.active {
        right: 0;
        visibility: visible;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
    }

    .nav-links a {
        color: var(--text-dark);
        width: 100%;
        padding: 15px 25px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        justify-content: flex-start;
        border-radius: 0;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background-color: var(--bg-light);
        color: var(--primary-color);
        box-shadow: none;
    }

    .nav-links a i {
        color: var(--primary-color);
        width: 20px;
        text-align: center;
        margin-right: 15px;
    }

    .watch-online {
        padding: 30px 20px;
        margin: 30px auto;
        width: 95%;
    }

    .video-container {
        padding-bottom: 56.25%;
        /* Keep aspect ratio */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding: 0 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    border-radius: 50%;
    margin-right: 15px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: white;
    font-family: 'Playfair Display', serif;
}

.footer-desc {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    gap: 12px;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-bottom .footer-links a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        background-attachment: scroll !important;
        background-position: center top;
        background-size: cover;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 80px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 2000;
        display: flex !important;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin: 0;
        opacity: 0;
        transform: translateX(20px);
        transition: 0.4s ease;
        transition-delay: calc(0.1s * var(--i));
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Mobile nav overrides handled by global.css */

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .watch-online {
        padding: 30px 20px;
    }

    .watch-content h2 {
        font-size: 1.8rem;
    }

    .watch-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 1rem;
        min-width: 200px;
    }

    .watch-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-youtube,
    .btn-switch {
        width: auto !important;
        min-width: 250px;
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 40px;
    }

    .footer-bottom {
        padding: 20px;
    }


}

@media (max-width: 480px) {
    .church-name {
        font-size: 1.4rem;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .upcoming-events h2 {
        font-size: 1.8rem;
    }

    .watch-online {
        padding: 25px 15px;
    }

    .watch-content h2 {
        font-size: 1.6rem;
    }

    .video-placeholder i {
        font-size: 4rem;
    }

    .video-placeholder span {
        font-size: 1.2rem;
    }

    /* Mobile video container */
    .video-container {
        margin: 20px 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Section Spacing Utility */
section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 40px;
}

/* Enhanced Mobile Styles */
/* Mobile menu animation handled by global.css */

/* Ensure all interactive elements have proper cursor */
button,
a,
.lang-btn,
.nav-links a,
.play-btn,
.youtube-link {
    cursor: pointer;
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

/* Loading state for buttons */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin 1s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

/* Language Switcher Enhancements */
.language-switcher {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.3);
    color: #333333;
    padding: 5px 10px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.lang-btn.active {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.lang-btn:hover {
    background: rgba(44, 90, 160, 0.1);
}

/* Notification Styles */
.notification {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile menu enhancements */
.mobile-menu-btn {
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* Loading states */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-radius: 50%;
    border-top-color: currentColor;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* RTL support for future expansion */
[dir="rtl"] .footer-logo img,
[dir="rtl"] .logo {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .nav-links a i,
[dir="rtl"] .footer-links a i {
    margin-right: 0;
    margin-left: 8px;
}