/* ========== CAMPAIGN INNER PAGE CSS (v2 — split layout + mala divider) ========== */

.campaign-inner-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f7ff 100%);
    padding: clamp(28px, 4vw, 48px) 0;
    min-height: auto;
}

.campaign-inner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(80, 154, 47, 0.03) 2px,
            rgba(80, 154, 47, 0.03) 4px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(222, 166, 36, 0.02) 2px,
            rgba(222, 166, 36, 0.02) 4px);
    pointer-events: none;
}

.campaign-inner-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23509a2f' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px 60px;
    opacity: 0.5;
    pointer-events: none;
}

.secondaryColor {
    color: var(--secondaryColor) !important;
}

.font-13 {
    font-size: 13px;
}

/* Eyebrow label */
.hero-eyebrow {
    color: var(--secondaryColor);
    background: rgba(222, 166, 36, 0.1);
    border: 1px solid rgba(222, 166, 36, 0.25);
    border-radius: 999px;
    padding: 5px 14px;
    width: fit-content;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.inner-hero-heading {
    line-height: 1.25 !important;
}

/* ---------- Split layout ---------- */
/* .hero-split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 992px) {
    .hero-split {
        grid-template-columns: 1.15fr auto 0.85fr;
        align-items: stretch;
        gap: 0 28px;
    }
} */

/* ---------- Image column ---------- */
/* .hero-image-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
} */
.dividar-line {
    width: 4% !important;
}

.inner-image-frame {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 22px;
    box-shadow: 0 16px 44px rgba(80, 154, 47, 0.22);
    border: 8px solid var(--whiteColor);
    background: linear-gradient(135deg, rgba(80, 154, 47, 0.1) 0%, rgba(222, 166, 36, 0.1) 100%);
    position: relative;
    aspect-ratio: 4 / 3;
}

.inner-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    color: var(--themeColor);
    border-radius: 999px;
    padding: 6px 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(4px);
    z-index: 1;
}



.hero-progress-chip {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    background: rgba(7, 30, 15, 0.5);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    padding: 6px 14px 6px 6px;
}

.hero-progress-ring {
    --p: 0;
    --ring-size: 42px;
    width: var(--ring-size);
    height: var(--ring-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--themeColor);
    background:
        radial-gradient(closest-side, var(--whiteColor) 72%, transparent 73% 100%),
        conic-gradient(var(--secondaryColor) calc(var(--p) * 1%), rgba(255, 255, 255, 0.35) 0);
    flex-shrink: 0;
}


/* ---------- Mala (rosary bead) divider — signature element ---------- */
.hero-mala-divider {
    align-items: center;
    justify-content: center;
    border-left: 1px dashed #0b2c763d;
}

/* ---------- Content column ---------- */
.hero-content-col {
    display: flex;
}

.hero-content-card {
    background: var(--whiteColor);
    border-radius: 18px;
    padding: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    align-self: center;
    z-index: 9;
    position: relative;
}

.hero-description {
    color: #64748b;
}

.hero-shlok-bar {
    background: rgba(80, 154, 47, 0.06);
    border-left: 3px solid var(--secondaryColor);
    border-radius: 0 10px 10px 0;
    padding: 10px 14px;
}

.inner-hero-meta {
    border-bottom: 1px dashed #d9d8d8;
    padding-bottom: 14px;
}

.inner-meta-separator {
    width: 4px;
    height: 4px;
    background: var(--themeColor);
    border-radius: 50%;
    opacity: 0.3;
}

.hero-feature-row {
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
}

.hero-feature-row:first-child {
    border-top: none;
    padding-top: 0;
}

.hero-feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(80, 154, 47, 0.1);
    color: var(--primaryColor);
    font-size: 14px;
}

.btn-hero-outline {
    background: var(--whiteColor);
    border: 2px solid #e9ecef;
    color: var(--themeColor);
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    border-color: var(--secondaryColor);
    color: var(--secondaryColor);
    background: rgba(222, 166, 36, 0.05);
}

/* ---------- Mobile quick-donate card ---------- */
.hero-mobile-donate {
    margin-top: 20px;
}

.inner-hero-heading {
    font-size: clamp(1.125rem, 1.0078rem + 0.625vw, 1.75rem);
}

.campaign-card {
    background: linear-gradient(135deg, var(--primaryColor) 0%, rgb(7 77 141) 80% 50%, rgb(7 77 141) 100%);
    border-radius: 12px;
    padding: clamp(1rem, 0.9063rem + 0.5vw, 1.5rem);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 99;
}

.donation-preset {
    flex: 1;
    min-width: 60px;
    padding: 8px 10px;
    background: var(--secondaryColor);
    color: var(--whiteColor);
    border: 2px solid var(--secondaryColor);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.donation-preset:hover {
    background: #d91f1f;
    border-color: #d9351f;
}

.donation-preset-outline {
    flex: 1;
    min-width: 60px;
    padding: 8px 10px;
    background: rgb(245 245 245);
    color: var(--textcolor);
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.donation-preset-outline:hover {
    border-color: var(--secondaryColor);
    color: var(--secondaryColor);
    background: rgb(255 49 49 / 6%);
}

.custom-input {
    border: 1px solid #d0d4d9;
    border-radius: 8px;
    padding: 10px 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: 0;
}

.custom-input:focus {
    border-color: var(--primaryColor);
    box-shadow: 0 0 0 3px rgba(80, 154, 47, 0.1);
}

@media (max-width: 576px) {
    .inner-image-frame {
        aspect-ratio: 4 / 3;
        min-height: 240px;
    }

    .hero-progress-chip {
        left: 10px;
        bottom: 10px;
        padding: 4px 12px 4px 4px;
    }

    .hero-progress-ring {
        --ring-size: 34px;
    }

    .hero-image-badges {
        top: 10px;
        left: 10px;
    }

    .hero-badge {
        padding: 5px 10px;
        font-size: 12px;
    }

    .dividar-line {
        display: none;
    }
}

.amount {
    border: 1.5px solid var(--primaryColor);
    color: var(--primaryColor);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: clamp(0.625rem, 0.5997rem + 0.1266vw, 0.75rem);
    font-weight: 600;
    white-space: nowrap;
}

.avatar {
    width: clamp(2.1875rem, 2.0989rem + 0.443vw, 2.625rem);
    height: clamp(2.1875rem, 2.0989rem + 0.443vw, 2.625rem);
    border-radius: 50%;
    background: #1a672b24;
    color: #19672a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.highlight-item {
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(240deg, #30744429, #1a662966, #1a662c) border-box;
}

.highlight-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateX(2px);
}

/* ========== END CAMPAIGN INNER PAGE CSS ========== */

/* Campaign Updates Enhancements */
.update-card {
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--whiteColor);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.update-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.update-date {
    display: flex;
    align-items: center;
}

.update-date p {
    margin-bottom: 0;
}

.update-media {
    width: 100%;
}

.media-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.media-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-container .no-media {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f7ff 100%);
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.update-content h4 {
    color: var(--themeColor);
    margin-bottom: 10px;
}

.update-content p {
    color: var(--textcolor);
    line-height: 1.6;
}

.campaign-details-section {
    overflow: visible;
}

.sticky-top {
    position: sticky;
    top: 100px;
    z-index: 10;
    height: fit-content;
    align-self: start;
}

.video-container {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-card {
    background: var(--whiteColor);
    border-radius: 14px;
    padding: clamp(1rem, 0.9063rem + 0.5vw, 1.5rem);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.update-item {
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--secondaryColor);
    transition: all 0.3s ease;
}

.update-item:hover {
    background: rgba(222, 166, 36, 0.05);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Offcanvas Styling */
.offcanvas {
    width: clamp(300px, 90vw, 450px);
}

.offcanvas-header {
    background: rgb(80 154 47 / 10%);
    padding: clamp(16px, 3vw, 24px);
    border-bottom: 2px solid #509a2f2e;
}

.offcanvas-body {
    background: var(--whiteColor);
    overflow-y: auto;
}

.offcanvas-image-container {
    max-height: 250px;
    height: 250px;
    width: 100%;
    display: block;
    background: #f0f0f0;
}

.offcanvas-image-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
}

.btn-close {
    background-color: #fff !important;
}

/* Tip Button Styling */
.btn-tip {
    padding: 8px 16px;
    background: var(--whiteColor);
    color: var(--textcolor);
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-tip:hover {
    border-color: var(--secondaryColor);
    color: var(--secondaryColor);
    background: rgba(222, 166, 36, 0.05);
}

.btn-tip.active {
    background: var(--secondaryColor);
    color: var(--whiteColor);
    border-color: var(--secondaryColor);
}

/* sticky sidebar wrapper - sticks while left content scrolls, stops at bottom of left content */
.sticky-wrap {
    position: sticky;
    top: 100px;
}

/* Utility Classes */
.icon-bullet {
    font-size: 6px;
    margin-right: 8px;
}

.phone-country-select {
    min-width: 120px;
    border: 1px solid #d0d4d9;
    border-radius: 6px;
    padding: 8px 12px;
    background: var(--whiteColor);
    color: var(--textcolor);
    cursor: pointer;
    transition: border-color 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 28px;
}

.phone-country-select:hover {
    border-color: var(--primaryColor);
}

.phone-country-select:focus {
    border-color: var(--primaryColor);
    outline: none;
    box-shadow: 0 0 0 3px rgba(80, 154, 47, 0.1);
}

.progress-29 {
    width: 29%;
}

.donation-box {
    background-color: #074d9c0f;
}

@media (max-width: 576px) {

    .fixed-donation-bar {
        bottom: 0px !important;
    }

    .campaign-inner-hero .inner-hero-content {
        margin-bottom: 20px;
    }

    .campaign-inner-hero .inner-image-wrapper {
        margin-bottom: 20px;
    }
}

/* ============================================
   FIXED DONATION BAR
   ============================================ */

.fixed-donation-bar {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 9999 !important;
    overflow: visible !important;
}

.fixed-donation-card {
    background: linear-gradient(135deg, var(--themeColor) 0%, var(--themeColor) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: clamp(8px, 2vw, 12px);
    box-shadow: 0 -2px 16px rgba(7, 77, 141, 0.3);
    border-radius: clamp(0rem, -0.1875rem + 1vw, 1rem);
    overflow: visible !important;
}

.amount-selection {
    background-color: #ffffff14;
    padding: 10px;
    border-radius: 10px;
}

.form-control-donation {
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    outline: none;
    width: clamp(70px, 15vw, 100px);
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 600;
    text-align: center;
    padding: clamp(8px, 1.5vw, 10px) clamp(10px, 1.5vw, 12px);
}

.form-control-donation::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control-donation:focus {
    background: rgba(255, 255, 255, 0.05);
}

/* Donate Label */
.donate-label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.donate-label-icon {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.donate-label:hover .donate-label-icon {
    opacity: 1;
}

.bottom-bar-icon {
    border-radius: 50%;
    height: 36px;
    width: 36px;
    aspect-ratio: 1;
    object-fit: cover;
}

/* Donation Methods Container */
.donation-methods {
    display: flex;
    gap: clamp(6px, 1.5vw, 12px);
}

/* Amount Select Buttons */
.btn-amount-selection {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: clamp(6px, 1.5vw, 10px) clamp(12px, 2vw, 16px);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 500;
    text-align: center;
}

.btn-amount-selection:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-amount-selection.active {
    background: #FF3131;
    border-color: #FF3131;
    color: white;
}

/* Donation Amount Selector */
.donation-amount-selector {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    position: relative;
    z-index: 100;
}

/* Currency Dropdown Button */
.btn-currency-dropdown {
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: clamp(8px, 1.5vw, 10px) clamp(10px, 1.5vw, 14px);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-currency-dropdown:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-currency-dropdown i {
    font-size: clamp(12px, 2vw, 14px);
    transition: transform 0.3s ease;
}

.btn-currency-dropdown.active i {
    transform: rotate(180deg);
}

/* Currency Dropdown Menu */
.currency-dropdown-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: rgba(7, 77, 141, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    min-width: 120px;
    display: none;
    flex-direction: column;
    gap: 0;
    z-index: 999999 !important;
    margin-bottom: 4px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.3);
    padding: 10px;
}

.currency-dropdown-menu.show {
    display: flex;
}

.currency-dropdown-item {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    padding: clamp(6px, 1vw, 6px) clamp(12px, 2vw, 16px);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.currency-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.currency-dropdown-item.active {
    background: rgb(226 178 68 / 14%) !important;
    color: var(--secondaryColor) !important;
    font-weight: 600;
}



/* Donate Button */
.btn-donate-fixed {
    background: linear-gradient(135deg, #FF3131 0%, #E74C3C 100%);
    border: none;
    color: white;
    padding: clamp(6px, 1vw, 12px) clamp(20px, 3vw, 32px);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    white-space: nowrap;
}

.btn-donate-fixed:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #FF7777 0%, #E55039 100%);
}

/* Mobile responsive - Stack on very small screens */

@media (max-width: 768px) {
    .btn-amount-selection {
        flex: 1;
        min-width: auto;
    }

    .donation-amount-selector {
        min-width: auto;
        flex: 0 1 auto;
    }
}

@media (max-width: 576px) {
    .btn-amount-selection {
        padding: clamp(6px, 1.5vw, 10px) clamp(10px, 2vw, 14px);
    }

    .form-control-donation {
        width: clamp(70px, 10vw, 100px);
    }

    .btn-donate-fixed {
        padding: clamp(8px, 1.5vw, 12px) clamp(16px, 3vw, 24px);
        font-size: 12px;
    }

    .btn-donate-fixed svg {
        width: 14px;
        height: 14px;
        margin-right: 4px;
    }
}

/* Tablet Breakpoint */
@media (max-width: 768px) {
    .campaign-details-section {
        padding: 24px 0;
    }

    .sticky-wrap {
        position: relative;
        top: 0px;
    }

    .col-md-4 {
        margin-top: 24px;
    }
}


.campaign-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.campaign-image {
    aspect-ratio: 3 / 2;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.campaign-image-grid>div {
    overflow: hidden;
    position: relative;
}

.campaign-image-grid>div::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 25%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.campaign-image-grid>div:hover .campaign-image {
    transform: scale(1.08);
}

.campaign-image-grid>div:hover::after {
    opacity: 1;
}


/* ========== IMAGE MODAL STYLING ========== */
.gallery-item {
    height: 200px;
    transition: all 0.4s ease;
    border: 3px solid #1987541f;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(6, 34, 66, 0.15);
    border-color: var(--themeColor);
}

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

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

.gallery-overlay {
    background: rgb(15 86 52 / 34%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-overlay svg {
    color: var(--whiteColor);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay svg {
    transform: scale(1.2);
}

#galleryModal .modal-content {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

#galleryModal .modal-body {
    height: 60vh;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#galleryModal .btn-close {
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 1;
    padding: 12px;
    border-radius: 50%;
}

#galleryModal .btn-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.gallery-nav-btn {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.gallery-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.1);
}

.gallery-nav-btn:active {
    transform: scale(0.95);
}

#modalImage {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

/* Modal Responsive */
@media (max-width: 1200px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 768px) {
    #galleryModal .modal-body {
        height: 60vh;
        max-height: 400px;
    }
}

@media (max-width: 576px) {
    #galleryModal .modal-body {
        height: 50vh;
        max-height: 350px;
    }

    .gallery-nav-btn {
        width: 32px;
        height: 32px;
    }

    .gallery-nav-btn svg {
        width: 18px;
        height: 18px;
    }

    .about-hero-section {
        min-height: clamp(330px, 35vh, 500px) !important;
    }

    .line {
        width: 100% !important;
        height: 2px !important;
    }

    #modalImage {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: 380px;
        object-fit: cover;
    }
}

.gallery-indicators {
    display: none;
}







/* Mobile Gallery Carousel - Only .gallery-carousel affected */
@media (max-width: 576px) {
    .gallery-carousel {
        position: relative !important;
        height: 240px !important;
        margin: 10px !important;
    }

    /* .gallery-carousel .col-lg-4 {
        display: none !important;
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        transition: opacity 0.5s ease-in-out !important;
    } */

    .gallery-carousel .col-lg-4.gallery-active {
        display: block !important;
        opacity: 1 !important;
    }

    /* Left-Right Arrow Buttons */
    .gallery-carousel::before,
    .gallery-carousel::after {
        content: '';
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(255, 255, 255, 0.7) !important;
        border: none !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 24px !important;
        color: #333 !important;
        z-index: 10 !important;
    }

    .gallery-carousel::before {
        content: '<' !important;
        left: 10px !important;
    }

    .gallery-carousel::after {
        content: '>' !important;
        right: 10px !important;
    }

    /* Bottom Indicators */
    .gallery-carousel .gallery-indicators {
        position: absolute !important;
        bottom: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        gap: 8px !important;
        z-index: 10 !important;
        width: fit-content !important;
    }

    .gallery-carousel .gallery-dot {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.5) !important;
        border: none !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        padding: 0 !important;
    }

    .gallery-carousel .gallery-dot.active {
        background: rgba(255, 255, 255, 1) !important;
        width: 24px !important;
        border-radius: 4px !important;
    }
}

.knockout {
    font-size: clamp(1.125rem, 1.0078rem + 0.625vw, 1.4rem);
    color: blue;
    color: #fff;
    background: linear-gradient(110deg, var(--themeColor) 33%, rgba(0, 0, 0, 0) 33%), linear-gradient(110deg, #78a481 34%, var(--primaryColor) 34%);
    background-size: 400%;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.knockout {
    animation: Gradient 5s ease infinite;
    -webkit-animation: Gradient 6s ease infinite;
    -moz-animation: Gradient 5s ease infinite;
}

@-webkit-keyframes Gradient {
    0% {
        background-position: 30% 50%
    }

    50% {
        background-position: 25% 50%
    }

    100% {
        background-position: 30% 50%
    }

}

.details-content {
    background-color: #0b2c7608;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #0b2c7612;
}

.puja-mantra-compact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    overflow: hidden;
}

.puja-mantra-compact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: linear-gradient(90deg,
            transparent 0%,
            transparent 25%,
            rgba(227, 125, 48, 0.6) 50%,
            rgba(243, 156, 90, 0.5) 75%,
            transparent 100%);
    background-size: 400% 100%;
    z-index: -1;
    animation: borderTravel 3s linear infinite;
}

.puja-mantra-compact-card::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: inherit;
    border-radius: 13px;
    z-index: -1;
}

/* Border Travel Animation */
@keyframes borderTravel {
    0% {
        background-position: -100% 0;
        transform: rotate(0deg);
    }

    25% {
        background-position: 0% 0;
        transform: rotate(90deg);
    }

    50% {
        background-position: 100% 0;
        transform: rotate(180deg);
    }

    75% {
        background-position: 200% 0;
        transform: rotate(270deg);
    }

    100% {
        background-position: 300% 0;
        transform: rotate(360deg);
    }
}

/* Timeline Container */
.updates-timeline-premium {
    position: relative;
    padding-left: 0;
}

#galleryModalupdate .modal-body {
    height: 60vh;
    max-height: 600px;
}

#galleryModalupdate .modal-body img {
    height: 100%;
    object-fit: cover;

}

/* Timeline Vertical Line */
.updates-timeline-premium::before {
    content: '';
    position: absolute;
    left: clamp(19px, 4vw, 23px);
    top: clamp(20px, 5vw, 25px);
    bottom: clamp(40px, 8vw, 50px);
    width: 2px;
    background: linear-gradient(180deg, rgb(135 172 143) 0%, rgb(197 215 201) 50%, rgb(200 216 205 / 17%) 100%);
}

/* Update Item */
.update-item-premium {
    position: relative;
    padding-left: clamp(50px, 10vw, 70px);
    margin-bottom: clamp(32px, 6vw, 40px);
}

.update-item-premium:last-child {
    margin-bottom: 0;
}

/* Timeline Dot */
.update-timeline-dot {
    position: absolute;
    left: clamp(12px, 2.5vw, 16px);
    top: 8px;
    width: clamp(14px, 3vw, 16px);
    height: clamp(14px, 3vw, 16px);
    background: white;
    border: 3px solid var(--themeColor);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(244, 91, 31, 0.1);
}

/* Status-specific Timeline Dots */
.update-timeline-dot.ongoing-dot {
    border-color: #286e35;
    box-shadow: 0 0 0 4px rgb(138 176 149 / 41%);
}

.update-timeline-dot.upcoming-dot {
    border-color: #0c2f78;
    box-shadow: 0 0 0 4px rgb(156 167 196 / 34%);
}

.update-timeline-dot.completed-dot {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.update-timeline-dot.announcement-dot {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

/* Update Content Card */
.update-content-premium {
    background: white;
    border-radius: clamp(12px, 3vw, 16px);
    padding: clamp(16px, 4vw, 20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.update-content-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgb(175 200 183);
    border-color: rgb(117 162 129 / 36%);
}

/* Update Icon */
.update-icon-premium {
    width: clamp(36px, 7vw, 40px);
    height: clamp(36px, 7vw, 40px);
    border-radius: clamp(10px, 2vw, 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.update-icon-premium svg {
    width: clamp(16px, 3.5vw, 18px);
    height: clamp(16px, 3.5vw, 18px);
}

.update-icon-premium.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.update-icon-premium.ongoing {
    background: linear-gradient(135deg, #74a07c 0%, #196729 100%);
    color: white;
}

.update-icon-premium.upcoming {
    background: linear-gradient(135deg, #0d2b7696 0%, #162f79 100%);
    color: white;
}

.update-icon-premium.announcement {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

/* Status Badges */
.update-status-badge {
    display: inline-block;
    padding: clamp(3px, 1vw, 4px) clamp(10px, 2.5vw, 12px);
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.update-status-badge.ongoing {
    background: rgb(43 112 60 / 17%);
    color: #1b662c;
    border: 1px solid rgb(152 184 161);
}

.update-status-badge.upcoming {
    background: rgb(12 46 117 / 9%);
    color: #213e80;
    border: 1px solid rgb(168 179 201);
}

.update-status-badge.completed {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.update-status-badge.announcement {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Animation on Scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.update-item-premium {
    animation: fadeInUp 0.6s ease-out;
}

.update-item-premium:nth-child(1) {
    animation-delay: 0.1s;
}

.update-item-premium:nth-child(2) {
    animation-delay: 0.2s;
}

.update-item-premium:nth-child(3) {
    animation-delay: 0.3s;
}

.update-item-premium:nth-child(4) {
    animation-delay: 0.4s;
}
.campaign-gallery-item{
    height: 150px;
}
.campaign-gallery-item .gallery-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.campaign-gallery-item:hover .gallery-overlay {
    opacity: 1;
    visibility: visible;
}