:root {
    --primary-purple: #4B0082;
    --primary-gold: #B8860B;
    --secondary-gold: #DAA520;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F9F9F9;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --glass: rgba(255, 255, 255, 0.8);
}

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

/* Explicitly disable Bootstrap Reboot margins to lock the layout */
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
figure {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: 80px;
}

    body.home-page {
        padding-top: 0;
    }

a {
    text-decoration: none !important;
    color: inherit;
    transition: var(--transition);
}

    a.active {
        color: var(--primary-gold) !important;
    }

ul {
    list-style: none;
}

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

/* Global Navigation Header */
.nav-header {
    position: fixed;
    top: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    display: grid;
    grid-template-columns: auto 1fr auto;
    padding: 15px 50px;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .nav-header.scrolled {
        padding: 10px 50px;
    }

    /* Hero state for home page - now forced to white as requested */
    .nav-header.hero-nav {
        background-color: transparent;
        box-shadow: none;
    }

        .nav-header.hero-nav.scrolled {
            background-color: var(--white);
            box-shadow: var(--shadow);
        }

.logo-container {
    display: flex;
    align-items: center;
    font-weight: 700;
}

/* --- Temple / Location Cards Hover Effect --- */
.location-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
    cursor: pointer;
}

    .location-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
    }

.location-img-wrapper img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.location-card:hover .location-img-wrapper img {
    transform: scale(1.1);
}

.location-card h4 {
    transition: color 0.3s ease;
}

.location-card:hover h4 {
    color: var(--primary-gold) !important;
}

/* --- Navbar Refinement --- */
.navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: var(--bs-warning) !important;
        transform: translateY(-1px);
    }

.dropdown-toggle::after {
    display: none !important;
}

.dropdown-item:hover {
    background-color: var(--bs-warning);
    color: #000 !important;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

@media (min-width: 992px) {

    /* Open dropdown on hover for desktop */
    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        animation: dropdownFadeIn 0.3s ease forwards;
    }
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* --- Granular Responsive Breakpoints --- */
@media (min-width: 576px) {

    /* sm */
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .section-padding {
        padding: 50px 0;
    }
}

@media (min-width: 768px) {

    /* md */
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero {
        min-height: 80vh;
        overflow: hidden;
    }

        .hero .container,
        .premium-hero .container {
            will-change: transform, opacity, filter;
            transition: transform 0.1s ease-out, opacity 0.1s ease-out, filter 0.1s ease-out;
        }
}

@media (min-width: 992px) {

    /* lg */
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero {
        min-height: 90vh;
    }

    .section-padding {
        padding: 80px 0;
    }
}

@media (min-width: 1200px) {

    /* xl */
    .hero-content h1 {
        font-size: 4rem;
    }

    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {

    /* xxl */
    .hero-content h1 {
        font-size: 4.5rem;
    }

    .container {
        max-width: 1320px;
    }
}

.nav-header .logo-white {
    display: none;
}

.nav-header .logo-black {
    display: block;
}

.nav-header.hero-nav .logo-container {
    color: var(--white);
}

.nav-header.hero-nav .logo-white {
    display: block;
}

.nav-header.hero-nav .logo-black {
    display: none;
}

.nav-header.hero-nav.scrolled .logo-container {
    color: var(--primary-purple);
}

.nav-header.hero-nav.scrolled .logo-white {
    display: none;
}

.nav-header.hero-nav.scrolled .logo-black {
    display: block;
}

.logo-container img {
    height: 50px;
    margin-right: 15px;
    transition: var(--transition);
}

.logo-white {
    display: none;
    mix-blend-mode: screen;
    /* Hide black background */
}

.logo-black {
    display: block;
    mix-blend-mode: multiply;
    /* Hide white background */
}

.nav-links {
    display: flex;
    gap: 30px;
    justify-content: flex-end;
    margin-right: 20px;
}

    .nav-links a,
    .nav-drop-btn,
    .nav-dropdown .nav-drop-btn {
        color: var(--text-dark);
        font-weight: 600;
        text-transform: uppercase !important;
        font-size: 0.9rem;
        text-decoration: none !important;
        transition: color 0.3s ease;
        display: flex;
        align-items: center;
        gap: 5px;
        cursor: pointer;
    }

.nav-header.scrolled .nav-links a,
.nav-header.scrolled .nav-drop-btn {
    color: var(--text-dark) !important;
}

    .nav-header.scrolled .nav-links a:hover,
    .nav-header.scrolled .nav-drop-btn:hover {
        color: var(--primary-gold) !important;
    }

/* Desktop Nav Header Links (Base) */
.nav-header .nav-links a,
.nav-header .nav-drop-btn {
    color: var(--text-dark);
}

.nav-header.hero-nav .nav-links a,
.nav-header.hero-nav .nav-drop-btn {
    color: var(--white) !important;
}

/* Force dark color on mobile drawer regardless of hero header context */
@media (max-width: 900px) {

    .nav-links a,
    .nav-links .nav-drop-btn {
        color: var(--text-dark) !important;
    }
}

.nav-header.hero-nav.scrolled .nav-links a,
.nav-header.hero-nav.scrolled .nav-drop-btn {
    color: var(--text-dark) !important;
}

.nav-links a.active {
    color: var(--primary-gold) !important;
    text-shadow: 0 0 1px rgba(212, 175, 55, 0.2);
}

.nav-home-icon {
    font-size: 1rem !important;
    /* Slightly larger than 0.9rem text to account for icon visual weight */
    color: var(--primary-purple) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-right: -15px;
    /* Pull closer to Home text */
    transform: translateY(1px);
    /* Smaller nudge for smaller size */
    transition: var(--transition);
}

    .nav-home-icon:hover {
        color: var(--primary-gold) !important;
        transform: scale(1.15);
    }

.nav-links a:hover {
    color: var(--primary-gold);
    text-decoration: none !important;
}

/* Location Selector */
.location-select {
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    padding: 0;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    text-transform: uppercase;
}

.nav-header .location-select {
    color: var(--text-dark);
}

.nav-header.hero-nav .location-select {
    color: var(--white);
}

.nav-header.hero-nav.scrolled .location-select {
    color: var(--text-dark);
}

.location-select:hover {
    color: var(--primary-gold);
}

.location-select option {
    background: var(--white);
    color: var(--text-dark);
}

/* Dynamic Schedule Block */
.dynamic-schedule-block {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px 30px;
    margin: 0 auto 30px;
    max-width: 600px;
    color: var(--text-dark);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    text-align: center;
    animation: fadeIn 0.5s ease;
}

    .dynamic-schedule-block h3 {
        color: var(--primary-purple);
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

.schedule-times {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

    .schedule-times div {
        display: flex;
        flex-direction: column;
    }

    .schedule-times strong {
        font-size: 0.9rem;
        text-transform: uppercase;
        color: var(--text-light);
        margin-bottom: 5px;
    }

    .schedule-times span {
        font-size: 1.1rem;
        font-weight: 700;
    }

@media (max-width: 600px) {
    .schedule-times {
        flex-direction: column;
        gap: 15px;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.title-font,
.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

body,
p,
span,
div,
input,
button,
select,
textarea {
    font-family: 'Montserrat', sans-serif;
}

.script-font {
    font-family: 'Great Vibes', cursive !important;
}

/* Scoped About Page Typography - Larger body text & Forced Montserrat */
.about-page,
.about-page h1,
.about-page h2,
.about-page h3,
.about-page h4,
.about-page h5,
.about-page h6,
.about-page p,
.about-page li,
.about-page span,
.about-page div,
.about-page a {
    font-family: 'Montserrat', sans-serif !important;
}

    .about-page h2 {
        text-align: left !important;
    }

    .about-page p,
    .about-page li {
        font-size: 16px !important;
        /* Standardized to 16px based on user preference */
        font-weight: 500 !important;
        /* Medium weight for readability */
        line-height: 1.7;
    }

    .about-page .lead {
        font-size: 16px !important;
        font-weight: 500 !important;
    }

.script-font {
    font-family: 'Great Vibes', cursive !important;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light-gray {
    background-color: #f8f9fa !important;
    /* Soft light gray for section backgrounds */
}

/* Sections */
section {
    padding: 25px 0;
    /* Reduced from 50px for a more compact look */
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    /* Slightly smaller for better balance */
    color: var(--primary-purple);
    margin-bottom: 25px;
    /* Reduced from 40px */
    position: relative;
}

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background: var(--primary-gold);
        margin: 15px auto 0;
    }

/* Glassmorphism */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-purple);
    color: var(--white);
}

    .btn-primary:hover {
        background-color: #310055;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(75, 0, 130, 0.3);
    }

/* --- PREMIUM LOGIN BUTTON (YELLOW PILL) --- */
.btn-gold {
    background-color: #FFCE11 !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    padding: 10px 30px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 14px 0 rgba(255, 206, 17, 0.39) !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    font-size: 1.05rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

    .btn-gold:hover {
        background-color: #FFD700 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(255, 206, 17, 0.5) !important;
        color: #FFFFFF !important;
    }

/* Premium Hero Style for Informational Pages */
.premium-hero {
    background: linear-gradient(rgba(75, 0, 130, 0.85), rgba(106, 13, 173, 0.85)), url('../images/hero_radha_parthasarthi.png') no-repeat center center/cover !important;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white !important;
    padding: 60px 0;
    margin-top: 0;
}

    .premium-hero h1 {
        color: white !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .premium-hero p {
        color: rgba(255, 255, 255, 0.9) !important;
    }

.text-purple-light {
    color: #E6E6FA !important;
    /* Lavender-like purple for highlights on dark backgrounds */
}

.btn-login-premium {
    /* Keeping as alias */
    background-color: #FFCE11;
    color: #FFFFFF !important;
    font-weight: 700;
    padding: 10px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 14px 0 rgba(255, 206, 17, 0.39);
    border: none;
    transition: all 0.3s ease;
    text-transform: none;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-login-premium:hover {
        background-color: #FFD700;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 206, 17, 0.5);
        color: #FFFFFF !important;
    }

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

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

.animate {
    animation: fadeIn 0.8s ease forwards;
}

/* Events Carousel */
.events-section {
    background-color: #f8f9fa;
    /* Uniform light gray background */
    padding: 50px 0;
    /* Match global section padding */
    text-align: center;
}

.events-container {
    position: relative;
    max-width: 100%;
    /* Now controlled by Bootstrap col-md-6 */
    margin: 20px auto;
}

.events-wrapper {
    overflow: hidden;
    padding: 20px 0;
}

.events-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Consolidating event-card into one definition below */

/* Carousel System */
.events-container,
.courses-container {
    position: relative;
    overflow: hidden;
    margin: 20px 0;
    padding: 0 20px;
    /* Reduced from 40px for tighter grid fit */
}

.events-wrapper,
.courses-wrapper {
    overflow: hidden;
}

.events-slider,
.courses-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 0px;
    /* IMPORTANT: Removed gap to fix carousel alignment */
}

.event-card {
    flex: 0 0 100%;
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 0;
    margin-bottom: 20px;
    height: auto;
    min-height: 250px;
    border: 1px solid #f0f0f0;
}

/* --- Registration Section & Card --- */
.registration-section {
    padding: 50px 0 !important;
    background: #fdfbff !important;
    /* Very light lavender white */
    min-height: calc(100vh - 80px) !important;
    overflow: hidden !important;
    position: relative !important;
}

    /* Peacock feather pattern overlay */
    .registration-section::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background-image: url('../images/peacock_feather_light_purple.png') !important;
        background-size: 150px !important;
        opacity: 0.04 !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }

#registrationCard {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    border-radius: 40px !important;
    box-shadow: 0 40px 100px -20px rgba(75, 0, 130, 0.15) !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 50px;
}

#registrationHeader {
    background: linear-gradient(135deg, var(--primary-purple), #6a0dad) !important;
    padding: 60px 40px !important;
    color: var(--white) !important;
    text-align: center !important;
    position: relative;
    overflow: hidden;
}

    #registrationHeader h2 {
        font-size: 2.8rem !important;
        font-weight: 800 !important;
        margin-bottom: 15px !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
        color: var(--white) !important;
    }

    #registrationHeader p {
        color: rgba(255, 255, 255, 0.9) !important;
    }

#registrationCard .form-body {
    padding: 40px 30px !important;
}

#registrationCard .section-title {
    font-size: 1.2rem !important;
    color: var(--primary-purple) !important;
    margin-bottom: 35px !important;
    padding-bottom: 10px !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
    font-weight: 800 !important;
    position: relative !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

    #registrationCard .section-title::after {
        display: none !important;
    }

    #registrationCard .section-title::before {
        display: none !important;
    }

/* Form Controls Refinement */
#registrationCard .form-label {
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 12px !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

#registrationCard .form-control,
#registrationCard .form-select {
    border-radius: 16px !important;
    padding: 16px 24px !important;
    border: 2px solid #f1f5f9 !important;
    background-color: #f8fafc !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 1rem !important;
    color: #1e293b !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

    #registrationCard .form-control:focus,
    #registrationCard .form-select:focus {
        box-shadow: 0 0 0 5px rgba(75, 0, 130, 0.15) !important;
        border-color: var(--primary-purple) !important;
        background-color: var(--white) !important;
        transform: translateY(-2px) !important;
    }

/* Registration Button */
.btn-register {
    background: linear-gradient(135deg, #FFCE11, #FFB800);
    color: #000;
    font-weight: 800;
    padding: 20px 80px;
    border-radius: 100px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    box-shadow: 0 15px 35px rgba(255, 206, 17, 0.4);
    margin-top: 40px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .btn-register:hover {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 25px 50px rgba(255, 206, 17, 0.6);
        background: linear-gradient(135deg, #FFD700, #FFCE11);
    }

/* Dynamic Display Logic */
#marriageDateDiv,
#dikshaFieldsDiv,
#counselorNoticeDiv {
    display: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dynamic-show {
    display: block !important;
    animation: slideDownFade 0.5s forwards ease;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@media (max-width: 992px) {
    .form-body {
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    .form-body {
        padding: 40px 25px;
    }

    .form-header {
        padding: 50px 25px;
    }

        .form-header h2 {
            font-size: 2.2rem;
        }
}


.course-card-carousel {
    flex: 0 0 33.333%;
    /* 3 cards at a time */
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    /* Visual gap using internal padding */
}

.course-card-inner {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.course-card-carousel .info-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .course-card-carousel .info-card-content .btn-text {
        margin-top: auto;
        display: inline-block;
    }

.event-image-img {
    flex: 1;
    max-width: 280px;
    /* Restored to full size for the wide 1-10-1 grid */
    width: 100%;
    height: auto;
    object-fit: cover;
}

.event-content {
    flex: 2;
    padding: 15px 20px;
    /* Slightly tighter padding */
    display: flex;
    flex-direction: column;
}

    .event-content h3 {
        font-size: 1.5rem;
        /* Slightly smaller heading */
        color: var(--primary-purple);
        margin-bottom: 10px;
    }

    .event-content p {
        color: var(--text-light);
        line-height: 1.6;
        margin-bottom: 20px;
    }

.event-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-purple);
    font-weight: 600;
}


.course-card-carousel img {
    height: 180px;
    /* Reduced from 200px for better vertical rhythm */
    width: 100%;
    object-fit: cover;
}

.events-grid .event-card {
    flex-direction: column;
}

.events-grid .event-image-img {
    max-width: 100%;
    height: 250px;
}

/* Premium Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 1px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    color: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

    .scroll-btn:hover {
        background: #000;
        color: white;
    }

    .scroll-btn.btn-prev {
        left: 0;
    }

    .scroll-btn.btn-next {
        right: 0;
    }

@media (max-width: 900px) {

    .event-card,
    .course-card-carousel {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 600px) {

    .event-card,
    .course-card-carousel {
        flex: 0 0 100%;
    }
}

.know-more {
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 0.95rem;
}


@media (max-width: 768px) {
    .events-container {
        padding: 0 10px;
        margin: 20px auto;
    }

    .event-card {
        flex-direction: column;
        height: auto;
        min-height: 0;
    }

    .event-image-img {
        flex: none;
        /* Stop stretching height */
        max-width: 100%;
        height: 200px;
        /* Fixed height for image on mobile */
    }

    .event-content {
        flex: none;
        /* Stop stretching height */
        padding: 20px;
    }
}

/* Footer */
footer {
    background-color: #000000;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col p {
    color: #ccc;
    font-size: 0.95rem;
}

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

/* Login Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: var(--transition);
}

    .modal-overlay.active {
        display: flex;
        opacity: 1;
    }

.login-modal {
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-20px);
    transition: var(--transition);
}

.modal-overlay.active .login-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.login-modal h2 {
    color: #B8860B;
    background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #B8860B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .form-group input {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-family: inherit;
        transition: var(--transition);
    }

        .form-group input:focus {
            border-color: var(--primary-purple);
            outline: none;
            box-shadow: 0 0 0 3px rgba(75, 0, 130, 0.1);
        }

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #B8860B 100%);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

    .login-btn:hover {
        background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #DAA520 100%);
    }

.mobile-login-wrapper {
    display: none;
}

@media (max-width: 900px) {

    .nav-header,
    .nav-header.hero-nav {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 20px !important;
        min-height: 65px !important;
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }

    .menu-toggle {
        display: block !important;
        font-size: 2.2rem !important;
        cursor: pointer !important;
        color: var(--primary-purple) !important;
        line-height: 1 !important;
        z-index: 1001 !important;
        padding: 5px 15px;
        position: relative;
    }

    .logo-container img {
        height: 35px;
        margin-right: 10px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 20px;
        padding-bottom: 50px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

        .nav-links.active {
            left: 0;
            z-index: 1000;
            visibility: visible;
            opacity: 1;
        }

        .nav-links a,
        .nav-header.hero-nav .nav-links a {
            color: var(--text-dark) !important;
            font-size: 1.2rem;
        }

    .logo-container {
        font-size: 0.9rem;
        max-width: 70%;
    }

    .dynamic-logo-name {
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .nav-header.hero-nav .logo-container {
        color: var(--primary-purple) !important;
    }

    .nav-header.hero-nav.scrolled .logo-container {
        color: var(--primary-purple) !important;
    }

    .logo-container small,
    .logo-container h5 {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-login-wrapper {
        display: block;
        width: 100%;
        padding: 20px;
        margin-top: auto;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-login-btn {
        width: 100%;
        padding: 12px !important;
        font-size: 1.1rem !important;
        border-radius: 50px !important;
        background-color: #FFCE11 !important;
        color: #FFFFFF !important;
        border: none !important;
        box-shadow: 0 4px 14px 0 rgba(255, 206, 17, 0.39) !important;
        margin-top: 10px;
    }

    /* Scoped UI Matching for About Page Mobile Menu */
    .about-page .nav-links {
        align-items: flex-start;
        padding: 80px 0 50px; /* Space for the 'X' and padding */
        top: 0;
        height: 100vh;
        width: 100%;
        background: #ffffff;
    }

        .about-page .nav-links a,
        .about-page .nav-header.hero-nav .nav-links a {
            width: 100%;
            text-align: left;
            padding: 25px 30px;
            font-size: 1.3rem;
            font-weight: 700;
            text-transform: uppercase;
            color: #333333 !important;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

    .about-page .menu-toggle {
        font-size: 3rem !important;
        font-weight: 200 !important;
        color: #4b0082 !important; /* Deep Purple */
        z-index: 2001 !important;
        position: fixed;
        right: 20px;
        top: 20px;
        line-height: 1;
    }
}

/* Conditional Navigation & Aarti Elements */
body:not(.location-selected) .location-dependent {
    display: none !important;
}

body.location-selected .location-dependent {
    animation: fadeIn 0.4s ease forwards;
}

.dynamic-aarti-block {
    background: var(--glass);
    padding: 25px 30px;
    border-radius: 15px;
    margin: 30px auto;
    max-width: 500px;
    text-align: left;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .dynamic-aarti-block h3 {
        color: var(--primary-purple);
        text-align: center;
        margin-bottom: 20px;
        font-size: 1.5rem;
    }

.aarti-schedule-list {
    list-style: none;
}

    .aarti-schedule-list li {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        color: var(--text-dark);
    }

        .aarti-schedule-list li:last-child {
            border-bottom: none;
        }

/* Mobile Responsive Overrides */
/* Ensure toggle visibility in all states */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
    margin-right: 15px;
    z-index: 1001;
    /* Higher than header z-index */
    transition: var(--transition);
}

.nav-header.hero-nav .menu-toggle {
    color: var(--text-dark);
}

.nav-header.hero-nav.scrolled .menu-toggle {
    color: var(--text-dark);
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .hero {
        padding-top: 80px !important;
        /* Reduced from 120px to match smaller mobile header */
        height: auto !important;
        min-height: 85vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .nav-links {
        padding-top: 80px;
    }

    .dynamic-hero-title {
        font-size: 2.2rem !important;
    }

    .dynamic-hero-subtitle {
        font-size: 1.1rem !important;
        padding: 0 15px;
        margin-bottom: 40px !important;
    }

    .status-badge {
        margin-top: 10px;
        margin-bottom: 30px !important;
        margin-left: auto;
        margin-right: auto;
        display: inline-flex !important;
    }

    .status-badge-container {
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .dynamic-aarti-block {
        width: 95%;
        margin: 20px auto;
        padding: 15px;
    }

    .aarti-schedule-list li {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

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

    .events-container,
    .courses-container {
        padding: 0 15px;
    }

    .scroll-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .event-card,
    .course-card-carousel {
        flex: 0 0 100% !important;
        /* Stack 1 card on smaller screens */
        padding: 0 5px !important;
    }

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

        .hero-btns .btn {
            width: 100%;
            max-width: 260px;
            padding: 14px 20px;
            font-size: 1.05rem;
        }
}

/* Native Navbar Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-drop-btn {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-header.hero-nav .nav-drop-btn {
    color: var(--text-dark);
}

.nav-header.hero-nav.scrolled .nav-drop-btn {
    color: var(--text-dark);
}

.nav-drop-btn:hover {
    color: var(--primary-gold);
}

.nav-dropdown-content {
    position: absolute;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: var(--shadow);
    z-index: 1000;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    transform: translateY(10px);
    top: 100%;
    margin-top: 10px;
}

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

/* Mobile Dropdown Toggle */
@media (max-width: 900px) {
    .nav-dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.02);
        width: 100%;
        margin-top: 5px;
        padding-left: 20px;
    }

    .nav-dropdown.open .nav-dropdown-content {
        display: block;
    }

    /* Add a small arrow indicator for mobile dropdowns */
    .nav-drop-btn::after {
        content: '\f282'; /* bi-chevron-down */
        font-family: 'bootstrap-icons';
        font-size: 0.7rem;
        margin-left: 8px;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .nav-dropdown.open .nav-drop-btn::after {
        transform: rotate(180deg);
        color: var(--primary-gold);
    }
}

.nav-header .nav-links .nav-dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark) !important;
    text-decoration: none;
    transition: var(--transition);
}

    .nav-header .nav-links .nav-dropdown-content a:hover {
        background-color: rgba(75, 0, 130, 0.05);
        /* very light purple */
        color: var(--primary-purple) !important;
    }

/* Modern 3-6-3 Footer Grid */
.footer-grid-custom {
    display: grid;
    grid-template-columns: 3fr 6fr 3fr;
    gap: 40px;
    text-align: left !important;
}

.footer-col {
    text-align: left !important;
}

    .footer-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: left !important;
    }

.links-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: max-content max-content;
    column-gap: 50px;
    row-gap: 10px;
    padding: 0px;
    list-style: none;
    justify-content: flex-start;
}

    .quick-links-grid a {
        color: #ccc;
        text-decoration: none;
        transition: var(--transition);
    }

        .quick-links-grid a:hover {
            color: var(--primary-gold);
        }

.privacy-policy a {
    color: var(--text-light);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: var(--transition);
}

    .privacy-policy a:hover {
        color: white;
    }

.social-links a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
    font-weight: 600;
}

    .social-links a:hover {
        color: var(--primary-gold);
    }

@media (max-width: 900px) {
    .footer-grid-custom {
        grid-template-columns: 1fr;
    }
}

.hero-dropdown:hover .hero-dropdown-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* ==========================================================================
   COMPONENT STYLES (Shared across multiple pages)
   ========================================================================== */

/* Info Cards: Used for general information blocks with an image and text */
.info-card {
    border-radius: 15px;
    /* Rounds the corners of the card */
    overflow: hidden;
    /* Ensures child elements (like images) don't spill out of the rounded corners */
    box-shadow: var(--shadow);
    /* Adds a subtle shadow for depth */
    background: white;
    /* Sets the background color to white */
    transition: var(--transition);
    /* Smoothly animates changes (like the hover effect) */
}

    /* Hover effect for Info Cards: Makes the card lift up slightly when the mouse is over it */
    .info-card:hover {
        transform: translateY(-10px);
        /* Moves the card 10 pixels upwards */
    }

/* Image container within an Info Card */
.info-card-img {
    height: 250px;
    /* Sets a fixed height for the image area */
    background-size: cover;
    /* Ensures the background image covers the entire area proportionally */
    background-position: center;
    /* Centers the image within the area */
}

/* Content area within an Info Card (where text goes) */
.info-card-content {
    padding: 25px;
    /* Adds space inside the card around the text */
}

/* Heading inside an Info Card content area */
.info-card h3 {
    color: var(--primary-purple);
    /* Uses the primary purple color defined in :root */
    margin-bottom: 15px;
    /* Adds space below the heading */
}

/* Course Categories: Small text labels for course types (e.g., "Beginner", "Advanced") */
.course-category {
    color: var(--primary-purple);
    /* Purple color for the label */
    font-weight: 700;
    /* Makes the text bold */
    font-size: 0.8rem;
    /* Makes the text smaller */
    text-transform: uppercase;
    /* Converts text to ALL CAPS */
    display: block;
    /* Ensures it sits on its own line */
    margin-bottom: 5px;
    /* Adds a bit of space below the label */
}

/* Courses Grid: A responsive layout for displaying multiple course cards */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    /* Fits cards based on available width */
    gap: 30px;
    /* Space between cards */
    margin: 60px 0;
    /* Vertical space above and below the grid */
}

/* Course Card: The container for an individual course item */
.course-card {
    background: white;
    border-radius: 20px;
    /* Highly rounded corners for a modern look */
    overflow: hidden;
    /* Clips the image to the card's rounded corners */
    box-shadow: var(--shadow);
    /* Standard shadow */
    transition: var(--transition);
    /* Smooth animation for hover */
    border: 1px solid #f0f0f0;
    /* Subtle border for definition */
    display: flex;
    flex-direction: column;
    /* Stacks image and content vertically */
}

    /* Hover effect for Course Card */
    .course-card:hover {
        transform: translateY(-10px);
        /* Lifts the card */
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        /* Stronger shadow on hover */
    }

    /* Image inside a Course Card */
    .course-card img {
        width: 100%;
        height: 200px;
        /* Fixed height for image area */
        object-fit: cover;
        /* Crops image to fill the area perfectly */
    }

/* Content area inside a Course Card */
.course-card-content {
    padding: 25px;
    flex-grow: 1;
    /* Allows this area to fill remaining space in the card */
    display: flex;
    flex-direction: column;
}

/* Heading inside a Course Card */
.course-card h3 {
    color: var(--primary-purple);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

/* Paragraph inside a Course Card */
.course-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Small label for course type (Beginner, etc.) */
.course-type {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 5px;
    display: block;
}

/* Footer area of the Course Card (Enroll/Learn More link) */
.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    /* Light divider line */
}

/* The "Learn More" link button */
.enroll-btn {
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

/* Sub-Hero Section: The header area for inner pages (smaller than the main hero) */
.sub-hero {
    padding: 100px 20px;
    /* Large vertical padding to create space */
    text-align: center;
    /* Centers the title and text */
    color: white;
    /* All text is white for contrast against the background */
    background-size: cover;
    background-position: center;
}

    /* Title inside Sub-Hero */
    .sub-hero h1 {
        font-size: 3.5rem;
        /* Large, standout title */
        margin-bottom: 10px;
    }

    /* Description inside Sub-Hero */
    .sub-hero p {
        font-size: 1.2rem;
    }

/* ==========================================================================
   PAGE SPECIFIC STYLES - HOME (index.html)
   ========================================================================== */

/* Hero Section: The large top area of the home page with the background image */
.hero {
    height: 90vh;
    /* Takes up 90% of the browser's viewport height */
    /* Use a path relative to this CSS file (assets/css -> ../images) so the image loads correctly */
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/iskcon_hero_bg.png');
    */
    /* Dark overlay + background image */
    background-size: cover;
    /* Fits the image to the section */
    background-position: center;
    /* Centers the image */
    display: flex;
    /* Enables flexbox for centering content */
    align-items: center;
    /* Centers content vertically */
    justify-content: center;
    /* Centers content horizontally */
    text-align: center;
    /* Centers text alignment */
    color: white;
    /* Makes all text inside the hero white */
    padding: 0 20px;
    /* Adds some padding on the sides for mobile devices */
}

/* Title inside the Hero section */
.hero-content h1 {
    font-size: 4rem;
    /* Makes the title very large */
    margin-bottom: 20px;
    /* Space below the title */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    /* Adds a shadow to make text readable over the image */
}

/* Paragraph text inside the Hero section */
.hero-content p {
    font-size: 1.5rem;
    /* Larger font size for better readability */
    max-width: 800px;
    /* Limits the width of the text so it doesn't span the whole screen */
    margin: 0 auto 30px;
    /* Centers the block and adds space below */
}

/* Status Badge: The "Checking Status..." element in the hero */
.status-badge {
    display: inline-flex;
    /* Keeps it as a small pill-shaped block */
    align-items: center;
    /* Aligns the dot and text vertically */
    background: var(--glass);
    /* Semi-transparent background */
    padding: 10px 20px;
    /* Space inside the badge */
    border-radius: 50px;
    /* Makes it look like a pill/capsule */
    margin-bottom: 20px;
    /* Space below the badge */
    color: var(--text-dark);
    /* Dark text for contrast */
}

/* The small indicator dot inside the status badge */
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    /* Makes the box a circle */
    margin-right: 10px;
    /* Space between the dot and the text */
    background-color: #2ecc71;
    /* Default green color */
}

/* Grid layout for information cards on the home page */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Automatically fits cards based on screen width */
    gap: 30px;
    /* Space between the cards */
    margin-top: 50px;
}

/* "See All Events" button specific styling */
.btn-see-all {
    background-color: var(--primary-purple);
    /* Purple background */
    border: none;
    /* Removes any default border */
    margin-top: 20px;
    /* Space above the button */
}

/* About Section on Home Page */
.about-section-home {
    padding: 50px 20px;
    /* Refined global section padding */
    text-align: center;
    /* Keeps title centered */
}

/* Paragraph in the About Section */
.about-text-home {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    /* Left align for the 8-4 layout */
    margin: 0;
}

/* Community/Join Us Section Container */
.about-img-home {
    width: 100%;
    transition: var(--transition);
}

    .about-img-home:hover {
        transform: scale(1.02);
    }

.join-community-container {
    background-color: var(--bg-light);
    /* Very light background color */
    border-radius: 20px;
    /* Rounded corners for the section block */
    padding: 60px 40px;
    /* Ample space inside the section */
    margin: 50px auto;
    /* Centered block with space above and below */
    box-shadow: var(--shadow);
    /* Subtle shadow for the whole section */
}

/* Flexbox wrapper for the image and text card in the Join section */
.join-flex-wrapper {
    display: flex;
    flex-wrap: wrap;
    /* Allows items to stack on mobile */
    align-items: center;
    /* Centers items vertically */
    justify-content: center;
    /* Centers items horizontally */
    gap: 40px;
    /* Space between the image and the text card */
    margin-top: 40px;
}

/* Wrapper for the community image */
.join-image-box {
    flex: 1;
    /* Allows it to grow and fill available space */
    min-width: 300px;
    /* Prevents it from getting too small */
    max-width: 500px;
    /* Prevents it from getting too large */
}

/* The actual image in the community section */
.community-full-img {
    width: 100%;
    /* Spans the full width of its container */
    aspect-ratio: 4/3;
    /* Keeps a consistent shape */
    border-radius: 15px;
    /* Rounded corners */
    box-shadow: var(--shadow);
    /* Depth shadow */
    object-fit: cover;
    /* Ensures the image fills the area without stretching */
}

/* Member Portal Card in the Join section */
.member-portal-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    padding: 40px;
    text-align: center;
}

/* Title inside the Portal Card */
.portal-card-title {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Text in the Portal Card */
.portal-card-desc {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Sign In / Register button styling */
.btn-portal-action {
    width: 100%;
    /* Spans full width of the card */
    font-size: 1.1rem;
    padding: 15px;
}

/* Specialized Hero Backgrounds for different pages */

/* Home Page Hero (already defined above in .hero) */

/* Courses Page Hero Background */
.hero-courses {
    background: linear-gradient(rgba(75, 0, 130, 0.7), rgba(75, 0, 130, 0.7)), url('../images/iskcon_temple_hall.png');
}

/* Contact Page Hero Background */
.hero-contact {
    background: linear-gradient(rgba(75, 0, 130, 0.7), rgba(75, 0, 130, 0.7)), url('../images/iskcon_hero_bg.png');
}

/* Events Page Hero Background */
.hero-events {
    background: linear-gradient(rgba(75, 0, 130, 0.7), rgba(75, 0, 130, 0.7)), url('../images/iskcon_temple_hall.png');
}

/* Temple Timings Page Hero Background */
.hero-timings {
    background: linear-gradient(rgba(75, 0, 130, 0.8), rgba(75, 0, 130, 0.8)), url('../images/iskcon_temple_hall.png');
}

/* ==========================================================================
   PAGE SPECIFIC STYLES - CONTACT (contact.html)
   ========================================================================== */

/* The prompt shown when no temple is selected */
.contact-prompt {
    display: block;
    /* Visible by default */
    text-align: center;
    color: var(--text-light);
    padding: 50px;
    font-size: 1.2rem;
}

/* The actual contact details, hidden until a location is selected */
.contact-details {
    display: none;
    /* Hidden by default */
    margin: 0 auto;
    max-width: 500px;
}

/* When the body has the 'location-selected' class, hide the prompt */
body.location-selected .contact-prompt {
    display: none;
}

/* When the body has the 'location-selected' class, show the contact details */
body.location-selected .contact-details {
    display: block;
    animation: fadeIn 0.4s ease forwards;
    /* Smooth fade-in effect */
}

/* Main container for the contact page content */
.main-contact-container {
    padding: 80px 20px;
}

/* Title of the selected temple in contact details */
.contact-location-title {
    color: var(--primary-purple);
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

/* List container for contact information (phone, email, etc.) */
.contact-info-list {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-dark);
    text-align: center;
    padding: 40px;
    border: 1px solid rgba(75, 0, 130, 0.1);
    border-radius: 15px;
}

/* Main container for the events page content */
.main-events-container {
    padding: 60px 20px;
}

/* Message shown when no events are available */
.no-events-message {
    text-align: center;
    margin-top: 40px;
    display: none;
    /* Hidden by default, shown via JS if needed */
    color: var(--text-light);
    font-size: 1.2rem;
}

/* ==========================================================================
   PAGE SPECIFIC STYLES - DONATE (donate.html)
   ========================================================================== */

/* Grid layout for donation options */
.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

/* Card for each donation (seva) item */
.donation-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

/* Image section of the donation card */
.donation-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

/* Content area within the donation card */
.donation-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

    /* Title of the donation item */
    .donation-content h3 {
        color: var(--primary-purple);
        margin-bottom: 10px;
    }

    /* Description of the donation item */
    .donation-content p {
        color: var(--text-light);
        font-size: 0.95rem;
        margin-bottom: 20px;
        flex-grow: 1;
    }

/* Actions footer (price select and button) inside card */
.donation-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Dropdown styling for donation amounts */
.price-select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Sidebar container for the donation cart */
.cart-sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

/* Individual item row inside the cart */
.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Total amount display in the cart */
.cart-total {
    margin-top: 20px;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    color: var(--primary-purple);
}

/* Specialized hero background for the donation page */
.hero-donate {
    background: linear-gradient(rgba(75, 0, 130, 0.8), rgba(75, 0, 130, 0.8)), url('../images/iskcon_anna_dan_seva.png');
}

/* Main layout for donate page including sidebar */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

/* Stack layout vertically on smaller screens */
@media (max-width: 1000px) {
    .layout-with-sidebar {
        grid-template-columns: 1fr;
    }
}

/* Background images for different donation categories */
.donate-annadaan-bg {
    background-image: url('../images/iskcon_anna_dan_seva.png');
}

.donate-gauseva-bg {
    background-image: url('../images/iskcon_gau_seva.png');
}

.donate-general-bg {
    background-image: url('../images/iskcon_temple_hall.png');
}

/* Message styling for an empty cart */
.cart-empty-msg {
    text-align: center;
    color: #999;
    margin: 20px 0;
}

/* Checkout button specific layout */
.checkout-action-btn {
    width: 100%;
    margin-top: 20px;
    display: none;
    /* Controlled by donation.js */
}

/* ==========================================================================
   PAGE SPECIFIC STYLES - MEDIA GALLERY (media-gallery.html)
   ========================================================================== */

/* Grid layout for gallery images */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 50px 0;
}

/* Individual gallery image container */
.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

    /* Image styling within the gallery item */
    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    /* Zoom effect on hover */
    .gallery-item:hover img {
        transform: scale(1.1);
    }

/* Text overlay that appears on hover */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

/* Show overlay on hover */
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Container for gallery category filters */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    margin-top: 50px;
    /* Space from the hero section */
}

.footer-section .quick-links-grid {
    display: flex;
    justify-content: flex-start;
    /* Unified left alignment as requested */
    gap: 80px;
    margin: 0;
    /* Align to the left of its container */
    max-width: none;
    /* Allow it to span naturally */
}

/* Button style for filters */
.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

    /* Active filter button state */
    .filter-btn.active {
        background: var(--primary-purple);
        color: white;
        border-color: var(--primary-purple);
    }

/* Modal styling for full-screen image view */
#gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

/* Image content within the modal */
.modal-content {
    max-width: 90%;
    max-height: 80%;
}

/* Specialized hero background for the gallery page */
.hero-gallery {
    background: linear-gradient(rgba(75, 0, 130, 0.7), rgba(75, 0, 130, 0.7)), url('../images/iskcon_festival_crowd_kirtan.png');
}

/* ==========================================================================
   PAGE SPECIFIC STYLES - REGULAR PROGRAMS (programs.html)
   ========================================================================== */

/* Grid layout for periodic programs */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

/* Card for temple programs */
.program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

    /* Hover effect for program cards */
    .program-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    /* Featured image for the program */
    .program-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

/* Text content area for program cards */
.program-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Program title styling */
.program-card h3 {
    color: var(--primary-purple);
    margin-bottom: 12px;
    font-size: 1.4rem;
}

/* Program description text */
.program-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Small label above program title */
.program-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 8px;
    display: block;
}

/* Footer section of program card */
.program-footer {
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Schedule/Time display for programs */
.program-schedule {
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Specialized hero background for the programs page */
.hero-programs {
    background: linear-gradient(rgba(75, 0, 130, 0.7), rgba(75, 0, 130, 0.7)), url('../images/iskcon_festival_crowd_kirtan.png');
}

/* ==========================================================================
   PAGE SPECIFIC STYLES - PRIVACY POLICY (privacy-policy.html)
   ========================================================================== */

/* Main container for policy text */
.policy-main {
    padding: 100px 20px 60px;
}

/* Header section of the policy page */
.policy-header {
    text-align: center;
    margin-bottom: 50px;
}

    /* Title of the policy page */
    .policy-header h1 {
        color: var(--primary-purple);
        font-size: 3rem;
        margin-bottom: 10px;
    }

    /* Date text below policy title */
    .policy-header p {
        color: var(--text-light);
        font-size: 1.1rem;
    }

/* Main card containing policy sections */
.priv-policy-card {
    padding: 50px;
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
}

    /* Section headings within the policy */
    .priv-policy-card h3 {
        color: var(--primary-gold);
        margin-bottom: 15px;
        font-size: 1.5rem;
    }

    /* Paragraph text within policy sections */
    .priv-policy-card p {
        margin-bottom: 30px;
        line-height: 1.7;
        color: var(--text-dark);
        font-size: 1.05rem;
    }

    /* Bulleted lists in policy sections */
    .priv-policy-card ul {
        margin-bottom: 30px;
        line-height: 1.7;
        color: var(--text-dark);
        padding-left: 20px;
        font-size: 1.05rem;
    }

    /* Individual list items */
    .priv-policy-card li {
        margin-bottom: 10px;
    }

/* Link styling specifically for policy text */
.priv-policy-link {
    color: var(--primary-purple);
    text-decoration: underline;
    font-weight: 600;
}

/* ==========================================================================
   PAGE SPECIFIC STYLES - TEMPLE TIMINGS (temple-timings.html)
   ========================================================================== */

/* Container for the timing tables: adds vertical space and allows horizontal scroll on small screens */
.timing-table-container {
    margin: 50px 0;
    overflow-x: auto;
    /* Enables horizontal scroll for mobile users */
}

/* Base table styling for timings */
.timing-table {
    width: 100%;
    border-collapse: collapse;
    /* Removes gap between table cells */
    background: white;
    box-shadow: var(--shadow);
    border-radius: 15px;
    overflow: hidden;
}

    /* Header and Cell styling */
    .timing-table th,
    .timing-table td {
        padding: 20px;
        text-align: left;
        border-bottom: 1px solid #eee;
    }

    /* Header specific styling */
    .timing-table th {
        background-color: var(--primary-purple);
        color: white;
        font-family: 'Outfit', sans-serif;
        text-transform: uppercase;
        font-size: 0.9rem;
    }

    /* Row hover effect */
    .timing-table tr:hover {
        background-color: #fcfcfc;
    }

/* Small pill-shaped badge for the time itself */
.timing-badge {
    background: #f1f8ff;
    color: var(--primary-purple);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Section headings like "Arati Schedule" or "Evening Schedule" */
.timing-section-header {
    margin: 40px 0 20px;
    color: var(--primary-purple);
    border-left: 5px solid var(--primary-gold);
    /* Adds a nice gold accent on the left */
    padding-left: 15px;
}

/* Bottom copyright area of the footer */
.footer-copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle dividing line */
    color: #888;
    /* Dimmed text color */
}

/* About Section Expansion */
.about-section-home {
    padding-bottom: 80px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* Give more space to text, results in smaller image height */
    gap: 40px;
    align-items: stretch;
    margin-bottom: 60px;
}

.about-image-content {
    display: flex;
}

    .about-image-content img {
        height: 300px;
        /* Adjust this value manually to match your text exactly */
        width: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

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

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 80px;
}

.mv-card {
    text-align: center;
    padding: 40px 30px;
    transition: var(--transition);
}

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

.mv-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.mv-card h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mv-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.temple-overview-section {
    background-color: #f0f2f5;
    padding: 80px 0;
}

.temple-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.temple-summary-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .temple-summary-card:hover {
        transform: scale(1.03);
        border-color: var(--primary-gold);
    }

    .temple-summary-card h4 {
        color: var(--primary-purple);
        margin-bottom: 15px;
        font-size: 1.3rem;
    }

    .temple-summary-card p {
        font-size: 0.95rem;
        color: var(--text-light);
        margin-bottom: 20px;
    }

.view-temple-link {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

@media (max-width: 768px) {

    .about-intro-grid,
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Premium Slider & Section Enhancements --- */
:root {
    --primary-purple: #4b0082;
    --primary-gold: #ffcc00;
    --text-muted: #6c757d;
    --transition-standard: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.premium-carousel-btn {
    position: absolute;
    width: 50px !important;
    height: 50px !important;
    aspect-ratio: 1/1 !important;
    background: #fff;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: none !important;
    top: 55% !important;
    /* Visual vertical center relative to the card */
    transform: translateY(-50%) !important;
    transition: var(--transition-standard);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .premium-carousel-btn i {
        color: var(--primary-purple);
    }

    .premium-carousel-btn:hover {
        background: var(--primary-purple) !important;
    }

        .premium-carousel-btn:hover i {
            color: #fff;
        }

.carousel-control-prev.premium-carousel-btn {
    left: -30px !important;
}

.carousel-control-next.premium-carousel-btn {
    right: -30px !important;
}

@media (max-width: 991px) {
    .carousel-control-prev premium-carousel-btn {
        left: 5px;
    }

    .carousel-control-next premium-carousel-btn {
        right: 5px;
    }
}

/* Event Carousel Specific Refinements */
#eventsCarousel .row {
    align-items: flex-start !important;
    /* Move text to the upper side */
    padding-top: 10px;
}

#eventsCarousel .carousel-item img {
    width: calc(100% - 25px) !important;
    /* Reduced image size by another 10px */
    margin-right: auto;
}

#eventsCarousel .col-lg-7 {
    padding-top: 15px;
    /* Align text better with the top of the image */
}

#mission-vision .col-lg-7,
.mission .col-lg-7,
.mission-vision .col-lg-6,
.regional .col-lg-6 {
    padding-top: 15px;
    /* Align text better with the top of the image */
    text-align: justify !important;
    /* Perfectly level justified text as requested */
}

/* About & Home Mission & Founder Sections Refinements */
#mission .row,
.mission-vision .row,
.regional .row,
.founder .row {
    align-items: flex-start !important;
}

#mission .col-lg-7,
.mission-vision .col-lg-6,
.regional .col-lg-6,
.founder .col-lg-7 {
    padding-top: 25px !important;
    /* Move text to the top */
    text-align: justify !important;
    /* Perfectly level justified text as requested */
}

#mission img,
.mission-vision img,
.regional img,
.founder img {
    width: calc(100% - 25px) !important;
    max-height: none !important;
    /* Remove override if present */
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
}

.event-premium-card {
    transition: var(--transition-standard);
    border: none !important;
}

    .event-premium-card:hover {
        transform: translateY(-8px);
    }

.btn-purple {
    background: var(--primary-purple) !important;
    color: #fff !important;
    border: 2px solid var(--primary-purple) !important;
    transition: var(--transition-standard) !important;
}

    .btn-purple:hover {
        background: transparent !important;
        color: var(--primary-purple) !important;
        box-shadow: 0 10px 25px rgba(75, 0, 130, 0.2);
    }

.location-card {
    transition: var(--transition-standard);
    cursor: pointer;
}

    .location-card:hover {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
    }

.hero-glass {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
    margin-right: 8px;
    animation: iskcon_pulse 2s infinite;
}

.join-iskcon-banner {
    transition: var(--transition-standard);
}

    .join-iskcon-banner:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 45px rgba(75, 0, 130, 0.2) !important;
    }

.footer-dark a {
    transition: var(--transition-standard);
}

    .footer-dark a:hover {
        color: var(--primary-gold) !important;
        opacity: 1 !important;
    }


/* Live Status Pulse Animation */
.status-dot.pulse-animation {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

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

/* Live Status Banner */
.live-status-banner {
    background-color: #fdf2ff;
    /* Light lavender purple */
    border-bottom: 1px solid rgba(75, 0, 130, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 10;
}

#status-main-text {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

#status-sub-text {
    font-size: 0.95rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    #status-main-text {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Consolidated Page Styles (Moved from HTML)
   ========================================================================== */

/* Common Utilities */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

    .hover-lift:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(75, 0, 130, 0.15) !important;
    }

.text-purple {
    color: #4b0082 !important;
}

.bg-purple {
    background-color: #4b0082 !important;
}

.btn-purple {
    background-color: #4b0082;
    color: white;
    border: none;
}

    .btn-purple:hover {
        background-color: #3e006b;
        color: white;
    }

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

/* Page Specific: Timings */
.timing-card {
    border-left: 5px solid var(--primary-gold);
    transition: transform 0.3s ease;
}

    .timing-card:hover {
        transform: translateX(10px);
    }

.schedule-table thead {
    background: var(--primary-purple);
    color: white;
}

/* Page Specific: Registration & Login */
.register-card {
    max-width: 500px;
    width: 100%;
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.btn-register {
    background-color: #4b0082;
    color: white;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

    .btn-register:hover {
        background-color: #3a0066;
        color: white;
        transform: translateY(-2px);
    }

/* Page Specific: Programs */
.text-success {
    color: #4caf50 !important;
}

.bg-success {
    background-color: #4caf50 !important;
}

.btn-success {
    background-color: #4caf50;
    color: white;
    border: none;
}

    .btn-success:hover {
        background-color: #43a047;
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(76, 175, 80, 0.2) !important;
    }

.text-pink {
    color: #e91e63 !important;
}

.bg-pink {
    background-color: #e91e63 !important;
}

.btn-pink {
    background-color: #e91e63;
    color: white;
    border: none;
}

    .btn-pink:hover {
        background-color: #d81b60;
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(233, 30, 99, 0.2) !important;
    }

.clickable-card {
    cursor: pointer;
}

/* Page Specific: About Page Typography */
.about-page section p {
    text-align: justify;
}

.about-page .text-center p {
    text-align: justify;
    text-align-last: center;
}

/* Mobile Navigation Fix for About Page (Scoped) */
@media (max-width: 900px) {
    .about-page .menu-toggle {
        display: block !important;
        font-size: 2.2rem !important;
        cursor: pointer !important;
        color: #4B0082 !important;
        padding: 5px 15px !important;
        z-index: 1001 !important;
        margin-left: auto;
    }

    .about-page .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        left: auto !important;
        width: 280px !important;
        height: 100vh !important;
        background: #fff !important;
        flex-direction: column !important;
        padding: 80px 20px !important;
        transition: 0.3s ease-in-out !important;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1) !important;
        z-index: 1000 !important;
        display: flex !important;
        justify-content: flex-start !important;
        margin: 0 !important;
    }

        .about-page .nav-links.active {
            right: 0 !important;
        }

        .about-page .nav-links a {
            margin: 10px 0 !important;
            font-size: 1.1rem !important;
            color: #333 !important;
            padding: 10px !important;
            border-bottom: 1px solid #eee;
            width: 100%;
        }

    .about-page .header-actions {
        display: none !important;
    }
}

/* ==========================================================================
   Footer & Botstrip Styles
   ========================================================================== */

footer {
    background: #4B0082; /* Premium ISKCON Purple */
    color: white;
    padding: 80px 0 0; /* Increased top padding */
    margin-top: 50px;
}

.footer-col {
    padding: 10px; /* Base padding */
}

    .footer-col h4 {
        color: var(--primary-gold, #FFD700);
        font-weight: 700;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 10px;
    }

        .footer-col h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--primary-gold, #FFD700);
        }

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

        .footer-col ul li {
            margin-bottom: 12px;
            opacity: 0.85;
        }

            .footer-col ul li a {
                color: white;
                text-decoration: none;
                transition: all 0.3s ease;
            }

                .footer-col ul li a:hover {
                    color: var(--primary-gold, #FFD700);
                    padding-left: 5px;
                }

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.social-links {
    margin: 20px 0;
}

    .social-links a {
        color: white;
        text-decoration: none;
        margin-right: 15px;
        transition: color 0.3s ease;
    }

        .social-links a:hover {
            color: var(--primary-gold, #FFD700);
        }

.privacy-policy {
    margin-top: 15px;
}

    .privacy-policy a {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.85rem;
        text-decoration: none;
    }

        .privacy-policy a:hover {
            color: white;
        }

/* Contact List Styling */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-col .phone-item {
    font-weight: 500;
    margin-bottom: 15px !important;
}

.contact-col .phone-number {
    display: inline-block;
    margin-left: 10px;
    opacity: 0.9;
    color: var(--primary-gold, #FFD700);
}

.contact-col .availability-item {
    margin-top: 5px !important;
    opacity: 0.8;
}

.contact-col .email-item strong {
    color: var(--primary-gold, #FFD700);
    margin-right: 5px;
}

.contact-col .address-item {
    line-height: 1.6;
    margin-bottom: 20px !important;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Botstrip Styling */
.footer-copyright {
    background: transparent;
    padding: 25px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    border-top: 1px solid rgba(218, 165, 32, 0.3); /* Subtle Gold border */
    margin: 40px -15px 0; /* Align with bottom of footer */
}

@media (max-width: 900px) {
    .footer-col {
        margin-bottom: 30px;
    }
}
