@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Kannada:wght@400;700&display=swap');

/* 
    Tantrik Vasudev - Premium Spiritual Brand Styling
*/

html {
    scroll-behavior: smooth;
}

:root {
    --gold: #FFD700;
    --gold-glow: rgba(255, 215, 0, 0.5);
    --gold-dark: #ccaa00;
    --dark-bg: #050505;
    --card-bg: #111111;
    --text-light: #ffffff; 
    --text-dim: #f0f0f0; /* Even brighter off-white */
    --saffron: #ff9933;
    --kanada-font: 'Noto Sans Kannada', sans-serif;
    --nav-font-size: 0.85rem;
}

body {
    background-color: #0b0b0b;
    color: #ffffff;
    overflow-x: hidden;
    transition: opacity 0.4s ease-in-out;
}

/* 🌐 Bilingual Visibility Management */
.kn { display: none !important; }
body.lang-kn .kn { display: inline !important; }
body.lang-kn .en { display: none !important; }

/* Block-level elements handling */
body.lang-kn div.kn, body.lang-kn section.kn, body.lang-kn p.kn, body.lang-kn h1.kn, body.lang-kn h2.kn, body.lang-kn h3.kn, body.lang-kn h4.kn, body.lang-kn h5.kn, body.lang-kn h6.kn { display: block !important; }
div.en, section.en, p.en, h1.en, h2.en, h3.en, h4.en, h5.en, h6.en { display: block; }
body.lang-kn div.en, body.lang-kn section.en, body.lang-kn p.en, body.lang-kn h1.en, body.lang-kn h2.en, body.lang-kn h3.en, body.lang-kn h4.en, body.lang-kn h5.en, body.lang-kn h6.en { display: none !important; }

/* Inline flex for buttons/links containing icons + spans */
.nav-link, .btn, .lang-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

body.lang-kn {
    font-family: var(--kanada-font), 'Poppins', sans-serif;
}

.lang-toggle {
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 6px 12px; /* Slightly reduced */
    border-radius: 20px;
    font-size: 0.8rem; /* Slightly reduced */
    font-weight: 600;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
    margin-left: 10px; /* Reduced */
    white-space: nowrap;
    line-height: normal; /* Fix for button vertical alignment */
}

.lang-toggle:hover {
    background: var(--gold);
    color: #000;
}

.lang-toggle.active-en span.en-label { color: var(--gold); font-weight: bold; }
.lang-toggle.active-kn span.kn-label { color: var(--gold); font-weight: bold; }

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.text-muted {
    color: var(--text-dim) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.text-white {
    color: #ffffff !important;
}

.text-light {
    color: var(--text-light) !important;
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--gold) !important; /* Force gold on all headers */
}

.main-logo {
    display: block;
    height: 120px !important; /* Maximized for legibility of internal text */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background-color: transparent !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: transform 0.3s ease;
}

.logo-container {
    background: none !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.main-logo:hover {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    color: var(--gold) !important;
}

.brand-text .en {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.brand-text .kn {
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 2px;
}

.navbar-brand {
    padding: 0;
    isolation: isolate; /* Ensures mix-blend-mode: screen doesn't bleed into other elements */
}

.navbar-brand-name {
    color: #FFD700 !important;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    white-space: nowrap;
    line-height: 1.2;
}

/* 🌟 Glowing Golden Title Animation */
.section-title {
    color: var(--gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    position: absolute;
    bottom: -10px;
    left: 20%;
}

.navbar {
    background: rgba(0, 0, 0, 0.98) !important; /* Solid dark background for contrast */
    border-bottom: 1px solid rgba(255, 215, 0, 0.3) !important;
    padding: 12px 20px !important;
    min-height: 130px;
    display: flex !important;
    align-items: center;
    z-index: 99999 !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}

.navbar-toggler {
    padding: 8px 10px;
    background: rgba(255, 215, 0, 0.1) !important;
    border: 1px solid var(--gold) !important;
    border-radius: 5px;
}

.navbar-scrolled {
    padding: 8px 0;
    background-color: #000000 !important; /* Solid black to match logo */
    backdrop-filter: blur(15px) !important;
    border-bottom: 2px solid var(--gold) !important;
    min-height: 90px;
}

.navbar-scrolled .main-logo {
    height: 80px !important;
}

.navbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none;
    z-index: 100001;
}

.navbar-brand-name span {
    color: #FFD700 !important;
    font-weight: bold !important;
    font-size: 22px !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.nav-link {
    color: #ffffff !important; /* Brighter white for primary visibility */
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 0.9rem !important;
    padding: 10px 18px !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: color 0.3s ease;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: #000000 !important;
        padding: 20px !important;
        border-top: 1px solid rgba(255, 215, 0, 0.2) !important;
        margin-top: 10px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    }
    .navbar-nav {
        align-items: flex-start !important;
    }
    .nav-link {
        padding: 12px 0 !important;
        width: 100%;
    }
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
    }
}

/* 🌀 Specific Adjustments for Kannada Navbar */
body.lang-kn .nav-link {
    font-size: 0.7rem; 
    padding: 8px 6px !important;
    letter-spacing: 0;
}

body.lang-kn .navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.navbar-nav {
    align-items: center; /* Ensures everything in nav is vertically middle */
}

.nav-link:hover, .nav-link.active {
    color: var(--gold) !important;
}

.dropdown-menu {
    background: var(--card-bg);
    border: 1px solid var(--gold-glow);
}

.dropdown-item {
    color: #ccc !important;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background: var(--gold-glow);
    color: var(--gold) !important;
}

/* 🔥 Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero_bg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 90px;
    margin-top: 0;
}

@media (min-width: 992px) {
    .hero-section {
        height: 100vh;
    }
}

.hero-title {
    color: var(--gold);
    font-size: 4.5rem;
    text-shadow: 0 0 20px var(--gold-glow);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ddd;
    max-width: 800px;
    margin: 0 auto;
}

/* 🔮 Cards & Containers */
.card-spiritual {
    position: relative;
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), 
                border-color 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
    will-change: transform, box-shadow;
}

.card-spiritual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.9));
    z-index: 2;
    transition: opacity 0.5s ease;
}

.card-spiritual:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.25);
}

.card-spiritual .card-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.card-spiritual:hover .card-img-bg {
    transform: scale(1.15);
}

.card-spiritual .card-content {
    position: relative;
    z-index: 3;
    padding: 30px;
}

.card-spiritual .card-content > i {
    color: var(--gold);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    text-shadow: 0 0 15px var(--gold-glow);
}

/* Tighten list spacing and fix icon alignment in spiritual cards */
.card-spiritual ul li {
    margin-bottom: 10px !important;
    display: flex;
    align-items: flex-start;
}

.card-spiritual ul li i {
    font-size: 1.1rem !important;
    display: inline-block !important;
    margin-bottom: 0 !important;
    margin-top: 4px;
    text-shadow: none !important;
}

/* 🚩 Banner headlines slider */
.banner-headlines-section {
    background: #000;
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    overflow: hidden;
}

.carousel-fade .carousel-item {
    transition-duration: 0.6s;
    transition-property: opacity;
}

.banner-item {
    padding: 50px 80px; /* Increased side padding to clear arrows */
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
}

@media (max-width: 768px) {
    .banner-item {
        padding: 40px 50px;
    }
    .banner-text {
        font-size: 1.4rem !important;
    }
}

.banner-text {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.banner-subtext {
    color: var(--gold);
    font-size: 1.2rem;
    margin: 10px 0 20px;
}

/* 📺 YouTube Video Scroll */
.video-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    align-items: flex-start;
    scroll-snap-type: x mandatory;
}

.video-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

/* Custom Yellow Slide Bar */
.video-progress-track {
    width: 200px;
    height: 6px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.video-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%; /* Initial width */
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
    border-radius: 10px;
    transition: left 0.1s linear;
}

.video-card {
    flex: 0 0 320px;
    background: #111;
    border: 1px solid var(--gold-glow);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s, color 0.3s;
    scroll-snap-align: start;
}

.video-card:hover {
    transform: scale(1.05);
    border-color: var(--gold);
}

.video-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 18px;
    opacity: 0.8;
    transition: all 0.3s;
    box-shadow: 0 0 15px var(--gold-glow);
}

.video-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
    background: #fff;
}

/* 🧭 Video Scroll Buttons */
.video-scroll-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: var(--gold);
    color: #000;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-size: 1.2rem;
}

.video-scroll-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.video-scroll-btn.prev {
    left: -70px;
}

.video-scroll-btn.next {
    right: -70px;
}

@media (max-width: 1400px) {
    .video-scroll-btn.prev { left: -40px; }
    .video-scroll-btn.next { right: -40px; }
}

@media (max-width: 1200px) {
    .video-scroll-btn.prev { left: -20px; }
    .video-scroll-btn.next { right: -20px; }
}

@media (max-width: 991px) {
    .video-scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .video-scroll-btn.prev { left: -10px; }
    .video-scroll-btn.next { right: -10px; }
}

@media (max-width: 576px) {
    .video-scroll-btn {
        display: none; /* Hide on small mobile to keep swipe experience clean */
    }
}

/* 🏷️ Popup Modal Styling */
.modal-content-spiritual {
    background: #0a0a0a;
    border: 2px solid var(--gold);
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
}

.modal-header-spiritual {
    border-bottom: 1px solid var(--gold-glow);
    padding: 20px;
}

.yantra-title {
    color: var(--gold);
    font-size: 1.8rem; /* Slightly smaller to prevent merging */
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

@media (max-width: 991px) {
    .modal-content-spiritual {
        aspect-ratio: auto !important; /* Kill fixed aspect ratio on tablets/mobile */
    }
}

@media (max-width: 768px) {
    .yantra-title {
        font-size: 1.4rem;
    }
}

/* Glow Effect for WA Button */
.btn-wa-popup {
    background: #25d366;
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    padding: 12px 30px;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s, color 0.3s;
}

.btn-wa-popup:hover {
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.8);
    transform: scale(1.05);
}

/* WhatsApp Icon Size & Line Fixes */
.btn-wa-popup i, .btn-whatsapp-general i, .btn-whatsapp-service i {
    font-size: 1.5rem !important; /* Larger icons */
    vertical-align: middle;
}

.yantra-title, .modal-body-spiritual .fw-bold {
    white-space: normal; /* Allow wrapping to prevent cutoff */
    line-height: 1.4;
}

@media (max-width: 576px) {
    .yantra-title {
        font-size: 1rem;
        white-space: normal; /* Wrap only on very small screens if necessary */
    }
}


/* 🪙 Buttons */
.btn-gold {
    background: linear-gradient(45deg, var(--gold-dark), var(--gold));
    color: #000;
    font-weight: 700;
    border: none;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 5px 15px var(--gold-glow);
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s, color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}.btn-gold:hover {
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    transform: scale(1.05);
    color: #000;
    box-shadow: 0 8px 25px var(--gold-glow);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 50px;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s, color 0.3s;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #000;
}

/* Reduced size for small buttons */
.btn-sm.btn-gold, .btn-sm.btn-outline-gold {
    padding: 8px 20px !important;
    font-size: 0.75rem !important;
    letter-spacing: 1px;
}

.btn-sm i {
    font-size: 0.8rem !important;
}

/* 📱 WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s, color 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    background-color: #20b358;
}

/* 🍞 Breadcrumbs */
.breadcrumb-container {
    background: #111;
    padding: 15px 0;
    border-bottom: 1px solid #222;
}

.breadcrumb-item a {
    color: var(--gold);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #bbb;
}

.breadcrumb-item {
    white-space: normal !important; /* Allow wrapping */
}

/* 📜 Footer */
footer {
    background: #080808;
    border-top: 1px solid var(--gold-glow);
    padding: 80px 0 30px;
}

.footer-link {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-link:hover {
    color: var(--gold);
    padding-left: 5px;
}

/* ⚡ Animations & Smoothness */
.hero-title-animate {
    animation: slideUpFade 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    will-change: transform, opacity;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(20px); filter: blur(5px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Ensure AOS elements have smooth rendering */
[data-aos] {
    will-change: transform, opacity;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), 
                opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal.animate-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Desktop Dropdown Hover */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* フォーム (Forms) */
.form-label {
    color: #fff !important;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-control {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: #fff !important;
    padding: 12px 15px;
}

.form-control::placeholder {
    color: #888 !important;
}

.form-control:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 10px var(--gold-glow) !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
}

/* 🟢 Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
                background-color 0.3s ease, 
                box-shadow 0.3s ease;
    text-decoration: none;
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    color: #FFF;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* 🚩 Banner Headlines Carousel Controls */
.banner-headlines-section .carousel-control-prev,
.banner-headlines-section .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--gold-glow);
    border-radius: 50%;
    opacity: 0.6;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin: 0 20px;
}

.banner-headlines-section .carousel-control-prev:hover,
.banner-headlines-section .carousel-control-next:hover {
    background: var(--gold);
    opacity: 1;
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.banner-headlines-section .carousel-control-prev-icon,
.banner-headlines-section .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: sepia(100%) saturate(500%) hue-rotate(5deg);
}

.banner-headlines-section .carousel-control-prev:hover .carousel-control-prev-icon,
.banner-headlines-section .carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0); /* Black icon on gold background */
}

@keyframes pulse-wa {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* 🎥 Video Modal Full Screen Handling */
#videoModal .modal-content {
    background: #000;
    border: 1px solid var(--gold);
}

#videoModal .modal-header {
    border-bottom: 1px solid var(--gold-glow);
}

.video-container-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-container-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Fix for words merging in long buttons */
.btn {
    white-space: normal !important;
    text-align: center;
    line-height: 1.4;
}

/* Global Fix for Kannada word merging/clipping */
body.lang-kn p, body.lang-kn h1, body.lang-kn h2, body.lang-kn h3, body.lang-kn h4, body.lang-kn h5, body.lang-kn h6 {
    line-height: 1.8 !important;
    letter-spacing: 0.5px;
}
