/*
Theme Name: Manghim Temple
Description: A modern temple website theme with Bootstrap 5 and custom styling
Version: 1.0
Author: Your Name
*/

/* Import Bootstrap 5 */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* Modern Dark & White Theme Variables */
:root {
    --primary-color: #000000; /* pure black */
    --secondary-color: #ffffff; /* pure white */
    --accent-color: #000000; /* accent stays black */
    --dark-color: #000000;
    --light-color: #ffffff;
    --text-dark: #000000;
    --text-light: #666666; /* subtle gray for secondary text */
    --text-muted: #999999; /* lighter gray for muted text */
    --background-gray: #f8f8f8; /* very light gray for sections */
    --border-light: #e0e0e0; /* light border */
    --shadow-soft: rgba(0, 0, 0, 0.08); /* subtle shadow */
    --gradient-primary: linear-gradient(135deg, #000000 0%, #333333 100%);
    --gradient-dark: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Modern Typography System */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--secondary-color);
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Modern Heading Hierarchy */
h1, .h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2, .h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
}

h3, .h3 {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h5, .h5 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* ========================================
   MODERN RESPONSIVE HEADER & NAVIGATION
   ======================================== */

/* Top Bar */
.top-bar {
    background: var(--dark-color);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    position: relative;
    z-index: 1001;
}

.contact-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.contact-info i {
    color: var(--accent-color);
    font-size: 0.75rem;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.75rem;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px) scale(1.1);
}

/* Main Navigation */
.site-header {
    position: relative;
    z-index: 1000;
}

/* Clean White Navigation */
.navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
    border: none;
    z-index: 1050;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.navbar.scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
}

/* Remove separation between navbar and hero */
.hero-section + .navbar,
.navbar + .hero-section {
    border: none;
    margin: 0;
}

/* Clean White Navbar Brand */
.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    text-shadow: none;
}

.navbar-brand:hover {
    color: var(--primary-color) !important;
    transform: scale(1.02);
}
.navbar-brand img{
        width: 100px;
    height: 100%;
}
/* Clean Navigation Links for White Navbar */
.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: none;
    padding: 0.75rem 1rem !important;
    font-size: 1rem;
}

/* Desktop Navigation - Larger Font Size */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        font-size: 1.125rem;
        font-weight: 700;
        padding: 1rem 1.25rem !important;
    }
}

/* Extra Large Desktop - Even Larger Font */
@media (min-width: 1400px) {
    .navbar-nav .nav-link {
        font-size: 1.25rem;
        padding: 1rem 1.5rem !important;
    }
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 1), 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* Navigation over dark hero backgrounds */
.hero-section.has-background .navbar-brand,
.hero-section.has-background .navbar-nav .nav-link {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6);
}

.hero-section.has-background .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* Brand Styling */
.navbar-brand {
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0;
}

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

/* Rounded Black Background Logo */
.brand-icon-rounded {
    width: 40px;
    height: 40px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.brand-icon-rounded:hover {
    transform: scale(1.05);
}

/* Legacy brand-icon for compatibility */
.brand-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.brand-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.6s ease;
}

.navbar-brand:hover .brand-icon::before {
    transform: rotate(45deg) translate(100%, 100%);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

/* Modern Mobile Toggle */
.modern-toggler {
    border: none;
    padding: 0.5rem;
    background: none;
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-toggler:focus {
    box-shadow: none;
    outline: none;
}

.toggler-line {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    margin: 0 auto 4px;
}

.toggler-line:last-child {
    margin-bottom: 0;
}

.modern-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.modern-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.modern-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Links */
.navbar-nav {
    align-items: center;
}

.nav-item {
    margin: 0 0.25rem;
}

.modern-nav-link {
    color: var(--text-dark) !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.9rem 1.1rem !important;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    text-decoration: none;
    overflow: hidden;
}

.modern-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(210, 105, 30, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.modern-nav-link:hover::before,
.modern-nav-link.active::before { opacity: 1; }

.modern-nav-link:hover,
.modern-nav-link.active { color: var(--primary-color) !important; transform: none; }

.nav-icon {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.modern-nav-link:hover .nav-icon,
.modern-nav-link.active .nav-icon {
    opacity: 1;
    transform: scale(1.1);
}

.nav-text {
    position: relative;
    z-index: 2;
}

/* Dropdown Enhancements - Enhanced Version */
.navbar-nav .dropdown:hover .dropdown-menu { display: block; transform: none; opacity: 1; visibility: visible; }

.dropdown-menu {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: block;
}

.dropdown-menu.modern-dropdown {
    border: none;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem 0;
    margin-top: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    min-width: 280px;
    position: relative;
    overflow: hidden;
}

.dropdown-menu.modern-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 -2px 6px rgba(0, 0, 0, 0.1));
    z-index: 1;
}

.dropdown-menu.modern-dropdown .dropdown-item {
    padding: 1rem 1.5rem;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 12px;
    margin: 0.25rem 0.75rem;
    display: flex;
    align-items: center;
    position: relative;
    font-weight: 500;
    overflow: hidden;
}

.dropdown-menu.modern-dropdown .dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(var(--primary-color-rgb), 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.dropdown-menu.modern-dropdown .dropdown-item:hover::before {
    left: 100%;
}

.dropdown-menu.modern-dropdown .dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

.dropdown-menu.modern-dropdown .dropdown-item i {
    margin-right: 1rem;
    color: var(--primary-color);
    width: 18px;
    text-align: center;
    transition: all 0.35s ease;
    transform: translateX(0);
}

.dropdown-menu.modern-dropdown .dropdown-item:hover i {
    color: white;
    transform: translateX(3px) scale(1.1);
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: all 0.3s ease;
}
/* Replace caret with + / − icon */
.navbar .dropdown-toggle::after {
    content: '+';
    border: none !important;
    margin-left: 0.5rem;
    font-weight: 800;
    line-height: 1;
}

.navbar .dropdown.show > .dropdown-toggle::after {
    content: '\2212'; /* minus sign */
}

/* Submenu inside drawer should be full-width and border-separated */
.navbar-collapse .dropdown-menu {
    width: 100%;
    border: 0;
    box-shadow: none;
    padding: 0.25rem 0.5rem 0.75rem 0.75rem;
}

/* Drawer open animation for menu items */
@keyframes menuFadeInUp {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

.drawer-animate {
    animation: menuFadeInUp 300ms ease-out both;
}

.dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
}

/* Action Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}



.btn-donate {
    background: var(--secondary-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-donate::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn-donate:hover::before {
    width: 300px;
    height: 300px;
}

.btn-donate:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
    background: var(--secondary-color);
    border-color: var(--primary-color);
}

/* Rounded Bordered Donate Button */
.btn-donate-nav {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    white-space: nowrap;
}

.btn-donate-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 0;
}

.btn-donate-nav:hover::before {
    width: 300px;
    height: 300px;
}

.btn-donate-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--secondary-color);
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-donate-nav i {
    position: relative;
    z-index: 1;
    color: #dc2626; /* Red heart color */
}

.btn-donate-nav span {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments for navigation donate button */
@media (max-width: 575.98px) {
    .btn-donate-nav {
        display: none !important;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .btn-donate-nav {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .btn-donate-nav span {
        display: none;
    }
}

@media (min-width: 768px) {
    .btn-donate-nav {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* Navbar actions container - Right alignment */
.navbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Navigation Enhancements */

.mobile-social {
    padding: 1rem 0;
    border-top: 1px solid rgba(210, 105, 30, 0.2);
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    cursor: pointer;
}

/* Overlay visibility is controlled via explicit class */
.mobile-nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Body dark overlay when mobile menu is open */
body.mobile-menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.mobile-menu-open::before {
    opacity: 1;
    visibility: visible;
}

body.mobile-menu-open {
    overflow: hidden;
}

/* Right-side drawer behavior (all breakpoints) */
.navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 50vw;
    max-width: 420px;
    background: #ffffff;
    margin-top: 0;
    padding: 1.5rem;
    border-radius: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    border-left: 1px solid rgba(210, 105, 30, 0.12);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.navbar-collapse.show {
    transform: translateX(0);
}

/* Vertical nav layout inside drawer */
.navbar-collapse .navbar-nav {
    flex-direction: column;
    width: 100%;
    gap: 0.25rem;
}

.navbar-collapse .nav-item {
    width: 100%;
    margin: 0;
}

.navbar-collapse .modern-nav-link {
    padding: 1rem !important;
    width: 100%;
    justify-content: flex-start;
    border-radius: 10px;
}

.navbar-collapse .nav-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.navbar-collapse .btn-donate {
    width: 100%;
    justify-content: center;
    padding: 1rem;
}

/* Mobile Responsive Styles */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .brand-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .brand-name {
        font-size: 1.25rem;
    }
    
    .dropdown-menu.modern-dropdown {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        background: rgba(210, 105, 30, 0.05);
        margin: 0.5rem 0 0 1rem;
        border-left: 2px solid var(--primary-color);
    }
}

@media (max-width: 575.98px) {
    /* More coverage on very small screens */
    .navbar-collapse {
        width: 80vw;
        max-width: none;
    }
    .brand-container {
        gap: 0.75rem;
    }
    
    .brand-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    .brand-tagline {
        display: none;
    }
    
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 1rem;
    }
    
    .modern-nav-link {
        padding: 0.75rem !important;
    }
}

/* Hero Section */
/* Full Height Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../uploads/2024/temple-hero-bg.jpg'); /* Replace with actual image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
    padding-top: 80px; /* Account for fixed white navbar */
}

/* Dark overlay for better text readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Hero content container */
.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 3;
    text-align: center;
}

/* Hero content text styling */
.hero-section .hero-content h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .hero-content p {
    color: white;
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Full Background Hero Section */
.hero-section.has-background {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/images/temple-hero.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    width: 100%;
    height: 100vh;
}

/* Clean Hero Section - Full Width Background Only */

/* Hero section always full width */
.hero-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
}

.hero-section .hero-content {
    width: 100%;
    max-width: none;
    text-align: center;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Dynamic Hero - Override inline background-color when background image is present */
.dynamic-hero.hero-section {
    background-color: transparent !important;
}

.dynamic-hero .hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.dynamic-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    z-index: 0;
}

/* Centered Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 3rem 2rem;
    margin: 0 auto;
}

/* White text for hero with background */
.hero-section.has-background .hero-content {
    color: white;
}

.hero-section.has-background .hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section.has-background .hero-content p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900; /* Extra bold for Montserrat */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Ensure hero content is readable under navigation */
.hero-section {
    z-index: 1;
}

/* Hero Buttons - Enhanced for visibility on any background */
.hero-content .btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0 0.5rem 1rem 0.5rem;
}

.hero-content .btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Hero buttons on dark background */
.hero-section.has-background .hero-content .btn,
.dynamic-hero .hero-content .btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.hero-section.has-background .hero-content .btn:hover,
.dynamic-hero .hero-content .btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

/* Unified Section - No separation needed */
.site-header + .hero-section {
    margin-top: 0;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Mobile navbar adjustments */
    .navbar {
        padding: 0.75rem 0;
    }
    
    /* Mobile hero section */
    .hero-section {
        height: 100vh;
        padding-top: 70px; /* Smaller navbar on mobile */
    }
    
    /* Mobile hero content */
    .hero-content {
        padding: 2rem 1rem;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Mobile navbar brand */
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .brand-tagline {
        display: none !important;
    }
    
    .hero-section .container {
        min-height: 100vh;
    }
}

/* Mobile hamburger menu and overlay styles */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile menu overlay */
@media (max-width: 768px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
    }
    
    .navbar-collapse.show {
        display: flex;
    }
    
    .navbar-nav {
        text-align: center;
        margin: 0;
    }
    
    .navbar-nav .nav-item {
        margin: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        color: white !important;
        font-size: 1.5rem;
        font-weight: 300;
        padding: 1rem 2rem;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-link:hover {
        color: rgba(255, 255, 255, 0.8) !important;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .hero-section .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .hero-content p {
        font-size: 1.1rem;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .hero-section {
        padding-top: 60px;
    }
    
    .hero-section .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-section .hero-content p {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
    }
    
    .hero-content h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Desktop hero overlay enhancements */
@media (min-width: 1200px) {
    .hero-section.has-background {
        background-attachment: fixed;
    }
    
    .hero-section.has-background::after {
        height: 180px;
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.2) 80%,
            transparent 100%
        );
    }
    
    /* Enhanced desktop navigation over hero */
    .hero-section.has-background .navbar-nav .nav-link {
        font-size: 1.25rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    }
    
    .hero-section.has-background .btn-donate-nav {
        font-size: 1rem;
        padding: 0.7rem 1.4rem;
    }
}

/* Seamless Transparent Navigation */
.navbar {
    will-change: transform, background-color, box-shadow;
}

/* Enhanced navigation when scrolled */
.navbar.is-sticky {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px var(--shadow-medium);
    padding: 0.75rem 0;
}

/* Unified appearance with hero */
.hero-section {
    contain: layout style paint;
    position: relative;
    z-index: 1;
}

/* Navigation integration */
.site-header {
    position: relative;
    z-index: 1050;
}

/* Smooth blend effect */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar.scrolled::after {
    opacity: 1;
}

/* Button Group Responsive */
.hero-content .d-flex {
    gap: 1rem;
}

/* Enhanced button text visibility */
.hero-content .btn,
.btn {
    font-weight: 600;
    text-shadow: none;
    letter-spacing: 0.3px;
}

/* Special styling for primary action buttons */
.hero-content .btn-primary,
.btn-primary {
    font-size: 1rem;
    padding: 0.875rem 2rem;
}

@media (max-width: 576px) {
    .hero-content .d-flex {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content .btn {
        width: 100%;
        max-width: 280px;
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900; /* Extra bold for Montserrat */
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Modern White Button Styles with Dark Text */
.btn,
.hero-content .btn,
.btn-primary-custom,
.btn-outline-custom,
.btn-secondary {
    background: var(--secondary-color);
    border: 2px solid var(--primary-color);  
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

.btn::before,
.hero-content .btn::before,
.btn-primary-custom::before,
.btn-outline-custom::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn:hover::before,
.hero-content .btn:hover::before,
.btn-primary-custom:hover::before,
.btn-outline-custom:hover::before,
.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover,
.hero-content .btn:hover,
.btn-primary-custom:hover,
.btn-outline-custom:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
    background: var(--secondary-color);
    border-color: var(--primary-color);
    text-decoration: none;
}

/* Modern Section Styles */
.services-section {
    padding: 6rem 0;
    background: var(--background-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

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

/* Modern Service Cards */
.service-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-light);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-soft);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.service-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Journey Section */
.journey-section {
    padding: 5rem 0;
    background: white;
}

.journey-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.journey-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.journey-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.journey-features {
    list-style: none;
    padding: 0;
}

.journey-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.journey-features li i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.journey-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Celebrations Section */
.celebrations-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
}

.celebration-card {
    background: var(--gradient-primary);
    border-radius: 15px;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.celebration-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.celebration-content h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.celebration-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.celebration-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.celebration-meta i {
    font-size: 1.1rem;
}

.celebration-organizer {
    opacity: 0.8;
    font-style: italic;
}

/* Upcoming Events Styling */
.upcoming-events {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
}

.upcoming-events h4 {
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.event-date {
    text-align: center;
    min-width: 50px;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.event-details h5 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.event-details h5 a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.event-details h5 a:hover {
    color: var(--accent-color);
}

.event-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.event-details small {
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* Reviews Section */
.reviews-section {
    padding: 5rem 0;
    background: white;
}

.review-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.review-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.review-author {
    font-weight: bold;
    color: var(--dark-color);
}

/* Streaming Section */
.streaming-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, rgba(44, 24, 16, 0.9) 100%);
    color: white;
}

.streaming-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.streaming-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.streaming-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.streaming-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Committee Section - Enhanced with Carousel */
.committee-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.committee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

/* Team Carousel Container */
.team-carousel-container {
    position: relative;
    margin: 2rem 0;
}

.team-carousel {
    overflow: hidden;
    border-radius: 20px;
    padding: 0 1rem;
}

.team-slide-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 2rem;
}

.team-slide {
    flex: 0 0 25%; /* Default: 4 slides visible */
    min-width: 0;
}

/* Enhanced Member Cards */
.member-card-enhanced {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.member-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    position: relative;
    background: var(--gradient-primary);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.member-card-enhanced:hover .member-avatar img {
    transform: scale(1.1);
}

/* Member Overlay */
.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--primary-color-rgb), 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.member-avatar:hover .member-overlay {
    opacity: 1;
}

.member-links {
    display: flex;
    gap: 1rem;
}

.member-link {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-link:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Member Info */
.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.member-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.member-department {
    color: var(--text-color);
    font-size: 0.85rem;
    background: rgba(var(--primary-color-rgb), 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 1rem 0;
    flex: 1;
}

.member-rating {
    color: #ffc107;
    font-size: 1rem;
    margin-top: auto;
}

/* Carousel Navigation */
.team-carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.carousel-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* Carousel Indicators */
.team-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(var(--primary-color-rgb), 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.carousel-indicator:hover {
    background: var(--primary-color);
}

/* Responsive Design for Carousel */
@media (max-width: 1199.98px) {
    .team-slide {
        flex: 0 0 33.333%; /* 3 slides on large tablets */
    }
}

@media (max-width: 991.98px) {
    .team-slide {
        flex: 0 0 50%; /* 2 slides on tablets */
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: -20px;
    }
    
    .next-btn {
        right: -20px;
    }
}

@media (max-width: 767.98px) {
    .team-slide {
        flex: 0 0 100%; /* 1 slide on mobile */
    }
    
    .team-slide-track {
        gap: 1rem;
    }
    
    .member-card-enhanced {
        padding: 1.5rem 1rem;
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
    }
    
    .carousel-btn {
        display: none; /* Hide navigation buttons on mobile, rely on swipe */
    }
    
    .team-carousel {
        padding: 0;
    }
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-rating {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Community Section */
.community-section {
    padding: 5rem 0;
    background: white;
}

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

.community-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.community-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.community-card h4 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.community-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.progress-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
}

.contact-info {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--light-color);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
}

.contact-details h5 {
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(210, 105, 30, 0.25);
}

/* ========================================
   MODERN RESPONSIVE FOOTER
   ======================================== */

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(210, 105, 30, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

/* Minimal Newsletter Section */
.newsletter-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin-bottom: 0;
}

.newsletter-section h5 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.newsletter-section small {
    font-size: 0.85rem;
    opacity: 0.8;
}

.newsletter-form {
    position: relative;
}

.newsletter-form .form-control {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .form-control:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    outline: none;
}

.newsletter-form .btn {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

/* Modern Clean Footer */
.footer {
    background: var(--background-gray);
    color: var(--text-dark);
    position: relative;
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-light);
}

/* Modern Footer Headings */
.footer h6,
.footer .h6 {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Temple Hours Banner */
.temple-hours-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d4691e 100%);
    box-shadow: 0 10px 30px rgba(210, 105, 30, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.temple-hours-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(210, 105, 30, 0.4);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

/* Enhanced Brand Icon */
.footer-brand .brand-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #d4691e 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    position: relative;
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.3);
}

.brand-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), #d4691e);
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-brand:hover .brand-glow {
    opacity: 0.7;
}

/* Newsletter Signup */
.newsletter-signup .form-control {
    background: #ffffff;
    border: 1.5px solid #dee2e6;
    color: #212529;
    transition: all 0.3s ease;
}

.newsletter-signup .form-control::placeholder {
    color: #6c757d;
}

.newsletter-signup .form-control:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.2);
    color: #212529;
}

.newsletter-signup .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d4691e 100%);
    border: none;
    padding: 0 1.5rem;
    transition: all 0.3s ease;
}

.newsletter-signup .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(210, 105, 30, 0.4);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

/* Footer Brand */
.footer-brand .brand-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand .brand-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.footer-brand h5 {
    color: var(--accent-color);
    margin: 0;
}

/* Footer Sections - Enhanced Minimal Design */
.footer-section {
    position: relative;
}

.footer-section h5 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.footer-section h5 i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-right: 0.75rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Simple Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Simple Contact Info Styling */
.simple-contact-info {
    margin-bottom: 1rem;
}

.contact-item-simple {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item-simple:last-child {
    border-bottom: none;
}

.contact-item-simple:hover {
    padding-left: 0.5rem;
    background: rgba(210, 105, 30, 0.03);
    border-radius: 8px;
    margin: 0 -0.5rem;
}

.contact-icon-simple {
    width: 35px;
    height: 35px;
    background: rgba(210, 105, 30, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-icon-simple i {
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-icon-simple.emergency {
    background: rgba(255, 193, 7, 0.15);
}

.contact-icon-simple.emergency i {
    color: #ffc107;
}

.contact-item-simple:hover .contact-icon-simple {
    background: var(--primary-color);
    transform: scale(1.05);
}

.contact-item-simple:hover .contact-icon-simple i {
    color: white;
}

.contact-item-simple:hover .contact-icon-simple.emergency {
    background: #ffc107;
}

.contact-item-simple:hover .contact-icon-simple.emergency i {
    color: #212529;
}

.contact-text {
    flex: 1;
}

.contact-text a {
    transition: all 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary-color) !important;
    transform: translateX(3px);
}

.contact-text address {
    line-height: 1.4;
}

/* Newsletter Enhancement Styles */
.newsletter-loading {
    position: relative;
    overflow: hidden;
}

.newsletter-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 1.5s infinite;
}

/* Removed animations for simpler design */

/* Footer Link Pulse Animation */
.footer-link i.fa-pulse {
    animation: fa-pulse 1.5s infinite;
}

/* Platform-specific Social Icon Hover Effects */
.social-icon-facebook-hover {
    background: linear-gradient(135deg, #3b5998 0%, #8b9dc3 100%) !important;
    border-color: #3b5998 !important;
}

.social-icon-instagram-hover {
    background: linear-gradient(135deg, #e1306c 0%, #f56040 50%, #fccc63 100%) !important;
    border-color: #e1306c !important;
}

.social-icon-youtube-hover {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
    border-color: #ff0000 !important;
}

.social-icon-whatsapp-hover {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    border-color: #25d366 !important;
}

/* Enhanced Form Validation */
.newsletter-signup .form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.newsletter-signup .form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
    animation: shake 0.5s ease-in-out;
}

/* Removed shake animation */

/* Responsive Footer Enhancements */
@media (max-width: 575.98px) {
    .temple-hours-banner .row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-item {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .contact-item .contact-icon {
        width: 35px;
        height: 35px;
    }
    
    .emergency-contact {
        padding: 1rem !important;
        text-align: center;
    }
    
    .social-icons {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .social-icon {
        width: 42px;
        height: 42px;
    }
}

/* Contact Info in Footer */
.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-footer .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-footer .contact-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 0.25rem;
    width: 20px;
    flex-shrink: 0;
}

.contact-info-footer .contact-item div strong {
    color: #333;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    display: block;
}

.contact-info-footer .contact-item a {
    color: #6c757d;
    text-decoration: none;
}

.contact-info-footer .contact-item a:hover {
    color: var(--primary-color);
}

/* Simple Social Media Icons */
.social-icons-simple {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Simple Social Links - using existing .footer-link styles */

/* Mobile Newsletter */
.mobile-newsletter h6 {
    color: var(--accent-color);
    font-weight: bold;
    display: flex;
    align-items: center;
}

.mobile-newsletter .input-group .form-control {
    border: 2px solid rgba(210, 105, 30, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.mobile-newsletter .input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.mobile-newsletter .input-group .form-control:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

/* Modern Full Width Footer Bottom */
.footer-bottom-full {
    background: var(--primary-color);
    border-top: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.footer-bottom-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.footer-bottom-full .container-fluid {
    position: relative;
    z-index: 1;
}

.copyright-section p {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.copyright-section small {
    font-size: 0.8rem;
    line-height: 1.4;
    opacity: 0.8;
}

/* Footer Legal Links */
.footer-legal-link {
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem !important;
    position: relative;
    overflow: hidden;
}

.footer-legal-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(210, 105, 30, 0.1);
    transition: width 0.3s ease;
    z-index: 0;
}

.footer-legal-link:hover::before {
    width: 100%;
}

.footer-legal-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

.footer-legal-link i {
    color: var(--primary-color);
    font-size: 0.75rem;
    position: relative;
    z-index: 1;
}

.footer-legal-link span {
    position: relative;
    z-index: 1;
}

/* Temple Status Indicator */
.temple-status-small {
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-indicator {
    position: relative;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Responsive Full Width Footer Bottom */
@media (max-width: 991.98px) {
    .footer-bottom-full {
        text-align: center;
    }
    
    .copyright-section,
    .footer-legal-links,
    .temple-status-small {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-legal-links .d-flex {
        justify-content: center;
    }
    
    .temple-status-small {
        display: inline-block;
    }
}

@media (max-width: 767.98px) {
    .footer-bottom-full .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 575.98px) {
    .footer-bottom-full {
        padding: 1.5rem 0;
    }
    
    .footer-legal-links .d-flex {
        flex-direction: column;
        gap: 0.5rem !important;
        align-items: center;
    }
    
    .temple-status-small {
        width: 100%;
        text-align: center;
    }
    
    .copyright-section {
        margin-bottom: 1.5rem;
    }
    
    /* Simple Contact Mobile */
    .contact-item-simple {
        padding: 1rem 0;
    }
    
    .contact-icon-simple {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon-simple i {
        font-size: 1rem;
    }
    
    .contact-text {
        font-size: 0.9rem;
    }
}

/* Enhanced Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #d4691e 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(10px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.back-to-top:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 35px rgba(210, 105, 30, 0.5);
    background: linear-gradient(135deg, #d4691e 0%, var(--primary-color) 100%);
}

.back-to-top i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Mobile Footer Optimizations */
@media (max-width: 767.98px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .temple-hours-banner {
        margin-top: -2rem;
        margin-bottom: 3rem;
    }
    
    .footer-brand .brand-container {
        justify-content: center;
    }
    
    .contact-info-footer {
        align-items: center;
    }
    
    .contact-info-footer .contact-item {
        justify-content: center;
        text-align: left;
        max-width: 280px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .row > div {
        text-align: center !important;
        margin-bottom: 1rem;
    }
    
    .footer-bottom-links {
        margin-bottom: 1rem;
    }
    
    .footer-bottom-links a {
        display: inline-block;
        margin: 0 0.5rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .back-to-top i {
        font-size: 1.1rem;
    }
    
    .newsletter-signup .input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-signup .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section {
        padding: 0 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-info-footer .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .newsletter-form .form-control {
        font-size: 14px;
    }
}

/* ========================================
   MOBILE-FIRST RESPONSIVE DESIGN
   ======================================== */

/* Base Mobile Styles (320px and up) */
.hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.section-title h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.section-title p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Mobile Navigation Body Padding - Removed for seamless hero */
body {
    padding-top: 0px;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 0px;
    }
}

/* Container Responsive Padding */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    body {
        padding-top: 0px;
    }
}

/* Small Phones (up to 480px) */
@media (max-width: 479.98px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .service-card,
    .member-card,
    .review-card {
        margin-bottom: 1.5rem;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Tablets (768px and up) */
@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .journey-content,
    .streaming-content {
        display: flex;
        align-items: center;
    }
    
    body {
        padding-top: 0px;
    }
}

/* Large Tablets and Small Desktops (992px and up) */
@media (min-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.25rem;
    }
    
    body {
        padding-top: 0px;
    }
}

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
}

/* Extra Large Desktops (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Responsive Grid Systems */
.mobile-responsive-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .mobile-responsive-grid.cols-sm-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .mobile-responsive-grid.cols-md-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-responsive-grid.cols-md-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

/* Mobile-First Component Adjustments */
@media (max-width: 767.98px) {
    .journey-content,
    .streaming-content {
        flex-direction: column;
        text-align: center;
    }
    
    .journey-content > div,
    .streaming-content > div {
        margin-bottom: 2rem;
    }
    
    .streaming-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .committee-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        margin-bottom: 1rem;
    }
    
    .event-card .event-date::after {
        display: none;
    }
    
    .celebration-card {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .contact-section .row > div {
        margin-bottom: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

/* Medium Devices Specific */
@media (min-width: 768px) and (max-width: 991.98px) {
    .committee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .streaming-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Large Devices Optimization */
@media (min-width: 992px) {
    .committee-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .journey-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Touch-Friendly Interactions */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .member-card:hover,
    .review-card:hover {
        transform: none;
    }
    
    .service-card,
    .member-card,
    .review-card {
        cursor: default;
    }
    
    .btn-donate:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.3);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .brand-icon,
    .service-icon,
    .feature-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .social-links,
    .mobile-social {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title h2 {
        font-size: 18pt;
    }
    
    .page-hero {
        background: none !important;
        color: black !important;
        padding: 1rem 0;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Blog Section */
.blog-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

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

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-meta i {
    color: var(--primary-color);
}

.blog-content h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-content h4 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-content h4 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination-custom .page-numbers {
    background: white;
    border: 2px solid #e9ecef;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-custom .page-numbers:hover,
.pagination-custom .page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.no-posts-found {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   NOTIFICATION SYSTEM
   ======================================== */

.custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    z-index: 9999;
    transform: translateX(120%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.custom-notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: white;
    font-weight: 500;
    position: relative;
}

.notification-success .notification-content {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.notification-error .notification-content {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
}

.notification-info .notification-content {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%);
}

.notification-content i {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.notification-message {
    flex-grow: 1;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 0.75rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile notification adjustments */
@media (max-width: 576px) {
    .custom-notification {
        right: 10px;
        left: 10px;
        max-width: none;
        top: 10px;
    }
    
    .notification-content {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   ENHANCED INTERACTIVE STATES
   ======================================== */

/* Touch-friendly interactions */
.touch-active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.mobile-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
}

.keyboard-focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Pulse animation for icons */
.animate-pulse {
    animation: iconPulse 1s ease-in-out infinite alternate;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Loading states */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced form validation styles */
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.4.53c.13.14.33.14.46 0L7.34 3c.13-.15.13-.4 0-.55L6.8 2c-.13-.15-.33-.15-.46 0L3.6 4.74l-.92-.92C2.55 3.7 2.35 3.7 2.22 3.82l-.55.54c-.13.14-.13.35 0 .48l.63.89z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback,
.valid-feedback {
    display: block;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.invalid-feedback {
    color: #dc3545;
}

.valid-feedback {
    color: #28a745;
}

/* ========================================
   NAVIGATION ENHANCEMENTS
   ======================================== */

/* Hidden navbar on scroll (mobile) */
.navbar-hidden {
    transform: translateY(-100%);
}

/* Mobile menu open body lock */
.mobile-menu-open {
    overflow: hidden;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--dark-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    color: white;
}

/* ========================================
   CUSTOM UTILITIES & HELPERS
   ======================================== */

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-dark {
    background: var(--gradient-dark);
}

.shadow-custom {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.border-gradient {
    border: 2px solid;
    border-image: var(--gradient-primary) 1;
}

/* JavaScript-enabled enhancements */
.js-enabled .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-enabled .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.js-enabled .slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-enabled .slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.js-enabled .slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-enabled .slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Touch device optimizations */
.touch-device .hover-effect:hover {
    transform: none;
}

.touch-device .btn:hover {
    transform: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .navbar {
        border-bottom: 2px solid var(--primary-color);
    }
    
    .btn {
        border: 2px solid;
    }
    
    .service-card,
    .member-card,
    .review-card {
        border: 1px solid var(--text-dark);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .fade-in,
    .slide-in-left,
    .slide-in-right {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ========================================
   PAGE TEMPLATE STYLES
   ======================================== */

/* ========================================
   PAGE HERO & COMPONENTS
   ======================================== */

/* Page Hero Section */
.page-hero {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="40%"><stop offset="0%" stop-color="%23FFD700" stop-opacity=".1"/><stop offset="100%" stop-color="%23D2691E" stop-opacity="0"/></radialGradient></defs><circle fill="url(%23a)" cx="10" cy="10" r="15"/><circle fill="url(%23a)" cx="90" cy="10" r="15"/></svg>') repeat;
    opacity: 0.3;
}

.page-hero .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-hero .breadcrumb-item a:hover {
    color: rgba(255, 255, 255, 1);
}

/* Mobile Timeline Component */
.history-timeline {
    position: relative;
    padding-left: 2rem;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(210, 105, 30, 0.2);
    z-index: 2;
}

.timeline-year {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
}

.timeline-content {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Gallery Enhancements */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    text-align: center;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Facility Stats */
.facility-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.facility-stats small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

/* Virtual Tour CTA */
.virtual-tour-cta {
    max-width: 400px;
    transition: all 0.3s ease;
}

.virtual-tour-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* About Page Styles */
.temple-history .history-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.temple-history .history-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(210, 105, 30, 0.2);
}

.temple-history .history-item::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1.5rem;
    width: 2px;
    height: calc(100% + 1rem);
    background: linear-gradient(to bottom, var(--primary-color), rgba(210, 105, 30, 0.1));
}

.temple-history .history-item:last-child::after {
    display: none;
}

.mission-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.facility-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.facility-card .facility-icon {
    background: var(--gradient-primary);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1rem;
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.facility-card .facility-image {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.facility-card:hover .facility-image {
    transform: scale(1.02);
}

.facility-card .facility-icon {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===============================================
   Modern Timeline Styles
   =============================================== */

.modern-timeline {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.timeline-separator {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    margin-top: 1rem;
}

.modern-timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--primary-color) 10%, 
        var(--primary-color) 90%, 
        transparent 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-milestone {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-milestone.alternate {
    flex-direction: row-reverse;
}

.milestone-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    margin: 0 2rem;
}

.milestone-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 4px solid white;
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite alternate;
}

.milestone-year {
    background: white;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
    min-width: 80px;
    text-align: center;
}

.milestone-content {
    flex: 1;
    max-width: 450px;
}

.milestone-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.milestone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.milestone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.milestone-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.milestone-title {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.milestone-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.milestone-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.milestone-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-item {
    display: inline-flex;
    align-items: center;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.stat-item i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.timeline-summary {
    margin-top: 4rem;
}

.summary-card {
    background: white;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Timeline Animations */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(var(--primary-rgb), 0.4);
    }
    100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 15px rgba(var(--primary-rgb), 0);
    }
}

/* Mobile Timeline Styles */
@media (max-width: 768px) {
    .timeline-line {
        left: 35px;
    }
    
    .timeline-milestone,
    .timeline-milestone.alternate {
        flex-direction: row;
        padding-left: 0;
    }
    
    .milestone-marker {
        margin: 0 1rem 0 0;
        position: absolute;
        left: 0;
    }
    
    .milestone-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .milestone-year {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        margin-top: 0.5rem;
        min-width: 60px;
    }
    
    .milestone-content {
        margin-left: 80px;
        max-width: none;
    }
    
    .milestone-card {
        padding: 1.5rem;
    }
    
    .milestone-title {
        font-size: 1.2rem;
    }
    
    .milestone-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .milestone-stats {
        gap: 0.5rem;
    }
    
    .stat-item {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}

/* ===============================================
   Enhanced Footer Styles
   =============================================== */

.modern-contact-info .contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.modern-contact-info .contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-icon-wrapper {
    flex-shrink: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.contact-details {
    flex-grow: 1;
}

.contact-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    color: white;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.contact-value a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: var(--accent-color);
}

.contact-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.contact-action {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-action:hover {
    color: white;
}

.hours-schedule .hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.hours-day {
    font-weight: 600;
}

.hours-time {
    color: var(--accent-color);
    font-weight: 500;
}

.hours-special {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.emergency-contact {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
}

.emergency-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emergency-phone {
    color: #ffc107;
    text-decoration: none;
    font-size: 0.95rem;
}

.emergency-phone:hover {
    color: white;
}

/* Enhanced Footer Bottom Styles */
.footer-bottom {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 25%, 
        var(--accent-color) 75%, 
        transparent 100%);
}

.copyright-section {
    position: relative;
    z-index: 2;
}

.copyright-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.copyright-main {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.copyright-tagline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tagline-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-style: italic;
}

.tagline-icons {
    display: flex;
    gap: 0.25rem;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.legal-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.legal-link:hover {
    color: var(--accent-color);
}

.link-separator {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.developer-credit .credit-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.pulse-heart {
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.sacred-quote-section {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sacred-quote {
    position: relative;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.quote-icon-left,
.quote-icon-right {
    color: var(--accent-color);
    font-size: 0.8rem;
    opacity: 0.7;
}

.quote-text {
    margin: 0 0.5rem;
    font-weight: 500;
}

.quote-attribution {
    margin-top: 0.5rem;
}

.tech-credits {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.tech-info span {
    display: inline-flex;
    align-items: center;
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
    .contact-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .modern-contact-info .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon-wrapper {
        align-self: center;
    }
    
    .hours-schedule .hours-item {
        justify-content: center;
        gap: 1rem;
    }
    
    .copyright-content {
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .developer-credit {
        text-align: center;
    }
    
    .tagline-icons {
        justify-content: center;
    }
    
    .tech-info {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Events Page Styles */
.event-filters .filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0.25rem;
    display: inline-block;
}

.event-filters .filter-btn:hover,
.event-filters .filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.event-card .event-date {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    text-align: center;
    position: relative;
}

.event-card .event-date::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--secondary-color);
}

.featured-event {
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.featured-event .event-date {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

/* Committee Page Styles */
.committee-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.committee-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.committee-member .member-photo {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.committee-member .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.committee-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-dark);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.committee-member:hover .member-overlay {
    transform: translateY(0);
}

.responsibility-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.responsibility-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.org-chart {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.org-level {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.org-position {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    margin: 0.5rem;
    text-align: center;
    min-width: 150px;
    position: relative;
}

.org-position::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--primary-color);
}

.org-level:last-child .org-position::after {
    display: none;
}

/* Sub-Committee Page Styles */
.department-card {
    transition: all 0.3s ease;
}

.department-card:hover {
    transform: translateY(-5px);
}

.department-header {
    transition: all 0.3s ease;
}

.department-card:hover .department-header {
    background: var(--dark-color) !important;
}

.sub-member-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sub-member-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.avatar-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
}

.member-rating .star {
    color: #ffc107;
    font-size: 0.8rem;
}

.volunteer-info {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.volunteer-info:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

/* Manghim Temple Page Styles */
.temple-feature {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.temple-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    background: var(--gradient-primary);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.significance-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.significance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.significance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 15px 15px 0 0;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(210, 105, 30, 0.2);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 1rem;
    width: 2px;
    height: calc(100% + 1rem);
    background: linear-gradient(to bottom, var(--primary-color), rgba(210, 105, 30, 0.1));
}

.timeline-item:last-child::after {
    display: none;
}

.daily-schedule {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.schedule-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: rgba(210, 105, 30, 0.05);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 80px;
}

/* =================================================
   EVENTS PAGE STYLING
   ================================================= */

/* Events Archive Hero */
.events-archive-hero {
    min-height: 60vh;
    position: relative;
}

.events-archive-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.events-archive-hero .hero-stats {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.events-archive-hero .stat-number {
    line-height: 1;
}

/* Event Filters */
.event-filters-advanced {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 3px solid var(--primary-color);
}

.event-filters-advanced .form-label {
    color: var(--text-dark);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.event-filters-advanced .form-control,
.event-filters-advanced .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.event-filters-advanced .form-control:focus,
.event-filters-advanced .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(210, 105, 30, 0.15);
}

.event-filters-advanced .input-group-text {
    background: white;
    border: 2px solid #e9ecef;
    border-right: none;
}

.event-filters-advanced .btn-check:checked + .btn {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Modern Event Cards */
.modern-event-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    overflow: hidden;
}

.modern-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.modern-event-card .event-image-container {
    height: 250px;
    overflow: hidden;
}

.modern-event-card .event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-event-card:hover .event-image {
    transform: scale(1.05);
}

.modern-event-card .event-badges {
    z-index: 2;
}

.modern-event-card .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.modern-event-card .event-overlay {
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.modern-event-card .event-date-badge {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    min-width: 70px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modern-event-card .event-content {
    position: relative;
}

.modern-event-card .event-meta {
    margin-bottom: 1rem;
}

.modern-event-card .event-meta .badge {
    background: rgba(var(--primary-color-rgb), 0.1) !important;
    color: var(--primary-color) !important;
    font-size: 0.7rem;
}

.modern-event-card .event-title a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.modern-event-card:hover .event-title a {
    color: var(--primary-color);
}

.modern-event-card .event-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
}

.modern-event-card .event-location {
    font-size: 0.875rem;
}

.modern-event-card .event-actions .btn {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.modern-event-card .event-actions .btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.modern-event-card .event-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.4);
}

/* List View Styling */
.events-grid.list-view .modern-event-card {
    margin-bottom: 1.5rem;
}

.events-grid.list-view .row {
    flex-direction: column;
}

.events-grid.list-view .modern-event-card .row {
    flex-direction: row;
}

.events-grid.list-view .event-image-container {
    height: 200px;
}

/* Single Event Page */
.single-event-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.single-event-hero .hero-image {
    z-index: -1;
}

.single-event-hero .event-hero-content {
    z-index: 2;
}

.single-event-hero .event-badges .badge {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    font-weight: 600;
}

.single-event-hero .event-quick-actions .btn {
    border-radius: 25px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-event-hero .btn-primary {
    background: var(--gradient-primary);
    border: none;
    transform: translateY(0);
}

.single-event-hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(210, 105, 30, 0.4);
}

/* Event Info Card */
.event-info-card {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-info-card .detail-item {
    position: relative;
}

.event-info-card .detail-icon {
    width: 24px;
    display: flex;
    justify-content: center;
}

.event-info-card .detail-content {
    flex: 1;
}

/* Countdown Timer */
.countdown-timer {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
}

.countdown-unit {
    padding: 0.5rem;
}

.countdown-number {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, var(--primary-color), #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Event Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), #ff8c00);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -0.5rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-time {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.timeline-description {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Event Gallery */
.event-gallery .gallery-item {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.event-gallery .gallery-item img {
    transition: transform 0.5s ease;
}

.event-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.event-gallery .gallery-overlay {
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

/* Sidebar Widgets */
.sidebar-widget .widget-card {
    border: 1px solid rgba(210, 105, 30, 0.1);
    transition: all 0.3s ease;
}

.sidebar-widget .widget-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(210, 105, 30, 0.15);
}

.sidebar-widget .widget-title {
    border-bottom: 2px solid rgba(210, 105, 30, 0.1);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.sidebar-widget .social-share .btn {
    color: var(--text-dark);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.sidebar-widget .social-share .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.sidebar-widget .related-event {
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 8px;
    margin: 0 -0.75rem 0.75rem -0.75rem;
}

.sidebar-widget .related-event:hover {
    background: rgba(210, 105, 30, 0.05);
}

/* Prose Content Styling */
.prose {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.prose h2,
.prose h3,
.prose h4 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose ul,
.prose ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

/* Event Loading States */
#events-loading {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Results Header */
.results-header {
    background: rgba(210, 105, 30, 0.05);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.results-count {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.results-actions .btn {
    border-radius: 20px;
    font-weight: 600;
}

/* Calendar Placeholder */
.calendar-placeholder {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Map Styling */
.map-placeholder {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.event-map .map-actions .btn {
    border-radius: 20px;
    font-weight: 600;
}

/* Modal Enhancements */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-radius: 15px 15px 0 0;
}

.modal-body {
    padding: 2rem;
}

.modal .btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

/* Utility Classes for Events */
.bg-primary-light {
    background-color: rgba(var(--primary-color-rgb), 0.1) !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.object-cover {
    object-fit: cover;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero {
        text-align: center;
        padding: 3rem 0 !important;
    }
    
    .page-hero h1 {
        font-size: 2rem !important;
    }
    
    .org-level {
        flex-direction: column;
    }
    
    .committee-member .member-photo {
        height: 250px;
    }
    
    .timeline-item,
    .temple-history .history-item {
        padding-left: 2rem;
    }
    
    .facility-card .facility-icon,
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Events Mobile Styles */
    .events-archive-hero {
        min-height: 50vh;
        text-align: center;
    }
    
    .events-archive-hero .display-4 {
        font-size: 2rem;
    }
    
    .event-filters-advanced .row {
        row-gap: 1rem;
    }
    
    .modern-event-card .event-image-container {
        height: 200px;
    }
    
    .modern-event-card .event-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modern-event-card .event-actions .btn {
        width: 100%;
    }
    
    .single-event-hero {
        min-height: 60vh;
        text-align: center;
    }
    
    .single-event-hero .display-4 {
        font-size: 2.25rem;
    }
    
    .single-event-hero .event-quick-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .single-event-hero .event-quick-actions .btn {
        margin-bottom: 0.75rem;
    }
    
    .event-info-card {
        margin-top: 2rem;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .event-gallery .gallery-item {
        height: 150px;
        margin-bottom: 1rem;
    }
    
    .countdown-timer .row {
        gap: 0.5rem;
    }
    
    .countdown-timer .col-3 {
        flex: 0 0 auto;
        width: 22%;
    }
}

@media (max-width: 576px) {
    .event-filters .filter-btn {
        display: block;
        width: 100%;
        margin: 0.25rem 0;
    }
    
    .department-card,
    .committee-member,
    .sub-member-card {
        margin-bottom: 1.5rem;
    }
    
    .schedule-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .schedule-time {
        margin-bottom: 0.5rem;
    }
}

/* ===============================================
   PARTNERS & ASSOCIATES SECTION
   =============================================== */

.partner-item {
    transition: all 0.3s ease;
    border: 1px solid transparent;
    min-height: 140px;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 0, 0, 0.05);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.partner-item a {
    color: inherit;
    text-decoration: none;
}

.partner-item a:hover {
    color: inherit;
}

/* Partner grid responsive adjustments */
@media (max-width: 768px) {
    .partner-item {
        min-height: 120px;
    }
    
    .partner-logo img {
        max-height: 60px !important;
    }
}

@media (max-width: 576px) {
    .partner-item {
        min-height: 100px;
    }
    
    .partner-logo img {
        max-height: 50px !important;
    }
    
    /* For 5 and 6 column layouts, stack to 2 columns on mobile */
    .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Page Template Styles */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    min-height: 60vh;
}

/* Small Hero Section for Pages */
.page-hero-small {
    position: relative;
    min-height: 30vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.page-hero-small .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-hero-small .breadcrumb-item a {
    color: var(--text-light);
    text-decoration: none;
}

.page-hero-small .breadcrumb-item a:hover {
    color: var(--text-dark);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.hero-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.hero-breadcrumb .breadcrumb-item a:hover {
    color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: left;
}

.history-year {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

/* Content Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Call to Action Sections */
.btn-outline-light:hover {
    background-color: white;
    color: var(--dark-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 50vh;
    }
    
    .hero-overlay {
        min-height: 50vh;
    }
    
    .page-hero-small {
        min-height: 25vh;
    }
    
    .page-hero-small .row {
        min-height: 25vh !important;
    }
    
    .page-hero-small h1 {
        font-size: 1.8rem;
    }
    
    .page-hero-small p {
        font-size: 0.95rem;
    }
}

/* Partners & Associates Section */
.partner-item {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.partner-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.02);
}

.partner-logo {
    transition: all 0.3s ease;
    filter: grayscale(50%);
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.partner-item a {
    text-decoration: none;
    color: inherit;
}

.partner-item a:hover {
    color: var(--primary-color, #2c3e50);
}

/* Testimonials Section */
.testimonials-section .card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonials-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.testimonials-section .fa-quote-left {
    opacity: 0.6;
}

.testimonials-section .card-text {
    font-style: italic;
    line-height: 1.6;
}

/* Responsive adjustments for partners */
@media (max-width: 768px) {
    .partner-item {
        margin-bottom: 1rem;
    }
    
    .partner-logo {
        max-height: 60px !important;
    }
    
    .testimonials-section .card {
        margin-bottom: 1.5rem;
    }
}

/* Event Schedule Modern Design */
.event-schedule-modern {
    position: relative;
}

/* Schedule Tabs */
.schedule-nav .nav-link {
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 0 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 120px;
}

.schedule-nav .nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.schedule-nav .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color, #2c3e50), var(--accent-color, #d2691e));
    color: white;
    border-color: var(--primary-color, #2c3e50);
}

.schedule-tab-content .schedule-day {
    font-size: 0.9rem;
    line-height: 1.2;
}

.schedule-tab-content .schedule-date {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Schedule Timeline Modern */
.schedule-timeline-modern {
    position: relative;
}

.schedule-item-modern {
    position: relative;
    transition: all 0.3s ease;
}

.schedule-item-modern:hover {
    transform: translateX(5px);
}

.schedule-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.schedule-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

.schedule-card-body {
    position: relative;
}

/* Time Badge Styling */
.schedule-time-badge {
    position: relative;
}

.time-badge {
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.schedule-item-modern:hover .time-badge {
    transform: scale(1.05);
}

.schedule-icon {
    transition: all 0.3s ease;
}

.schedule-item-modern:hover .schedule-icon i {
    transform: rotate(5deg) scale(1.1);
}

.schedule-time {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Schedule Content */
.schedule-content {
    position: relative;
}

.schedule-title {
    color: var(--heading-color, #2c3e50);
    transition: color 0.3s ease;
}

.schedule-item-modern:hover .schedule-title {
    color: var(--primary-color, #2c3e50);
}

.schedule-description {
    line-height: 1.6;
    font-size: 0.95rem;
}

.schedule-meta {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 0.5rem;
}

.schedule-connector {
    position: absolute;
    left: 50%;
    bottom: -1.5rem;
    transform: translateX(-50%);
    width: 2px;
    height: 1.5rem;
    z-index: 1;
}

.connector-line {
    width: 100%;
    height: 100%;
    border-radius: 1px;
}

/* Schedule Summary */
.schedule-summary {
    border: 2px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.9));
    backdrop-filter: blur(10px);
}

.summary-stat {
    padding: 0.5rem;
}

.stat-number {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .schedule-nav .nav-link {
        margin: 0.25rem;
        padding: 0.75rem 1rem;
        min-width: 100px;
    }
    
    .schedule-tab-content .schedule-day {
        font-size: 0.8rem;
    }
    
    .schedule-tab-content .schedule-date {
        font-size: 0.7rem;
    }
    
    .schedule-card-body .row {
        --bs-gutter-x: 1rem;
    }
    
    .schedule-time-badge {
        margin-bottom: 1rem;
    }
    
    .time-badge {
        padding: 0.75rem 1rem !important;
    }
    
    .schedule-icon {
        margin-bottom: 0.5rem !important;
    }
    
    .schedule-time {
        font-size: 0.8rem;
    }
    
    .schedule-title {
        font-size: 1.1rem;
    }
    
    .schedule-description {
        font-size: 0.9rem;
    }
    
    .schedule-summary .row {
        gap: 1rem;
    }
    
    .summary-stat {
        padding: 0.25rem;
    }
    
    .stat-number {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 576px) {
    .schedule-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .schedule-nav .nav-link {
        width: 100%;
        max-width: 200px;
        margin: 0.25rem 0;
        text-align: center;
    }
    
    .schedule-item-modern:hover {
        transform: none;
    }
    
    .schedule-card:hover {
        transform: translateY(-2px);
    }
}

/* Modern Single Event Page Styles */
.modern-event-hero {
    min-height: 100vh;
    position: relative;
}

.hero-background img {
    object-fit: cover;
}

.breadcrumb-custom .breadcrumb-item:not(:last-child)::after {
    content: "→";
    color: rgba(255,255,255,0.7);
    margin: 0 0.5rem;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

.event-info-floating-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.icon-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

.content-card {
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
}

.underline {
    transition: width 0.3s ease;
}

.content-card:hover .underline {
    width: 100px !important;
}

/* Modern Timeline Styles */
.modern-timeline {
    position: relative;
    padding-left: 30px;
}

.modern-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #007bff, #6c757d);
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -37px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.3);
    z-index: 2;
}

.timeline-content {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.timeline-item:hover .timeline-content {
    border-left-color: #007bff;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Photo Gallery Styles */
.gallery-item {
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.gallery-trigger:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Sidebar Styles */
.sidebar-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.sidebar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.related-event-item {
    transition: all 0.3s ease;
}

.related-event-item:hover {
    background-color: #f8f9fa !important;
    transform: translateX(5px);
}

.event-date-badge {
    transition: all 0.3s ease;
}

.related-event-item:hover .event-date-badge > div {
    transform: scale(1.1);
}

/* RSVP Form Styles */
.rsvp-form .form-control:focus,
.rsvp-form .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

/* Services Hero Section */
.services-hero-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .services-hero-section {
        background-attachment: scroll;
    }
}

/* Service Cards Enhancement */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-event-hero {
        min-height: 80vh;
    }
    
    .display-3 {
        font-size: 2.5rem !important;
    }
    
    .event-actions {
        justify-content: center;
    }
    
    .event-actions .btn {
        flex: 1;
        min-width: 140px;
    }
    
    .modern-timeline {
        padding-left: 20px;
    }
    
    .timeline-marker {
        left: -27px;
    }
    
    .content-card {
        padding: 2rem !important;
    }
    
    .sidebar-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .event-info-floating-card {
        margin-top: 2rem !important;
    }
    
    .event-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .breadcrumb-custom {
        font-size: 0.9rem;
    }
    
    .info-item {
        padding: 1rem 0 !important;
    }
}
