/* -------------------------------------------------------------------------- */
/* SRINIVASA RED SANDAL ESTATES - STYLESHEET                                  */
/* -------------------------------------------------------------------------- */

/* Design Tokens & Theme Variables */
:root {
    /* Theme Colors */
    --primary: #FFF44F;
    /* Lemon Yellow */
    --primary-hsl: 58, 100%, 62%;
    --primary-dark: #ffd214;
    /* Warm Gold */
    --accent-red: #A32A2A;
    /* Sandalwood Crimson */
    --accent-red-hsl: 0, 59%, 40%;

    /* Backgrounds */
    --bg-dark: #201D0E;
    /* Premium sandaly dark gold */
    --bg-dark-card: #2D2916;
    --bg-light: #fbfbfa;
    /* Soft premium warm off-white */
    --bg-light-card: #2D2916;
    /* Premium dark gold-brown instead of white */

    /* Texts */
    --text-dark: #1F1B12;
    --text-light: #F0EDE6;
    --text-muted-dark: #6E685B;
    --text-muted-light: #B8B3A7;

    /* Accents & Utilities */
    --gold-grad: linear-gradient(135deg, #FFE259 0%, #FFA751 100%);
    --sandal-grad: linear-gradient(135deg, #8B0000 0%, #B22222 100%);
    --lemon-grad: linear-gradient(135deg, #FFF97B 0%, #FFD700 100%);
    --yellow-btn-grad: linear-gradient(135deg, #FFF44F 0%, #FFAE00 100%);

    --border-luxury: 1px solid rgba(255, 244, 79, 0.15);
    --border-light: 1px solid rgba(255, 244, 79, 0.15);

    --shadow-luxury: 0 15px 40px -10px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 25px rgba(255, 244, 79, 0.25);

    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------------------- */
/* BASE & RESET STYLES                                                        */
/* -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 1;
    transition: opacity 0.15s ease-in-out;
}

body.loading {
    opacity: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-grad);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Grid & Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Typography elements */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

p {
    font-weight: 400;
}

/* Buttons */
.primary-btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #000;
    background: var(--yellow-btn-grad);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 244, 79, 0.45);
}

.secondary-btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 244, 79, 0.4);
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.secondary-btn:hover {
    background: rgba(255, 244, 79, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* -------------------------------------------------------------------------- */
/* NEW REDESIGNED HEADER (redsandalspp.com Style)                             */
/* -------------------------------------------------------------------------- */

.main-header-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
    background: transparent;
}

.header-inner-container {
    position: relative;
    width: 100%;
    display: flex;
    min-height: 110px;
}

/* Left Logo Box (White, Slanted) */
.header-logo-box {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    min-width: 170px;
    background: #ffffff;
    z-index: 1010;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 40px 10px 25px;
    clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.left-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

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

.logo-under-text {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-red);
    letter-spacing: 2px;
    margin-top: 3px;
    text-align: center;
    line-height: 1.1;
}

/* Right Header Area (Top Bar + Navigation Bar) */
.header-right-area {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Top Contact & Social Bar */
.header-top-bar {
    background: #A91D22;
    /* Red Background */
    color: #ffffff;
    /* White Text */
    height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem 0 190px;
    /* Clear logo box */
    font-size: 0.8rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.top-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
}

.top-icon {
    color: #ffffff;
}

.top-blessing-text {
    margin-left: 1rem;
    font-style: italic;
    color: #ffffff;
    /* White Blessing Text */
    font-weight: 600;
    letter-spacing: 0.5px;
}

.top-bar-right {
    display: flex;
    align-items: center;
}

.topbar-social-icons {
    display: flex;
    gap: 1.2rem;
}

.topbar-social-icons a {
    color: #ffffff;
    /* White Social Icons */
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-social-icons a:hover {
    color: #e5cc80;
    /* Gold on hover */
    transform: translateY(-2px);
}

/* Main Navigation Bar */
.header-nav-bar {
    background: #ffffff;
    /* Slanted White Navigation */
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0 0 190px;
    /* Clear logo box */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-container-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    margin-left: auto;
}

.nav-link {
    color: #111111;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.4rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: #c5a059;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Language Selector Styles */
.lang-selector {
    margin-left: 0.5rem;
}

.lang-select {
    background: rgba(255, 255, 255, 0.08);
    color: #000;
    border: 1px solid rgba(255, 244, 79, 0.3);
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-select:focus,
.lang-select:hover {
    border-color: var(--primary);
    background: rgba(255, 244, 79, 0.15);
}

.lang-select option {
    background: #ffffff;
    color: #111111;
}

.cta-nav-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--yellow-btn-grad);
    color: #000;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 244, 79, 0.2);
    transition: var(--transition-smooth);
    margin-right: 1rem;
}

.cta-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 244, 79, 0.4);
}

/* Right Logo Box (SPP.png, Slanted) */
.header-spp-logo-box {
    background: #ffffff;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px 10px 45px;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1010;
}

.right-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

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

/* Mobile Toggle Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    margin-right: 1.5rem;
    z-index: 1020;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Responsive Styles for Header */
@media (max-width: 1200px) {
    .header-logo-box {
        min-width: 160px;
    }

    .header-top-bar {
        padding-left: 170px;
    }

    .header-nav-bar {
        padding-left: 170px;
    }

    .top-blessing-text {
        display: none;
    }
}

@media (max-width: 991px) {
    .header-inner-container {
        min-height: 90px;
    }

    .header-logo-box {
        min-width: 130px;
        padding: 5px 30px 5px 15px;
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    }

    .left-logo-img {
        height: 38px;
    }

    .logo-under-text {
        font-size: 9px;
    }

    .header-top-bar {
        padding: 0 1rem 0 140px;
        height: 32px;
    }

    .top-contact-item span {
        display: none;
    }

    .top-contact-item {
        gap: 0;
    }

    .header-nav-bar {
        height: 58px;
        padding-left: 140px;
    }

    .header-spp-logo-box {
        padding: 5px 15px 5px 30px;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    }

    .right-logo-img {
        height: 40px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: #ffffff;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: var(--transition-smooth);
        z-index: 999;
        margin-left: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        color: #111111;
    }

    .cta-nav-btn {
        margin-right: 0;
        width: 80%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .header-inner-container {
        min-height: 80px;
    }

    .header-logo-box {
        min-width: 100px;
        padding: 5px 20px 5px 10px;
        clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    }

    .left-logo-img {
        height: 30px;
    }

    .logo-under-text {
        font-size: 8px;
    }

    .header-top-bar {
        display: none;
    }

    .header-nav-bar {
        height: 80px;
        padding-left: 110px;
    }

    .header-spp-logo-box {
        padding: 5px 10px 5px 20px;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    }

    .right-logo-img {
        height: 32px;
    }

    .nav-menu {
        top: 80px;
        height: calc(100vh - 80px);
    }
}

/* -------------------------------------------------------------------------- */
/* HERO SECTION                                                               */
/* -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--text-light);
    padding: 8rem 0 6rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: #0d0c08;
}

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


@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

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

.hero-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(139, 42, 42, 0.25);
    border: 1px solid rgba(255, 244, 79, 0.4);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.badge-icon {
    color: var(--primary);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    max-width: 800px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-title .highlight {
    color: var(--primary);
    background: linear-gradient(120deg, var(--primary) 0%, #FFAE00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(255, 244, 79, 0.3));
}

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Floating blessing stamp */
.divine-blessing-stamp {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(24, 21, 14, 0.65);
    border: 1px solid rgba(255, 244, 79, 0.25);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin-top: 2rem;
    box-shadow: var(--shadow-luxury);
    animation: floatAnimation 4s infinite ease-in-out;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }

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

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

.balaji-silhouette-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 244, 79, 0.6));
}

.stamp-text {
    display: flex;
    flex-direction: column;
}

.sanskrit-phrase {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(255, 244, 79, 0.4);
}

.english-translation {
    font-size: 0.8rem;
    color: var(--text-muted-light);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .primary-btn,
    .hero-actions .secondary-btn {
        text-align: center;
    }

    .divine-blessing-stamp {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        width: 100%;
    }
}

/* -------------------------------------------------------------------------- */
/* TRUST STATS BAR                                                            */
/* -------------------------------------------------------------------------- */
.stats-bar {
    background: var(--bg-dark-card);
    border-top: 2px solid var(--primary);
    border-bottom: 1px solid rgba(255, 244, 79, 0.15);
    position: relative;
    margin-top: -30px;
    z-index: 10;
    border-radius: 8px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 2rem;
    gap: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border-right: 1px dashed rgba(255, 244, 79, 0.2);
}

.stat-card:last-child {
    border-right: none;
}

.stat-icon {
    color: var(--primary);
    background: rgba(255, 244, 79, 0.08);
    padding: 1rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 244, 79, 0.2);
    box-shadow: inset 0 0 15px rgba(255, 244, 79, 0.1);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    font-weight: 500;
}

@media (max-width: 991px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        border-right: none;
        border-bottom: 1px dashed rgba(255, 244, 79, 0.2);
        padding-bottom: 1.5rem;
    }

    .stat-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* -------------------------------------------------------------------------- */
/* SECTION COMMON HEADER                                                      */
/* -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-red);
    display: inline-block;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.3;
}

.section-title.text-left {
    text-align: left;
}

.divider-gold {
    width: 80px;
    height: 4px;
    background: var(--gold-grad);
    margin: 1.2rem auto;
    border-radius: 2px;
}

.section-title.text-left+.divider-gold {
    margin-left: 0;
    margin-right: auto;
}

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

/* -------------------------------------------------------------------------- */
/* LEGACY SECTION                                                             */
/* -------------------------------------------------------------------------- */
.legacy-section {
    background-color: var(--bg-light);
}

.legacy-visual {
    position: relative;
    border-radius: 8px;
    overflow: visible;
}

.legacy-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-luxury);
    border: 3px solid #FFF;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-dark-card);
    border: 2px solid var(--primary);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
}

.exp-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.legacy-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted-dark);
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.benefit-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.bullet-icon {
    color: var(--accent-red);
    font-size: 1.2rem;
    line-height: 1;
}

@media (max-width: 991px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .legacy-visual {
        margin-bottom: 2rem;
    }
}

/* -------------------------------------------------------------------------- */
/* WHY RED SANDALWOOD SECTION                                                 */
/* -------------------------------------------------------------------------- */
.why-sandal-section {
    background: var(--bg-light);
    border-top: 1px solid rgba(139, 42, 42, 0.05);
    border-bottom: 1px solid rgba(139, 42, 42, 0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: var(--bg-light-card);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(139, 42, 42, 0.03);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    color: var(--accent-red);
    background: rgba(163, 42, 42, 0.07);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.8rem;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--yellow-btn-grad);
    color: #000;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted-dark);
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------- */
/* ROI CALCULATOR SECTION                                                     */
/* -------------------------------------------------------------------------- */
.calculator-section {
    background-color: var(--bg-light);
}

.calc-content-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calc-badge {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-red);
}

.calc-inputs-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.label-wrapper label {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

.value-display {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--accent-red);
}

.luxury-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #EAE6DD;
    outline: none;
    transition: var(--transition-smooth);
}

.luxury-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--yellow-btn-grad);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 2px fill #000;
    transition: var(--transition-smooth);
}

.luxury-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-glow);
}

.calc-note {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
    margin-top: 1rem;
}

.calc-result-card {
    background: var(--bg-dark-card);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 3rem;
    color: var(--text-light);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calc-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.divider-white {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.result-label {
    font-size: 0.95rem;
    color: var(--text-muted-light);
}

.result-number {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #FFF;
}

.text-highlight {
    color: var(--primary);
}

.total-returns-box {
    background: rgba(255, 244, 79, 0.05);
    border: 1px dashed rgba(255, 244, 79, 0.3);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.total-label {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted-light);
}

.total-val {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1;
}

.roi-percentage {
    font-size: 0.9rem;
    color: var(--text-light);
}

.roi-percentage strong {
    color: #00FF88;
}

.calc-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1.2rem;
    background: var(--yellow-btn-grad);
    color: #000;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-smooth);
}

.calc-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 244, 79, 0.55);
}

@media (max-width: 768px) {
    .calc-result-card {
        padding: 2rem;
    }

    .total-val {
        font-size: 2rem;
    }
}

/* -------------------------------------------------------------------------- */
/* BLESSING BANNER SECTION                                                    */
/* -------------------------------------------------------------------------- */
.blessing-banner-section {
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}

.blessing-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 6rem 0;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.balaji-large-silhouette {
    height: 180px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(255, 244, 79, 0.7));
    animation: balajiPulse 3s infinite alternate ease-in-out;
}

@keyframes balajiPulse {
    0% {
        filter: drop-shadow(0 0 15px rgba(255, 244, 79, 0.5));
        transform: scale(1);
    }

    100% {
        filter: drop-shadow(0 0 30px rgba(255, 244, 79, 0.9));
        transform: scale(1.05);
    }
}

.blessing-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.blessing-badge {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.blessing-text-wrapper h2 {
    font-size: 2.2rem;
    line-height: 1.3;
}

.blessing-text-wrapper p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
}

.sanskrit-chant {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    border-left: 3px solid var(--primary);
    padding-left: 1.5rem;
    margin-top: 1rem;
    text-shadow: 0 0 15px rgba(255, 244, 79, 0.35);
}

@media (max-width: 768px) {
    .blessing-container {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .sanskrit-chant {
        border-left: none;
        border-top: 1px dashed rgba(255, 244, 79, 0.3);
        padding-left: 0;
        padding-top: 1rem;
    }
}

/* -------------------------------------------------------------------------- */
/* PROJECTS SECTION                                                           */
/* -------------------------------------------------------------------------- */
.projects-section {
    background-color: var(--bg-light);
}

.project-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(139, 42, 42, 0.05);
    border: 1px solid rgba(139, 42, 42, 0.1);
    padding: 0.8rem 1.8rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    background: rgba(255, 244, 79, 0.2);
    border-color: var(--primary);
}

.tab-btn.active {
    background: var(--yellow-btn-grad);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 244, 79, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.project-card {
    background: var(--bg-light-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.project-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card:hover .project-img {
    transform: scale(1.08);
}

.project-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-status-badge.ongoing {
    background: var(--yellow-btn-grad);
    color: #000;
}

.project-status-badge.completed {
    background: #00FF88;
    color: #000;
}

.project-details {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 1.2rem;
}

.project-name {
    font-size: 1.25rem;
    color: var(--text-dark);
}

.project-location {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-red);
}

.project-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted-dark);
}

.project-price {
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-price span {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
}

.project-price strong {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-family: var(--font-body);
}

.project-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.9rem;
    background: #FFFFFF;
    border: 1px solid rgba(139, 42, 42, 0.1);
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-smooth);
    margin-top: auto;
}

.project-btn:hover {
    background: var(--bg-dark);
    color: var(--primary);
    border-color: var(--primary);
}

.project-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #EAE6DD;
}

.project-btn.disabled:hover {
    background: #EAE6DD;
    color: var(--text-dark);
    border-color: rgba(139, 42, 42, 0.1);
}

@media (max-width: 991px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------- */
/* TESTIMONIALS SECTION                                                       */
/* -------------------------------------------------------------------------- */
.testimonials-section {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.stars {
    color: #FFAE00;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-muted-dark);
    flex-grow: 1;
}

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

.user-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--yellow-btn-grad);
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.user-info h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.user-info p {
    font-size: 0.8rem;
    color: var(--text-muted-dark);
    font-weight: 500;
}

@media (max-width: 991px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------- */
/* LEAD FORM & CONTACT SECTION                                                */
/* -------------------------------------------------------------------------- */
.contact-section {
    background: var(--bg-light);
}

.contact-text-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-badge {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-red);
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item .icon {
    font-size: 1.8rem;
    line-height: 1;
    background: rgba(163, 42, 42, 0.05);
    padding: 0.6rem;
    border-radius: 8px;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-muted-dark);
}

.contact-form-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-luxury);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.contact-form-card p {
    font-size: 0.9rem;
    color: var(--text-muted-dark);
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    padding: 0.9rem 1.2rem;
    border: 1px solid #DCD8CF;
    background: #FAF8F2;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-red);
    background: #FFF;
    box-shadow: 0 0 10px rgba(163, 42, 42, 0.08);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    font-weight: 500;
    color: var(--text-muted-dark);
}

.submit-btn {
    width: 100%;
    padding: 1.1rem;
    font-family: var(--font-body);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    background: var(--yellow-btn-grad);
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 244, 79, 0.5);
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 2rem;
    }
}

/* -------------------------------------------------------------------------- */
/* FOOTER SECTION                                                             */
/* -------------------------------------------------------------------------- */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    border-top: 3px solid var(--primary);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding: 5rem 0;
}

.footer-brand-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand-info h3 {
    color: var(--primary);
    font-size: 1.4rem;
    letter-spacing: 1.5px;
}

.footer-brand-info p {
    font-size: 0.95rem;
    color: var(--text-muted-light);
    max-width: 450px;
}

.footer-namam-svg {
    filter: drop-shadow(0 0 10px rgba(255, 244, 79, 0.4));
}

.footer-links h4,
.footer-legal h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after,
.footer-legal h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links ul a,
.footer-legal ul a {
    color: var(--text-muted-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links ul a:hover,
.footer-legal ul a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted-light);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* -------------------------------------------------------------------------- */
/* MODAL SYSTEM                                                               */
/* -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 8, 3, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.modal-card {
    background: var(--bg-dark-card);
    border: 2px solid var(--primary);
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    padding: 3.5rem 3rem;
    position: relative;
    text-align: center;
    color: var(--text-light);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted-light);
    cursor: pointer;
    transition: var(--transition-smooth);
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-blessing-image {
    margin-bottom: 2rem;
}

.modal-img {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 244, 79, 0.7));
}

.modal-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.modal-sanskrit {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 8px rgba(255, 244, 79, 0.2);
}

.modal-message {
    font-size: 0.95rem;
    color: var(--text-muted-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.modal-btn {
    padding: 1rem 2.5rem;
    background: var(--yellow-btn-grad);
    border: none;
    font-family: var(--font-body);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-smooth);
    color: #000;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 244, 79, 0.55);
}

/* -------------------------------------------------------------------------- */
/* ENTRANCE OVERLAY & AUDIO STYLES                                            */
/* -------------------------------------------------------------------------- */
.entrance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #FFF9A6 0%, #FFAE00 100%);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
    opacity: 1;
    visibility: visible;
    padding: 2rem;
}

.entrance-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.entrance-card {
    background: var(--bg-dark-card);
    border: 3px solid var(--primary);
    border-radius: 16px;
    padding: 4rem 3rem;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), var(--shadow-glow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    animation: entranceCardPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes entranceCardPop {
    0% {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }

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

.entrance-namam-svg {
    filter: drop-shadow(0 0 15px rgba(255, 244, 79, 0.8));
    animation: logoGlowPulse 2s infinite alternate ease-in-out;
}

@keyframes logoGlowPulse {
    0% {
        filter: drop-shadow(0 0 10px rgba(255, 244, 79, 0.5));
        transform: scale(1);
    }

    100% {
        filter: drop-shadow(0 0 25px rgba(255, 244, 79, 0.9));
        transform: scale(1.03);
    }
}

.entrance-card h2 {
    font-size: 2.2rem;
    color: var(--primary);
    line-height: 1.2;
    font-family: var(--font-heading);
}

.entrance-card p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 480px;
    line-height: 1.6;
}

.entrance-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-top: 1rem;
}

.entrance-btn {
    width: 100%;
    max-width: 320px;
    padding: 1.2rem 2rem;
    font-family: var(--font-body);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    color: #000;
    background: var(--yellow-btn-grad);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 244, 79, 0.4);
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
    align-items: center;
}

.entrance-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 244, 79, 0.6);
}

.entrance-link {
    background: none;
    border: none;
    color: var(--text-muted-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.entrance-link:hover {
    color: var(--primary);
}

/* Floating Audio Control Button */
.floating-audio-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-dark-card);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), var(--shadow-glow);
    transition: var(--transition-smooth);
}

.floating-audio-btn:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: #000;
    box-shadow: 0 15px 30px rgba(255, 244, 79, 0.5);
}

/* Pulse animation when playing */
.floating-audio-btn.playing {
    animation: audioBtnPulse 2s infinite ease-in-out;
}

@keyframes audioBtnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 244, 79, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 244, 79, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 244, 79, 0);
    }
}

.speaker-icon {
    transition: transform 0.2s ease;
}

.floating-audio-btn:active .speaker-icon {
    transform: scale(0.85);
}

@media (max-width: 768px) {
    .entrance-card {
        padding: 3rem 1.5rem;
    }

    .entrance-card h2 {
        font-size: 1.8rem;
    }

    .floating-audio-btn {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }

    .floating-video-btn {
        bottom: 80px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
}

/* Floating Video Switcher Button */
.floating-video-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-dark-card);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), var(--shadow-glow);
    transition: var(--transition-smooth);
}

.floating-video-btn:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: #000;
    box-shadow: 0 15px 30px rgba(255, 244, 79, 0.5);
}

.floating-video-btn:active .video-change-icon {
    transform: scale(0.85);
}

/* Force hardware acceleration on animated/pulsing graphics to eliminate flickering */
.hero-background,
.divine-blessing-stamp,
.balaji-large-silhouette,
.floating-audio-btn,
.floating-video-btn {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: transform, filter, box-shadow;
}

/* Card Text Color & Border Adjustments for Dark (#2D2916) Background */
.feature-card,
.project-card,
.testimonial-card,
.contact-form-card {
    background: var(--bg-dark-card) !important;
    border: 1px solid rgba(255, 244, 79, 0.12) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
}

.feature-card h3,
.project-name,
.testimonial-card h4,
.user-info h4,
.contact-form-card h3,
.form-group label {
    color: var(--primary) !important;
    /* Premium Gold/Yellow headings */
}

.feature-card p,
.project-features-list,
.project-price span,
.testimonial-text,
.user-info p,
.contact-form-card p,
.contact-item p {
    color: var(--text-light) !important;
    /* Soft white/cream body text */
}

.project-price {
    border-top: 1px dashed rgba(255, 244, 79, 0.15) !important;
}

.project-price strong {
    color: var(--primary) !important;
}

.project-price span {
    color: var(--text-muted-light) !important;
}

.testimonial-card {
    border-color: rgba(255, 244, 79, 0.12) !important;
}

.testimonial-card .stars {
    color: #FFE259 !important;
}

.contact-form-card {
    border-color: rgba(255, 244, 79, 0.12) !important;
}

/* Infinite Ticker Scroller styling */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: var(--bg-dark-card);
    /* #2D2916 Sandalwood Dark */
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 0.8rem 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.ticker {
    display: inline-flex;
    white-space: nowrap;
    animation: tickerLoop 25s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding-right: 4rem;
    /* Spacing between loop items */
}

.ticker-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.ticker-item span {
    font-family: var(--font-heading);
    color: var(--primary);
    /* Gold color */
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes tickerLoop {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-33.333%, 0, 0);
        /* Moves precisely by one-third of the duplicated length */
    }
}

/* -------------------------------------------------------------------------- */
/* INNER PAGES HEADER STYLING (contact.html & member.html)                   */
/* -------------------------------------------------------------------------- */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-header .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-area {
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-smooth);
}

.logo-area:hover {
    transform: translateY(-1px);
}

.brand-group-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brand-logos-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-brand-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.brand-group-subtitle {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-red);
    letter-spacing: 2px;
    margin-top: 3px;
    text-align: center;
    line-height: 1.1;
}

/* -------------------------------------------------------------------------- */
/* VIDEO REVIEWS SLIDER                                                       */
/* -------------------------------------------------------------------------- */

.video-slider-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 2rem auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 10px;
}

.video-slider-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 16px;
    padding: 0.5rem 0;
}

.video-slider-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: max-content;
}

.video-slider-item {
    width: 320px;
    aspect-ratio: 16/9;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.video-slider-item:hover {
    transform: scale(1.02);
}

.slider-btn {
    background: var(--yellow-btn-grad);
    border: none;
    color: #000;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .video-slider-container {
        gap: 0.5rem;
    }
    .video-slider-track {
        gap: 1rem;
    }
    .video-slider-item {
        width: 280px;
    }
    .slider-btn {
        width: 36px;
        height: 36px;
    }
    .slider-btn svg {
        width: 18px;
        height: 18px;
    }
}


/* -------------------------------------------------------------------------- */
/* CORPORATE PROFILE PRESENTATION CAROUSEL (HORIZONTAL TICKER)                */
/* -------------------------------------------------------------------------- */
.profile-carousel-section {
    background-color: var(--bg-dark);
    padding: 6rem 0;
    position: relative;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    overflow: hidden;
}

.profile-carousel-section .section-title {
    color: var(--text-light);
}

.profile-carousel-section .section-subtitle {
    color: var(--text-muted-light);
}

.profile-carousel-section .section-badge {
    color: var(--primary);
}

.profile-ticker-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 3rem 0;
    background: transparent;
}

.profile-ticker-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollProfileSlides 60s linear infinite;
}

.profile-ticker-track:hover {
    animation-play-state: paused;
}

.profile-ticker-item {
    width: 360px;
    aspect-ratio: 16/9;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    background: #000;
    border: 2px solid rgba(255, 244, 79, 0.15);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    cursor: pointer;
}

.profile-ticker-item:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.profile-ticker-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0d0c07;
}

@keyframes scrollProfileSlides {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Lightbox Modal styles */
.carousel-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--primary);
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border: 2px solid rgba(255, 244, 79, 0.3);
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
}

.lightbox-caption {
    margin-top: 1.5rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .profile-ticker-item {
        width: 260px;
    }
}