:root {
    --brand-blue: #042462;
    --brand-blue-dark: #01122f;
    --brand-orange: #ff6500;
    --hero-cream: #f8f1e8;
    --dot-color: rgba(146, 137, 100, 0.28);
    --ink-blue: #042462;
    --soft-white: #fff9f1;
}

/* Floating Social Media Buttons */
.social-media-float {
    position: fixed;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.social-media-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--brand-blue);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(4, 36, 98, 0.3);
    border: 2px solid transparent;
    position: relative;
}

.social-media-float a:hover {
    transform: scale(1.1);
}

/* Tooltip */
.social-media-float a::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 56px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--brand-blue);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(4, 36, 98, 0.3);
}

.social-media-float a:hover::after {
    opacity: 1;
    visibility: visible;
}

.social-float-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .social-media-float {
        right: 15px;
        gap: 10px;
    }

    .social-media-float a {
        width: 36px;
        height: 36px;
    }

    .social-media-float a::after {
        display: none;
    }


}

/* Page Load Popup */
.modal.fade#pageLoadPopup.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-dialog.modal-dialog-centered {
    /* display: flex;
    align-items: center;
    min-height: calc(1.75rem + 2vw);
    margin: 0; */

    display: flex;
    align-items: center;
    min-height: calc(100% - var(--bs-modal-margin) * 2);
}

.page-load-popup {
    background: linear-gradient(135deg, #ffffff 0%, #f8f1e8 100%);
    box-shadow: 0 10px 40px rgba(4, 36, 98, 0.2);
    max-width: 450px;
    position: relative;
}

.page-load-popup .btn-close {
    width: 30px;
    height: 30px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.page-load-popup .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.popup-logo {
    animation: popupFadeInScale 0.6s ease-out;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.popup-text {
    animation: popupFadeInUp 0.6s ease-out 0.2s both;
    word-break: break-word;
    max-width: 100%;
}

#pageLoadPopupButton {
    animation: popupFadeInUp 0.6s ease-out 0.4s both;
    transition: all 0.3s ease;
}

#pageLoadPopupButton:hover {
    background-color: #ff5500 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 101, 0, 0.3);
}

.popup-subtext {
    animation: popupFadeInUp 0.6s ease-out 0.5s both;
}

@keyframes popupFadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

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

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

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

html,
body {
    width: 100%;
    min-height: 100%;
    /* padding-bottom: 40px; */
}

body,
* {
    font-family: "Mukta", sans-serif;
    font-weight: 700;
    box-sizing: border-box;
}

.bg-body-tertiary {
    background-color: white !important;
    padding: 0px;
    box-shadow: 1px 1px 4px black;
}

/* Ensure Bootstrap sticky-top works reliably across browsers and provide visible separation */
.navbar.sticky-top {
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1100;
    /* above page content but below modals */
    transition: box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.navbar.sticky-top::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.navbar.sticky-top.scrolled {
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.25);
    backdrop-filter: blur(6px);
}

/* Fallback when `position: sticky` is not available or blocked by ancestor styles */
.navbar.fixed-fallback {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1200 !important;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.25);
    backdrop-filter: blur(6px);
}

.navbar-brand {
    width: 19%;
    margin: 0px;
    padding: 0px;
    background-color: #fff;
    border-bottom-right-radius: 999px;
}

.navbar-brand img {
    max-width: 60%;
    padding: 2%;
    margin-left: 8%;
}


.navbar-toggler-icon {
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.lang {
    color: white;
    border-left: 2px solid #fff;
    padding-left: 2%;
    padding-right: 2%;
    font-weight: 600;
    font-size: 24px;
}

.nav-link {
    border-radius: 100px;
    border: 1px solid #D9DDEA;
    background: #E1E5F2;
    padding: 6px 16px;
    color: #112F5A;
    font-family: Poppins;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.nav-link.active {
    border-radius: 100px;
    border: 1px solid #DEE2EF;
    background: #112F5A;
    padding: 6px 16px;
    color: #FFF !important;
    font-family: Poppins;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    /* border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, .9);
    padding: 5px 10px;
    font-weight: 600;
    font-size: 16px;
    color: white;
    box-shadow:
        inset 0 2px 5px rgba(255, 255, 255, .45),
        inset 0 -2px 6px rgba(0, 0, 0, .35),
        0 0 8px rgba(255, 255, 255, .35); */
}

/* Mobile Offcanvas Nav Menu */
.mobile-nav-offcanvas {
    width: 78% !important;
    max-width: 320px;
}

.mobile-nav-offcanvas .offcanvas-header {
    padding: 16px 16px 12px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.offcanvas-logo {
    max-width: 150px;
}

.btn-close-custom {
    background: none;
    border: none;
    padding: 4px;
    line-height: 0;
    cursor: pointer;
}

.mobile-nav-list {
    padding: 0;
    margin: 0;
}

.mobile-nav-list .mobile-nav-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #0a1a4a;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 1px solid #f2f2f2;
}

.mobile-nav-item.active a {
    background: #fff1e9;
    color: #ff6500;
}

.mobile-nav-item .chevron {
    flex-shrink: 0;
}

.new-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 10px;
    border: 1px solid #ff6500;
    border-radius: 999px;
    color: #ff6500;
    font-size: 11px;
    font-weight: 700;
    vertical-align: middle;
}

@media (min-width: 992px) {
    .mobile-nav-offcanvas {
        display: none !important;
    }
}

.nav-link:hover {
    border-radius: 100px;
    border: 1px solid #DEE2EF;
    background: #112F5A;
    padding: 6px 16px;
    color: #FFF;
    font-family: Poppins;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.carousel-indicators {
    position: absolute;
    bottom: -15%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    max-width: 90%;
    padding: 6px 12px;
    margin: 0;
    border-radius: 30px;
    background: #d1d1d1;
}

.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    padding: 0;
    margin: 0 4px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #aab4c4;
    background-clip: padding-box;
    border: none;
    opacity: 1;
    transition: background-color .3s ease, opacity .3s ease;
}

.carousel-indicators .active {
    background-color: #00286B !important;
    opacity: 1;
}

#carouselExample .carousel-indicators {
    bottom: -12%;
}

/* 3) #testimonialCarousel ke dots ki alag styling */
#testimonialCarousel .carousel-indicators {
    bottom: -12%;
}


@media(max-width:768px) {
    .navbar-brand {
        position: absolute;
        left: 29%;
        top: 0;
        width: 45%;
        margin: auto;
        margin-top: 0px;
        padding: -1px;
        background-color: #fff;
        border-bottom-right-radius: 900px;
        border-bottom-left-radius: 900px;
    }

    .navbar-brand img {
        max-width: 56%;
        padding: 0;
        padding-bottom: 2%;
        margin-left: 22%;
        height:60px;

    }
}


#hero-section {
    height: 550px;
    /* background-position: center;
    background-repeat: no-repeat; */
    background-position-y: 100%;
    padding-top: 2%;
}

.hero-container {
    width: 100%;
    /* width: 80%; */
    /* margin-top: 40px; */
    padding: 20px 80px 80px;
    background-color: white;
    border-radius: 20px;
    /* box-shadow: 2px 2px 16px #d1d1d1; */
}

.hero-subtitle {
    color: #ff6500;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
    margin-top: 20px;
}

.btn-hero {
    background-color: #ff6500;
    border-radius: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    border: 4px solid #fff;
    padding: 8px 60px;
    box-shadow: 3px 3px 9px #343a40
}

.btn-hero1 {
    background-color: #ff6500;
    border-radius: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    border: 2px solid #fff;
    padding: 8px 20px;
    box-shadow: 2px 2px 4px black;
}

.form-head {
    font-size: 42px;
    text-align: center;
    font-weight: 700;
    color: #001B4D;
    text-align: center;
    font-family: Mukta;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.form-control {
    margin-top: 0;
    border: none !important;
    border-bottom: 2px solid #ff6500 !important;
    border-radius: 0 !important;
    font-size: 18px !important;
    color: black;
    padding: 6px 2px;
    box-shadow: none !important;
}

.form-control:focus {
    border-bottom: 2px solid #ff6500 !important;
    box-shadow: none !important;
}

.pledge-field {
    margin-bottom: 22px;
}

.pledge-label {
    display: block;
    color: #001B4D;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 6px;
}

.required-star {
    color: #ff6500;
}

.form-select {
    margin-top: 10px;
    border: 2px solid #031e4d !important;
    font-size: 20px !important;
    color: black;
    border-radius: 10px;
}

form {
    margin-top: 20px;
    margin-bottom: 20px;
}

.carousel-control-prev-icon {
    background-image: url('../assets/images/c-prev.webp');
}

.carousel-control-next-icon {
    background-image: url('../assets/images/c-next.webp');
}

.carousel-control-next,
.carousel-control-prev {
    opacity: 1 !important;
}

.carousel-control-next {
    right: -20px;
}

.carousel-control-prev {
    left: -20px;
}


/* body {
        background-image: url('../assets/images/bg_m.webp');
        background-position: center;
      
        background-size: cover;
    } */
#hero-section {
    /* height: auto; */
    /* background-image: url('../assets/images/bg_m.webp');
    background-position: center;
    background-repeat: no-repeat; */
}

@media(max-width:768px) {

    #hero-section {
        /* height: auto;
        background-image: url('../assets/images/bg_hero.webp');
        background-position: center;
        background-repeat: no-repeat; */
        /* background-position-y: 100%; */
        /* padding-top: 2%; */
    }

    /* 
    body {
        background-image: url('../assets/images/bg_hero.webp');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    } */

    .navbar-brand img {
        max-width: 56%;
        padding: 0;
        padding-bottom: 2%;
        margin-left: 22%;

    }

    /* .hero-container {
        width: 90%;
        padding: 20px 30px;
        background-color: white;
        border-radius: 20px;
        box-shadow: 2px 2px 16px #d1d1d1;
        margin-top: 8%;
        margin-bottom: 8%;


        
    } */

    .hero-container {
        width: 99%;
        padding: 24px;
        background-color: white;
        border-radius: 20px;
        /* box-shadow: 2px 2px 4px #d1d1d1; */
        margin-top: 8%;
        margin-bottom: 8%;
    }

    .hero-box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        font-size: 24px;
        font-weight: 700;
    }
}



/* ==========================================================================
   Nonstop UP Express Train & Interactive Section Styles
   ========================================================================== */

.train-section {
    /* background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%); */
    background: linear-gradient(140deg, #FEEEDE -12.46%, #FEF8F0 100%);
    overflow-x: hidden;
    /* padding-top: 4rem; */
    padding-bottom: 20px;
    /* border-bottom: 1px solid rgba(24, 74, 159, 0.08); */
}

.train-intro-text {
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 600;
    color: #4a5568;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.train-logo-wrap {
    margin-top: 10px;
}

.train-logo-main {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 900;
    color: var(--brand-blue);
    letter-spacing: -0.5px;
    font-family: 'Outfit', 'Inter', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.train-logo-main .orange-accent {
    color: var(--brand-orange);
    font-style: italic;
    font-weight: 900;
}

.train-subtitle {
    /* font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 800;
    color: #042462; */

    color: #001B4D;
    text-align: center;
    font-family: Mukta;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    /* 24px */
}

/* Train Scroll Viewport & Marquee */
.train-viewport {
    width: 100%;
    padding: 0px 0 31px;
    /* margin-bottom: 2rem; */
}

.train-track-line {
    position: absolute;
    bottom: 33px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #4B5563;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.train-track-line::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 12px;
    background: repeating-linear-gradient(90deg, #718096, #718096 4px, transparent 4px, transparent 10px);
    opacity: 0.6;
}

.train-marquee {
    display: flex;
    width: max-content;
    animation: train-scroll 24s linear infinite;
    z-index: 2;
    position: relative;
    padding-left: 20px;
    cursor: grab;
    touch-action: pan-y;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
}

.train-marquee.dragging {
    cursor: grabbing;
}

.train-marquee.dragging .train-coach {
    transition: none;
}

/* Pause the whole train animation and the wheel rotations on hover */
.train-viewport:hover .train-marquee {
    animation-play-state: paused;
}

.train-viewport:hover .wheel-spokes {
    animation-play-state: paused;
}

@keyframes train-scroll {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}

.train-assembly {
    display: flex;
    align-items: flex-end;
    gap: 0px;
    padding-right: 300px;
    /* Gap between train loops */
}

/* Coach and Engine structures */
.train-coach {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    width: 160px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.coach-signboard {
    position: absolute;
    top: 14%;
    /* Aligns vertically inside the top orange area of train_box.webp */
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    line-height: 1.15;
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.coach-signboard .nonstop-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0px;
}

.coach-signboard .title-label {
    font-size: 11px;
    font-weight: 800;
}

.coach-body-container {
    width: 100%;
    position: relative;
    z-index: 1;
}

.coach-svg-graphic {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
    transition: filter 0.3s ease;
    padding: 3px;
}

/* Coach Hover Effect: Lift, Scale, Glow */
.train-coach:hover {
    transform: translateY(-12px) scale(1.04);
    z-index: 10;
}

.train-coach:hover .coach-signboard {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.train-coach:hover .coach-svg-graphic {
    filter: drop-shadow(0 15px 25px rgba(255, 101, 0, 0.45));
}

.train-engine {
    width: 170px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}

.engine-svg-graphic {
    width: 100%;
    height: auto;
}

/* Wheel Spokes Rotation Animation */
.wheel-spokes {
    transform-origin: center;
    animation: rotate-wheel 2s linear infinite;
}

@keyframes rotate-wheel {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Custom Modal Styles */
.custom-modal-content {
    background: #ffffff;
    border-radius: 24px;
    border: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.custom-modal-content .modal-header {
    background: var(--brand-blue);
    color: #ffffff;
    padding: 20px 24px;
}

.custom-modal-content .modal-title {
    font-weight: 800;
    font-size: 22px;
}

.btn-close-custom {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    padding: 0;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

.btn-close-custom:hover {
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-description-text {
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
    font-weight: 500;
    background: #f7fafc;
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 5px solid var(--brand-blue);
}

/* Modal Buttons & Share Layout (card-style row: download + icon share) */
.modal-actions-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.btn-card-download {
    flex: 1 1 auto;
    background: var(--brand-blue);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(4, 36, 98, 0.25);
    transition: all 0.2s ease;
}

.btn-card-download:hover {
    background: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(4, 36, 98, 0.35);
    color: #ffffff;
}

/* Share icon button + tooltip wrapper */
.share-btn-wrap {
    position: relative;
    flex: 0 0 auto;
}

.btn-card-share {
    width: 56px;
    height: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--brand-blue);
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-card-share:hover,
.btn-card-share[aria-expanded="true"] {
    border-color: var(--brand-blue);
    background: #f7fafc;
    transform: translateY(-2px);
}

/* Tooltip / small popup with 3 share icons */
.share-tooltip-popup {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    border: 1px solid #edf2f7;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 20;
    white-space: nowrap;
}

.share-btn-wrap.open .share-tooltip-popup,
.share-btn-wrap:hover .share-tooltip-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.share-tooltip-arrow {
    position: absolute;
    top: 100%;
    right: 18px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-right: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
    transform: translateY(-50%) rotate(45deg);
}

.share-tooltip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff !important;
    flex-shrink: 0;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.share-tooltip-icon:hover {
    transform: translateY(-3px);
    filter: brightness(0.92);
}

.share-tooltip-fb {
    background-color: #1877f2;
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.25);
}

.share-tooltip-ws {
    background-color: #25d366;
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.25);
}

.share-tooltip-tw {
    background-color: #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

/* On touch/mobile devices, avoid relying on hover; tap toggles the popup */
@media (hover: none) {
    .share-btn-wrap:hover .share-tooltip-popup {
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px) scale(0.96);
    }

    .share-btn-wrap.open .share-tooltip-popup {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .share-tooltip-popup {
        right: -8px;
    }
}

/* Success Toast */
.toast-custom {
    background-color: #1535a0;
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(21, 53, 160, 0.4);
    border: 2px solid #ffffff;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 80px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    z-index: 1100;
    white-space: nowrap;
}

.toast-custom.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .share-grid {
        grid-template-columns: 1fr;
    }
}

/* .testimonial-upload-section {
    background: #f5efe5;
} */

.testimonial-upload-section .container {
    max-width: 980px;
}

.testimonial-heading {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #042462;
    letter-spacing: -0.5px;
}

.testimonial-subheading {
    /* font-size: 24px;
    color: #042462;
    font-weight: 700; */
    /* margin-top: 0.5rem; */

    color: #001B4D;
    text-align: center;
    font-family: Mukta;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    /* 24px */
}

.testimonial-card {
    max-width: 600px;
    /* border: 1px solid rgba(24, 74, 159, 0.12); */
    /* background: #ffffff; */
    border-radius: 32px;
    overflow: hidden;
    
}

.testimonial-video-wrapper {
    position: relative;
    overflow: hidden;
    /* border-radius: 30px 30px 0 0; */
    /* min-height: 280px; */
    /* background: #f0ece1; */
}

.testimonial-video {
    width: 100%;
    /* height: 300px; */
    display: block;
    /* max-height: 280px; */
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 0 13px 0 rgba(0, 0, 0, 0.20);
    /* background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 20.38%, rgba(255, 255, 255, 0.00) 99.7%), url(<path-to-image>) lightgray 50% / contain no-repeat;
box-shadow: 0 2px 13px 0 rgba(0, 0, 0, 0.25); */
}

.video-play-button {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    border: 2px solid #ffffff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.video-play-button img {
    width: 32px;
    height: 32px;
}

.testimonial-card-body {
    position: absolute;
    bottom: 0px;
    /* background: #ffffff; */
}

.testimonial-person {
    color: #042462;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.testimonial-location {
    color: #ff6500;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.testimonial-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 0;
    text-align: justify;
}

/* .upload-card {
    background: #ffffff;
    border: 1px solid rgba(24, 74, 159, 0.14);
    border-radius: 28px;
} */

.upload-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* background: #042462; */
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.99rem;
    /* box-shadow: 0 12px 30px rgba(24, 74, 159, 0.16); */
    transition: transform 0.2s ease, background-color 0.2s ease;
}

/* .upload-label:hover {
    transform: translateY(-1px);
    background: #0f356c;
} */

.upload-icon {
    /* width:200px !important; */
    height: auto;
}

.upload-note {
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 600;
}

.upload-preview {
    border: 1px dashed rgba(24, 74, 159, 0.24);
    padding: 14px;
    border-radius: 20px;
    background: #fbfaf8;
}

.upload-preview video {
    border-radius: 18px;
    max-height: 320px;
}

.share-text {
    margin-top: 18px;
}

.share-btn {
    background: #042462;
    color: #ffffff;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.share-btn:hover,
.share-btn:focus {
    background: #0f356c;
    transform: translateY(-1px);
}

.testimonial-upload-section .carousel-control-prev-icon,
.testimonial-upload-section .carousel-control-next-icon {
    background-image: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background:rgb(11 23 43 / 90%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.testimonial-upload-section .carousel-control-prev-icon{
    left: 10px;
}
.testimonial-upload-section .carousel-control-next-icon{
    right: 10px;
}

.testimonial-upload-section .carousel-control-prev-icon::after,
.testimonial-upload-section .carousel-control-next-icon::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.testimonial-upload-section .carousel-control-prev-icon::after {
    transform: rotate(-135deg);
}

.testimonial-upload-section .carousel-control-next-icon::after {
    transform: rotate(45deg);
}

@media(max-width:768px) {
    .testimonial-card {
        max-width: 100%;
    }

    .testimonial-video-wrapper {
        min-height: 220px;
    }

    .video-play-button {
        width: 64px;
        height: 64px;
    }

    .share-btn {
        width: 100%;
    }
}



/* counter-container */

.counter-container {
    position: fixed;
    bottom: 0;
    z-index: 99999;
}

.banner-wrap {
    background: #fff;
    /* border: 2px solid #c8c8c8; */
    /* border-radius: 10px; */
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);

}

.counter-side {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Outer blue rounded box wrapping all digits */
.digit-group {
    display: flex;
    /* background: #1535a0; */
    border-right: 3px solid #ff6500;
    border-radius: 7px;
    padding: 5px 7px;
    gap: 5px;
}

/* Each digit cell — flip card container */
.digit-cell {
    width: 36px;
    height: 46px;
    perspective: 200px;
    position: relative;
}

.digit-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: none;
}

.digit-front,
.digit-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: #ff6500;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    /* border: 2px solid rgba(255, 255, 255, 0.25); */
    font-family: 'Courier New', monospace;
    /* horizontal divider line in middle */
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.digit-back {
    transform: rotateX(180deg);
}

/* flipping state */
.digit-cell.flipping .digit-inner {
    animation: flipDown 0.4s ease-in-out forwards;
}

@keyframes flipDown {
    0% {
        transform: rotateX(0deg);
    }

    50% {
        transform: rotateX(-90deg);
    }

    100% {
        transform: rotateX(0deg);
    }
}

/* mid-line divider on each card */
.digit-front::after,
.digit-back::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: white;
    pointer-events: none;
}

.counter-label {
    font-size: 14px;
    font-weight: 600;
    color: #ff6500;
    white-space: nowrap;
}

.counter-flex-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.counter-plus {
    font-size: 48px;
    font-weight: 800;
    color: #ff6500;
    margin-left: 12px;
    line-height: 1;
    font-family: 'Courier New', monospace;
}

@media (max-width: 768px) {
    .counter-plus {
        font-size: 32px;
        margin-left: 6px;
    }
}

.sankalp-btn {
    background: #e8620a;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
    box-shadow: 0 3px 10px rgba(232, 98, 10, 0.25);
}

.sankalp-btn:hover {
    background: #c95309;
}

.sankalp-btn:active {
    transform: scale(0.97);
}


@media(max-width:768px) {
    .counter-container {
        position: relative;
    }

    .banner-wrap {
        display: flex;

        justify-content: center;
    }

    .digit-cell {
        width: 24px;
        height: 34px;
        perspective: 200px;
        position: relative;
    }

    /* .digit-group {
        display: flex;
        border: 3px solid #ff6500;
        border-radius: 10px;
        padding: 4px 4px;
        gap: 2px;
    } */

    .counter-label {
        font-size: 15px;
        font-weight: 600;
        color: white;
        /* background-color: #042462; */
        white-space: nowrap;
        padding-right: 10px;
    }

    .digit-group {
        display: flex;
        background: white;
        border-right: 3px solid #ff6500;
        border-radius: 7px;
        padding: 4px 4px;
        gap: 2px;
    }

    .counter-side {
        display: flex;
        align-items: center;
        gap: 7px;
        background-color: #042462;
        border-radius: 10px;
        border: 3px solid #ff6500;
    }
}

/* toast */
#toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(70px);
    background: #1535a0;
    color: #fff;
    padding: 11px 30px;
    border-radius: 50px;
    font-size: 15px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    z-index: 999;
    white-space: nowrap;
}

#toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.share-btn {
    background: #042462;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.share-btn:hover,
.share-btn:focus {
    background: #0f356c;
    transform: translateY(-1px);
}

.modal-content.rounded-4 {
    border-radius: 24px;
}

.modal-header {
    border: none;
}

.modal-body .form-control {
    border: 2px solid #042462;
    border-radius: 12px;
    padding: 12px 14px;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #042462;
}

.modal .btn-primary {
    background: #042462;
    border: none;
}

.modal .btn-primary:hover {
    background: #0f356c;
}

.map_heading {
    font-size: 56px;
    text-align: center;
    color: #042462;
    margin-top: 13px;
    font-weight: bold;
}

/* #myDropdown {
    margin-bottom: 10px;
 width: 20%;
    display: block;
    margin: auto;
    color: #ff6500;
    padding: 5px;
    font-size: 20px;
    margin-top: 20px;
    border: 2px solid #ff6500 !important;
    border-radius: 7px;
    background: transparent;
} */

.map {
    text-align: center;
    justify-content: center;
}

.video-section-heading {
    text-align: center;
    color: #042462;
    font-size: 35px;
    font-weight: 700;
    text-transform: capitalize;
}


.about {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 10px;
    position: relative;
}

/* .about img {
    width: 60%;
} */

/* .about::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 1px;
    background-color: #ff6500;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
} */

.about-section {
    margin-bottom: 40px;
}

.about-text {
    /* color: #042462;
    text-align: left;
    font-size: 22px;
    font-weight: 500; */
    color: #36383B;
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 180%;
}

/* About section second counter card */
.about-sankalp-container {
    /* border-top: 2px dashed rgba(24, 74, 159, 0.15);
    padding-top: 40px; */
}

.counter-card-container {
    text-align: center;
}

.counter-box-card {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 3px solid #ff6500;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.counter-box-card .digit-group {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 4px !important;
    border-right: none !important;
}




.counter-label-blue {
    font-size: 22px;
    font-weight: 800;
    color: #042462;
    text-align: center;
}

.pledge-cta-wrap {
    margin-top: 35px;
}

.pledge-cta-title {
    color: #042462;
    font-size: 32px;
    font-weight: 800;
}

.btn-sankalp-badge {
    background-color: #ff6500;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-size: 22px;
    font-weight: 800;
    width: calc(100% - 24px);
    max-width: 600px;
    line-height: 1.2;
    box-shadow: 0 6px 20px rgba(255, 101, 0, 0.35);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* .btn-sankalp-badge {
    background-color: #ff6500;
    color: #ffffff;
    border: 4px solid #ffffff;
    border-radius: 50px;
    padding: 2px 68px;
    font-size: 30px;
    font-weight: 800;
    max-width: calc(100vw - 24px);
    line-height: 1.2;
    box-shadow: 0 6px 15px rgba(255, 101, 0, 0.3);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
} */

.btn-sankalp-badge:hover {
    background-color: #e05600;
    color: #ffffff;
    /* transform: translateY(-3px) scale(1.03); */
    box-shadow: 0 8px 20px rgba(255, 101, 0, 0.4);
}

.btn-sankalp-badge:active {
    transform: scale(0.97);
}






/* fixed */
#fixed-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    z-index: 99999;
    padding: 6px 0;
    background: white;
    color: #042462;
    text-align: center;
    box-shadow: 2px 2px 13px;
    margin: 0px;
    animation: e-pulse 2.8s ease-in-out infinite;
}

.fixed-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 0px 10px;
    flex-wrap: wrap;
}

.fixed-text h4 {
    color: #042462;
    margin: 0;
    font-size: 26px;
    font-weight: bold;
}

/* .anthem-section {
    background: linear-gradient(180deg, #f7f5ef 0%, #ffffff 100%);
} */

.anthem-card {
    max-width: 900px;
    width: 100%;
    aspect-ratio: 16 / 9;
    /* background: #ededee; */
    border-radius: 28px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.anthem-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.anthem-video-overlay {
    position: absolute;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.35); */
    z-index: 2;
    transition: background 0.25s ease;
}

.anthem-play-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.anthem-play-circle:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.28);
}

.anthem-play-circle svg {
    display: block;
}

.anthem-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.anthem-text-wrap {
    max-width: 700px;
}

.anthem-text-wrap .section-label {
    display: inline-block;
    background: #ff6500;
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.anthem-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #042462;
}

.anthem-text {
    font-size: 1rem;
    color: #3c3c3c;
    line-height: 1.8;
}

.anthemPlayButton img {
    width: 40px;
}

.game_head {
    color: #042462;
    text-align: center;
    font-weight: bold;
    font-size: 36px;
}

.game_head2 {
    color: #ff6500;
    text-align: center;
    font-weight: bold;
}

.game_img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* height: 250px; */
    padding: 0px;
    text-align: center;
}


.button-flip-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: inline-block;
}

.modal-img-container {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f7fafc;
    border: 1px solid #edf2f7;
    overflow: hidden;
}

.modal-display-image {
    display: block;
    object-fit: cover;
    width: 100%;
    max-height: 380px;
    transition: transform 0.9s ease, opacity 0.9s ease;
    transform-style: preserve-3d;
}

.modal-img-container.flipping .modal-display-image {
    transform: rotateY(360deg);
    opacity: 0.3;
}


.counter-box-card {
    background-color: #ffffff;
    border: 3px solid #ff6500;
    border-radius: 16px;
    padding: 7px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


@media (max-width: 768px) {

    .game_img {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: auto;
        padding: 0px;
        text-align: center;
    }

    .counter-label-blue {
        font-size: 20px;
    }

    .pledge-cta-title {
        font-size: 22px;
        text-align: center;
        width: 100%;
    }

    .btn-sankalp-badge {
        font-size: clamp(16px, 5vw, 24px);
        padding: 15px;
        box-shadow: 0 4px 12px black;
        color: #FFF;
        font-family: Mukta;
        font-size: 18px;
        font-style: normal;
        font-weight: 800;
        line-height: normal;
    }

    /* .counter-box-card {
       
    } */


    .counter-box-card {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background-color: #ffffff;
        border: 3px solid #ff6500;
        border-radius: 8px;
        padding: 5px 7px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .counter-box-card .digit-group {
        border: none !important;
        background: none !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 8px !important;
        border-right: none !important;
    }



    .counter-box-card .digit-group {
        gap: 4px !important;
    }
}




/* Modal close button: clean floating circle, overlaps top-right of the card */
.modal-close-btn {
    position: absolute;
    top: 0px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--brand-blue);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    z-index: 30;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.modal-close-btn:hover {
    background: var(--brand-blue);
    color: #ffffff;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .modal-close-btn {
        top: 0px;
        right: 10px;
        width: 28px;
        height: 28px;
    }

    .social_media{
        padding-bottom: 85px !important;
    }
}

.social_media {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.social_media_img {
    width: 42px;
}


.navbar-brand:focus,
.navbar-brand:hover {
    color: white !important;
}

/* body {
    background-image: url('../assets/images/bg_m.webp');
} */

/* .athem_header_img{
    width:50%;
}
 */

.anthem-section {
    padding-top: 20px;
}

.anthem-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.anthem-header-img {
    height: 77px;
    /* apne hisab se */
    width: auto;
}

.anthem-header span {
    font-size: 58px;
    /* image height ke barabar */
    font-weight: 600;
    color: #042462;
    line-height: 1;
}

/* .train-section-container {
    background-image: url('assets/images/train_bg.webp');
    background-size: cover;
    background-position: 100% 100%"

} */

@media (max-width: 768px) {
    /* .train-section-container {
        background-image: url('assets/images/train_bg.webp');
        background-size: cover;
        background-position: 100% 100%"
    } */

    .about-text {
        color: #042462;
        text-align: center;
        margin-top: 20px;
        font-size: 18px;
    }

    .fixed-text h4 {
        color: #042462;
        margin: 0;
        font-size: 18px;
        font-weight: bold;
    }

    .fixed-text {
        padding: 10px 10px;
    }
}


.district-select {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.district-select select {
    /* width:280px;
    height:64px; */
    padding: 0 20px;
    border: 3px solid #ff7a00;
    border-radius: 12px;
    background: transparent;
    color: #ff7a00;
    font-size: 34px;
    font-weight: 700;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    cursor: pointer;
}

.district-select select option {
    color: #333;
    font-size: 18px;
}

.select-arrow {
    width: 64px;
    height: 64px;
    background: #ff7a00;
    border-radius: 0 12px 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -12px;
}

.select-arrow img {
    width: 24px;
}

.district-select {
    position: relative;
    display: inline-block;
}

.district-select img {
    position: absolute;
    right: -23%;
    top: 0;
    width: 50px;
    height: 50px;
    pointer-events: none;

}

#myDropdown {
    /* padding-right: 60px; */
}

/* #testimonialCarousel {
    width: 350px !important;
} */

/* Testimonial Section styles */
.testimonial-card {
    border-radius: 24px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    box-shadow: 0 0 13px 0 rgba(0, 0, 0, 0.20);
    /* background-color: #ffffff;
    border: 3px solid #ff6500; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); */
}

.testimonial-video-wrapper {
    border-radius: 12px;

    overflow: hidden;
}

/* .testimonial-video {
    display: block;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
} */

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 5;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.video-play-button img {
    width: 52px;
    height: 52px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

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

.btn-form {
    background-color: #ff6500;
    border-radius: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    padding: 12px 0;
    width: 100%;
    max-width: 100%;
    border: none;
    box-shadow: 0 6px 14px rgba(255, 101, 0, 0.3);
}

.btn-form:hover {
    background-color: #df5600;
    color: #fff;
}

.social_head {
    color: #00286B;
    font-family: Mukta;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

@media (max-width: 768px) {
    .carousel-control-next {
        right: 0px;
    }

    .carousel-control-prev {
        left: 0px;
    }

    .anthem-header-img {
        height: 53px;
        /* apne hisab se */
        width: auto;
    }

    .anthem-header span {
        font-size: 37px;
        font-weight: 700;
        color: #042462;
        line-height: 1;
        font-style: italic;
    }

    .game_head {
        font-size: 22px;
    }

    .map_heading {
        font-size: 22px;
    }



    .district-select select {
        padding: 0 20px;
        border: 3px solid #ff7a00;
        border-radius: 8px;
        background: transparent;
        color: #ff7a00;
        font-size: 14px;
        font-weight: 700;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        outline: none;
        cursor: pointer;
    }

    .district-select img {
        position: absolute;
        right: -21%;
        top: 2px;
        width: 22px;
        height: 22px;
        pointer-events: none;
        transform: rotate(90deg);
    }

    .form-head {
        font-size: 20px;
    }

    .nav-link {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .modal-dialog-centered {
        display: flex;
        align-items: center;
        min-height: calc(100% - var(--bs-modal-margin) * 2);
    }
}





/* Flip control bar: icon (left) + text (middle) + CTA button (right) */
.modal-img-wrapper {
    position: relative;
}

.flip-control-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    /* margin-top: 10px; */
    padding: 10px 14px;
    background: var(--brand-blue);
    border-radius: 0px 0px 0px 0px;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.flip-control-bar.disabled {
    pointer-events: none;
    opacity: 0.85;
}

.flip-icon-btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: #ffffff;
}

.flip-control-bar .button-flip-icon {
    width: 16px;
    height: 16px;
}

.flip-control-text {
    flex: 1 1 auto;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.flip-cta-btn {
    flex: 0 0 auto;
    background: var(--brand-orange);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    animation: floatGlow 2s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flip-control-bar:hover .flip-cta-btn {
    transform: scale(1.06);
    box-shadow: 0 15px 35px rgba(255, 107, 0, .55);
}

@keyframes floatGlow {

    0%,
    100% {
        box-shadow: 0 6px 16px rgba(255, 101, 0, .35);
    }

    50% {
        box-shadow: 0 10px 24px rgba(255, 101, 0, .55);
    }
}

@media (max-width: 480px) {
    .flip-control-bar {
        gap: 8px;
        padding: 8px 10px;
    }

    .flip-icon-btn {
        width: 28px;
        height: 28px;
    }

    .flip-control-text {
        font-size: 11.5px;
    }

    .flip-cta-btn {
        font-size: 11.5px;
        padding: 8px 10px;
    }
}

@media (min-width: 992px) {

    .modal-lg,
    .modal-xl {
        --bs-modal-width: 600px;
    }
}

#nonstop-up-express .train-viewport {
    /* margin-bottom: 5px !important; */
    /* padding-bottom: 12px; */
}

#nonstop-kahani.testimonial-upload-section {
    /* margin-top: -2rem;
    padding-top: 1.75rem !important; */
}

.upload-card {
    /* background: rgba(255, 255, 255, 0.72); */
    border-radius: 16px;
    background: #F0F4F8;
    border: 1px solid rgba(24, 74, 159, 0.12);
    /* border-radius: 18px; */
    padding: clamp(18px, 3vw, 28px);
}

.upload-prompt {
    /* color: #042462;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 800;
    line-height: 1.35; */



    color: #001B4D;
    text-align: center;
    font-family: Khand;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.32px;
}

.upload-button {
    background: #ff6500;
    color: #ffffff;
    min-width: min(100%, 280px);
    min-height: 52px;
    box-shadow: 0 12px 26px rgba(255, 101, 0, 0.24);
}

.upload-button:hover,
.upload-button:focus {
    background: #df5600;
    color: #ffffff;
}

.upload-button .upload-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.certificate-modal-dialog {
    max-width: min(94vw, 760px);
    transition: max-width 0.3s ease;
}

@media (min-width: 768px) {
    .certificate-modal-dialog {
        max-width: 860px;
    }
}

@media (min-width: 992px) {
    .certificate-modal-dialog {
        max-width: 920px;
    }
}

/* Certificate preview image */
.certificate-preview-wrap {
    margin-bottom: 0px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(4, 36, 98, 0.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
    background: #f7fafc;
    line-height: 0;
}

.certificate-preview-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    max-height: 400px;
    object-fit: contain;
}

.certificate-modal-content {
    position: relative;
    border: 0;
    border-radius: 20px !important;
    box-shadow: 0 24px 70px rgba(4, 36, 98, 0.22);
    padding: clamp(20px, 3vw, 30px);
}

.certificate-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
}

.certificate-modal-body {
    padding: 0;
}

.certificate-modal-logo {
    width: min(200px, 45vw);
    height: auto;
    margin-bottom: clamp(14px, 2.5vw, 22px);
}

.certificate-modal-title {
    color: #082a66;
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
}

.certificate-modal-text {
    color: #ff6500;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 20px;
}

.certificate-modal-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.certificate-download-btn,
.certificate-share-btn {
    width: 100%;
    border-radius: 12px;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 900;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
    padding: 12px 20px;
}

.certificate-share-btn {
    background: #082a66;
}

@media (max-width: 768px) {
    #nonstop-kahani.testimonial-upload-section {
        /* margin-top: -1rem; */
        padding:10px !important;
        
    }

    .certificate-modal-title {
        font-size: clamp(1.3rem, 4vw, 1.6rem);
    }

    .certificate-modal-text {
        font-size: clamp(0.95rem, 3.5vw, 1.15rem);
    }

    .certificate-download-btn,
    .certificate-share-btn {
        font-size: clamp(1.1rem, 3.5vw, 1.25rem);
    }

    .certificate-modal-dialog {
        max-width: min(100vw, 760px);
        transition: max-width 0.3s ease;
    }
}

/* Dimension indicator dots — static row below the flip control bar */
.modal-dim-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 4px;
}

.modal-dim-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.18s, transform 0.18s;
}

.modal-dim-dot.active {
    background: var(--brand-blue);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .modal-dim-dots {
        margin: 12px 0 2px;
    }

    .carousel-indicators {
        bottom: -19%;
    }

    #carouselExample .carousel-indicators {
        bottom: -19%;
    }
}



/*new css */

.about_section_head {
    color: #18376D;
    font-family: Khand;
    font-size: 39px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

@media(max-width:768px) {
    .hero-text-section {
        background: linear-gradient(140deg, #FEEEDE -12.46%, #FEF8F0 100%);
        margin-top: 4%;
    }

    .about_section_head {
        color: #18376D;
        font-family: Khand;
        font-size: 38px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }
    #testimonialCarousel .carousel-indicators {
    bottom: -16%;
}
}


.pledge_button_nav {
    border-radius: 100px;
    border: 3px solid #FFCEAA;
    background: #FF6B00;
    box-shadow: 0 0 10px 0 rgba(255, 135, 48, 0.35);
    padding: 12px 64px;
    color: #FFF;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.navbar-action-buttons {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
    margin-right: 1rem;
}

.navbar-action-buttons .pledge_button_nav {
    margin-right: 0 !important;
}

.nonstop-booklet-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #FFCEAA;
    border-radius: 100px;
    background: #FFF;
    box-shadow: 0 0 10px 0 rgba(255, 135, 48, 0.2);
    padding: 3px 10px;
    color: #FF6B00;
    font-family: Poppins;
    font-size: 15px;
    font-weight: 800;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
}

.booklet-download-icon {
    flex-shrink: 0;
    margin-right: 7px;
}

.mobile-booklet-download {
    display: none;
}

@media (max-width: 991.98px) {
    .navbar .container-fluid {
        position: relative;
    }

    .mobile-booklet-download {
        position: absolute;
        top: 50%;
        right: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        transform: translateY(-50%);
        border: 2px solid #FFCEAA;
        border-radius: 50%;
        background: #FFF1E9;
        color: #FF6B00;
        box-shadow: 0 2px 8px rgba(255, 107, 0, 0.18);
    }

    .mobile-booklet-download .booklet-download-icon {
        margin-right: 0;
    }
}

.nonstop-booklet-button:hover,
.nonstop-booklet-button:focus {
    background: #FFF1E9;
    color: #D95700;
}

.carousel-inner {
    border-radius: 24px;
}

.hero-row {
    padding: 10px 0px 10px 0px;

}

.section-padding_new {
    padding: 80px;
}

.train-section-container {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.testimonial-upload-section {
    padding: 80px !important;
}

.testimonial-text {
    color: #6B7280;
    font-family: Mukta;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    /* 28.8px */
}

.testimonial_button_desktop {
    border-radius: 12px;
    background: #FF6B00;
    padding: 12px 24px;
    color: #FFF;
    font-family: Mukta;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    margin-top: 36px;

}


@media(max-width:768px) {
    .hero-row {
        padding: auto !important;
    }

    .section-padding_new {
        padding: 10px
    }

    .train-section-container {
        padding-top: 10px !important;
        padding-bottom:20px !important;
    }
     .bg-body-tertiary {
        background-color: #042462 !important;
        padding: 0px;
        box-shadow: 1px 1px 4px black;
    }
    .carousel-inner {
    border-radius: 0px;
}
}

/* =========================================================
   Desktop-only redesign: certificate form + footer
   (Mobile view is untouched — scoped to min-width: 769px)
========================================================= */
@media (min-width: 769px) {

   

    .form-head {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .pledge-form .row {
        display: flex;
        gap: 18px;
        flex-wrap: nowrap;
    }

    .pledge-form .pledge-field {
        flex: 1 1 0;
        margin-bottom: 0;
        background-color: #F1F2F5;
        border-radius: 10px;
        padding: 12px 16px 14px;
    }

    .pledge-form .pledge-label {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 6px;
        color: #001B4D;
        white-space: nowrap;
    }

    .pledge-form .form-control {
        background-color: #ffffff !important;
        border: 1px solid #E3E5EA !important;
        border-radius: 8px !important;
        font-size: 15px !important;
        padding: 8px 10px !important;
    }

    .pledge-form .form-control:focus {
        border: 1px solid #ff6500 !important;
    }

    .pledge-form .form-control::placeholder {
        color: #9AA1AC;
    }

    .pledge-form #pledgeError {
        margin-top: 10px;
    }

    .pledge-form .btn-form {
        font-size: 18px;
        padding: 14px 0;
        margin-top: 18px !important;
        border-radius: 16px;
    }

    /* ---- Footer ---- */
    footer.container-fluid#social_media {
        background-color: #001B4D;
        padding: 4px 0;
    }

    footer#social_media .social_head {
        color: #ffffff;
        font-size: 16px;
        margin-bottom: 8px;
    }

    footer#social_media .social_media {
        gap: 14px;
    }

    footer#social_media .social_media_img {
        background-color: rgba(255, 255, 255, 0.08);
        border-radius: 50%;
        padding: 9px;
        width: 40px;
        height: 40px;
        object-fit: contain;
        box-sizing: content-box;
        transition: background-color .2s ease;
    }

    footer#social_media .social_media_img:hover {
        background-color: rgba(255, 255, 255, 0.18);
    }
}

@media(max-width:768px){
      #nonstop-kahani.testimonial-upload-section {
        /* margin-top: -1rem; */
        padding:10px;
        
    }
}
