/* ==========================================================
                    BANNER WRAPPER
========================================================== */

.bannerwrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}


/* ==========================================================
                    SLIDER
========================================================== */

.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}


/* ==========================================================
                    EACH SLIDE
========================================================== */

.banner-slider .slider-big .item {
    position: relative;
    width: 100%;
    height: 745px;
    overflow: hidden;
}


/* ==========================================================
                    BANNER IMAGE
========================================================== */

.banner-slider .banner-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}


/* ==========================================================
                    DARK OVERLAY
========================================================== */

.banner-slider .item::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

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

    z-index: 1;

    pointer-events: none;
}


/* ==========================================================
                    TEXT LAYER
========================================================== */

.banner-caps {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 3;

    display: flex;

    align-items: flex-end;

    pointer-events: none;
}


/* ==========================================================
                    TEXT CONTAINER
========================================================== */

.banner-caps .container {

    width: 100%;

    max-width: 1320px;

    margin: 0 auto;

    padding-left: 0;
    padding-right: 0;

    padding-bottom: 78px;
}


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

.banner-title {

    margin: 0;

    max-width: 900px;

    color: #ffffff;

    font-family: "Poppins", sans-serif;

    font-size: 58px;

    font-weight: 600;

    line-height: 1.18;

    letter-spacing: -1px;

    text-align: left;

    position: relative;

    z-index: 5;
}


/* ==========================================================
                    GREEN DOT BACKGROUND
========================================================== */

.dots-bg {

    position: absolute;

    right: 0;
    bottom: 0;

    width: 45%;

    height: 155px;

    z-index: 4;

    pointer-events: none;
}


.dots-bg img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: fill;
}


/* ==========================================================
                    SLICK DOTS
========================================================== */

.banner-slider .slick-dots {

    position: absolute;

    right: 8%;

    bottom: 42px;

    z-index: 10;

    width: auto;

    margin: 0;

    padding: 0;

    display: flex;

    align-items: center;

    gap: 18px;

    list-style: none;
}


.banner-slider .slick-dots li {

    width: auto;
    height: auto;

    margin: 0;
}


.banner-slider .slick-dots li button {

    width: 22px;
    height: 22px;

    padding: 0;

    border: 1px solid #ffffff;

    border-radius: 50%;

    background: transparent;

    font-size: 0;

    opacity: 1;
}


.banner-slider .slick-dots li.slick-active button {

    background: #ffffff;

    border-color: #ffffff;
}


/* Remove Slick default pseudo element */

.banner-slider .slick-dots li button::before {

    display: none;
}

/*  */

/* ==========================================================
                    HOME BANNER
========================================================== */

.bannerwrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}


/* ==========================================================
                    SLIDE
========================================================== */

.banner-slider .slider-big .item {
    position: relative;
    width: 100%;
    height: 745px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}


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

.banner-slider .slider-big .item .banner-image {
    display: block;

    width: 100%;
    height: 745px;

    max-width: none;

    object-fit: cover;
    object-position: center center;

    margin: 0;
    padding: 0;
}


/* ==========================================================
                    DARK OVERLAY
========================================================== */

.banner-slider .slider-big .item::after {
    content: "";

    position: absolute;

    inset: 0;

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

    z-index: 2;

    pointer-events: none;
}


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

.banner-caps {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 5;

    display: flex;
    align-items: flex-end;

    pointer-events: none;
}

.banner-caps .container {
    width: 100%;
    max-width: 1320px;

    margin: 0 auto;

    padding-left: 0;
    padding-right: 0;

    padding-bottom: 78px;
}

.banner-title {
    margin: 0;

    max-width: 900px;

    color: #ffffff;

    font-family: "Poppins", sans-serif;

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

    line-height: 1.18;

    letter-spacing: -1px;

    text-align: left;

    position: relative;
    z-index: 6;
}


/* ==========================================================
                    GREEN SHAPE
========================================================== */

.banner-slider .dots-bg {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 44%;
    height: 135px;

    z-index: 7;

    margin: 0;
    padding: 0;

    pointer-events: none;
}

.banner-slider .dots-bg img {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    object-fit: fill;
}


/* ==========================================================
                    SLICK DOTS
========================================================== */

.banner-slider .slick-dots {
    position: absolute;

    right: 7%;
    bottom: 42px;

    width: auto;

    margin: 0;
    padding: 0;

    z-index: 20;

    display: flex;

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

    gap: 18px;

    list-style: none;
}

.banner-slider .slick-dots li {
    width: 20px;
    height: 20px;

    margin: 0;
    padding: 0;
}

.banner-slider .slick-dots li button {
    width: 22px;
    height: 22px;

    min-width: 22px;
    min-height: 22px;

    padding: 0;
    margin: 0;

    border: 2px solid #ffffff;
    border-radius: 50%;

    background: transparent;

    font-size: 0;

    opacity: 1;
}

.banner-slider .slick-dots li.slick-active button {
    background: #ffffff;

    border: 2px solid #ffffff;
}

.banner-slider .slick-dots li button::before {
    display: none;
}

.youtube-video video {
    display: block;
    width: 100%;
    height: 100%;
}

/* Reuse the Pooja Timings special badge on the homepage. */
.aboutwrap .timing-item {
    position: relative;
}

.aboutwrap .pooja-special-badge {
    position: absolute;
    top: 0px;
    right: -1px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 20px;
    background: linear-gradient(135deg, #c9a24b, #b3893c);
    box-shadow: 0 2px 6px rgba(201, 162, 75, 0.4);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.aboutwrap .pooja-special-badge::before {
    content: "★";
    font-size: 9px;
    line-height: 1;
}

.aboutwrap .timing-special-date {
    margin-top: 4px;
    color: var(--secondary);
    font-size: 11px;
    font-weight: 700;
}

/* Homepage gallery category controls */
.gallery-section .gallery-tabs {
    gap: 10px;
    margin-bottom: 24px;
    padding: 4px;
    overflow-x: auto;
    border-bottom: 0;
    scrollbar-width: thin;
}

.gallery-section .gallery-tab {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid rgba(0, 107, 53, 0.2);
    border-radius: 999px;
    background: #fff;
    color: #1d3328;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.gallery-section .gallery-tab::after {
    display: none;
}

.gallery-section .gallery-tab:hover,
.gallery-section .gallery-tab:focus-visible {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-1px);
}

.gallery-section .gallery-tab.active {
    border-color: var(--secondary);
    background: var(--secondary);
    color: #fff;
}

.gallery-section .gallery-tab-count {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(0, 107, 53, 0.1);
    font-size: 11px;
    font-weight: 700;
}

.gallery-section .gallery-tab.active .gallery-tab-count {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-section .gallery-empty {
    grid-column: 1 / -1;
    padding: 24px;
    border: 1px dashed rgba(0, 107, 53, 0.25);
    border-radius: 10px;
    color: var(--secondary);
    font-size: 14px;
    text-align: center;
}

/* Homepage upcoming-event slides */
.festival-content-slider {
    max-width: 500px;
}

.festival-content-slide h3 {
    margin: 0 0 10px;
    color: #e8c874; /* softer gold, better contrast on dark green than #c9a24b */
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.3px;
}
.festival-content-slide p {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.85); /* slightly softened white, easier on the eyes for body text */
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis; /* required for the "..." to actually show */
    word-break: break-word; /* prevents overflow on long unbroken words/URLs */
}

.festival-content-date {
    display: inline-block;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.12);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.festival-card {
    display: block;
    height: 100%;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

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

.festival-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .3s ease;
}

.festival-card:hover .festival-card-image img {
    transform: scale(1.04);
}

@media (max-width: 575px) {
    .gallery-section .gallery-tabs {
        margin-right: -4px;
    }

    .gallery-section .gallery-tab {
        padding: 10px 13px;
    }

    .festival-content-slide h3 {
        font-size: 21px;
    }
}


/* ==========================================================
                    DESKTOP CONTAINER
========================================================== */

@media (min-width: 1200px) {

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

}


/* ==========================================================
                    LAPTOP
========================================================== */

@media (max-width: 1399px) {

    .banner-slider .slider-big .item,
    .banner-slider .slider-big .item .banner-image {
        height: 680px;
    }

    .banner-title {
        font-size: 52px;
    }

}


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

@media (max-width: 991px) {

    .banner-slider .slider-big .item,
    .banner-slider .slider-big .item .banner-image {
        height: 600px;
    }

    .banner-title {
        font-size: 44px;
    }

    .banner-caps .container {
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 70px;
    }

    .banner-slider .dots-bg {
        width: 50%;
        height: 120px;
    }

}


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

@media (max-width: 575px) {

    .banner-slider .slider-big .item,
    .banner-slider .slider-big .item .banner-image {
        height: 560px;
    }

    .banner-title {
        font-size: 34px;
        line-height: 1.2;
    }

    .banner-caps .container {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 55px;
    }

    .banner-slider .dots-bg {
        width: 65%;
        height: 95px;
    }

    .banner-slider .slick-dots {
        right: 8%;
        bottom: 28px;
        gap: 10px;
    }

    .banner-slider .slick-dots li,
    .banner-slider .slick-dots li button {
        width: 16px;
        height: 16px;

        min-width: 16px;
        min-height: 16px;
    }

}

/* =========================================================
   BRAND LOCKUP (header)
   Emblem is a bitmap; the wordmark is live text so it stays
   crisp at any zoom or screen density.
   ========================================================= */

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-brand .brand-mark {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

.nav-brand .brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.nav-brand .brand-name {
    font-family: var(--primary-font, 'Poppins', sans-serif);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    white-space: nowrap;
}

.nav-brand .brand-place {
    margin-top: 1px;
    font-family: var(--primary-font, 'Poppins', sans-serif);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
}

@media (max-width: 991px) {

    .nav-brand .brand-mark {
        width: 44px;
        height: 44px;
    }

    .nav-brand .brand-name {
        font-size: 15px;
    }

    .nav-brand .brand-place {
        font-size: 11.5px;
    }
}

/* Below this the full trust name cannot fit beside the menu button. */
@media (max-width: 560px) {

    .nav-brand {
        gap: 9px;
    }

    .nav-brand .brand-mark {
        width: 38px;
        height: 38px;
    }

    .nav-brand .brand-name {
        font-size: 12.5px;
        white-space: normal;
        max-width: 21ch;
    }

    .nav-brand .brand-place {
        font-size: 10.5px;
    }
}

/* =========================================================
   HEADER DONATE BUTTON (Mobile & Desktop Responsive)
   ========================================================= */

.mobile-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (min-width: 1081px) {
    .mobile-menu .donatebtn {
        margin-left: 20px;
    }
}

@media (max-width: 1080px) {
    .mobile-menu {
        display: flex !important;
        align-items: center;
        gap: 12px;
        margin-left: auto;
    }

    .mobile-menu .donatebtn {
        display: inline-flex !important;
        min-width: auto;
        min-height: 38px;
        padding: 6px 14px;
        font-size: 13px;
        letter-spacing: 0.3px;
        white-space: nowrap;
        order: 1;
    }

    .mobile-menu .donatebtn span {
        margin-right: 6px;
    }

    .mobile-menu .donatebtn img {
        width: 13px;
        height: 13px;
    }

    .mobile-menu .navbar-toggle-btn {
        order: 2;
        margin: 0;
    }
}

@media (max-width: 560px) {
    .mobile-menu {
        gap: 8px;
    }

    .mobile-menu .donatebtn {
        padding: 5px 10px;
        font-size: 11.5px;
        min-height: 34px;
    }

    .mobile-menu .donatebtn span {
        margin-right: 4px;
    }

    .mobile-menu .donatebtn img {
        width: 11px;
        height: 11px;
    }
}

@media (max-width: 380px) {
    .mobile-menu .donatebtn {
        padding: 4px 8px;
        font-size: 11px;
        min-height: 32px;
    }

    .mobile-menu .donatebtn img {
        display: none;
    }

    .mobile-menu .donatebtn span {
        margin-right: 0;
    }
}

