/* Import Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables & Theme Config */
:root {
    /* Color Palette */
    --primary: #800000;          /* Deep Crimson/Maroon */
    --primary-light: #a31d1d;    /* Lighter Crimson */
    --accent: #ffd00a;           /* Vivid Gold */
    --accent-dark: #d4af37;      /* Antique Gold */
    --bg-light: #FFFDF4;         /* Warm spiritual cream */
    --bg-gradient: linear-gradient(135deg, #FFFDF4 0%, #FFF8E7 100%);
    --text-main: #142e2c;        /* Dark Slate */
    --text-muted: #5c6b73;       /* Slate Grey */
    --white: #ffffff;
    
    /* Glassmorphism Styles */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-bg-hover: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-accent-border: rgba(212, 175, 55, 0.25);
    --glass-shadow: 0 8px 32px 0 rgba(128, 0, 0, 0.06);
    --glass-blur: blur(12px);
    
    /* Design Tokens */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.68;
    font-size: 16px;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-dark);
    border-radius: 2px;
}

h2.align-left::after {
    left: 0;
    transform: none;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Shared Layout Containers */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.section {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

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

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media(min-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 208, 10, 0.4);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 208, 10, 0.5);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 208, 10, 0.4);
}

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(128, 0, 0, 0.3); /* Translucent maroon border for visibility on light backgrounds */
    color: var(--primary);
}

.btn-glass:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Glassmorphism Panels & Cards */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-8px);
    background: var(--glass-bg-hover);
    border-color: var(--accent-dark);
    box-shadow: 0 15px 35px rgba(128, 0, 0, 0.12);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

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

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Glass Header / Navigation */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.top-bar {
    background: var(--primary);
    color: var(--accent);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.top-bar a {
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar a:hover {
    color: var(--white);
}

.navbar {
    background: rgba(128, 0, 0, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(128, 0, 0, 0.95);
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: var(--white);
    padding: 2px;
}

.brand-text h1 {
    font-size: 1.5rem;
    color: var(--accent);
    line-height: 1;
    text-shadow: none;
}

.brand-text p {
    font-size: 0.8rem;
    color: var(--white);
    margin: 0;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    display: block;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--accent);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    width: auto;
    min-width: 220px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    padding: 0.5rem 0;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item a {
    color: var(--white);
    padding: 0.75rem 1.5rem;
    display: block;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.dropdown-item a:hover {
    background: rgba(255, 208, 10, 0.15);
    color: var(--accent);
    padding-left: 1.75rem;
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Carousel Area */
.hero-slider {
    height: calc(100vh - 110px); /* Full screen height minus header */
    min-height: 550px;
    position: relative;
    overflow: hidden;
    margin-top: 110px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* Align image to show deity faces clearly at the top */
    filter: brightness(0.75);
}

/* Hero Welcome Section (Floating Glass Overlay at the Bottom) */
.hero-overlay-content {
    position: absolute;
    bottom: 1.5vh; /* Align closer to the bottom section of the slider */
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    width: 90%;
    max-width: 760px;
    text-align: center;
}

.hero-welcome-card {
    background: rgba(128, 0, 0, 0.02); /* 98% transparent (2% opacity) maroon glass */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    border-radius: var(--radius-md);
    padding: 1.25rem 2rem; /* Thinned from all sides */
    color: var(--white);
}


.hero-welcome-card h1 {
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-shadow: 2px 2px 12px rgba(0,0,0,0.8), 0 0 25px rgba(0,0,0,0.5);
}

.hero-welcome-card .section-subtitle {
    text-shadow: 1px 1px 8px rgba(0,0,0,0.8);
}

/* Background Video Section */
.video-bg-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
    height: 90vh; /* Increased from 85vh to prevent next section showing at the bottom */
    min-height: 640px;
    padding: 4rem 0 3rem 0;
}

.video-bg-section .section-title-wrap {
    margin-bottom: 0;
}

.video-bg-section .section-title-wrap h2 {
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.video-bg-section .section-title-wrap .section-subtitle {
    color: var(--accent);
}

.video-bg-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.video-bg-wrapper iframe {
    width: 100%;
    height: 100%;
    transform: scale(1.35); /* Zoom slightly to crop YouTube borders/black edges */
    object-fit: cover;
}

.video-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.7)); /* Neutral dark overlay without color hue */
    z-index: 2;
}

.video-bg-section .container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 100%; /* Override 1200px limit to push cards to the screen edges */
    padding: 0 5%;  /* Fluid side padding for far-left and far-right alignment */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* title at the top, projects container at the bottom */
}


.video-bg-section .projects-container {
    width: 100%;
    margin-top: auto; /* Push projects container to the absolute bottom of the container */
    padding-bottom: 1rem;
}

.video-bg-section .projects-container .grid {
    display: flex;
    justify-content: space-between; /* Creates maximum open space in the center of the screen */
    align-items: flex-end; /* Align cards to the bottom of the section row */
    width: 100%;
}

.video-bg-section .projects-container .grid .project-card:first-child {
    margin-right: auto;
    margin-left: 0;
}

.video-bg-section .projects-container .grid .project-card:last-child {
    margin-left: auto;
    margin-right: 0;
}

/* Compact Vertical Project Cards inside Video Section */
.video-bg-section .project-card {
    display: flex;
    flex-direction: column; /* Image top, content bottom */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    max-width: 440px;
    height: 100%; /* Fill grid cell height */
}


.video-bg-section .project-card-image {
    width: 100%;
    aspect-ratio: 16/9;
}

.video-bg-section .project-card-info {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Stretch content container to fill card */
}

.video-bg-section .project-card-info h3 {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-align: center; /* Center-align project titles */
}

.video-bg-section .project-card-info p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    flex-grow: 1; /* Stretch paragraph to push button to the bottom */
    text-align: center; /* Center-align description text */
}

.video-bg-section .project-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.video-bg-section .btn-glass {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    margin-top: auto; /* Always align button to the bottom of the card */
    align-self: center; /* Center-align buttons */
}

.video-bg-section .btn-glass:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}

@media (max-width: 900px) {
    .video-bg-section {
        height: auto;
        min-height: auto;
        padding: 3rem 0;
    }
    .video-bg-section .projects-container .grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .video-bg-section .projects-container .grid .project-card:first-child,
    .video-bg-section .projects-container .grid .project-card:last-child {
        margin: 0 auto;
    }
}

/* Responsive adjustments for Founder Acharya Section */
@media (max-width: 991px) {
    .founder-left-col {
        border-right: none !important;
        padding-right: 0 !important;
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(128,0,0,0.1);
        margin-bottom: 2rem;
    }
}


/* Timetable Styles */
.timetable-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
}

.glass-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: var(--glass-blur);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.glass-table th, .glass-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.95rem;
}

.glass-table th {
    background: var(--primary);
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
}

.glass-table tr {
    border-bottom: 1px solid rgba(128, 0, 0, 0.08);
    transition: var(--transition);
}

.glass-table tr:last-child {
    border-bottom: none;
}

.glass-table tr:hover {
    background: rgba(255, 255, 255, 0.6);
}

.time-highlight {
    font-weight: 600;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}










/* Section specific designs */
.section-title-wrap {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Project Highlights Section */
.project-card {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.project-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.project-card-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-card-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

@media(min-width: 768px) {
    .project-card {
        grid-template-columns: 1fr 1fr;
    }
}

/* Notices & Events */
.notices-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.notice-board {
    text-align: center;
}

.notice-board img {
    border-radius: var(--radius-md);
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
    margin: 1.5rem auto;
    cursor: pointer;
    transition: var(--transition);
    max-height: 500px;
    object-fit: contain;
}

.notice-board img:hover {
    transform: scale(1.02);
}

/* Footer widget structure */
footer.site-footer {
    background: var(--primary);
    color: var(--white);
    padding-top: 5rem;
}

.footer-widgets {
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 60px;
    width: 60px;
    background: var(--white);
    border-radius: 50%;
    padding: 3px;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
}

.lightbox-content img {
    border-radius: var(--radius-sm);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    max-height: 80vh;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

/* Tabs for Services / Accommodations */
.tab-container {
    margin-top: 2rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Page Banner (for inner pages) */
.page-banner {
    height: 250px;
    position: relative;
    background: var(--primary);
    margin-top: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(128,0,0,0.85), rgba(128,0,0,0.95));
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h1 {
    color: var(--accent);
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: flex-end;
    min-height: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-family: var(--font-heading);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(128, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-main);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.1);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23800000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

input[type="file"].form-control {
    padding: 0.5rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.4);
}

input[type="file"].form-control::file-selector-button {
    border: none;
    background: var(--primary);
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    margin-right: 1rem;
    transition: var(--transition);
}

input[type="file"].form-control::file-selector-button:hover {
    background: var(--accent);
    color: var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Grid Layout modifications for Books & Seva detailed list */
.books-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Bank Account Component */
.bank-info-container {
    background: rgba(128, 0, 0, 0.03);
    border-left: 4px solid var(--accent-dark);
    padding: 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.5rem 0;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.bank-detail-row:last-child {
    border-bottom: none;
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
}

.copy-btn:hover {
    color: var(--accent-dark);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 110px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 110px);
        background: var(--primary);
        flex-direction: column;
        align-items: center;
        padding: 3rem 1.5rem;
        gap: 1.5rem;
        transition: 0.4s ease-in-out;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 0.75rem;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        min-width: unset;
        white-space: normal;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.1);
        display: none;
        margin-top: 0.5rem;
    }
    
    .nav-item.active-dropdown .dropdown-menu {
        display: block;
    }
    
    .top-bar-left {
        display: none;
    }
    
    .top-bar-content {
        justify-content: center;
    }
    
    .hero-slider {
        margin-top: 85px;
    }
    
    .page-banner {
        margin-top: 85px;
    }
}

@media (max-width: 576px) {
    .top-bar {
        display: none;
    }
    .navbar {
        top: 0;
    }
    .hero-slider {
        margin-top: 67px;
    }
    .page-banner {
        margin-top: 67px;
    }
    .hero-overlay-content .glass-panel {
        padding: 1.5rem 1rem;
    }
}

/* Book Layout for Founder Message */
.book-container {
    display: flex;
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
    background: rgba(255, 254, 248, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 30px 60px rgba(128, 0, 0, 0.08),
        0 10px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(128, 0, 0, 0.15);
    overflow: hidden;
}

.book-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, 
        rgba(128, 0, 0, 0) 0%, 
        rgba(128, 0, 0, 0.15) 20%, 
        rgba(128, 0, 0, 0.15) 80%, 
        rgba(128, 0, 0, 0) 100%);
    z-index: 10;
}

.book-page {
    flex: 1;
    padding: 3.5rem 3rem;
    position: relative;
    background: transparent;
}

.left-page {
    border-right: 1px solid rgba(128, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.15);
}

.right-page {
    background: rgba(255, 255, 255, 0.05);
}

.book-page-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.acharya-card {
    text-align: center;
    margin-bottom: 1.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.acharya-img-frame {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 25px rgba(128, 0, 0, 0.08);
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.85);
}

.acharya-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.acharya-name {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    font-family: var(--font-heading);
}

.acharya-title {
    color: var(--accent-dark);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin: 0;
}

.book-text-pane {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.9rem;
    text-align: justify;
    font-family: var(--font-body);
    font-weight: 400;
}

.book-text-pane p {
    color: var(--text-main);
    margin: 0;
    text-indent: 1.8rem;
    opacity: 0.95;
}

.right-page-header {
    text-align: center;
    margin-bottom: 1.5rem;
    opacity: 0.75;
}

@media (max-width: 900px) {
    .book-container {
        flex-direction: column;
        border: 1px solid rgba(128, 0, 0, 0.12);
        background: rgba(255, 254, 248, 0.6);
    }
    
    .book-spine {
        display: none;
    }
    
    .book-page {
        padding: 2.5rem 1.75rem;
    }
    
    .left-page {
        border-right: none;
        border-bottom: 1px dashed rgba(128, 0, 0, 0.15);
    }
}

/* Hero Slider Double Image Slide Layout */
.double-image-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.double-image-container img {
    height: 100% !important;
    object-fit: cover;
    object-position: center 15%;
    filter: brightness(0.75);
}

.double-image-container img:first-child {
    width: 20% !important;
}

.double-image-container img:last-child {
    width: 80% !important;
}

@media (max-width: 768px) {
    .double-image-container {
        flex-direction: column;
    }
    .double-image-container img {
        width: 100% !important;
    }
    .double-image-container img:first-child {
        height: 20% !important;
    }
    .double-image-container img:last-child {
        height: 80% !important;
    }
}

/* Founder Book Section Background Image Layout */
.founder-book-section {
    position: relative;
    background: url('../images/IMG_2475-scaled.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    border-bottom: 1px solid rgba(128, 0, 0, 0.08);
    overflow: hidden;
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.founder-book-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 253, 245, 0.7);
    z-index: 1;
}

.founder-book-section .container {
    position: relative;
    z-index: 2;
}

/* Pilgrim Services Overview Background Image Layout */
.services-overview-section {
    position: relative;
    background: url('../images/N-ghat.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    border-bottom: 1px solid rgba(128, 0, 0, 0.08);
    overflow: hidden;
}

.services-overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 253, 245, 0.5); /* Smooth overlay to keep high text contrast */
    z-index: 1;
}

.services-overview-section .container {
    position: relative;
    z-index: 2;
}

/* Gallery Filter Buttons */
.filter-btn {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(128, 0, 0, 0.15);
    color: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.15);
}

/* Pulsing Live Badge Styles */
@keyframes live-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(231, 76, 60, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

.live-badge {
    background: #e74c3c;
    color: white;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    animation: live-pulse 2s infinite ease-in-out;
}

.live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    display: inline-block;
}

/* Floating Action Buttons */
.floating-action-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    color: var(--white);
}

/* Tooltip on Hover */
.floating-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 62px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateX(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.floating-btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Specific Colors */
.floating-btn.whatsapp {
    background: #25D366;
}
.floating-btn.facebook {
    background: #1877F2;
}
.floating-btn.youtube {
    background: #FF0000;
}
.floating-btn.call {
    background: #ffd00a;
    color: #800000;
}
.floating-btn.call:hover {
    color: #800000;
}
.floating-btn.email {
    background: #800000;
    border: 1px solid rgba(255, 208, 10, 0.3);
}

/* Premium Seva Form & Layout Styling */
.seva-container {
    margin-top: 110px;
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}
.seva-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}
.seva-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: block;
}

/* Professional Sponsorship Card - Premium light styling */
.sponsor-card {
    background: #ffffff !important;
    border: 1px solid rgba(128, 0, 0, 0.15) !important;
    border-radius: 16px !important;
    padding: 2.25rem !important;
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.08) !important;
    position: sticky !important;
    top: 130px !important;
    transition: all 0.3s ease !important;
    color: var(--text-main) !important;
}
.sponsor-card:hover {
    border-color: rgba(128, 0, 0, 0.3) !important;
    box-shadow: 0 20px 50px rgba(128, 0, 0, 0.12) !important;
}

.sponsor-card h3 {
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    text-align: center !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: 0.5px !important;
}

.sponsor-card label,
.sponsor-card form > label {
    color: var(--primary) !important;
}

/* Bank payment tabs styling inside sponsor card */
.sponsor-card .main-pay-tab-btn {
    background: rgba(128, 0, 0, 0.05) !important;
    border: 1px solid rgba(128, 0, 0, 0.15) !important;
    color: var(--primary) !important;
}
.sponsor-card .main-pay-tab-btn span {
    color: var(--primary) !important;
}
.sponsor-card .main-pay-tab-btn.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}
.sponsor-card .main-pay-tab-btn.active span {
    color: #ffffff !important;
}
.sponsor-card .main-pay-tab-btn.active i {
    color: #ffffff !important;
}

/* Premium Input Elements for Light Card */
.premium-form-group {
    margin-bottom: 1.25rem;
    position: relative;
    text-align: left;
}
.premium-label {
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}
.premium-input {
    width: 100% !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(128, 0, 0, 0.18) !important;
    border-radius: 8px !important;
    color: var(--text-main) !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.92rem !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}
.premium-input::placeholder {
    color: rgba(20, 46, 44, 0.45) !important;
    opacity: 1 !important;
}
.premium-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.12) !important;
    outline: none !important;
    background: #ffffff !important;
}

/* Custom Select Styling */
select.premium-input {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23800000'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 20px !important;
    padding-right: 2.5rem !important;
    color: var(--text-main) !important;
}

/* Submit Button Styling */
.premium-submit-btn {
    width: 100% !important;
    padding: 0.95rem !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(128, 0, 0, 0.15) !important;
    margin-bottom: 0.5rem !important;
    margin-top: 1rem !important;
}
.premium-submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.25) !important;
    background: linear-gradient(135deg, var(--primary-light), #be2929) !important;
}
.premium-submit-btn:active {
    transform: translateY(0) !important;
}

/* Custom File Upload Styling for Light Form */
.sponsor-card .file-upload-wrapper {
    border: 2px dashed rgba(128, 0, 0, 0.25) !important;
    background: rgba(128, 0, 0, 0.02) !important;
}
.sponsor-card .file-upload-wrapper:hover {
    border-color: var(--primary) !important;
    background: rgba(128, 0, 0, 0.05) !important;
}
.sponsor-card .file-upload-wrapper i {
    color: var(--primary) !important;
}
.sponsor-card #screenshot-file-label {
    color: var(--text-main) !important;
}
.sponsor-card .file-upload-wrapper span {
    color: var(--text-muted) !important;
}

/* Payment details boxes inside Light Card */
.sponsor-card .main-pay-tab-content div {
    background: rgba(128, 0, 0, 0.03) !important;
    border: 1px solid rgba(128, 0, 0, 0.08) !important;
    color: var(--text-main) !important;
}
.sponsor-card .main-pay-tab-content div span {
    color: var(--text-muted) !important;
}
.sponsor-card .main-pay-tab-content div strong {
    color: var(--primary) !important;
}
.sponsor-card .main-pay-tab-content div .copy-btn {
    color: var(--primary) !important;
}




/* First content section offset for fixed navbar when banner is removed */
.first-section {
    margin-top: 110px !important;
    padding-top: 3.5rem !important;
}

/* About Page Professional Redesign Styles */
.about-header-wrap {
    margin-bottom: 5rem;
    text-align: center;
    position: relative;
    padding: 0 1rem;
}
.about-header-wrap .section-subtitle {
    color: var(--accent-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}
.about-header-wrap h2 {
    color: var(--primary);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(128, 0, 0, 0.08);
    display: block;
    position: relative;
}
.about-header-wrap h2::after {
    display: none !important;
}
.about-header-wrap .header-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 1rem auto;
    border-radius: 4px;
}
.about-header-wrap .header-tagline {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto;
    font-style: italic;
    font-weight: 500;
}

/* Ashram Info Section */
.about-hero-grid {
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}
.about-image-wrapper {
    position: relative;
    padding: 0.6rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 20px 40px rgba(128, 0, 0, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.about-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(128, 0, 0, 0.12);
}
.about-image-wrapper img {
    width: 100%;
    border-radius: calc(var(--radius-md) - 4px);
    object-fit: cover;
    display: block;
    height: 400px;
    transition: transform 0.6s ease;
}
.about-image-wrapper:hover img {
    transform: scale(1.03);
}

.about-text-content span.about-sub {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.about-text-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 0.5rem;
    color: var(--primary);
    line-height: 1.2;
}
.about-text-content p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
    color: var(--text-main);
}
.about-text-content p.muted {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Timetable & Live Stream Grid */
.timetable-live-grid {
    align-items: stretch;
    gap: 3.5rem;
}
.timetable-card {
    background: #ffffff;
    padding: 2.5rem;
    border: 1px solid rgba(128, 0, 0, 0.08);
    box-shadow: 0 15px 35px rgba(128, 0, 0, 0.04);
    border-radius: var(--radius-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.timetable-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 700;
    border-bottom: 2px solid rgba(128, 0, 0, 0.06);
    padding-bottom: 1rem;
}
.timetable-scroll-wrap {
    margin-top: 0.5rem;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 0.75rem;
}
/* Custom Scrollbar for Timetable */
.timetable-scroll-wrap::-webkit-scrollbar {
    width: 6px;
}
.timetable-scroll-wrap::-webkit-scrollbar-track {
    background: rgba(128, 0, 0, 0.02);
    border-radius: 3px;
}
.timetable-scroll-wrap::-webkit-scrollbar-thumb {
    background: rgba(128, 0, 0, 0.15);
    border-radius: 3px;
}
.timetable-scroll-wrap::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

.timetable-table {
    width: 100%;
    border-collapse: collapse;
}
.timetable-table tr {
    border-bottom: 1px solid rgba(128, 0, 0, 0.06);
    transition: background 0.2s ease;
}
.timetable-table tr:hover {
    background: rgba(128, 0, 0, 0.02);
}
.timetable-table tr:last-child {
    border-bottom: none;
}
.timetable-table td {
    padding: 0.9rem 0.5rem;
    font-size: 0.95rem;
}
.timetable-table td.time-col {
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
    width: 110px;
    white-space: nowrap;
}
.timetable-table td.time-col i {
    margin-right: 6px;
    color: var(--accent-dark);
    font-size: 0.85rem;
}
.timetable-table td.activity-col {
    color: var(--text-main);
    font-weight: 500;
}

.feed-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}
.feed-card {
    background: #ffffff;
    padding: 2.5rem;
    border: 1px solid rgba(128, 0, 0, 0.08);
    box-shadow: 0 15px 35px rgba(128, 0, 0, 0.04);
    border-radius: var(--radius-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.feed-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.feed-card-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
}
.feed-badge {
    background: rgba(128, 0, 0, 0.06);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.live-stream-badge {
    background: #e74c3c;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
    100% { transform: scale(1); opacity: 1; }
}

.facebook-container {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(128, 0, 0, 0.08);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.iframe-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(128, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    margin-bottom: 1rem;
}

/* Drone Gallery Section */
.drone-gallery-section {
    background: linear-gradient(135deg, #4d0000 0%, #220000 100%);
    color: #ffffff;
    padding: 6.5rem 0;
    position: relative;
    box-shadow: inset 0 20px 40px rgba(0,0,0,0.2), inset 0 -20px 40px rgba(0,0,0,0.2);
}
.drone-gallery-section .section-title-wrap h2 {
    color: #ffffff;
}
.drone-gallery-section .section-title-wrap p {
    color: rgba(255, 255, 255, 0.85);
}
.drone-grid {
    gap: 2rem;
    margin-top: 3rem;
}
.drone-card {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.drone-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.drone-card img {
    width: 100%;
    height: 200px;
    border-radius: calc(var(--radius-md) - 4px);
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.drone-card:hover img {
    transform: scale(1.05);
}

/* Museum & Goshala Interactive Grids */
.museum-interactive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.museum-img-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(128, 0, 0, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    aspect-ratio: 4/3;
}
.museum-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.museum-img-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(128, 0, 0, 0.12);
    border-color: var(--primary);
}
.museum-img-card:hover img {
    transform: scale(1.06);
}

/* Premium Books Cards */
.books-grid {
    gap: 2.5rem;
    margin-top: 3rem;
}
.book-card {
    padding: 3rem 2.5rem;
    background: #ffffff;
    border: 1px solid rgba(128, 0, 0, 0.08);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(128, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}
.book-card:hover::before {
    opacity: 1;
}
.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(128, 0, 0, 0.08);
    border-color: rgba(128, 0, 0, 0.15);
}
.book-icon-wrapper {
    width: 88px;
    height: 88px;
    background: rgba(128, 0, 0, 0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: var(--transition);
}
.book-card:hover .book-icon-wrapper {
    background: var(--primary);
    color: #ffffff;
    transform: rotateY(180deg);
}
.book-card.youtube-card:hover .book-icon-wrapper {
    background: #ff0000;
    color: #ffffff;
}
.book-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}
.book-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.book-card .btn {
    margin-top: auto;
    width: 100%;
}

/* Pilgrim Guidelines (Do's & Don'ts) */
.guidelines-grid {
    gap: 3rem;
    align-items: stretch;
    margin-top: 3.5rem;
}
.guideline-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 3rem 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    height: 100%;
}
.guideline-box:hover {
    transform: translateY(-5px);
}
.guideline-box-dos {
    border: 1px solid rgba(39, 174, 96, 0.15);
    border-top: 4px solid #27ae60;
}
.guideline-box-dos:hover {
    box-shadow: 0 20px 45px rgba(39, 174, 96, 0.08);
}
.guideline-box-donts {
    border: 1px solid rgba(128, 0, 0, 0.15);
    border-top: 4px solid var(--primary);
}
.guideline-box-donts:hover {
    box-shadow: 0 20px 45px rgba(128, 0, 0, 0.08);
}

.guideline-title {
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.04);
    padding-bottom: 1rem;
}
.guideline-box-dos .guideline-title {
    color: #27ae60;
    border-color: rgba(39, 174, 96, 0.08);
}
.guideline-box-donts .guideline-title {
    color: var(--primary);
    border-color: rgba(128, 0, 0, 0.08);
}

.guidelines-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    font-size: 0.98rem;
    color: var(--text-main);
}
.guidelines-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    line-height: 1.6;
}
.guidelines-list li i {
    margin-top: 4px;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.guideline-box-dos .guidelines-list li i {
    color: #27ae60;
}
.guideline-box-donts .guidelines-list li i {
    color: var(--primary);
}

/* Masonry Gallery Layout */
.masonry-gallery {
    column-count: 1;
    column-gap: 1.5rem;
    width: 100%;
    margin-top: 3rem;
}
@media (min-width: 480px) {
    .masonry-gallery {
        column-count: 2;
        column-gap: 1.5rem;
    }
}
@media (min-width: 768px) {
    .masonry-gallery {
        column-count: 3;
        column-gap: 1.5rem;
    }
}
@media (min-width: 1024px) {
    .masonry-gallery {
        column-count: 4;
        column-gap: 1.5rem;
    }
}
.masonry-gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
    break-inside: avoid;
    box-sizing: border-box;
}

/* Lightbox Navigation Arrows */
.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
    font-size: 2.2rem;
    transition: var(--transition);
    user-select: none;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1010;
}
.lightbox-prev {
    left: -80px;
}
.lightbox-next {
    right: -80px;
}
.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}
@media (max-width: 991px) {
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
}

/* About Hero Layout & Slider */
.about-hero-section {
    position: relative;
    padding: 7rem 0 5rem 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(128, 0, 0, 0.06) 0%, rgba(128, 0, 0, 0.01) 100%);
    border-bottom: 1px solid rgba(128, 0, 0, 0.06);
}
.about-hero-grid {
    align-items: center;
    gap: 4rem;
}
.deity-slider-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(128, 0, 0, 0.12);
    border: 1.5px solid rgba(128, 0, 0, 0.12);
    background: var(--glass-bg);
    padding: 0.5rem;
    aspect-ratio: 4/3;
    display: flex;
}
.deity-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: calc(var(--radius-md) - 6px);
}
.deity-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: scale(1.02);
    display: none;
}
.deity-slide.active {
    opacity: 1;
    transform: scale(1);
    display: block;
}
.deity-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.deity-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    color: var(--accent);
    padding: 2.5rem 1.5rem 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    text-align: center;
}
.deity-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    z-index: 10;
}
.deity-slider-nav:hover {
    background: var(--accent);
    color: var(--primary);
}
.deity-slider-nav.prev {
    left: 1.5rem;
}
.deity-slider-nav.next {
    right: 1.5rem;
}



/* FOOLPROOF FIX FOR DOUBLE UNDERLINES ON TITLES AND HEADERS */
.about-header-wrap h2::after,
.section-title-wrap h2::after,
h2:has(+ .header-divider)::after,
h2:has(+ [style*="width"])::after {
    display: none !important;
}

/* ============================================================
   MOBILE RESPONSIVENESS IMPROVEMENTS
   ============================================================ */

/* --- First section spacing for fixed header --- */
.first-section {
    padding-top: clamp(5.5rem, 12vw, 8rem);
}

/* --- Gallery grid on small screens --- */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
    }
    .gallery-filters {
        gap: 0.4rem !important;
    }
    .filter-btn {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.7rem !important;
    }
}

/* --- Video containers fluid on mobile --- */
@media (max-width: 768px) {
    .video-container {
        margin-bottom: 1.2rem;
    }
    .grid.grid-2 {
        grid-template-columns: 1fr !important;
    }
}

/* --- Hero overlay text on very small screens --- */
@media (max-width: 480px) {
    .hero-overlay-content {
        width: 96%;
        bottom: 0.5vh;
    }
    .hero-welcome-card {
        padding: 0.9rem 1rem;
    }
    .hero-welcome-card h1 {
        font-size: 1.35rem;
    }
    .hero-welcome-card p {
        font-size: 0.82rem;
    }
    .hero-welcome-card .btn {
        padding: 0.55rem 1.1rem;
        font-size: 0.8rem;
    }
}

/* --- Floating action buttons on mobile — stack smaller & repositioned --- */
@media (max-width: 576px) {
    .floating-action-buttons {
        bottom: 1rem !important;
        right: 0.6rem !important;
        gap: 0.45rem !important;
    }
    .floating-btn {
        width: 42px !important;
        height: 42px !important;
        font-size: 1rem !important;
    }
}

/* --- About hero grid stack on tablet/mobile --- */
@media (max-width: 900px) {
    .about-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .deity-slider-container {
        max-width: 100%;
    }
}

/* --- Tariff table mobile scroll --- */
@media (max-width: 768px) {
    .tariffs-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .tariffs-table {
        min-width: 500px;
    }
}

/* --- Glass panel padding reduction on small screens --- */
@media (max-width: 576px) {
    .glass-panel {
        padding: 1.25rem 1rem;
    }
    h2 {
        font-size: clamp(1.3rem, 6vw, 2rem);
    }
    h1 {
        font-size: clamp(1.6rem, 7vw, 2.8rem);
    }
}

/* --- Donation / seva form inputs on mobile --- */
@media (max-width: 576px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Room slider on mobile --- */
@media (max-width: 768px) {
    .room-gallery-slider {
        aspect-ratio: 4/3 !important;
    }
}

/* --- Timetable responsive padding --- */
@media (max-width: 576px) {
    .glass-table th,
    .glass-table td {
        padding: 0.65rem 0.6rem;
        font-size: 0.82rem;
    }
}

/* --- Section spacing on mobile --- */
@media (max-width: 576px) {
    .section {
        padding: clamp(2.5rem, 7vw, 4rem) 0;
    }
    .section-title-wrap {
        margin-bottom: 2rem;
    }
}

/* --- Brand text wrapping on very small screens --- */
@media (max-width: 360px) {
    .brand-text h1 {
        font-size: 1.1rem;
    }
    .brand-text p {
        font-size: 0.7rem;
    }
    .logo {
        height: 40px;
        width: 40px;
    }
}

/* --- footer grid on mobile --- */
@media (max-width: 576px) {
    .footer-widgets.grid-4 {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem;
    }
    .footer-col:first-child {
        grid-column: 1 / -1;
    }
}

/* --- Prevent horizontal overflow on all pages --- */
*, *::before, *::after {
    max-width: 100%;
}

/* --- Fix background-attachment: fixed on iOS (doesn't work on mobile Safari) --- */
@media (max-width: 991px) {
    .founder-book-section {
        background-attachment: scroll !important;
    }
    .video-bg-section {
        background-attachment: scroll !important;
    }
}
