/* =========================================================
   SHREE SHREE DURGA PUJA SAMITI
   FINAL PREMIUM WEBSITE CSS
   Devotional • 3D Glow • Responsive • Modern
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, "Noto Sans Devanagari", sans-serif;
    background: #fffaf2;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

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

button,
input,
textarea,
select {
    font-family: inherit;
}

a {
    text-decoration: none;
}


/* =========================================================
   LANGUAGE BAR
========================================================= */

.language-bar {
    width: 100%;
    min-height: 45px;
    top: 0px;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 8px;
    padding: 2px 2.5%;

    background:
        linear-gradient(90deg,
            #fff4d2,
            #fff9eb,
            #fff0c2);

    border-bottom: 5px solid #f1d38a;

    position: relative;
    z-index: 1100;

}

.language-bar span {
    color: #6b2d00;
    font-size: 14px;
    font-weight: bold;
}

.language-bar button {
    border: 1px solid #d62828;
    background: white;
    color: #a71919;

    padding: 6px 2px;

    border-radius: 25px;

    cursor: pointer;

    font-size: 13px;
    font-weight: bold;

    transition: 0.3s ease;
}

.language-bar button:hover,
.language-bar button.active {
    background: #d62828;
    color: white;

    transform: translateY(-2px);

    box-shadow:
        0 5px 15px rgba(214, 40, 40, 0.25);
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    width: 100%;

    min-height: 82px;

    padding: 10px 1.5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    background:
        linear-gradient(100deg,
            #2b197a,
            #209b3a,
            #d62828,
            #b5c26e);

    border: 5px solid #450ead;

    color: white;

    position: sticky;

    top: 0px;
    /* 👈 0 ko -15px karo */

    z-index: 1000;

    box-shadow:
        0 5px 20px rgba(90, 0, 0, 0.25);
}

/* =========================================================
   BRAND
========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
}

.logo-box {
    width: 65px;
    height: 65px;

    flex-shrink: 0;

    border-radius: 50%;

    padding: 3px;

    background:
        linear-gradient(135deg,
            #fff,
            #ffd700,
            #fff);

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 25px rgba(255, 215, 0, 0.35);
}

.logo-box img {
    width: 100%;
    height: 100%;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid white;
}

.brand-text {
    min-width: 0;
}

.brand-text h2 {
    color: white;

    font-size: 20px;
    font-weight: 800;

    line-height: 1.25;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-text p {
    margin-top: 3px;

    color: #ffe8a3;

    font-size: 12px;

    white-space: nowrap;
}


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

#mainNav>ul {
    display: flex;
    align-items: center;
    justify-content: center;

    list-style: none;

    gap: 0px;
}

#mainNav>ul>li {
    position: relative;
}

.navbar a,
.dropdown-toggle {
    color: white;

    background: transparent;

    border: none;

    padding: 9px 6px;

    font-size: 14px;

    font-weight: bold;

    cursor: pointer;

    white-space: nowrap;

    transition: 0.3s ease;
}

.navbar a:hover,
.dropdown-toggle:hover {
    color: #ffd700;

    text-shadow:
        0 0 10px rgba(255, 215, 0, 0.7);
}


/* =========================================================
   DROPDOWN
========================================================= */

.dropdown-menu {
    position: absolute;

    top: calc(100% + 10px);
    left: 50%;

    transform:
        translateX(-50%) translateY(10px);

    width: 135px;

    padding: 4px;

    background: white;

    border-radius: 8px;

    list-style: none;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25);

    opacity: 0;
    visibility: hidden;

    transition: 0.25s ease;

    border: 4px solid #f4a300;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;

    width: 100%;

    padding: 8px 12px;

    color: #6b2d00;

    border-radius: 8px;

    font-size: 14px;
}

.dropdown-menu a:hover {
    background: #fff3d0;

    color: #d62828;
}


/* Desktop hover */

@media (min-width: 901px) {

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;

        transform:
            translateX(-50%) translateY(0);
    }

}

/* Mobile Dropdown - Click/Touch */
.dropdown.open .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
}

/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;

    width: 45px;
    height: 45px;

    border: 2px solid rgba(255, 255, 255, 0.4);

    border-radius: 10px;

    background: rgba(0, 0, 0, 0.15);

    color: white;

    font-size: 25px;

    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 88vh;

    display: flex;
    align-items: center;

    padding: 70px 5%;

    overflow: hidden;

    background: transparent;

}


/* Animated light */

.hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -180px;
    right: -120px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(255, 215, 0, 0.75) 0%,
            rgba(255, 180, 0, 0.25) 35%,
            transparent 70%);

    filter: blur(5px);

    animation: divineGlow 5s ease-in-out infinite alternate;

    pointer-events: none;
}


/* Bottom glow */

.hero::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    bottom: -250px;
    left: -150px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(214, 40, 40, 0.35),
            transparent 70%);

    animation: glowMove 7s ease-in-out infinite alternate;

    pointer-events: none;
}

@keyframes divineGlow {

    from {
        transform: scale(0.9);
        opacity: 0.55;
    }

    to {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes glowMove {

    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(80px, -40px);
    }
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    width: 100%;

    max-width: 1250px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;

    position: relative;

    z-index: 2;

    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);

}

.hero-text {
    flex: 1;
    color: #ffffff;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.85);
}

/* 🙏 Welcome Text */
.welcome {
    color: #ffd700;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 215, 0, 0.5);
}

/* 🔱 Main Website Name */
.hero h1 {
    color: #8f1017;
    font-size: clamp(35px, 5vw, 60px);
    line-height: 1.15;
    margin-bottom: 15px;
    font-weight: 900;
    text-shadow:
        2px 3px 0 #8f1017,
        0 0 15px rgba(255, 215, 0, 0.55);
}

/* 📍 Location */
.hero h2 {
    color: #ffffff;
    font-size: clamp(18px, 2vw, 24px);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow:
        2px 2px 6px rgba(0, 0, 0, 0.9);
}

/* 🔱 Jai Mata Di */
.tagline {
    color: #0cad54;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 30px;
    text-shadow:
        2px 2px 5px #8f1017,
        0 0 15px rgba(15, 116, 116, 0.6);
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

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


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 45px;

    padding: 12px 25px;

    border-radius: 30px;

    border: none;

    cursor: pointer;

    font-weight: bold;

    font-size: 15px;

    transition: 0.3s ease;
}

.primary {
    background:
        linear-gradient(135deg,
            #a71919,
            #d62828);

    color: white;

    box-shadow:
        0 7px 18px rgba(167, 25, 25, 0.3);
}

.primary:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 25px rgba(167, 25, 25, 0.4);
}

.secondary {
    background:
        linear-gradient(135deg,
            #d28a00,
            #f4a300);

    color: white;

    box-shadow:
        0 7px 18px rgba(244, 163, 0, 0.3);
}

.secondary:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 25px rgba(244, 163, 0, 0.4);
}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-image {
    flex: 0 0 390px;

    display: flex;

    justify-content: center;

    perspective: 1000px;
}

.image-frame {
    width: 350px;
    height: 430px;

    padding: 8px;

    border-radius: 28px;

    background:
        linear-gradient(135deg,
            #d62828,
            #ffd700,
            #f4a300,
            #a71919);

    box-shadow:
        0 25px 55px rgba(80, 0, 0, 0.25),
        0 0 35px rgba(255, 193, 7, 0.25);

    transform: rotateY(-5deg);

    transition: 0.5s ease;

    animation: imageFloat 5s ease-in-out infinite;
}

.image-frame:hover {
    transform:
        rotateY(0deg) translateY(-8px) scale(1.02);
}

.image-frame img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 22px;

    border: 5px solid white;
}

@keyframes imageFloat {

    0%,
    100% {
        transform: rotateY(-5deg) translateY(0);
    }

    50% {
        transform: rotateY(-2deg) translateY(-10px);
    }
}


/* =========================================================
   QUICK ACTIONS
========================================================= */

.quick-actions {
    max-width: 1100px;

    margin: -30px auto 0;

    padding: 0 20px;

    position: relative;

    z-index: 10;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.quick-action {
    min-height: 75px;

    padding: 15px;

    border-radius: 16px;

    background: white;

    color: #a71919;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    font-weight: bold;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.12);

    border-bottom: 4px solid #f4a300;

    transition: 0.3s ease;
}

.quick-action:hover {
    transform: translateY(-7px);

    color: #d62828;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    width: 100%;

    max-width: 1250px;

    margin: auto;

    padding: 85px 5%;
}

.section-title {
    text-align: center;

    margin-bottom: 45px;

}

.section-title span {
    font-size: 30px;

    vertical-align: middle;
}

/* =========================================================
   SECTIONS
========================================================= */

.section {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    padding: 85px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title span {
    font-size: 30px;
    vertical-align: middle;
    color: #ffd700;
    text-shadow: 0 2px 5px rgba(167, 25, 25, 0.35);
}

.section-title h2 {
    display: inline-block;
    margin-left: 8px;

    color: #a71919;

    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 800;

    text-shadow:
        0 2px 4px rgba(255, 215, 0, 0.35),
        0 0 8px rgba(214, 40, 40, 0.12);
}

.section-title p {
    color: #ffd700;
    font-size: 17px;
    font-weight: 600;
    margin-top: 8px;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.5);
}

.section-title h2::after {
    content: "";

    display: block;

    width: 75px;
    height: 4px;

    margin: 10px auto;

    border-radius: 10px;

    background:
        linear-gradient(90deg,
            #d62828,
            #ffd700,
            #d62828);
}

.section-title p {
    color: #ffd700;
    font-size: 17px;
    font-weight: 600;
    margin-top: 8px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.section-title span {
    color: #ffd700;
    text-shadow: 0 2px 5px rgba(167, 25, 25, 0.35);
}



.section-title h2::after {
    content: "";

    display: block;

    width: 75px;
    height: 4px;

    margin: 10px auto;

    border-radius: 10px;

    background:
        linear-gradient(90deg,
            #d62828,
            #ffd700,
            #d62828);
}


/* =========================================================
   COUNTDOWN
========================================================= */

.countdown-section {
    max-width: 1100px;
}

.countdown-container {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.countdown-box {
    padding: 25px 15px;

    text-align: center;

    border-radius: 20px;

    background:
        linear-gradient(145deg,
            #8f1017,
            #d62828);

    color: white;

    box-shadow:
        0 12px 30px rgba(120, 0, 0, 0.2);

    position: relative;

    overflow: hidden;
}

.countdown-box::before {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    top: -50px;
    right: -50px;

    border-radius: 50%;

    background: rgba(255, 215, 0, 0.25);
}

.countdown-box strong {
    display: block;

    font-size: 40px;

    color: #ffd700;
}

.countdown-box span {
    font-weight: bold;
}


/* =========================================================
   ABOUT
========================================================= */

.about-card {
    padding: 40px;

    border-radius: 15px;

    background: white;

    border-left: 8px solid hwb(86 5% 25%);
    border-top: 8px solid hsl(130, 56%, 45%);
    border-bottom: 8px solid #d62828;
    border-right: 8px solid #4b7bbb;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.08);

    text-align: center;

    font-size: 18px;
}

.about-card h3 {
    color: #a71919;

    margin-bottom: 15px;

    font-size: 25px;
}

.about-details {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    margin-top: 20px;
}

.about-details div {
    padding: 12px;

    border-radius: 11px;

    background: #fff8e8;

    border: 1px solid #f3d58b;
}

.about-details strong,
.about-details span {
    display: block;
}

.about-details strong {
    color: #a71919;
}


/* =========================================================
   CUSTOM PROGRAM YEAR DROPDOWN
========================================================= */

.program-year-selector {
    margin-top: -40px;
    margin-bottom: 50px;
    text-align: center;
}

.year-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.year-selector label {
    font-weight: bold;
    color: #6b2d00;
    margin-bottom: 8px;
}

.custom-year-dropdown {
    position: relative;
    width: 130px;
    margin: 0 auto;
}

.year-dropdown-button {
    width: 100%;

    padding: 10px 15px;

    border: 1px solid #e1c98a;

    border-radius: 10px;

    background: white;

    color: #6b2d00;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    outline: none;

    display: flex;

    align-items: center;

    justify-content: space-between;

    transition: 0.2s ease;
}

.year-dropdown-button:hover {
    border-color: #d62828;
}

.year-arrow {
    font-size: 11px;

    transition: transform 0.2s ease;
}

.custom-year-dropdown.open .year-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   YEAR DROPDOWN MENU
========================================================= */

.year-dropdown-menu {
    position: absolute;

    top: calc(100% + 6px);

    left: 0;

    width: 100%;

    max-height: 220px;

    overflow-y: auto;

    display: none;

    padding: 5px 0;

    background: white;

    border: 1px solid #e1c98a;

    border-radius: 10px;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.12);

    z-index: 9999;
}

.custom-year-dropdown.open .year-dropdown-menu {
    display: block;
}


/* =========================================================
   YEAR OPTION
========================================================= */

.year-option {
    padding: 10px 15px;

    color: #6b2d00;

    font-size: 15px;

    cursor: pointer;

    text-align: center;

    transition: 0.2s ease;
}

.year-option:hover {
    background: #fff3d6;

    color: #d62828;
}

.year-option.selected {
    background: #d62828;

    color: white;

    font-weight: bold;
}


/* =========================================================
   YEAR SCROLLBAR
========================================================= */

.year-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.year-dropdown-menu::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.year-dropdown-menu::-webkit-scrollbar-thumb {
    background: #d6b56c;

    border-radius: 10px;
}


/* =========================================================
   MOBILE YEAR DROPDOWN
========================================================= */

@media (max-width: 600px) {

    #contactForm .form-group input,
    #contactForm .form-group textarea {
        padding: 6px 9px;
        font-size: 12px;
    }

    #contactForm .form-group input {
        height: 32px;
        min-height: 32px;
    }

    #contactForm .form-group textarea {
        height: 58px;
        min-height: 58px;
    }

    .contact-card {
        padding: 20px 14px;
        border-radius: 15px;
    }

    .contact-card h3 {
        font-size: 19px;
    }

    .contact-card p {
        font-size: 12px;
    }

    #contactForm {
        margin-top: 14px;
        gap: 8px;
    }

    #contactForm .form-group label {
        font-size: 11px;
    }

    #contactForm .form-group input,
    #contactForm .form-group textarea {
        padding: 7px 9px;
        font-size: 12px;
    }

    #contactForm .form-group textarea {
        min-height: 60px;
    }

    #contactForm .btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .custom-year-dropdown {
        width: 120px;
    }

    .year-dropdown-button {
        padding: 9px 12px;

        font-size: 15px;
    }

    .year-option {
        padding: 9px 12px;

        font-size: 14px;
    }

}

.program-container {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 20px;
}

.program-card {
    background: white;

    padding: 28px 18px;

    text-align: center;

    border-radius: 20px;

    border-top: 8px solid #d62828;
    border-bottom: 8px solid #d62828;
    border-left: 5px solid #d62828;
    border-right: 5px solid #d62828;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.08);

    transition: 0.3s ease;
}

.program-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.13);
}

.day {
    color: #d62828;

    font-size: 23px;

    font-weight: bold;

    margin-bottom: 10px;
}

.program-card h3 {
    color: #6b2d00;
   font-size: 21px; 
    margin-bottom: 8px;
}


/* =========================================================
   MEMBERS
========================================================= */

.members-container {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 15px;
}

.member-card {
    background: white;

    padding: 15px 10px;

    text-align: center;

    border-radius: 12px;

    border-top: 7px solid #d62828;
    border-bottom: 5px solid #d62828;
    border-right: 5px solid #d62828;
    border-left: 5px solid #d62828;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.1);

    transition: 0.35s ease;
}

.member-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.15);
}

.member-photo {
    width: 220px;
    height: 215px;

    margin: auto;

    padding: 5px;

    border-radius: 50%;

    background:
        linear-gradient(135deg,
            #d62828,
            #ffd700,
            #f4a300);

    box-shadow:
        0 0 20px rgba(244, 163, 0, 0.25);
}

.member-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    border: 4px solid white;
}

.default-icon {
    width: 100%;
    height: 100%;

    border-radius: 50%;

    background: white;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 50px;
}

.member-card h3 {
    margin-top: 15px;

    color: #a71919;
}

.member-card h4 {
    color: #6b2d00;

    margin-top: 8px;
}

.member-card p {
    color: #4a4a4a;
}


/* =========================================================
   MEMBERS - TABLET
========================================================= */

@media (max-width: 1024px) {

    .members-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .member-photo {
        width: 170px;
        height: 170px;
    }
}


/* =========================================================
   MEMBERS - MOBILE
========================================================= */

@media (max-width: 600px) {

    .members-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .member-card {
        padding: 10px 6px;
    }

    .member-photo {
        width: 120px;
        height: 120px;
        padding: 4px;
    }

    .member-photo img {
        border-width: 3px;
    }

    .default-icon {
        font-size: 45px;
    }

    .member-card h3 {
        margin-top: 8px;
        font-size: 25px;
        line-height: 1.2;
    }

    .member-card h4 {
        margin-top: 5px;
        font-size: 22px;
        line-height: 1.2;
    }

    .member-card p {
        font-size: 11px;
        line-height: 1.3;
        margin: 4px 0;
    }
}

/* =========================================================
   NOTICE
========================================================= */

.notice-container {
    display: grid;

    gap: 15px;
}

.notice-card {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    padding: 22px;

    background: white;

    border-left: 8px solid #a71919;
    border-right: 8px solid #a71919;
    border-top: 6px solid #a71919;
    border-bottom: 6px solid #a71919;

    border-radius: 15px;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.08);
}

.notice-icon {
    font-size: 48px;
}

.notice-card h3 {
    color: #a71919;

    margin-bottom: 5px;
}

.notice-card p {
    color: #000000;
}

/* =========================================================
   GALLERY
========================================================= */

/* =========================================================
   GALLERY CONTROLS
   YEAR + CATEGORY SAME LOOK & FEEL
========================================================= */


.gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;


    gap: 10px !important;

    margin-bottom: 15px;

    flex-wrap: wrap;
}


/* =========================================================
   COMMON DROPDOWN SIZE
========================================================= */

.gallery-year-dropdown,
.gallery-category-dropdown {
    position: relative;

    width: 140px !important;
    height: 40px !important;

    z-index: 100;
}


/* =========================================================
   YEAR BUTTON
========================================================= */

.gallery-year-button {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 8px 12px !important;

    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;

    background: white;
    color: #333;

    font-family: inherit;
    font-size: 14px !important;
    font-weight: 400;

    cursor: pointer;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.08);

    transition: 0.2s ease;
}


/* =========================================================
   CATEGORY SELECT
========================================================= */

.gallery-category-dropdown select {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;

    display: block;

    padding: 8px 34px 8px 12px !important;

    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;

    background: white;
    color: #333;

    font-family: inherit;
    font-size: 14px !important;
    font-weight: 400;

    cursor: pointer;

    outline: none;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.08);

    transition: 0.2s ease;
}


/* =========================================================
   ARROWS
========================================================= */

.gallery-year-arrow {
    font-size: 11px;
    color: #333;

    transition: transform 0.2s ease;
}

.gallery-category-arrow {
    position: absolute;

    top: 50%;
    right: 12px;

    transform: translateY(-50%);

    font-size: 11px;
    color: #333;

    pointer-events: none;
}


/* YEAR ARROW ROTATION */

.gallery-year-dropdown.open .gallery-year-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   HOVER / FOCUS
========================================================= */

.gallery-year-button:hover,
.gallery-category-dropdown select:hover {
    border-color: rgba(0, 0, 0, 0.30);

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.10);
}

.gallery-year-button:focus,
.gallery-category-dropdown select:focus {
    outline: none;

    border-color: rgba(0, 0, 0, 0.30);

    box-shadow:
        0 0 0 3px rgba(214, 40, 40, 0.08);
}


/* =========================================================
   YEAR DROPDOWN MENU
========================================================= */

.gallery-year-menu {
    display: none;

    position: absolute;

    top: calc(100% + 5px);
    left: 0;
    right: 0;

    background: white;

    border: 1px solid rgba(0, 0, 0, 0.12);

    border-radius: 10px;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.15);

    overflow-y: auto;

    max-height: 225px;

    z-index: 9999;
}

.gallery-year-dropdown.open .gallery-year-menu {
    display: block;
}


/* =========================================================
   YEAR OPTIONS
========================================================= */

.gallery-year-option {
    min-height: 40px;

    display: flex;
    align-items: center;

    padding: 8px 12px;

    cursor: pointer;

    font-size: 14px;

    color: #333;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.gallery-year-option:hover {
    background: #f3f3f3;
}

.gallery-year-option.selected {
    font-weight: 600;
}


/* =========================================================
   SCROLLBAR
========================================================= */

.gallery-year-menu::-webkit-scrollbar {
    width: 7px;
}

.gallery-year-menu::-webkit-scrollbar-track {
    background: #f1f1f1;

    border-radius: 10px;
}

.gallery-year-menu::-webkit-scrollbar-thumb {
    background: #aaa;

    border-radius: 10px;
}

.gallery-year-menu::-webkit-scrollbar-thumb:hover {
    background: #888;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .gallery-controls {
        flex-direction: row !important;

        justify-content: center;
        align-items: center;

        gap: 8px !important;
    }

    .gallery-year-dropdown,
    .gallery-category-dropdown {
        width: 140px !important;
        height: 40px !important;
    }

    .gallery-year-button,
    .gallery-category-dropdown select {
        height: 40px !important;
        min-height: 40px !important;

        font-size: 14px !important;
    }

}

.gallery-section .section-title {
    margin-bottom: 8px !important;
}

.gallery-controls {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.gallery-year-button:hover {
    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.12);
}

.gallery-year-arrow {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.gallery-year-dropdown.open .gallery-year-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   YEAR MENU
========================================================= */

.gallery-year-menu {
    display: none;

    position: absolute;

    top: calc(100% + 5px);
    left: 0;
    right: 0;

    background: white;

    border: 1px solid rgba(0, 0, 0, 0.12);

    border-radius: 10px;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.15);

    overflow-y: auto;

    /*
       लगभग 5 years visible
    */
    max-height: 225px;

    z-index: 9999;
}

.gallery-year-dropdown.open .gallery-year-menu {
    display: block;
}


/* =========================================================
   YEAR OPTIONS
========================================================= */

.gallery-year-option {
    padding: 10px 14px;

    min-height: 45px;

    display: flex;
    align-items: center;

    cursor: pointer;

    font-size: 16px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.gallery-year-option:hover {
    background: #f3f3f3;
}

.gallery-year-option.selected {
    font-weight: 600;
}


/* =========================================================
   SCROLLBAR
========================================================= */

.gallery-year-menu::-webkit-scrollbar {
    width: 7px;
}

.gallery-year-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.gallery-year-menu::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 10px;
}

.gallery-year-menu::-webkit-scrollbar-thumb:hover {
    background: #888;
}


/* =========================================================
   MOBILE
========================================================= */



.gallery-container {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 15px;
}

.gallery-item {
    height: 270px;

    overflow: hidden;

    border-radius: 20px;

    background: white;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.12);

    position: relative;
}

.gallery-item::after {
    content: "🔍";

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 35px;

    background: rgba(0, 0, 0, 0.25);

    opacity: 0;

    transition: 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s ease;
}

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


/* =========================================================
   VIDEO
========================================================= */

.video-container {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 500px));

    justify-content: center;

    gap: 15px;
}

.video-placeholder {
    min-height: 250px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border-radius: 20px;

    background: white;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.1);

    color: #aaa;

    font-size: 55px;
}

.video-placeholder p {
    font-size: 17px;

    color: #4a4a4a;
}

/* =========================================================
   VIDEO ITEMS
========================================================= */

.video-item {
    background: white;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.1);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.video-item:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   VIDEO FRAME
========================================================= */

.video-frame {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #000;
}


.video-frame iframe {
    width: 100%;

    height: 100%;

    display: block;

    border: none;
}

.video-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
}


/* =========================================================
   VIDEO TITLE
========================================================= */

.video-title {
    padding: 15px 18px;

    font-size: 17px;

    font-weight: 600;

    line-height: 1.0;

    color: #333;

    text-align: center;
}


/* =========================================================
   VIDEO PLACEHOLDER
========================================================= */

.video-placeholder {
    grid-column: 1 / -1;

    width: 100%;

    min-height: 250px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border-radius: 20px;

    background: white;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.1);

    color: #aaa;

    font-size: 55px;
}


.video-placeholder p {
    margin-top: 10px;

    font-size: 17px;

    color: #4a4a4a;
}


/* =========================================================
   VIDEO RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .video-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .video-title {
        font-size: 16px;

        padding: 13px 15px;
    }

}


@media (max-width: 480px) {

    .video-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 15px;
    }

    .video-item {
        border-radius: 15px;
    }

    .video-placeholder {
        min-height: 200px;

        font-size: 45px;
    }

    .video-placeholder p {
        font-size: 15px;

        text-align: center;

        padding: 0 15px;
    }

}

/* =========================================================
   LIVE DARSHAN
========================================================= */

.live-container {
    min-height: 350px;

    padding: 15px;

    border-radius: 15px;

    background:
        linear-gradient(135deg,
            #210707,
            #5d0b0b,
            #210707);

    display: flex;

    align-items: center;
    justify-content: center;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.2);
}

.live-placeholder {
    text-align: center;

    color: white;
}

.live-placeholder>span {
    display: inline-flex;

    width: 70px;
    height: 70px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #d62828;

    font-size: 30px;

    animation: livePulse 1.5s infinite;
}

.live-placeholder h3 {
    margin-top: 15px;

    color: #ffd700;
}

@keyframes livePulse {

    0% {
        box-shadow: 0 0 0 0 rgba(214, 40, 40, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(214, 40, 40, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(214, 40, 40, 0);
    }
}


/* =========================================================
   SPECIAL DARSHAN
========================================================= */

.darshan-card {
    display: grid;

    grid-template-columns: 320px 1fr;

    gap: 35px;

    align-items: center;

    padding: 20px;

    border: 8px solid #ffd700;


    background: white;

    border-radius: 15px;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.1);
}


.darshan-card img {
    width: 100%;
    height: 330px;

    object-fit: cover;

    border-radius: 20px;
}

.darshan-content h3 {
    color: #a71919;

    font-size: 27px;

    margin-bottom: 15px;
}

.darshan-content p {
    margin-bottom: 20px;
}


/* =========================================================
   DARSHAN OVERLAY
========================================================= */

.darshan-overlay {
    position: fixed;

    inset: 0;

    z-index: 3000;

    background:
        rgba(25, 0, 0, 0.93);

    display: none;

    align-items: center;
    justify-content: center;

    padding: 25px;
}

.darshan-overlay.active {
    display: flex;
}

.darshan-overlay-content {
    text-align: center;

    animation: darshanZoom 0.5s ease;
}

.darshan-overlay-content img {
    width: min(500px, 90vw);
    max-height: 70vh;

    object-fit: contain;

    border-radius: 20px;

    border: 5px solid #ffd700;

    box-shadow:
        0 0 40px rgba(255, 215, 0, 0.45);
}

.darshan-overlay-content h2 {
    margin-top: 20px;

    color: #ffd700;

    font-size: 30px;
}

.darshan-close {
    position: absolute;

    top: 25px;
    right: 30px;

    width: 45px;
    height: 45px;

    border: none;

    border-radius: 50%;

    background: #d62828;

    color: white;

    font-size: 23px;

    cursor: pointer;
}

@keyframes darshanZoom {

    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* =========================================================
   DONATION
========================================================= */

.donation-section {
    max-width: 650px;
}

.donation-card {
    background:
        linear-gradient(135deg,
            #fff0bd,
            #fff,
            #fff4d6);

    padding: 25px;

    text-align: center;

    border-radius: 25px;

    border: 8px solid #d62828;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.08);
}

.donation-card h3 {
    color: #a71919;

    font-size: 26px;

    margin-bottom: 12px;
}


/* Donation Form */

#donationForm {
    margin-top: 20px;

    text-align: left;
}

/* =========================================================
   ONLINE DONATION FORM - COMPACT INPUTS
========================================================= */

#donationForm .form-group {
    margin-bottom: 12px;
}

#donationForm .form-group label {
    font-size: 13px;
    margin-bottom: 4px;
}

#donationForm .form-group input,
#donationForm .form-group textarea {
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 7px;
    min-height: 38px;
}

#donationForm .form-group textarea {
    min-height: 70px;
}

#donationForm .amount-options {
    gap: 6px;
    margin-bottom: 8px;
}

#donationForm .amount-options button {
    padding: 6px 11px;
    font-size: 12px;
    border-radius: 15px;
}

#donationForm .btn {
    padding: 9px 20px;
    font-size: 13px;
    border-radius: 8px;
}

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

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #6b2d00;

    font-weight: bold;
}

.form-group input,
.form-group textarea,
#contactForm input,
#contactForm textarea {

    #donationForm .form-group {
        margin-bottom: 13px;
    }

    #donationForm .form-group label {
        margin-bottom: 5px;
        font-size: 14px;
    }

    #donationForm .form-group input,
    #donationForm .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 8px;
    }

    #donationForm .form-group textarea {
        min-height: 80px;
    }

    width: 100%;

    padding: 13px 15px;

    border: 1px solid #ddd;

    border-radius: 10px;

    outline: none;

    background: white;

    font-size: 15px;

    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
#contactForm input:focus,
#contactForm textarea:focus {
    border-color: #d62828;

    box-shadow:
        0 0 0 3px rgba(214, 40, 40, 0.08);
}

.form-group textarea,
#contactForm textarea {
    min-height: 110px;

    resize: vertical;
}


/* Amount Buttons */

.amount-options {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    margin-bottom: 12px;
}

.amount-options button {
    padding: 5px 10px;

    border: 1px solid #f4a300;

    border-radius: 15px;

    background: white;

    color: #a71919;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.amount-options button:hover,
.amount-options button.active {
    background: #d62828;

    color: white;
}

/* =========================================================
PUBLIC DONATION RECORDS - PREMIUM DESIGN
========================================================= */

.public-donation-section {
    max-width: 1200px;
    position: relative;
}

/* Donation Records Main Card */
.public-donation-card {
    position: relative;
    overflow: hidden;
    padding: 35px;
    border-radius: 28px;
    background:
        linear-gradient(145deg,
            #fffdf7,
            #fff8e7,
            #ffffff);
    border: 1px solid rgba(244, 163, 0, 0.35);
    box-shadow:
        0 18px 45px rgba(120, 45, 0, 0.10),
        0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Decorative Golden Glow */
.public-donation-card::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    top: -150px;
    right: -100px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(255, 215, 0, 0.30),
            transparent 70%);
    pointer-events: none;
}

.public-donation-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    bottom: -140px;
    left: -100px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(214, 40, 40, 0.12),
            transparent 70%);
    pointer-events: none;
}

/* Donation Intro */
.public-donation-intro {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    margin: 0 auto 30px;
}

.public-donation-intro h3 {
    color: #a71919;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    margin-bottom: 10px;
}

.public-donation-intro p {
    color: #777;
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================================
DONATION SUMMARY CARDS
========================================================= */

.public-donation-summary {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
    margin: 25px 0 30px;

}

.public-donation-stat {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    gap: 18px;

    padding: 22px 25px;

    border-radius: 20px;

    background:
        linear-gradient(135deg,
            #fff,
            #fff8e8);

    border: 1px solid #f0d28a;

    box-shadow:
        0 10px 25px rgba(120, 45, 0, 0.08);

    transition: 0.35s ease;

}

.public-donation-stat:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(120, 45, 0, 0.14);

}

.public-donation-stat-icon {
    width: 60px;
    height: 60px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background:
        linear-gradient(135deg,
            #d62828,
            #a71919);

    color: #ffd700;

    font-size: 27px;

    box-shadow:
        0 8px 18px rgba(167, 25, 25, 0.22);

}

.public-donation-stat-content {
    min-width: 0;
}

.public-donation-stat-content h4 {
    color: #777;
    font-size: 14px;
    margin-bottom: 3px;
    font-weight: 700;
}

.public-donation-stat-content strong {
    display: block;
    color: #a71919;
    font-size: 27px;
    font-weight: 800;
}

/* =========================================================
YEAR FILTER
========================================================= */

.public-donation-filter {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin: 25px 0 25px;

}

.public-donation-filter label {
    color: #6b2d00;
    font-size: 15px;
    font-weight: 800;
}

.public-donation-filter select {
    min-width: 150px;


    padding: 11px 38px 11px 15px;

    border: 1px solid #e1c98a;
    border-radius: 12px;

    background: white;
    color: #6b2d00;

    font-size: 14px;
    font-weight: 700;

    outline: none;
    cursor: pointer;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.05);

    transition: 0.3s ease;

}

.public-donation-filter select:hover,
.public-donation-filter select:focus {
    border-color: #d62828;


    box-shadow:
        0 0 0 3px rgba(214, 40, 40, 0.08);

}

/* =========================================================
DONATION TABLE WRAPPER
========================================================= */

.public-donation-table-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;

    overflow-x: auto;

    border-radius: 18px;

    background: white;

    border: 1px solid #f0dfb2;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.07);

}

/* Scrollbar */
.public-donation-table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.public-donation-table-wrapper::-webkit-scrollbar-track {
    background: #fff4d2;
    border-radius: 10px;
}

.public-donation-table-wrapper::-webkit-scrollbar-thumb {
    background: #d62828;
    border-radius: 10px;
}

/* =========================================================
DONATION TABLE
========================================================= */

.public-donation-table {
    width: 100%;
    min-width: 720px;

    border-collapse: separate;
    border-spacing: 0;

    background: white;

}

/* Table Header */
.public-donation-table thead th {
    padding: 16px 15px;

    background:
        linear-gradient(135deg,
            #8f1017,
            #d62828);

    color: white;

    font-size: 14px;
    font-weight: 800;

    text-align: left;

    white-space: nowrap;

    border: none;

}

.public-donation-table thead th:first-child {
    border-top-left-radius: 16px;
}

.public-donation-table thead th:last-child {
    border-top-right-radius: 16px;
}

/* Table Body */
.public-donation-table tbody td {
    padding: 15px;

    color: #555;

    font-size: 14px;

    border-bottom: 1px solid #f3ead2;

    background: white;

    vertical-align: middle;

}

/* Alternate Row */
.public-donation-table tbody tr:nth-child(even) td {
    background: #fffaf0;
}

/* Hover */
.public-donation-table tbody tr {
    transition: 0.25s ease;
}

.public-donation-table tbody tr:hover td {
    background: #fff2cf;

    color: #6b2d00;

}

/* Last Row */
.public-donation-table tbody tr:last-child td {
    border-bottom: none;
}

/* Serial Number */
.public-donation-table tbody td:first-child {
    font-weight: 800;
    color: #a71919;
}

/* Donor Name */
.public-donation-table tbody td:nth-child(3) {
    color: #7d0d14;
    font-weight: 800;
}

/* Amount */
.public-donation-table tbody td:nth-child(4) {
    color: #a71919;
    font-weight: 900;
    font-size: 15px;
    white-space: nowrap;
}

/* Payment Mode */
.public-donation-table tbody td:nth-child(5) {
    font-weight: 700;
}

/* Date */
.public-donation-table tbody td:nth-child(6) {
    color: #777;
    white-space: nowrap;
}

/* =========================================================
PAYMENT BADGE
========================================================= */

.public-payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5px 11px;

    border-radius: 20px;

    background: #fff0d0;

    color: #a71919;

    border: 1px solid #f2d18a;

    font-size: 12px;
    font-weight: 800;

    white-space: nowrap;

}

/* =========================================================
DONATION FOOTER NOTE
========================================================= */

.public-donation-note {
    position: relative;
    z-index: 2;

    margin-top: 18px;

    padding: 13px 16px;

    border-radius: 12px;

    background: #fff8e8;

    border-left: 4px solid #f4a300;

    color: #765b32;

    font-size: 13px;

    text-align: center;

}

/* =========================================================
EMPTY DONATION STATE
========================================================= */

.public-donation-empty {
    padding: 45px 20px;
    text-align: center;

    color: #888;

    background: #fffdf8;

}

.public-donation-empty span {
    display: block;

    font-size: 42px;

    margin-bottom: 10px;

}

.public-donation-empty h4 {
    color: #a71919;
    margin-bottom: 5px;
}

/* =========================================================
MOBILE DONATION DESIGN
========================================================= */

@media (max-width: 700px) {
    .donation-records-card {
        padding: 18px 12px;
        border-radius: 16px;
    }

    .donation-records-card h3 {
        font-size: 21px;
    }

    .donation-records-card>p {
        font-size: 12px;
    }

    .donation-summary {
        gap: 8px;
    }

    .summary-box {
        min-height: 70px;
        padding: 10px 12px;
        gap: 9px;
    }

    .summary-box>span {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .summary-box h4 {
        font-size: 11px;
    }

    .summary-box strong {
        font-size: 19px;
    }

    .public-donation-table thead th,
    .public-donation-table tbody td {
        padding: 7px 8px;
        font-size: 11px;
    }

    .public-donation-card {
        padding: 25px 15px;
        border-radius: 22px;
    }

    .public-donation-intro h3 {
        font-size: 25px;
    }

    .public-donation-intro p {
        font-size: 13px;
    }

    .public-donation-summary {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .public-donation-stat {
        padding: 18px;
    }

    .public-donation-stat-icon {
        width: 52px;
        height: 52px;
        font-size: 23px;
    }

    .public-donation-stat-content strong {
        font-size: 24px;
    }

    .public-donation-filter {
        flex-direction: column;
        gap: 8px;
    }

    .public-donation-filter select {
        width: 100%;
        min-width: 0;
    }

    .public-donation-table-wrapper {
        border-radius: 14px;
    }

    .public-donation-table {
        min-width: 680px;
    }

    .public-donation-table thead th,
    .public-donation-table tbody td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .public-donation-note {
        font-size: 12px;
        text-align: left;
    }


}

/* =========================================================
   CONTRIBUTORS
========================================================= */

.contributors-container {
    width: 100%;

    max-height: 400px;

    overflow-x: auto;
    overflow-y: auto;

    margin-top: 20px;

    background: white;

    border-radius: 12px;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.08);

    -webkit-overflow-scrolling: touch;
}

/* Contributors Table */

.contributors-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
    background: white;
}

.contributors-table th {
    background: #a71919;
    color: white;

    padding: 12px 10px;

    text-align: center;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;
}

.contributors-table td {
    padding: 11px 10px;

    border-bottom: 1px solid #ddd;

    color: #333;

    font-size: 14px;

    text-align: center;

    vertical-align: middle;
}

.contributors-table tbody tr:nth-child(even) {
    background: #fff8e7;
}

.contributors-table tbody tr:hover {
    background: #fff0c2;
}

/* S.No. */

.contributors-table th:first-child,
.contributors-table td:first-child {
    width: 60px;
    text-align: center;
}

/* Mobile */

@media (max-width: 600px) {

    .contributors-container {
        width: 100%;

        overflow-x: auto;

        border-radius: 10px;

        -webkit-overflow-scrolling: touch;
    }

    .contributors-table {
        min-width: 850px;
    }

    .contributors-table th {
        padding: 10px 8px;
        font-size: 12px;
    }

    .contributors-table td {
        padding: 9px 8px;
        font-size: 12px;
    }
}

/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    max-width: 950px;
}

.contact-card {
    background: white;

    padding: 40px;

    border-radius: 25px;

    text-align: center;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.1);

    border-top: 5px solid #d62828;
}

.contact-card h3 {
    color: #a71919;

    font-size: 25px;

    margin-bottom: 15px;
}

.contact-card p {
    margin: 10px 0;
}

#contactForm {
    margin-top: 30px;

    display: grid;

    gap: 15px;

    text-align: left;
}


/* =========================================================
   LOCATION
========================================================= */

.location-section {
    max-width: 950px;
}

.location-card {
    background: white;

    padding: 40px;

    text-align: center;

    border-radius: 25px;

    border: 8px solid #d62828;

    box-shadow:
        0 12px 30px #3b8d0c1a;
}

.location-card h3 {
    color: hsl(0, 85%, 46%);

    font-size: 35px;

    margin-bottom: 15px;
}

.location-card p {
    color: #650bb9;

    margin: 15px 0 25px;

    font-size: 20px;
}


/* =========================================================
   FOOTER
========================================================= */
/* =========================================================
   PREMIUM DURGA PUJA FOOTER
========================================================= */

.footer {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 215, 0, 0.12),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #3b0505 0%,
            #650b12 48%,
            #420606 100%
        );

    color: #fff8e7;
    text-align: center;

    padding: 45px 20px 30px;

    /* REMOVE OLD GREEN SIDE BORDERS */
    border-left: none;
    border-right: none;

    border-top: 2px solid #d4a017;

    box-shadow:
        0 -5px 25px rgba(80, 0, 0, 0.25);
}


/* Subtle golden top glow */

.footer::before {
    content: "";

    position: absolute;

    top: 0;
    left: 12%;
    right: 12%;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        #ffd700,
        transparent
    );
}


/* Footer Heading */

.footer h3 {
    color: #ffd45a;

    font-size: 25px;

    margin-bottom: 10px;

    text-shadow:
        0 2px 8px rgba(255, 215, 0, 0.20);
}


/* Footer Text */

.footer p {
    margin: 8px 0;

    color: #fff8e7;
}


/* Footer Divider */

.footer hr {
    max-width: 550px;

    margin: 22px auto;

    border: none;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.75),
        transparent
    );
}

/* =========================================================
   GENERAL ANIMATION
========================================================= */

@keyframes cardGlow {

    0%,
    100% {
        box-shadow:
            0 8px 25px rgba(0, 0, 0, 0.08);
    }

    50% {
        box-shadow:
            0 10px 30px rgba(244, 163, 0, 0.18);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .navbar {
        padding-left: 3%;
        padding-right: 3%;
    }

    #mainNav>ul {
        gap: 0;
    }

    .navbar a,
    .dropdown-toggle {
        padding: 8px 7px;

        font-size: 13px;
    }

    .hero-content {
        gap: 35px;
    }

    .hero-image {
        flex-basis: 330px;
    }

    .image-frame {
        width: 310px;
        height: 390px;
    }

    .program-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .members-container {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* =========================================================
   FINAL RESPONSIVE HEADER
   MOBILE + TABLET FIRST
========================================================= */

* {
    box-sizing: border-box;
}

/* -----------------------------
   LANGUAGE BAR
----------------------------- */

.language-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    min-height: 38px;
    height: 38px;

    padding: 3px 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    z-index: 9999;
}

/* -----------------------------
   NAVBAR
----------------------------- */

.navbar {
    position: fixed;
    top: 38px;
    left: 0;

    width: 100%;

    min-height: 78px;

    padding: 7px 2%;

    z-index: 9998;

    display: flex;
    align-items: center;
}

/* Page starts below both bars */

body {
    padding-top: 118px !important;
}

html {
    scroll-padding-top: 116px;
}

section {
    scroll-margin-top: 116px;
}


/* =========================================================
   TABLET
   601px – 900px
========================================================= */

@media (min-width: 601px) and (max-width: 900px) {

    .language-bar {
        height: 38px;
        min-height: 38px;

        padding: 3px 12px;
    }

    .language-bar span {
        font-size: 11px;
    }

    .language-bar button {
        padding: 5px 10px;
        font-size: 11px;
    }

    .navbar {
        top: 38px;

        min-height: 78px;

        padding: 7px 18px;
    }

    .logo-box {
        width: 58px;
        height: 58px;
    }

    .brand-text h2 {
        font-size: 18px;
    }

    .brand-text p {
        font-size: 11px;
    }

    /* Hamburger */

    .menu-toggle {
        display: block;
        flex-shrink: 0;
    }

    #mainNav {
        width: 100%;
        display: none;
        order: 3;
    }

    #mainNav.active {
        display: block;
    }

    #mainNav>ul {
        width: 100%;
        flex-direction: column;
        align-items: stretch;

        padding: 8px 0;
        gap: 3px;
    }

    #mainNav>ul>li {
        width: 100%;
    }

    .navbar a,
    .dropdown-toggle {
        width: 100%;
        padding: 11px 15px;
    }

    .dropdown-menu {
        position: static;

        width: 100%;

        display: none;

        transform: none;
        opacity: 1;
        visibility: visible;

        box-shadow: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    body {
        padding-top: 116px;
    }

    html {
        scroll-padding-top: 116px;
    }

    section {
        scroll-margin-top: 116px;
    }
}


/* =========================================================
   MOBILE
   320px – 600px
========================================================= */

@media (max-width: 600px) {

    .language-bar {
        height: 36px;
        min-height: 36px;

        padding: 2px 5px;

        gap: 5px;

        overflow: hidden;
    }

    .language-bar span {
        font-size: 10px;

        white-space: nowrap;

        max-width: 55vw;

        overflow: hidden;
        text-overflow: ellipsis;
    }

    .language-bar button {
        padding: 4px 7px;

        font-size: 10px;

        white-space: nowrap;
    }


    /* NAVBAR */

    .navbar {
        top: 36px;

        min-height: 72px;

        padding: 6px 10px;

        gap: 8px;
    }


    /* LOGO */

    .logo-box {
        width: 54px;
        height: 54px;

        flex-shrink: 0;
    }


    /* BRAND */

    .brand {
        gap: 8px;

        min-width: 0;

        flex: 1;
    }

    .brand-text {
        min-width: 0;
    }

    .brand-text h2 {
        font-size: 15px;

        line-height: 1.15;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .brand-text p {
        font-size: 9px;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }


    /* HAMBURGER */

    .menu-toggle {
        display: block;

        width: 42px;
        height: 42px;

        flex-shrink: 0;

        font-size: 22px;
    }


    /* MOBILE NAV */

    #mainNav {
        width: 100%;

        display: none;

        order: 3;
    }

    #mainNav.active {
        display: block;
    }

    #mainNav>ul {
        width: 100%;

        flex-direction: column;

        align-items: stretch;

        gap: 3px;

        padding: 8px 0;
    }

    #mainNav>ul>li {
        width: 100%;
    }


    .navbar a,
    .dropdown-toggle {
        width: 100%;

        padding: 11px 13px;

        font-size: 14px;

        border-radius: 8px;
    }


    /* MOBILE DROPDOWN */

    .dropdown-menu {
        position: static;

        width: 100%;

        display: none;

        transform: none;

        opacity: 1;

        visibility: visible;

        box-shadow: none;

        border: none;

        border-radius: 8px;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }


    /* CONTENT */

    body {
        padding-top: 108px;

        overflow-x: hidden;
    }

    html {
        scroll-padding-top: 108px;

        overflow-x: hidden;
    }

    section {
        scroll-margin-top: 108px;
    }


    /* HERO */

    .hero {
        min-height: calc(100vh - 108px);

        padding: 45px 18px;
    }

    .hero-content {
        width: 100%;

        flex-direction: column;

        text-align: center;

        gap: 25px;
    }

    .hero-text {
        width: 100%;
    }

    .hero-buttons {
        justify-content: center;

        flex-wrap: wrap;
    }
}


/* =========================================================
   VERY SMALL PHONES
   <= 380px
========================================================= */

@media (max-width: 380px) {

    .logo-box {
        width: 48px;
        height: 48px;
    }

    .brand-text h2 {
        font-size: 13px;
    }

    .brand-text p {
        display: none;
    }

    .menu-toggle {
        width: 39px;
        height: 39px;
    }

    .language-bar span {
        font-size: 9px;
        max-width: 48vw;
    }

    .language-bar button {
        padding: 3px 6px;
        font-size: 9px;
    }

    .navbar {
        min-height: 68px;
    }

    body {
        padding-top: 104px;
    }

    html {
        scroll-padding-top: 104px;
    }

    section {
        scroll-margin-top: 104px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(244, 163, 0, 0.5);

    outline-offset: 2px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }

}

/* =====================================================
   ADMIN LOGIN BUTTON
===================================================== */

.admin-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 9px 16px;

    border-radius: 25px;

    text-decoration: none;

    font-weight: 700;
    font-size: 14px;

    color: #ffffff !important;

    background: linear-gradient(135deg,
            #7b2ff7,
            #f107a3);

    box-shadow:
        0 4px 15px rgba(123, 47, 247, 0.35);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* HOVER */

.admin-login:hover {

    transform: translateY(-2px);

    background: linear-gradient(135deg,
            #f107a3,
            #7b2ff7);

    box-shadow:
        0 7px 22px rgba(123, 47, 247, 0.50);
}


/* CLICK */

.admin-login:active {

    transform: translateY(0);

}


/* MOBILE */

@media (max-width: 768px) {

    .admin-login {

        width: 100%;

        padding: 12px 16px;

        margin-top: 8px;

        border-radius: 10px;

    }

}

/* =========================================================
PREMIUM PUBLIC DONATION RECORDS
Existing HTML Compatible
========================================================= */

.donation-records-section {
    max-width: 1200px;
    position: relative;
}

/* =========================================================
MAIN DONATION RECORD CARD
========================================================= */

.donation-records-card {
    position: relative;
    overflow: hidden;

    padding: 40px;

    border-radius: 30px;

    background:
        linear-gradient(145deg,
            #fffdf8,
            #fff8e8,
            #ffffff);

    border: 8px solid #8f1017;

    box-shadow:
        0 20px 50px rgba(105, 40, 0, 0.10),
        0 5px 18px rgba(0, 0, 0, 0.05);

}

/* Decorative Golden Glow */

.donation-records-card::before {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    top: -190px;
    right: -120px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(255, 215, 0, 0.32),
            rgba(255, 193, 7, 0.10),
            transparent 70%);

    pointer-events: none;

}

/* Decorative Red Glow */

.donation-records-card::after {
    content: "";
    position: absolute;

    width: 280px;
    height: 280px;

    bottom: -180px;
    left: -130px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(214, 40, 40, 0.13),
            transparent 70%);

    pointer-events: none;

}

/* =========================================================
TITLE
========================================================= */

.donation-records-card h3 {
    position: relative;
    z-index: 2;

    margin-bottom: 10px;

    color: #a71919;

    font-size: clamp(25px, 3vw, 34px);

    font-weight: 800;

    text-align: center;

    text-shadow:
        0 2px 8px rgba(214, 40, 40, 0.10);

}

/* Golden underline */

.donation-records-card h3::after {
    content: "";


    display: block;

    width: 75px;
    height: 4px;

    margin: 10px auto 0;

    border-radius: 20px;

    background:
        linear-gradient(90deg,
            #d62828,
            #ffd700,
            #d62828);

}

/* Description */

.donation-records-card>p {
    position: relative;
    z-index: 2;

    max-width: 850px;

    margin: 12px auto 28px;

    color: #000000;


    font-size: 25px;

    line-height: 1.7;

    text-align: center;


}

/* =========================================================
YEAR FILTER
========================================================= */

.record-controls {
    position: relative;
    z-index: 3;


    display: flex;

    justify-content: center;
    align-items: center;

    margin: 25px 0 30px;


}

.record-controls>div {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 10px 14px;

    border-radius: 15px;

    background: rgba(244, 163, 0, 0.90);
    /* Orange Yellow */
    border: 1px solid #0000;

    box-shadow:
        0 7px 20px rgba(120, 25, 0, 0.07);


}

.record-controls label {
    color: #6b2d00;

    font-size: 14px;

    font-weight: 800;

    white-space: nowrap;

}

.record-controls select {
    min-width: 150px;

    padding: 10px 35px 10px 14px;

    border: 1px solid #e2c783;

    border-radius: 10px;

    background: white;

    color: #6b2d00;

    font-size: 14px;

    font-weight: 700;

    outline: none;

    cursor: pointer;

    transition: 0.3s ease;


}

.record-controls select:hover,
.record-controls select:focus {
    border-color: #d62828;
    box-shadow:
        0 0 0 3px rgba(214, 40, 40, 0.08);


}

/* =========================================================
SUMMARY CARDS
========================================================= */

.donation-summary {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;

    margin-bottom: 32px;

}

.summary-box {
    position: relative;

    overflow: hidden;

    min-height: 125px;

    padding: 20px 25px;

    display: flex;

    align-items: center;

    gap: 18px;

    text-align: left;

    border-radius: 20px;

    background:
        linear-gradient(135deg,
            #ffffff,
            #fff8e7);

    border: 5px solid hsl(155, 63%, 43%);

    box-shadow:
        0 10px 28px rgba(105, 40, 0, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}

.summary-box:hover {
    transform: translateY(-6px);
    box-shadow:
        0 16px 35px rgba(184, 8, 90, 0.14);

}

/* Icon */

.summary-box>span {
    width: 62px;
    height: 62px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background:
        linear-gradient(135deg,
            #a71919,
            #d62828);

    color: #ffd700;

    font-size: 28px;

    box-shadow:
        0 8px 20px rgba(79, 172, 107, 0.22);


}

/* Summary heading */

.summary-box h4 {
    margin: 0 0 3px;
    color: #777;

    font-size: 14px;

    font-weight: 700;

}

/* Summary number */

.summary-box strong {
    display: block;

    color: #a71919;

    font-size: 40px;

    font-weight: 900;

    line-height: 1.2;


}

/* =========================================================
TABLE OUTER CONTAINER
========================================================= */

.donation-table-container {
    position: relative;
    z-index: 2;

    width: 100%;

    overflow-x: auto;

    border-radius: 20px;

    background: white;

    border: 1px solid #eedba8;

    box-shadow:
        0 12px 30px rgba(48, 20, 148, 0.08);

}

/* Custom scrollbar */

.donation-table-container::-webkit-scrollbar {
    height: 8px;
}

.donation-table-container::-webkit-scrollbar-track {
    background: #fff3d2;

    border-radius: 10px
}

.donation-table-container::-webkit-scrollbar-thumb {
    background: #d62828;

    border-radius: 10px;

}

.donation-table-container::-webkit-scrollbar-thumb:hover {
    background: #a71919;
}

/* =========================================================
DONATION TABLE
========================================================= */

.donation-table {
    width: 100%;


    min-width: 720px;

    border-collapse: separate;

    border-spacing: 0;

    background: white;

}

/* =========================================================
TABLE HEADER
========================================================= */

.donation-table thead th {
    padding: 17px 15px;

    background:
        linear-gradient(135deg,
            #8f1017,
            #d62828,
            #a71919);

    color: white;

    font-size: 14px;

    font-weight: 800;

    text-align: left;

    white-space: nowrap;

    border: none;

}

.donation-table thead th:first-child {
    border-top-left-radius: 18px;
}

.donation-table thead th:last-child {
    border-top-right-radius: 18px;
}

/* =========================================================
TABLE BODY
========================================================= */

.donation-table tbody td {
    padding: 16px 15px;

    color: #555;

    font-size: 14px;

    border-bottom: 1px solid #f1e5c7;

    vertical-align: middle;

    background: white;

}

/* Alternate rows */

.donation-table tbody tr:nth-child(even) td {
    background: #fffaf1;
}

/* Row animation */

.donation-table tbody tr {
    transition: 0.25s ease;
}

.donation-table tbody tr:hover td {
    background: #fff1cc;

    color: #6b2d00;

}

/* Remove border from last row */

.donation-table tbody tr:last-child td {
    border-bottom: none;
}

/* =========================================================
SERIAL NUMBER
========================================================= */

.donation-table tbody td:first-child {
    width: 80px;

    color: #a71919;

    font-weight: 900;

    text-align: center;


}

/* =========================================================
YEAR
========================================================= */

.donation-table tbody td:nth-child(2) {
    color: #765b32;

    font-weight: 700;


}

/* =========================================================
CONTRIBUTOR
========================================================= */

.donation-table tbody td:nth-child(3) {
    color: #7d0d14;

    font-weight: 800;

    min-width: 170px;

}

/* =========================================================
AMOUNT
========================================================= */

.donation-table tbody td:nth-child(4) {
    color: #a71919;

    font-size: 16px;

    font-weight: 900;

    white-space: nowrap;

}

/* =========================================================
PAYMENT METHOD
========================================================= */

.donation-table tbody td:nth-child(5) {
    font-weight: 700;

    white-space: nowrap;

}

/* =========================================================
DATE
========================================================= */

.donation-table tbody td:nth-child(6) {
    color: #ad2c2c;

    white-space: nowrap;

}

/* =========================================================
PAYMENT BADGE
Works automatically if JS adds this class
========================================================= */

.payment-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 5px 11px;

    border-radius: 20px;

    background: #fff1d2;

    border: 1px solid #efd18b;

    color: #a71919;

    font-size: 12px;

    font-weight: 800;

    white-space: nowrap;

}

/* =========================================================
EMPTY RECORD
========================================================= */

.donation-table tbody td[colspan="6"] {
    padding: 45px 20px;

    text-align: center;

    color: #888;

    font-size: 15px;

    background: #fffdf8 !important;


}

/* =========================================================
TABLET
========================================================= */

@media (max-width: 800px) {

    .donation-records-card {
        padding: 30px 22px;
    }

    .donation-summary {
        gap: 15px;
    }

    .summary-box {
        padding: 20px;
    }

    .summary-box>span {
        width: 55px;
        height: 55px;

        font-size: 24px;
    }

    .summary-box strong {
        font-size: 26px;
    }

}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 600px) {

    .donation-records-card {
        padding: 25px 15px;

        border-radius: 22px;
    }

    .donation-records-card h3 {
        font-size: 24px;
    }

    .donation-records-card>p {
        font-size: 13px;

        line-height: 1.6;
    }

    /* Filter */

    .record-controls {
        margin: 20px 0 25px;
    }

    .record-controls>div {
        width: 100%;

        flex-direction: column;

        align-items: stretch;

        gap: 8px;

        padding: 13px;
    }

    .record-controls label {
        text-align: center;
    }

    .record-controls select {
        width: 100%;
    }

    /* Summary */

    .donation-summary {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .summary-box {
        min-height: 105px;

        padding: 18px;
    }

    .summary-box>span {
        width: 52px;
        height: 52px;

        border-radius: 15px;

        font-size: 23px;
    }

    .summary-box strong {
        font-size: 25px;
    }

    /* Table */

    .donation-table-container {
        border-radius: 15px;
    }

    .donation-table {
        min-width: 700px;
    }

    .donation-table thead th {
        padding: 13px 10px;

        font-size: 12px;
    }

    .donation-table tbody td {
        padding: 13px 10px;

        font-size: 12px;
    }

    .donation-table tbody td:nth-child(4) {
        font-size: 14px;
    }


}

/* =========================================================
EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .donation-records-card {
        padding: 22px 12px;
    }

    .donation-records-card h3 {
        font-size: 21px;
    }

    .summary-box h4 {
        font-size: 13px;
    }

    .summary-box strong {
        font-size: 23px;
    }

}

/* =========================================================
   WHOLE WEBSITE BACKGROUND VIDEO
========================================================= */

.website-background-video {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    object-fit: cover;

    z-index: 0;

    pointer-events: none;
}

/* Dark Overlay */

.website-video-overlay {
    position: fixed;
    inset: 0;

    background: rgba(14, 131, 43, 0.15);



    z-index: 1;

    pointer-events: none;
}

/* Website Content Above Video */

body {
    position: relative;
    background: transparent;
}

/* All Website Content Above Video */

body>*:not(.website-background-video):not(.website-video-overlay) {
    position: relative;

}


/* Dropdown header ke upar nahi aayega */
.dropdown-menu {
    z-index: 10000;
}


/* ---------- DESKTOP ---------- */



body {
    padding-top: 0 !important;
}

section {
    scroll-margin-top: 127px !important;
}

.dropdown-menu {
    z-index: 10000 !important;
}


/* =========================================================
   MOBILE FIX
========================================================= */

@media (max-width: 900px) {

    /* Language Bar fixed */
    .language-bar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;
        min-height: 45px !important;
        height: 45px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex-wrap: nowrap !important;

        padding: 5px 8px !important;

        z-index: 9999 !important;
    }

    /* Language text */
    .language-bar span {
        width: auto !important;
        margin-bottom: 0 !important;

        font-size: 12px !important;
        white-space: nowrap !important;
    }

    /* Language buttons */
    .language-bar button {
        padding: 5px 10px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
    }


    /* =====================================================
       MOBILE NAVBAR FIXED BELOW LANGUAGE BAR
    ===================================================== */

    .navbar {
        position: fixed !important;

        top: 45px !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;

        min-height: 75px !important;

        z-index: 9998 !important;

        flex-wrap: wrap !important;
    }


    /* =====================================================
       MOBILE MENU
    ===================================================== */

    #mainNav {
        position: relative !important;
        z-index: 9997 !important;
    }

    #mainNav.active {
        display: block !important;
    }

    #mainNav>ul {
        width: 100% !important;
    }


    /* Dropdown header ke andar hi rahe */
    .dropdown-menu {
        position: static !important;

        width: 100% !important;

        z-index: 10000 !important;

        transform: none !important;
    }


    /* =====================================================
       PAGE CONTENT HEADER KE NICHE
    ===================================================== */

    body {
        padding-top: 120px !important;
    }


    /* =====================================================
       SECTION ANCHOR FIX
    ===================================================== */

    section {
        scroll-margin-top: 120px !important;
    }

    html {
        scroll-padding-top: 120px !important;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .language-bar {
        height: 45px !important;
        min-height: 45px !important;
        padding: 5px 6px !important;
        gap: 5px !important;
    }

    .language-bar span {
        font-size: 11px !important;
    }

    .language-bar button {
        padding: 5px 8px !important;
        font-size: 10px !important;
    }

    .navbar {
        top: 45px !important;
        min-height: 75px !important;
    }

    body {
        padding-top: 120px !important;
    }

    section {
        scroll-margin-top: 120px !important;
    }

    html {
        scroll-padding-top: 120px !important;
    }
}


/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .language-bar {
        gap: 3px !important;
        padding: 4px !important;
    }

    .language-bar span {
        font-size: 9px !important;
    }

    .language-bar button {
        padding: 4px 6px !important;
        font-size: 9px !important;
    }
}

/* =========================================================
   FINAL GALLERY IMAGE VIEWER
========================================================= */

#galleryImageViewer {
    position: fixed !important;
    inset: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, 0.92);

    z-index: 999999 !important;

    overflow: hidden;

    cursor: default;
}


/* OPEN VIEWER */

#galleryImageViewer.active {
    display: flex !important;
}


/* =========================================================
   VIEWER IMAGE
========================================================= */

#galleryImageViewer .gallery-viewer-image {
    display: block;

    width: auto !important;
    height: auto !important;

    max-width: 85vw !important;
    max-height: 80vh !important;

    object-fit: contain !important;

    border-radius: 10px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55);

    cursor: default;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

#galleryImageViewer .gallery-viewer-close {
    position: absolute;

    top: 18px;
    right: 22px;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);

    color: white;

    font-size: 23px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 10;

    transition: 0.2s ease;
}

#galleryImageViewer .gallery-viewer-close:hover {
    background: rgba(255, 255, 255, 0.35);

    transform: scale(1.08);
}


/* =========================================================
   PREVIOUS / NEXT BUTTONS
========================================================= */

#galleryImageViewer .gallery-viewer-prev,
#galleryImageViewer .gallery-viewer-next {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);

    color: white;

    font-size: 20px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 10;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


#galleryImageViewer .gallery-viewer-prev {
    left: 20px;
}


#galleryImageViewer .gallery-viewer-next {
    right: 20px;
}


#galleryImageViewer .gallery-viewer-prev:hover,
#galleryImageViewer .gallery-viewer-next:hover {
    background: rgba(255, 255, 255, 0.35);

    transform:
        translateY(-50%) scale(1.08);
}


/* =========================================================
   GALLERY PHOTO CLICK
========================================================= */

.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    cursor: zoom-in;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    #galleryImageViewer {
        padding: 15px;
    }


    #galleryImageViewer .gallery-viewer-image {
        max-width: 82vw !important;
        max-height: 75vh !important;
    }


    #galleryImageViewer .gallery-viewer-prev,
    #galleryImageViewer .gallery-viewer-next {

        width: 40px;
        height: 40px;

        font-size: 17px;
    }


    #galleryImageViewer .gallery-viewer-prev {
        left: 8px;
    }


    #galleryImageViewer .gallery-viewer-next {
        right: 8px;
    }


    #galleryImageViewer .gallery-viewer-close {

        top: 10px;
        right: 10px;

        width: 38px;
        height: 38px;

        font-size: 20px;
    }

}

/* =========================================================
   COMPACT PUBLIC DONATION RECORDS
========================================================= */

.donation-records-section {
    max-width: 850px;
}

.donation-records-card {
    padding: 25px;
    border-radius: 20px;
}

/* Title */
.donation-records-card h3 {
    font-size: 24px;
    margin-bottom: 6px;
}

.donation-records-card h3::after {
    width: 55px;
    height: 3px;
    margin-top: 7px;
}

/* Description */
.donation-records-card>p {
    margin: 8px auto 18px;
    font-size: 13px;
    line-height: 1.5;
}

/* Year filter */
.record-controls {
    margin: 15px 0 18px;
}

.record-controls>div {
    gap: 8px;
    padding: 7px 10px;
    border-radius: 10px;
}

.record-controls label {
    font-size: 12px;
}

.record-controls select {
    min-width: 120px;
    padding: 7px 28px 7px 10px;
    font-size: 12px;
    border-radius: 7px;
}

/* Summary cards */
.donation-summary {
    gap: 10px;
    margin-bottom: 18px;
}

.summary-box {
    min-height: 65px;
    padding: 10px 12px;
    gap: 10px;
    border-radius: 12px;
}

.summary-box>span {
    width: 35px;
    height: 35px;
    border-radius: 12px;
    font-size: 19px;
}

.summary-box h4 {
    font-size: 10px;
}

.summary-box strong {
    font-size: 18px;
}

/* Table */
.donation-table-container {
    border-radius: 12px;
}

.public-donation-table {
    min-width: 550px;
}

.public-donation-table thead th {
    padding: 6px 8px;
    font-size: 12px;
}

.public-donation-table tbody td {
    padding: 6px 8px;
    font-size: 12px;
}

.public-donation-table tbody td:nth-child(4) {
    font-size: 11px;
}

/* Payment badge */
.public-payment-badge {
    padding: 2px 5px;
    font-size: 10px;
}

/* Footer note */
.public-donation-note {
    margin-top: 10px;
    padding: 6px 10px;
    font-size: 9px;
}

/* =========================================================
   COMPACT CONTACT SECTION
========================================================= */

.contact-section {
    max-width: 750px;

}

.contact-card {
    padding: 25px 30px;
    border-radius: 18px;
    border: 6px solid #1d51e0;
}

/* Contact Title */
.contact-card h3 {
    font-size: 21px;
    margin-bottom: 5px;
}

/* Contact Text */
.contact-card p {
    margin: 7px 0;
    font-size: 16px;
}

/* Contact Form */
#contactForm {
    margin-top: 18px;
    gap: 10px;
}

/* Form Groups */
#contactForm .form-group {
    margin-bottom: 0;
}

/* Labels */
#contactForm .form-group label {
    font-size: 15px;
    margin-bottom: 4px;
}

/* Inputs + Textarea */
#contactForm .form-group input,
#contactForm .form-group textarea {
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 7px;
    min-height: 36px;
}

/* Textarea */
#contactForm .form-group textarea {
    min-height: 65px;
}

/* Submit Button */
#contactForm .btn {
    padding: 8px 18px;
    font-size: 12px;
    border-radius: 4px;
}

/* =========================================================
   CONTACT FORM - SMALL INPUT FIELDS
========================================================= */

#contactForm .form-group {
    margin-bottom: 8px;
}

#contactForm .form-group label {
    font-size: 12px;
    margin-bottom: 4px;
}

#contactForm .form-group input,
#contactForm .form-group textarea {
    padding: 7px 10px;
    font-size: 12px;
    border-radius: 7px;
    min-height: 34px;
    height: 34px;
}

#contactForm .form-group textarea {
    height: 65px;
    min-height: 65px;
    resize: vertical;
}

/* =========================================================
   PUBLIC DONATION YEAR SELECT
========================================================= */

#publicDonationYear {
    width: 130px;
    max-height: 150px;
    padding: 7px 10px;
    font-size: 12px;
    border-radius: 7px;
    cursor: pointer;
}

/* =========================================================
   YEARLY DONATION RECORD - CUSTOM YEAR DROPDOWN
========================================================= */

.year-dropdown {
    position: relative;
    width: 100%;
    max-width: 260px;
}

.year-dropdown-btn {
    width: 100%;
    min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 14px;

    border: 1px solid #ddd;
    border-radius: 8px;

    background: #fff;
    color: #333;

    font-size: 15px;
    cursor: pointer;
}

.year-dropdown-btn:hover {
    border-color: #999;
}

.year-dropdown-arrow {
    font-size: 11px;
    margin-left: 10px;
}


/* DROPDOWN MENU */

.year-dropdown-menu {
    position: absolute;

    top: calc(100% + 5px);
    left: 0;
    right: 0;

    display: none;

    max-height: 132px;

    overflow-y: auto;

    background: #fff;

    border: 1px solid #ddd;
    border-radius: 8px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);

    z-index: 9999;
}


/* OPEN */

.year-dropdown.open .year-dropdown-menu {
    display: block;
}


/* EACH YEAR */

.year-option {
    padding: 10px 14px;

    font-size: 14px;

    cursor: pointer;

    white-space: nowrap;
}

.year-option:hover {
    background: #f3f3f3;
}

.year-option.active {
    font-weight: 600;
}


/* SCROLLBAR */

.year-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.year-dropdown-menu::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #aaa;
}

.year-dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* =========================================================
   LIVE DARSHAN - FULL SIZE
========================================================= */

.live-section {
    width: 100%;
    padding: 80px 60px;
}

.live-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    min-height: 400px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;
    overflow: hidden;
}

.live-container iframe {
    width: 100%;
    height: 600px;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

.live-container video {
    width: 100%;
    height: 600px;
    max-height: 700px;
    display: block;
    object-fit: contain;
}

/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 768px) {

    .live-section {
        padding: 25px 10px;
    }

    .live-container {
        min-height: 250px;
        border-radius: 10px;
    }

    .live-container iframe {
        height: 300px;
    }

    .live-container video {
        width: 100%;
        max-height: 400px;
    }
}

/* =========================================================
   FESTIVE LANGUAGE BAR
   Desktop + Tablet + Mobile
========================================================= */

.language-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    height: 42px !important;

    display: flex !important;
    align-items: center !important;

    padding: 0 10px !important;
    box-sizing: border-box !important;

    overflow: hidden !important;

    background:
        radial-gradient(circle at 15% 50%,
            rgba(255, 215, 0, .25) 0 2px,
            transparent 4px),
        radial-gradient(circle at 40% 25%,
            rgba(255, 255, 255, .22) 0 2px,
            transparent 4px),
        radial-gradient(circle at 70% 70%,
            rgba(255, 215, 0, .25) 0 2px,
            transparent 4px),
        linear-gradient(90deg,
            #35005f,
            #72001f,
            #4b006e,
            #180047) !important;

    border-bottom: 2px solid #ffd700 !important;

    box-shadow:
        0 0 10px rgba(255, 215, 0, .7),
        inset 0 0 15px rgba(255, 215, 0, .2) !important;

    z-index: 99999 !important;
}


/* =========================================================
   ROTATING TEXT
========================================================= */

.language-marquee {
    flex: 1 1 auto !important;
    min-width: 0 !important;

    overflow: hidden !important;
}


.language-track {
    display: flex !important;

    width: max-content !important;

    white-space: nowrap !important;

    animation:
        languageMove 25s linear infinite !important;
}


.language-track span {
    flex-shrink: 0 !important;

    padding-right: 60px !important;

    font-size: 17px !important;
    font-weight: 900 !important;

    line-height: 42px !important;

    white-space: nowrap !important;

    background: linear-gradient(90deg,
            #ffd700,
            #ff8c00,
            #ff3030,
            #ff4fd8,
            #00eaff,
            #63ff8c,
            #fff000,
            #ffd700) !important;

    background-size: 400% 100% !important;

    -webkit-background-clip: text !important;
    background-clip: text !important;

    -webkit-text-fill-color: transparent !important;

    animation:
        languageShine 5s linear infinite !important;
}


@keyframes languageMove {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


@keyframes languageShine {

    0% {
        background-position: 0% 50%;

        filter:
            brightness(1.1) drop-shadow(0 0 3px #ffd700);
    }

    50% {
        background-position: 100% 50%;

        filter:
            brightness(1.55) drop-shadow(0 0 5px #fff) drop-shadow(0 0 12px #ffd700) drop-shadow(0 0 16px #ff4fd8);
    }

    100% {
        background-position: 0% 50%;

        filter:
            brightness(1.1) drop-shadow(0 0 3px #ffd700);
    }

}


/* =========================================================
   LANGUAGE BUTTONS
========================================================= */

.language-buttons {
    flex: 0 0 auto !important;

    display: flex !important;
    flex-direction: row !important;

    align-items: center !important;

    gap: 6px !important;

    margin-left: 8px !important;

    z-index: 20 !important;
}


.language-buttons button {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    min-width: 70px !important;
    height: 28px !important;

    margin: 0 !important;
    padding: 3px 8px !important;

    border: 1px solid #ffd700 !important;
    border-radius: 16px !important;

    background: linear-gradient(135deg,
            #fff8dc,
            #ffd700) !important;

    color: #72001f !important;

    font-size: 10px !important;
    font-weight: 800 !important;

    line-height: normal !important;

    white-space: nowrap !important;

    cursor: pointer !important;

    box-shadow:

        0 0 6px rgba(255, 215, 0, .7) !important;
}


.language-buttons button:hover,
.language-buttons button.active {

    background: linear-gradient(135deg,
            #ff3030,
            #ff8c00) !important;

    color: #fff !important;

    box-shadow:
        0 0 8px #ffd700,
        0 0 14px rgba(255, 140, 0, .8) !important;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed !important;

    top: 42px !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;

    z-index: 9998 !important;
}


/* CONTENT POSITION */

body {
    padding-top: 123px !important;
}

html {
    scroll-padding-top: 123px !important;
}

section {
    scroll-margin-top: 123px !important;
}

/* =========================================================
   TABLET
========================================================= */

@media (min-width: 601px) and (max-width: 900px) {

    .language-bar {
        height: 40px !important;
        padding: 0 8px !important;
    }

    .language-track {
        animation-duration: 23s !important;
    }

    .language-track span {
        font-size: 14px !important;
        line-height: 40px !important;
        padding-right: 50px !important;
    }

    .language-buttons {
        gap: 5px !important;
        margin-left: 6px !important;
    }

    .language-buttons button {
        min-width: 62px !important;
        height: 27px !important;

        padding: 3px 6px !important;
        font-size: 9px !important;
    }

    .navbar {
        top: 40px !important;
    }

    body {
        padding-top: 116px !important;
    }

    html {
        scroll-padding-top: 116px !important;
    }

    section {
        scroll-margin-top: 116px !important;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .language-bar {
        height: 38px !important;
        padding: 0 5px !important;
    }

    .language-track {
        animation-duration: 10s !important;
    }

    .language-track span {
        font-size: 10px !important;
        line-height: 38px !important;
        padding-right: 35px !important;
    }

    .language-buttons {
        gap: 4px !important;
        margin-left: 4px !important;
    }

    .language-buttons button {
        min-width: 55px !important;
        height: 25px !important;

        padding: 2px 5px !important;
        font-size: 8px !important;
    }

    .navbar {
        top: 38px !important;
    }

    body {
        padding-top: 110px !important;
    }

    html {
        scroll-padding-top: 110px !important;
    }

    section {
        scroll-margin-top: 110px !important;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .language-track span {
        font-size: 9px !important;
    }

    .language-buttons {
        gap: 3px !important;
    }

    .language-buttons button {
        min-width: 51px !important;
        height: 24px !important;

        padding: 2px 4px !important;
        font-size: 7px !important;
    }
}

/* =========================================================
   FINAL MOBILE + TABLET RESPONSIVE FIX
   Desktop design untouched
========================================================= */

@media (max-width: 900px) {

    /* ---------- GLOBAL ---------- */

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html,
    body {
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .section {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .section>* {
        max-width: 100%;
    }


    /* ---------- SECTION TITLE ---------- */

    .section-title {
        width: 100%;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .section-title h2 {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }


    /* ---------- GALLERY ---------- */

    #galleryContainer {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    #galleryContainer .gallery-item {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        overflow: hidden;
        border-radius: 14px;
    }

    #galleryContainer .gallery-item img {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: 220px !important;
        object-fit: cover;
        border-radius: 12px;
    }

    .gallery-placeholder {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
        text-align: center;
    }


    /* ---------- VIDEOS ---------- */

    #videoContainer,
    .video-container {
        width: 100%;
        max-width: 100%;
        display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    #videoContainer .video-item,
    .video-container .video-item,
    .video-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    #videoContainer video,
    #videoContainer iframe,
    .video-container video,
    .video-container iframe {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
    }


    /* ---------- SPECIAL DARSHAN ---------- */

    .darshan-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        display: grid;
        grid-template-columns: 1fr;

        padding: 16px;
        overflow: hidden;

        text-align: center;
    }

    .darshan-card img {
        display: block;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        max-height: 520px;

        object-fit: contain;

        margin: 0 auto;
        border-radius: 14px;
    }

    .darshan-content {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
    }


    /* ---------- CONTRIBUTORS ---------- */

    .contributors-container {
        width: 100%;
        max-width: 100%;

        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .contributor-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        overflow: hidden;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .contributor-card img {
        max-width: 100%;
        height: auto;
    }


    /* ---------- DONATION RECORDS ---------- */

    .donation-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .donation-card * {
        max-width: 100%;
    }

    .year-selector {
        width: 100%;
        max-width: 100%;
    }

    .custom-year-dropdown {
        width: min(100%, 320px) !important;
        max-width: 100%;
    }

    .year-dropdown-button {
        width: 100% !important;
        min-width: 0;
        white-space: nowrap;
    }

    .year-dropdown-menu {
        width: 100% !important;
        max-width: 100%;
    }

    .year-option {
        white-space: nowrap;
    }


    /* ---------- DONATION TABLE ---------- */

    .donation-table-wrapper,
    .table-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .donation-table,
    .donation-card table {
        width: 100%;
        min-width: 600px;
    }


    /* ---------- CONTACT ---------- */

    .contact-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        overflow: hidden;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .contact-card h3,
    .contact-card p {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .contact-card a {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    #contactForm {
        width: 100%;
        max-width: 100%;
    }

    #contactForm input,
    #contactForm textarea,
    #contactForm button {
        width: 100%;
        max-width: 100%;
    }


    /* ---------- LOCATION ---------- */

    .location-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        overflow-wrap: anywhere;
    }

    /* =========================================================
   TABLET
   601px – 900px
========================================================= */

    @media (min-width: 601px) and (max-width: 900px) {

        .about-card {
            padding: 30px 25px !important;
            border-radius: 16px;

            border-top-width: 6px;
            border-right-width: 5px;
            border-bottom-width: 6px;
            border-left-width: 6px;

            box-shadow:
                0 8px 22px rgba(105, 40, 0, 0.12),
                0 0 0 2px rgba(255, 215, 0, 0.15);

            overflow: hidden;
        }

        .about-card h2,
        .about-card h3 {
            font-size: 26px;
            line-height: 1.35;
        }

        .about-card p {
            font-size: 16px;
            line-height: 1.6;
        }

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .section {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }


    /* Gallery: one clean column on phone */

    #galleryContainer {
       grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    #galleryContainer .gallery-item img {
        height: 100px !important;
        object-fit: cover;
    }


    /* Darshan */

    .darshan-card {
        padding: 12px;
        border-radius: 18px;
    }

    .darshan-card img {
        max-height: 460px;
    }


    /* Contributor empty message */

    .contributors-container {
        padding: 0;
    }


    /* Contact */

    .contact-card {
        padding: 22px 16px !important;
    }

    .contact-card h3 {
        font-size: 24px;
        line-height: 1.3;
    }

    .contact-card p {
        font-size: 15px;
        line-height: 1.5;
    }


    /* Donation */

    .donation-card {
        padding: 20px 14px !important;
    }

    .custom-year-dropdown {
        width: 100% !important;
        max-width: 100%;
    }

    /* About Section */

    .about-card {
        padding: 25px 18px !important;
        border-radius: 15px;

        border-top-width: 5px;
        border-right-width: 4px;
        border-bottom-width: 5px;
        border-left-width: 5px;

        box-shadow:
            0 7px 18px rgba(105, 40, 0, 0.12),
            0 0 0 2px rgba(255, 215, 0, 0.12);

        overflow: hidden;
    }

    .about-card h2,
    .about-card h3 {
        font-size: 22px;
        line-height: 1.3;
    }

    .about-card p {
        font-size: 15px;
        line-height: 1.6;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    #galleryContainer .gallery-item img {
        height: 120px !important;
    }

    .darshan-card {
        padding: 10px;
    }

    .contact-card {
        padding: 18px 12px !important;
    }

    .contact-card h3 {
        font-size: 21px;
    }

}

/* =========================================================
   HOME PAGE - DURGA PUJA DESIGN
   ONLY #home SECTION
========================================================= */

#home.hero {
    position: relative;
    width: 100%;
    min-height: 1000px;

    padding: 45px 15px 55px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    overflow: hidden;

    background:
        radial-gradient(circle at 50% 42%,
            rgba(255, 215, 60, 0.45),
            transparent 35%),
        linear-gradient(110deg,
            #7d170d 0%,
            #c85b08 25%,
            #e8b500 50%,
            #b8d400 75%,
            #5d9200 100%);
}


/* =========================================================
   SOFT BACKGROUND GLOW
========================================================= */

#home.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 50% 40%,
            rgba(255, 255, 255, 0.25),
            transparent 30%),
        radial-gradient(circle at 15% 55%,
            rgba(255, 120, 0, 0.20),
            transparent 30%),
        radial-gradient(circle at 85% 55%,
            rgba(180, 255, 0, 0.20),
            transparent 30%);

    pointer-events: none;
    z-index: 0;
}


/* =========================================================
   OLD HERO CONTENT HIDE
   In case old content is still present
========================================================= */

#home .hero-content {
    display: none !important;
}

#home .hero-overlay {
    display: none !important;
}

#home .hero-glow,
#home .hero-particles {
    display: none !important;
}


/* =========================================================
   DURGA AREA
========================================================= */

#home .home-durga-area {

    position: relative;

    z-index: 5;

    width: min(760px, 92vw);

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}


/* =========================================================
   HALF CIRCLE / SAMITI TITLE
========================================================= */

#home .home-half-circle {

    position: relative;

    width: 94%;

    min-height: 145px;

    margin-bottom: -20px;

    padding: 38px 35px 30px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 12px;

    background:
        linear-gradient(180deg,
            #fff7c7 0%,
            #ffe68a 50%,
            #ffc928 100%);

    border: 7px solid #9b111e;

    border-bottom: 0;

    border-radius: 50% 50% 0 0;

    box-shadow:
        0 0 8px #fff,
        0 0 18px #ffd700,
        0 0 35px rgba(255, 180, 0, 0.85),
        inset 0 0 18px rgba(255, 255, 255, 0.7);

    z-index: 10;
}


/* =========================================================
   TITLE
========================================================= */

#home .home-half-circle span {

    position: relative;

    z-index: 5;

    color: #8e1018;

    font-size: clamp(25px, 4vw, 42px);

    font-weight: 900;

    text-align: center;

    line-height: 1.2;

    text-shadow:
        0 2px 0 #fff3a0,
        0 0 6px rgba(255, 255, 255, 0.9),
        0 0 15px rgba(255, 190, 0, 0.8);

    animation: homeTitleGlow 2.5s ease-in-out infinite alternate;
}


@keyframes homeTitleGlow {

    from {
        text-shadow:
            0 2px 0 #fff3a0,
            0 0 5px #fff,
            0 0 10px #ffd700;
    }

    to {
        text-shadow:
            0 2px 0 #fff3a0,
            0 0 10px #fff,
            0 0 25px #ffd700,
            0 0 40px rgba(255, 150, 0, 0.8);
    }

}


/* =========================================================
   LIGHT ROW
========================================================= */

#home .home-light-row {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-around;

    gap: 8px;

    position: relative;

    z-index: 8;
}


#home .home-light-row i {

    width: 12px;

    height: 12px;

    min-width: 12px;

    border-radius: 50%;

    display: block;

    background: #fff;

    box-shadow:
        0 0 5px #fff,
        0 0 12px currentColor,
        0 0 22px currentColor;

    animation:
        homeBulbGlow 1.2s infinite alternate;
}


/* Different bulb colors */

#home .home-light-row i:nth-child(1) {
    color: red;
    background: #ff2525;
}

#home .home-light-row i:nth-child(2) {
    color: #00aaff;
    background: #00aaff;
    animation-delay: .15s;
}

#home .home-light-row i:nth-child(3) {
    color: #00ff55;
    background: #00ff55;
    animation-delay: .3s;
}

#home .home-light-row i:nth-child(4) {
    color: #ff8c00;
    background: #ff8c00;
    animation-delay: .45s;
}

#home .home-light-row i:nth-child(5) {
    color: #ff1493;
    background: #ff1493;
    animation-delay: .6s;
}

#home .home-light-row i:nth-child(6) {
    color: #00aaff;
    background: #00aaff;
    animation-delay: .75s;
}

#home .home-light-row i:nth-child(7) {
    color: #00ff55;
    background: #00ff55;
    animation-delay: .9s;
}

#home .home-light-row i:nth-child(8) {
    color: red;
    background: #ff2525;
    animation-delay: 1.05s;
}

#home .home-light-row i:nth-child(9) {
    color: #ff8c00;
    background: #ff8c00;
    animation-delay: 1.2s;
}

#home .home-light-row i:nth-child(10) {
    color: #00aaff;
    background: #00aaff;
    animation-delay: .25s;
}

#home .home-light-row i:nth-child(11) {
    color: #00ff55;
    background: #00ff55;
    animation-delay: .4s;
}

#home .home-light-row i:nth-child(12) {
    color: #ff1493;
    background: #ff1493;
    animation-delay: .55s;
}

#home .home-light-row i:nth-child(13) {
    color: #ff8c00;
    background: #ff8c00;
    animation-delay: .7s;
}


@keyframes homeBulbGlow {

    0% {
        opacity: .45;

        transform: scale(.85);

        box-shadow:
            0 0 3px #fff,
            0 0 7px currentColor;
    }

    100% {
        opacity: 1;

        transform: scale(1.25);

        box-shadow:
            0 0 6px #fff,
            0 0 15px currentColor,
            0 0 28px currentColor,
            0 0 40px currentColor;
    }

}


/* =========================================================
   DURGA IMAGE
========================================================= */

#home .home-durga-image {

    position: relative;

    z-index: 7;

    width: min(650px, 82vw);

    aspect-ratio: 1 / 1;

    margin-top: 0;

    padding: 17px;

    border-radius: 50%;

    background:
        linear-gradient(135deg,
            #ffd700,
            #8b0000,
            #ffae00,
            #ffd700);

    border: 7px solid #8f1111;

    box-shadow:

        /* outer golden glow */
        0 0 0 7px rgba(255, 215, 0, .55),

        /* main glow */
        0 0 20px #ffd700,
        0 0 40px #ffb000,
        0 0 70px rgba(255, 180, 0, .85),

        /* shadow */
        0 18px 45px rgba(80, 20, 0, .45);

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: visible;
}


/* =========================================================
   MULTICOLOR LIGHT RING AROUND IMAGE
========================================================= */

#home .home-durga-image::before {

    content: "";

    position: absolute;

    inset: -17px;

    border-radius: 50%;

    background:
        conic-gradient(red,
            #ff7a00,
            #ffe600,
            #00ff55,
            #00aaff,
            #8a2be2,
            #ff1493,
            red);

    z-index: -2;

    filter: blur(1px);

    animation: homeLightRing 5s linear infinite;
}


/* =========================================================
   LIGHT GLOW OUTSIDE RING
========================================================= */

#home .home-durga-image::after {

    content: "";

    position: absolute;

    inset: -25px;

    border-radius: 50%;

    background:
        conic-gradient(red,
            transparent 8%,
            #00aaff,
            transparent 18%,
            #00ff55,
            transparent 30%,
            #ff8c00,
            transparent 45%,
            #ff1493,
            transparent 60%,
            red);

    z-index: -3;

    filter: blur(14px);

    opacity: .85;

    animation:
        homeLightRing 7s linear infinite reverse;
}


@keyframes homeLightRing {

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   IMAGE
========================================================= */

#home .home-durga-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    border-radius: 50%;

    border: 5px solid #ffd700;

    box-shadow:
        inset 0 0 20px rgba(255, 215, 0, .8),
        0 0 12px #fff,
        0 0 25px rgba(255, 215, 0, .9);

    position: relative;

    z-index: 2;
}


/* =========================================================
   BOTTOM WELCOME PANEL
========================================================= */

#home .home-bottom-welcome {

    position: relative;

    z-index: 8;

    width: min(700px, 88vw);

    margin-top: 45px;

    padding: 25px 35px;

    text-align: center;

    background:
        linear-gradient(180deg,
            #9f1017,
            #650009);

    border: 5px solid #ffd43b;

    border-radius: 60px;

    box-shadow:
        0 0 8px #fff,
        0 0 18px #ffd700,
        0 0 35px rgba(255, 170, 0, .9),
        inset 0 0 20px rgba(255, 215, 0, .25);
}


/* =========================================================
   DIVIDER
========================================================= */

#home .home-divider {

    color: #ffd84a;

    font-size: 22px;

    font-weight: 700;

    letter-spacing: 4px;

    line-height: 1;

    text-shadow:
        0 0 5px #fff,
        0 0 12px #ffd700;

    animation: homeDividerGlow 2s infinite alternate;
}


@keyframes homeDividerGlow {

    from {
        opacity: .65;
        text-shadow:
            0 0 4px #ffd700;
    }

    to {
        opacity: 1;
        text-shadow:
            0 0 8px #fff,
            0 0 18px #ffd700;
    }

}


/* =========================================================
   BLESSING TEXT
========================================================= */

#home .home-bottom-welcome p {

    margin: 15px 0;

    color: #fff2a0;

    font-size: clamp(18px, 3vw, 30px);

    font-weight: 800;

    line-height: 1.5;

    text-align: center;

    text-shadow:
        0 0 5px #fff,
        0 0 12px #ffd700,
        0 0 20px rgba(255, 180, 0, .8);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    #home.hero {

        min-height: auto;

        padding: 25px 10px 40px;

    }


    #home .home-durga-area {

        width: 96vw;

        max-width: 440px;

    }


    /* Half circle */

    #home .home-half-circle {

        width: 94%;

        min-height: 95px;

        padding: 22px 12px 20px;

        gap: 8px;

        border-width: 5px;

        margin-bottom: -12px;

    }


    #home .home-half-circle span {

        font-size: clamp(18px, 5vw, 25px);

    }


    /* Bulbs */

    #home .home-light-row {

        gap: 3px;

    }


    #home .home-light-row i {

        width: 7px;

        height: 7px;

        min-width: 7px;

    }


    /* Image */

    #home .home-durga-image {

        width: 88vw;

        max-width: 410px;

        padding: 9px;

        border-width: 5px;

        box-shadow:
            0 0 0 5px rgba(255, 215, 0, .5),
            0 0 15px #ffd700,
            0 0 30px #ffae00,
            0 12px 30px rgba(80, 20, 0, .4);

    }


    #home .home-durga-image::before {

        inset: -11px;

    }


    #home .home-durga-image::after {

        inset: -17px;

        filter: blur(9px);

    }


    #home .home-durga-image img {

        border-width: 3px;

    }


    /* Bottom panel */

    #home .home-bottom-welcome {

        width: 91vw;

        margin-top: 30px;

        padding: 18px 14px;

        border-width: 4px;

        border-radius: 40px;

    }


    #home .home-bottom-welcome p {

        font-size: 17px;

        line-height: 1.45;

        margin: 11px 0;

    }


    #home .home-divider {

        font-size: 14px;

        letter-spacing: 2px;

    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    #home.hero {

        padding-left: 6px;

        padding-right: 6px;

    }


    #home .home-half-circle {

        min-height: 82px;

        padding: 18px 8px 15px;

    }


    #home .home-half-circle span {

        font-size: 18px;

    }


    #home .home-durga-image {

        width: 90vw;

        padding: 7px;

    }


    #home .home-bottom-welcome {

        width: 94vw;

        padding: 15px 9px;

    }


    #home .home-bottom-welcome p {

        font-size: 15px;

    }


    #home .home-divider {

        font-size: 12px;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 601px) and (max-width: 1024px) {

    #home.hero {

        min-height: auto;

        padding-top: 35px;

    }


    #home .home-durga-area {

        width: min(680px, 90vw);

    }


    #home .home-half-circle {

        min-height: 125px;

    }


    #home .home-half-circle span {

        font-size: 30px;

    }


    #home .home-durga-image {

        width: min(600px, 78vw);

    }


    #home .home-bottom-welcome {

        width: min(620px, 85vw);

    }

}

/* =========================================================
   WELCOME TEXT
========================================================= */

.home-welcome {
    position: relative;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;
    margin: 5px 0 22px;

    text-align: center;
}


/* ✦ Decoration */

.home-decoration {
    color: #8ff6ff;

    font-size: 26px;
    font-weight: 900;

    text-shadow:
        0 0 5px #ffffff,
        0 0 12px #5eefff,
        0 0 24px #00d9ff,
        0 0 40px rgba(0, 220, 255, 0.9);

    animation: welcomeSparkle 1.8s ease-in-out infinite alternate;
}


/* 🙏 Welcome */

.home-welcome p {
    margin: 0;

    color: #eaffff;

    font-size: 27px;
    font-weight: 700;

    letter-spacing: 0.5px;

    text-shadow:
        0 0 4px #ffffff,
        0 0 10px #8ff6ff,
        0 0 20px #00d9ff,
        0 0 35px rgba(0, 220, 255, 0.85);

    animation: welcomeGlow 2s ease-in-out infinite alternate;
}


/* =========================================================
   WELCOME ANIMATION
========================================================= */

@keyframes welcomeGlow {

    from {
        text-shadow:
            0 0 4px #ffffff,
            0 0 8px #8ff6ff,
            0 0 16px #00d9ff;
    }

    to {
        text-shadow:
            0 0 6px #ffffff,
            0 0 14px #bfffff,
            0 0 28px #00d9ff,
            0 0 45px rgba(0, 220, 255, 0.9);
    }

}


@keyframes welcomeSparkle {

    from {
        transform: scale(0.9);
        opacity: 0.65;
    }

    to {
        transform: scale(1.15);
        opacity: 1;
    }

}


/* =========================================================
   BOTTOM BLESSING BOX
========================================================= */

.home-bottom-welcome {

    position: relative;
    z-index: 5;

    width: min(720px, 90%);

    margin: 35px auto 20px;

    padding: 22px 30px;

    text-align: center;

    border: 2px solid rgba(130, 245, 255, 0.9);

    border-radius: 50px;

    background:
        linear-gradient(180deg,
            rgba(30, 95, 115, 0.35),
            rgba(5, 45, 65, 0.30));

    box-shadow:
        0 0 8px #ffffff,
        0 0 18px #6eefff,
        0 0 35px #00d9ff,
        inset 0 0 18px rgba(100, 240, 255, 0.35);

    animation: blessingGlow 2.5s ease-in-out infinite alternate;
}


/* =========================================================
   ───── ❖ ─────
========================================================= */

.home-divider {

    color: #aaf8ff;

    font-size: 22px;
    font-weight: 700;

    letter-spacing: 4px;

    text-shadow:
        0 0 5px #ffffff,
        0 0 12px #8ff6ff,
        0 0 25px #00d9ff;

    animation: dividerGlow 2s ease-in-out infinite alternate;
}


/* =========================================================
   BLESSING TEXT
========================================================= */

.home-bottom-welcome p {

    margin: 10px 0;

    color: #eaffff;

    font-size: 25px;
    font-weight: 800;

    line-height: 1.5;

    text-align: center;

    text-shadow:
        0 0 5px #ffffff,
        0 0 12px #8ff6ff,
        0 0 22px #00d9ff,
        0 0 35px rgba(0, 220, 255, 0.8);

    animation: blessingTextGlow 2.2s ease-in-out infinite alternate;
}


/* =========================================================
   BLESSING ANIMATION
========================================================= */

@keyframes blessingGlow {

    from {
        box-shadow:
            0 0 6px #ffffff,
            0 0 14px #6eefff,
            0 0 25px #00d9ff,
            inset 0 0 12px rgba(100, 240, 255, 0.25);
    }

    to {
        box-shadow:
            0 0 10px #ffffff,
            0 0 25px #8ff6ff,
            0 0 50px #00d9ff,
            inset 0 0 25px rgba(100, 240, 255, 0.45);
    }

}


@keyframes dividerGlow {

    from {
        opacity: 0.7;
        text-shadow:
            0 0 4px #ffffff,
            0 0 10px #5eefff;
    }

    to {
        opacity: 1;
        text-shadow:
            0 0 8px #ffffff,
            0 0 18px #8ff6ff,
            0 0 30px #00d9ff;
    }

}


@keyframes blessingTextGlow {

    from {
        text-shadow:
            0 0 4px #ffffff,
            0 0 9px #8ff6ff,
            0 0 16px #00d9ff;
    }

    to {
        text-shadow:
            0 0 7px #ffffff,
            0 0 15px #aaffff,
            0 0 30px #00d9ff,
            0 0 42px rgba(0, 220, 255, 0.8);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .home-welcome {
        gap: 10px;
        margin-bottom: 18px;
    }

    .home-welcome p {
        font-size: 20px;
    }

    .home-decoration {
        font-size: 19px;
    }

    .home-bottom-welcome {
        width: 92%;
        margin-top: 28px;
        padding: 17px 14px;
        border-radius: 35px;
    }

    .home-divider {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .home-bottom-welcome p {
        font-size: 18px;
        line-height: 1.45;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .home-welcome p {
        font-size: 18px;
    }

    .home-decoration {
        font-size: 17px;
    }

    .home-bottom-welcome {
        width: 94%;
        padding: 15px 10px;
    }

    .home-divider {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .home-bottom-welcome p {
        font-size: 16px;
    }

}

/* =========================================================
   EXISTING WEBSITE BACKGROUND VIDEO
   Do not change the video path
========================================================= */

.website-background-video {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    object-fit: cover;

    z-index: -10;

    pointer-events: none;
}

.website-video-overlay {
    position: fixed;
    inset: 0;

    z-index: -9;

    pointer-events: none;

    background: rgba(0, 0, 0, 0.12);
}

/* =========================================================
   MOBILE + TABLET FINAL SAFE RESPONSIVE OVERRIDES
   Paste at the END of style.css
   Does NOT change JS/API/data loading.
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

/* Keep dynamic record containers visible */
#officeBearersContainer,
#generalMembersContainer,
#programContainer,
#noticeContainer,
#galleryContainer,
#videoContainer,
#contributorsList,
#donationRecords {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* =========================================================
   TABLET
========================================================= */
@media (min-width: 601px) and (max-width: 1024px) {

    .section {
        width: 100%;
        max-width: 100%;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    #galleryContainer {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 18px;
    }

    #galleryContainer>*,
    #officeBearersContainer>*,
    #generalMembersContainer>*,
    #programContainer>*,
    #noticeContainer>*,
    #videoContainer>*,
    #contributorsList>* {
        min-width: 0;
        max-width: 100%;
    }

    .table-responsive,
    .table-wrapper,
    .records-table-wrapper,
    .donation-table-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 600px) {

    .section {
        width: 100%;
        max-width: 100%;
        padding-left: 12px !important;
        padding-right: 12px !important;
        overflow: visible;
    }

    /* ---------- Dynamic sections ---------- */

    #officeBearersContainer,
    #generalMembersContainer,
    #programContainer,
    #noticeContainer,
    #galleryContainer,
    #videoContainer,
    #contributorsList,
    #donationRecords {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
    }

    #officeBearersContainer>*,
    #generalMembersContainer>*,
    #programContainer>*,
    #noticeContainer>*,
    #galleryContainer>*,
    #videoContainer>*,
    #contributorsList>*,
    #donationRecords>* {
        max-width: 100%;
        min-width: 0;
    }

    /* ---------- Common cards ---------- */

    .card,
    .member-card,
    .program-card,
    .notice-card,
    .gallery-item,
    .video-card,
    .contributor-card,
    .donation-card,
    .about-card,
    .contact-card,
    .darshan-card {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

   /* ---------- Gallery ---------- */

#galleryContainer {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

#galleryContainer img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100px !important;
    object-fit: cover;
    border-radius: 8px;
}

    /* ---------- Tables / records ----------
       Horizontal scroll is preferable to hiding records.
    ---------- */

    .table-responsive,
    .table-wrapper,
    .records-table-wrapper,
    .donation-table-wrapper,
    #donationRecords {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    table {
        max-width: none;
    }

    /* ---------- Year dropdowns ----------
       Do NOT alter JS classes or IDs.
    ---------- */

    .custom-year-dropdown,
    .year-dropdown {
        position: relative;
        max-width: 100%;
        z-index: 100;
    }

    .custom-year-dropdown .year-dropdown-menu,
    .year-dropdown .year-dropdown-menu {
        max-width: 100%;
        max-height: 220px;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 9999;
    }

    /* ---------- Home ---------- */

    .home-hero,
    .home-durga-area {
        max-width: 100%;
        box-sizing: border-box;
    }

    .home-durga-area {
        width: min(94vw, 430px);
        margin-left: auto;
        margin-right: auto;
    }

    .home-durga-image {
        max-width: 100%;
    }

    .home-durga-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .home-bottom-welcome {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    /* ---------- Forms ---------- */

    input,
    textarea,
    select,
    button {
        max-width: 100%;
    }

    /* ---------- Long text / links ---------- */

    p,
    a,
    span,
    h1,
    h2,
    h3,
    h4 {
        overflow-wrap: anywhere;
    }

    /* ---------- Prevent accidental horizontal overflow ---------- */

    .row,
    .grid,
    .flex-row {
        max-width: 100%;
    }
}

/* =========================================================
   VERY SMALL PHONES
========================================================= */
@media (max-width: 380px) {

    .section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    #galleryContainer {
        gap: 8px !important;
    }

    .home-durga-area {
        width: 96vw;
    }

    .custom-year-dropdown,
    .year-dropdown {
        max-width: 100%;
    }
}

/* =========================================================
   FINAL MOBILE LAYOUT FIX
   Existing JS / API / HTML functionality untouched
========================================================= */

@media (max-width: 600px) {

    /* Prevent horizontal overflow */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    /* =====================================================
       ALL DYNAMIC RECORD CONTAINERS
    ===================================================== */

    #officeBearersContainer,
    #generalMembersContainer,
    #programContainer,
    #noticeContainer,
    #galleryContainer,
    #videoContainer,
    #contributorsList,
    #donationRecords {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }


    /* =====================================================
       RECORD CARDS
       Mobile = ONE CARD PER ROW
    ===================================================== */

    #officeBearersContainer,
    #generalMembersContainer,
    #programContainer,
    #noticeContainer,
    #galleryContainer,
    #videoContainer,
    #contributorsList,
    #donationRecords {

        grid-template-columns: 1fr !important;

    }


    #officeBearersContainer>*,
    #generalMembersContainer>*,
    #programContainer>*,
    #noticeContainer>*,
    #galleryContainer>*,
    #videoContainer>*,
    #contributorsList>*,
    #donationRecords>* {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;

    }


    /* =====================================================
       TEXT INSIDE CARDS
    ===================================================== */

    #officeBearersContainer *,
    #generalMembersContainer *,
    #programContainer *,
    #noticeContainer *,
    #galleryContainer *,
    #videoContainer *,
    #contributorsList *,
    #donationRecords * {

        max-width: 100%;
        box-sizing: border-box;

    }


    /* =====================================================
       IMAGES
    ===================================================== */

    #officeBearersContainer img,
    #generalMembersContainer img,
    #programContainer img,
    #noticeContainer img,
    #galleryContainer img,
    #videoContainer img,
    #contributorsList img,
    #donationRecords img {

        max-width: 100%;
        height: auto;

    }


    /* =====================================================
       TABLES
       Don't hide records — allow horizontal scroll
    ===================================================== */

    #donationRecords,
    #donationRecords table {

        overflow-x: auto;
        -webkit-overflow-scrolling: touch;

    }


    /* =====================================================
       SELECT / YEAR DROPDOWN
    ===================================================== */

    select {

        width: 100% !important;
        max-width: 100% !important;
        min-height: 42px;
        box-sizing: border-box;

        font-size: 15px;

    }


    /* =====================================================
       CUSTOM DROPDOWN
    ===================================================== */

    .year-dropdown,
    .custom-year-dropdown {

        width: 100%;
        max-width: 100%;
        position: relative;
        z-index: 100;

    }


    .year-dropdown-menu,
    .custom-year-dropdown .year-dropdown-menu {

        max-width: 100%;
        max-height: 230px;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 9999;

    }


    /* =====================================================
       HOME
    ===================================================== */

    .home-hero {

        width: 100%;
        max-width: 100%;
        overflow: hidden;

    }

    .home-durga-area {

        width: 94vw;
        max-width: 430px;
        margin-left: auto;
        margin-right: auto;

    }


    /* =====================================================
       SECTION HEADINGS
    ===================================================== */

    .section h1,
    .section h2,
    .section h3 {

        max-width: 100%;
        overflow-wrap: break-word;

    }


    /* =====================================================
       LONG CONTENT
    ===================================================== */

    p,
    span,
    a,
    td,
    th {

        overflow-wrap: break-word;
        word-break: normal;

    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    #officeBearersContainer,
    #generalMembersContainer,
    #programContainer,
    #noticeContainer,
    #galleryContainer,
    #videoContainer,
    #contributorsList,
    #donationRecords {

        padding-left: 0 !important;
        padding-right: 0 !important;

    }

    select {

        font-size: 14px !important;

    }

}

/* =========================================================
   PUJA PROGRAM - MOBILE YEAR DROPDOWN
========================================================= */

@media (max-width: 600px) {

    #program .program-year-selector {
        width: 180px !important;
        max-width: 180px !important;
        margin: -10px auto 80px !important;
        padding: 0 !important;
    }

    #program .program-year-selector label {
        display: block;
        width: 100%;
        margin-bottom: 5px;
        text-align: center;
        font-size: 13px;
    }

    #program .custom-year-dropdown {
        position: relative;
        width: 180px !important;
        max-width: 180px !important;
        margin: 0 auto;
    }

    #program .year-dropdown-button {
        width: 140px !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 6px 10px !important;
        font-size: 14px !important;
        border-radius: 7px;
        box-sizing: border-box;
    }

    /* Dropdown options */
    #program .year-dropdown-menu {
        position: absolute !important;
        left: 0 !important;
        top: calc(100% + 3px) !important;

        width: 180px !important;
        max-width: 180px !important;

        max-height: 160px !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        z-index: 99999 !important;

        box-sizing: border-box;
    }

    #program .year-option {
        width: 100% !important;
        min-height: 32px !important;
        padding: 7px 10px !important;

        font-size: 13px !important;
        line-height: 18px;

        box-sizing: border-box;
    }
}


/* =========================================================
   CLEAN RESPONSIVE MOBILE/TABLET OVERRIDES
   Desktop styling is intentionally untouched.
   Existing background video is untouched.
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Keep every section inside its own desktop-style boundary */
.section {
    box-sizing: border-box;
}

/* =========================================================
   TABLET
========================================================= */
@media (min-width: 601px) and (max-width: 1024px) {

    .section {
        width: 100%;
        max-width: 100%;
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box;
    }

    #galleryContainer {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px;
    }

    #officeBearersContainer>*,
    #generalMembersContainer>*,
    #programContainer>*,
    #noticeContainer>*,
    #galleryContainer>*,
    #videoContainer>*,
    #contributorsList>* {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .table-responsive,
    .table-wrapper,
    .records-table-wrapper,
    .donation-table-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* =========================================================
   MOBILE
   Same visual sections/boundaries as desktop.
   Only dimensions and wrapping are changed.
========================================================= */
@media (max-width: 600px) {

    .section {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    /* ---------- HOME ---------- */

    #home.hero,
    #home.home-hero,
    .home-hero {
        width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        padding: 32px 10px 42px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #home .home-welcome,
    .home-welcome {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin: 5px auto 20px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    #home .home-welcome p,
    .home-welcome p {
        max-width: calc(100% - 50px) !important;
        margin: 0 !important;
        font-size: clamp(17px, 5vw, 21px) !important;
        line-height: 1.35 !important;
        text-align: center !important;
    }

    #home .home-decoration,
    .home-decoration {
        flex-shrink: 0 !important;
        font-size: 19px !important;
    }

    #home .home-durga-area,
    .home-durga-area {
        position: relative !important;
        width: 100% !important;
        max-width: 430px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    #home .home-half-circle,
    .home-half-circle {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;

        width: 92% !important;
        max-width: 390px !important;
        min-height: 78px !important;
        height: auto !important;

        margin: 0 auto -8px !important;
        padding: 18px 10px !important;
        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        overflow: hidden !important;
        text-align: center !important;
    }

    #home .home-half-circle span,
    .home-half-circle span {
        width: 100% !important;
        font-size: clamp(18px, 5.5vw, 24px) !important;
        line-height: 1.25 !important;
        text-align: center !important;
        white-space: normal !important;
        word-break: normal !important;
    }

    #home .home-durga-image,
    .home-durga-image {
        position: relative !important;
        width: min(82vw, 350px) !important;
        max-width: 350px !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        margin: 28px auto 0 !important;
        padding: 8px !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
    }

    #home .home-durga-image img,
    .home-durga-image img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        object-fit: cover !important;
        border-radius: 50% !important;
    }

    #home .home-bottom-welcome,
    .home-bottom-welcome {
        width: 92% !important;
        max-width: 390px !important;
        margin: 28px auto 0 !important;
        padding: 16px 12px !important;
        box-sizing: border-box !important;
        text-align: center !important;
        overflow: hidden !important;
    }

    #home .home-bottom-welcome p,
    .home-bottom-welcome p {
        width: 100% !important;
        margin: 10px 0 !important;
        font-size: clamp(15px, 4.5vw, 18px) !important;
        line-height: 1.45 !important;
        text-align: center !important;
    }

    #home .home-divider,
    .home-divider {
        font-size: clamp(12px, 3.5vw, 16px) !important;
        letter-spacing: 1.5px !important;
        text-align: center !important;
    }

    /* ---------- ALL DYNAMIC SECTIONS ---------- */

    #officeBearersContainer,
    #generalMembersContainer,
    #programContainer,
    #noticeContainer,
    #galleryContainer,
    #videoContainer,
    #contributorsList,
    #donationRecords {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    #officeBearersContainer>*,
    #generalMembersContainer>*,
    #programContainer>*,
    #noticeContainer>*,
    #galleryContainer>*,
    #videoContainer>*,
    #contributorsList>* {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Keep cards looking like desktop cards, but fit mobile width */
    .card,
    .member-card,
    .program-card,
    .notice-card,
    .gallery-card,
    .video-card,
    .contributor-card {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Gallery: one full-width card at a time on phones */
    #galleryContainer {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    /* Tables: retain their structure; scroll only when genuinely wider */
    .table-responsive,
    .table-wrapper,
    .records-table-wrapper,
    .donation-table-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box !important;
    }

    /* Year selectors stay compact instead of stretching into huge panels */
    .year-filter,
    .year-dropdown,
    select {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Program/notice content must wrap inside the mobile boundary */
    #programContainer img,
    #noticeContainer img,
    #galleryContainer img,
    #videoContainer video,
    #videoContainer iframe {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* =========================================================
   SMALL PHONES
========================================================= */
@media (max-width: 380px) {

    #home.hero,
    #home.home-hero,
    .home-hero {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    #home .home-welcome p,
    .home-welcome p {
        font-size: 17px !important;
    }

    #home .home-half-circle,
    .home-half-circle {
        width: 94% !important;
        min-height: 74px !important;
        padding: 16px 8px !important;
    }

    #home .home-half-circle span,
    .home-half-circle span {
        font-size: 18px !important;
    }

    #home .home-durga-image,
    .home-durga-image {
        width: 88vw !important;
        max-width: 330px !important;
    }

    #home .home-bottom-welcome,
    .home-bottom-welcome {
        width: 94% !important;
        padding: 14px 9px !important;
    }

    #home .home-bottom-welcome p,
    .home-bottom-welcome p {
        font-size: 15px !important;
    }
}

/* =========================================================
   GALLERY PHOTO - FULL SIZE VIEWER MOBILE FIX
========================================================= */

@media (max-width: 600px) {

    #galleryImageViewer {
        position: fixed !important;
        inset: 0 !important;

        width: 100vw !important;
        height: 100vh !important;

        display: none;
        align-items: center !important;
        justify-content: center !important;

        padding: 10px !important;
        box-sizing: border-box !important;

        z-index: 999999 !important;
        overflow: hidden !important;
    }

    #galleryImageViewer.active {
        display: flex !important;
    }

    #galleryImageViewer .gallery-viewer-image {
        width: auto !important;
        height: auto !important;

        max-width: 90vw !important;
        max-height: 82vh !important;

        object-fit: contain !important;

        margin: auto !important;

        display: block !important;
    }

    /* Previous */
    #galleryImageViewer .gallery-viewer-prev {
        position: absolute !important;
        left: 8px !important;
        top: 50% !important;

        transform: translateY(-50%) !important;

        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;

        z-index: 1000000 !important;
    }

    /* Next */
    #galleryImageViewer .gallery-viewer-next {
        position: absolute !important;
        right: 8px !important;
        top: 50% !important;

        transform: translateY(-50%) !important;

        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;

        z-index: 1000000 !important;
    }

    /* Close */
    #galleryImageViewer .gallery-viewer-close {
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;

        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;

        z-index: 1000000 !important;
    }
}

/* =========================================================
   MOBILE NOTICE ICON
========================================================= */

@media (max-width: 768px) {

    .notice-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        padding: 20px 16px;
    }

    .notice-icon {
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 24px;
        border-radius: 10px;

        margin-bottom: 12px;
    }

    .notice-card h3 {
        margin-top: 0;
    }

}

/* =================================================
   DIRECT DONATION
================================================= */

.direct-donation {
    margin-top: 30px;
    padding: 25px;
    border-radius: 16px;
    background: rgba(255, 248, 235, 0.95);
    border: 1px solid rgba(180, 100, 30, 0.25);
}

.direct-donation h3 {
    margin-bottom: 12px;
}

.temporary-notice {
    padding: 12px 15px;
    border-radius: 10px;
    background: #fff3cd;
    line-height: 1.6;
}

.bank-details {
    margin-top: 20px;
}

.bank-details p {
    margin: 10px 0;
}

.bank-details strong {
    display: inline-block;
    min-width: 145px;
}

.donation-qr {
    text-align: center;
    margin-top: 25px;
}

.donation-qr img {
    width: 220px;
    max-width: 80%;
    height: auto;
    border-radius: 12px;
    padding: 8px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   PUJA PROGRAM - CONTAINER WIDTH FIX
   ========================================================= */

#program {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

#program .program-container {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* Year dropdown should NOT control program container width */
#program .program-year-selector {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

#program .custom-year-dropdown {
    width: 220px !important;
    max-width: 100% !important;
}

/* Desktop */
@media (min-width: 601px) {

    #program .program-container {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
}

/* Mobile */
@media (max-width: 600px) {

    #program .program-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 14px !important;
    }

    #program .custom-year-dropdown {
        width: 220px !important;
        max-width: 100% !important;
    }
}
/* =========================================================
   FINAL MOBILE FIX - MEMBERS + VIDEOS
   Keep existing design, only restore mobile columns
========================================================= */

@media (max-width: 600px) {

    /* ---------- MEMBERS ---------- */

    #generalMembersContainer {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    #generalMembersContainer .member-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 10px 6px !important;
    }

    #generalMembersContainer .member-photo {
        width: 120px !important;
        height: 120px !important;
        max-width: 100% !important;
    }


    /* ---------- VIDEOS ---------- */

    #videoContainer {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 15px !important;
    }

    #videoContainer > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    #videoContainer .video-card,
    #videoContainer .video-item {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    #videoContainer video,
    #videoContainer iframe {
        width: 100% !important;
        max-width: 100% !important;
    }
}
.instagram-link {
    text-align: center;
    margin-top: 18px;
    padding-bottom: 10px;
}

.instagram-link a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.instagram-link a:hover {
    opacity: 0.75;
}
.instagram-link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding-bottom: 20px;
}

.instagram-link a {
    display: flex;
    align-items: center;
    gap: 22px;

    text-decoration: none;
    color: inherit;

    transition: transform 0.3s ease,
                opacity 0.3s ease;
}

.instagram-logo {
    width: 78px;
    height: 78px;
    flex-shrink: 0;
}

.instagram-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.instagram-follow {
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 6px;
}

.instagram-id {
    font-size: 26px;
    font-weight: 700;

    background: linear-gradient(
        45deg,
        #feda75,
        #fa7e1e,
        #d62976,
        #962fbf,
        #4f5bd5
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.instagram-link a:hover {
    transform: scale(1.04);
    opacity: 0.9;
}

/* =========================================================
   INSTAGRAM FOOTER - MOBILE
========================================================= */

@media (max-width: 600px) {

    .instagram-link {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 25px;
        padding: 0 12px 20px;
    }

    .instagram-link a {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .instagram-logo {
        width: 58px;
        height: 58px;
        flex-shrink: 0;
    }

    .instagram-text {
        display: flex;
        flex-direction: column;
        text-align: left;
    }

    .instagram-follow {
        font-size: 17px;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .instagram-id {
        font-size: 18px;
        line-height: 1.3;
        word-break: break-word;
    }
}/* ===== DURGA PUJA INVITATION POPUP ===== */

.durga-invitation-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: rgba(0, 0, 0, 0.72);

    padding: 20px;
    box-sizing: border-box;

    z-index: 2147483647 !important;

    opacity: 1;
    visibility: visible;
}

.durga-invitation-modal {
    position: relative;
    max-width: min(92vw, 650px);
    max-height: 92vh;
}

.durga-invitation-card {
    position: relative;
    max-width: 100%;
    max-height: 92vh;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}

.durga-invitation-image {
    display: block;
    max-width: 100%;
    max-height: 92vh;
    width: auto;
    height: auto;
}

.durga-invitation-close {
    position: absolute;
    top: -14px;
    right: -14px;

    width: 38px;
    height: 38px;

    border: 2px solid #fff;
    border-radius: 50%;

    background: #222;
    color: #fff;

    font-size: 28px;
    cursor: pointer;

    z-index: 2147483647;
}
.durga-invitation-payment {
    position: absolute;
    left: 55%;
    top: 55%;
    width: 45%;
    height: 45%;
    display: block;
    z-index: 9999;
    cursor: pointer;
}

/* =========================================================
   BAL DANDIYA REGISTRATION MODAL
========================================================= */

.dandiya-modal {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 99999;

    background: rgba(0, 0, 0, 0.72);

    align-items: center;

    justify-content: center;

    padding: 20px;

    backdrop-filter: blur(4px);
}


.dandiya-modal.show {
    display: flex;
}


/* =========================================================
   MODAL CONTENT
========================================================= */

.dandiya-modal-content {

    width: min(680px, 100%);

    max-height: 92vh;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 18px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35);

    animation: dandiyaModalOpen 0.25s ease;

    position: relative;
}


@keyframes dandiyaModalOpen {

    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.97);
    }

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

}


/* =========================================================
   HEADER
========================================================= */

.dandiya-modal-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px 22px;

    border-bottom: 1px solid #eeeeee;

    background: linear-gradient(
        135deg,
        #fff7e6,
        #ffffff
    );

}


.dandiya-modal-header h2 {

    margin: 0;

    font-size: 22px;

    color: #c62828;

}


.dandiya-modal-header p {

    margin: 4px 0 0;

    font-size: 13px;

    color: #777777;

}


.dandiya-close {

    border: none;

    background: transparent;

    font-size: 32px;

    line-height: 1;

    cursor: pointer;

    color: #555;

    width: 40px;

    height: 40px;

    border-radius: 50%;

}


.dandiya-close:hover {

    background: #f3f3f3;

    color: #c62828;

}


/* =========================================================
   FORM
========================================================= */

#dandiyaRegistrationForm {

    padding: 22px;

}


.dandiya-form-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;

}


.dandiya-form-group {

    display: flex;

    flex-direction: column;

    gap: 7px;

}


.dandiya-full-width {

    grid-column: 1 / -1;

}


.dandiya-form-group label {

    font-size: 14px;

    font-weight: 600;

    color: #333333;

}


.dandiya-form-group label span {

    color: #d62828;

}


.dandiya-form-group input,
.dandiya-form-group textarea {

    width: 100%;

    box-sizing: border-box;

    padding: 11px 13px;

    border: 1px solid #d8d8d8;

    border-radius: 9px;

    font-size: 14px;

    outline: none;

    background: #ffffff;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;

}


.dandiya-form-group textarea {

    resize: vertical;

    min-height: 80px;

}


.dandiya-form-group input:focus,
.dandiya-form-group textarea:focus {

    border-color: #d62828;

    box-shadow:
        0 0 0 3px rgba(214, 40, 40, 0.10);

}


/* =========================================================
   CONSENT
========================================================= */

.dandiya-consent {

    margin-top: 18px;

    padding: 13px;

    background: #fff8e8;

    border-radius: 10px;

    border: 1px solid #f0dfb0;

}


.dandiya-consent label {

    display: flex;

    gap: 10px;

    align-items: flex-start;

    font-size: 13px;

    line-height: 1.5;

    color: #444;

    cursor: pointer;

}


.dandiya-consent input {

    margin-top: 3px;

    width: 17px;

    height: 17px;

    flex-shrink: 0;

}


/* =========================================================
   ERROR
========================================================= */

.dandiya-form-error {

    min-height: 20px;

    margin-top: 10px;

    color: #d62828;

    font-size: 13px;

}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.dandiya-submit-btn {

    width: 100%;

    margin-top: 10px;

    padding: 13px 18px;

    border: none;

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        #d62828,
        #e85d04
    );

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s,
        opacity 0.2s;

}


.dandiya-submit-btn:hover {

    transform: translateY(-1px);

}


.dandiya-submit-btn:disabled {

    opacity: 0.65;

    cursor: not-allowed;

    transform: none;

}


/* =========================================================
   SUCCESS
========================================================= */

.dandiya-success-message {

    display: none;

    text-align: center;

    padding: 45px 25px;

}


.dandiya-success-message.show {

    display: block;

}


.dandiya-success-icon {

    width: 65px;

    height: 65px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #2e7d32;

    color: #ffffff;

    font-size: 34px;

    font-weight: bold;

}


.dandiya-success-message h3 {

    margin: 0;

    color: #2e7d32;

    font-size: 20px;

}


.dandiya-success-message p {

    margin-top: 8px;

    color: #666;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .dandiya-modal {

        padding: 10px;

        align-items: center;

    }


    .dandiya-modal-content {

        max-height: 94vh;

        border-radius: 15px;

    }


    .dandiya-modal-header {

        padding: 16px;

    }


    .dandiya-modal-header h2 {

        font-size: 18px;

    }


    #dandiyaRegistrationForm {

        padding: 16px;

    }


    .dandiya-form-grid {

        grid-template-columns: 1fr;

        gap: 13px;

    }


    .dandiya-full-width {

        grid-column: auto;

    }


    .dandiya-form-group input,
    .dandiya-form-group textarea {

        font-size: 16px;

    }

}
/* =========================================================
   PUJA DROPDOWN - BAL DANDIYA
========================================================= */

#mainNav .dropdown-menu li a#openDandiyaRegistration {
    white-space: normal !important;
    line-height: 1.3;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile */
@media (max-width: 600px) {

    #mainNav .dropdown-menu li a#openDandiyaRegistration {
        white-space: normal !important;
        word-break: normal;
        overflow-wrap: break-word;
        line-height: 1.3;
        padding-right: 10px;
    }

}
/* =========================================================
   DANDIYA FORCE FIX
========================================================= */

#dandiyaRegistrationModal {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;

    background: rgba(0, 0, 0, 0.75) !important;

    align-items: center !important;
    justify-content: center !important;
}

#dandiyaRegistrationModal.show {
    display: flex !important;
}

#dandiyaRegistrationModal .dandiya-modal-content {
    display: block !important;

    width: min(680px, 95%) !important;
    max-height: 90vh !important;

    overflow-y: auto !important;

    background: #ffffff !important;

    border-radius: 18px !important;

    position: relative !important;
    z-index: 1000000 !important;
}