/* ===================== Responsive foundation ===================== */
/* Applies to every element so padding/borders never push layouts wider
   than their box, which is the #1 cause of horizontal overflow on
   small screens. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    /* Fluid base font-size: scales smoothly between a small phone
       (320px) and a large desktop (1600px) instead of jumping only
       at fixed breakpoints. rem-based sizing elsewhere benefits
       automatically; px-based sizing is handled with clamp() below. */
    font-size: clamp(14px, 0.85vw + 11px, 16px);
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f8fb;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

img, video, svg {
    max-width: 100%;
    height: auto;
}

/* Fluid Bootstrap container gutters: tighter on phones, roomier on
   desktop, instead of a single fixed padding at every width. */
.container,
.container-fluid {
    padding-left: clamp(12px, 4vw, 24px);
    padding-right: clamp(12px, 4vw, 24px);
}

@media (max-width: 360px) {
    .container,
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
}
.logo-circle {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Optional tricolor border */
    border: 4px solid #FF9933;
    box-shadow:
        0 0 0 4px #ffffff,
        0 0 0 8px #138808,
        0 6px 15px rgba(0,0,0,0.15);

    overflow: hidden;
}

.logo-circle img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}
#logocolor {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(
        90deg,
        #FF9933 0%,     /* Saffron */
        #FF9933 30%,
        #FFFFFF 50%,    /* White */
        #138808 70%,    /* India Green */
        #138808 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}
#logocoloron{
     background: linear-gradient(
        90deg,
        #FF9933 0%,     /* Saffron */
        #FF9933 5%,
        #FFFFFF 20%,    /* White */
        #138808 50%,    /* India Green */
        #138808 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}


#logocolorfot{
     background: linear-gradient(
        90deg,
        #FF9933 0%,     /* Saffron */
        #FF9933 5%,
        #FFFFFF 20%,    /* White */
        #138808 50%,    /* India Green */
        #138808 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}
/* Navbar */
.custom-navbar {
    background: linear-gradient(90deg, #05285d, #087d87);
    /* background: transparent !important;*/
     backdrop-filter: blur(10px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .15);
}

.custom-navbar .nav-item{
    position:relative;
}

.custom-navbar .dropdown-menu{
    background:rgba(255,255,255,.96);
    border:none;
    border-radius:12px;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
}

.custom-navbar .nav-link{
    white-space:nowrap;
}

.navbar-brand {
    font-size: 26px;
    font-weight: 700;
    flex-shrink: 0;
    white-space: nowrap;
}

.navbar-brand img {
    border-radius: 8px;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: .3s;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
}

.custom-navbar .btn-outline-light,
.custom-navbar .btn-warning {
    white-space: nowrap;
    flex-shrink: 0;
}

.custom-navbar .navbar-brand{
    flex-shrink:0;
}

/* ----- Desktop / tablet (>= 992px): everything on one row ----- */
/* Below this the navbar-toggler takes over (navbar-expand-lg), so this
   fluid shrinking only has to cover the 992px-1400px-ish range where
   logo + links + Panchang/date-time + Login still share one row. */
@media (min-width: 992px) {
    .custom-navbar .container-fluid{
        flex-wrap:nowrap;
    }

    .custom-navbar .navbar-nav{
        display:flex;
        flex-direction:row;
        flex-wrap:nowrap;
        align-items:center;
        gap: clamp(4px, 1.2vw, 12px);
        margin-top:0;
        flex:0 1 auto;
        min-width:0;
    }

    .custom-navbar .nav-item{
        flex-shrink:0;
    }

    .custom-navbar > .container-fluid > .navbar-collapse{
        flex:1 1 auto;
        min-width:0;
    }

    .custom-navbar .navbar-collapse > .d-flex{
        flex-wrap:nowrap;
    }

    .custom-navbar .nav-link{
        font-size: clamp(.82rem, .6vw + .65rem, 1rem);
        padding: 8px clamp(4px, .6vw, 10px) !important;
    }

    .custom-navbar .login-trigger-btn,
    .custom-navbar .navbar-login-stack .btn,
    .custom-navbar .navbar-login-stack .dropdown{
        flex-shrink:0;
    }

    .custom-navbar .d-flex {
        flex-shrink: 0;
        white-space: nowrap;
        align-items: center;
    }
}

@media (min-width: 992px) and (max-width: 1200px){
    .custom-navbar .navbar-nav{
        gap:8px;
    }

    .custom-navbar .nav-link{
        margin:0 3px;
        padding:8px 6px !important;
        font-size:.9rem;
    }
}

/* ----- Mobile / tablet (< 992px): collapse menu, opened by the
   hamburger toggler ----- */
@media (max-width: 991.98px) {

    .navbar-toggler{
        border:none;
        padding:4px 8px;
    }

    .navbar-toggler:focus{
        box-shadow: 0 0 0 3px rgba(255, 193, 7, .4);
    }

    .navbar-brand span#logocolor{
        display:none;
    }

    .custom-navbar .navbar-collapse{
        max-height: calc(100vh - 76px);
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
        padding: 12px 4px 20px;
        border-top: 1px solid rgba(255, 255, 255, .12);
        margin-top: 10px;
    }

    .custom-navbar .navbar-nav{
        width: 100%;
        gap: 2px;
    }

    .custom-navbar .nav-link{
        width: 100%;
        padding: 10px 10px !important;
        border-radius: 8px;
    }

    .custom-navbar .nav-link:hover,
    .custom-navbar .nav-link.active{
        background: rgba(255, 255, 255, .08);
    }

    .custom-navbar .nav-link i{
        margin-right:6px;
    }

    /* Dropdown submenus (Courses / Services / More / Panchang) render
       inline instead of as absolutely-positioned popovers, since a
       floating popover doesn't work well inside a scrolling mobile
       collapse panel. */
    .custom-navbar .dropdown-menu{
        position: static !important;
        float: none;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 4px 0 8px;
        background: rgba(255, 255, 255, .08);
        box-shadow: none;
    }

    .custom-navbar .dropdown-menu .dropdown-item{
        color: #fff;
    }

    .custom-navbar .dropdown-menu .dropdown-item:hover,
    .custom-navbar .dropdown-menu .dropdown-item:focus{
        background: rgba(255, 255, 255, .15);
        color: #ffc107;
    }

    /* The Panchang panel isn't a plain link list — it has its own dark
       text (Tithi/Nakshatra details) styled for a solid light backdrop,
       so it keeps that look instead of the translucent/white-text style
       used for the simple nav dropdowns above. */
    .custom-navbar .panchang-panel{
        background: rgba(255, 255, 255, .98);
        color: #212529;
    }

    .custom-navbar .dropdown-divider{
        border-color: rgba(255, 255, 255, .15);
    }

    .custom-navbar .login-trigger-btn,
    .custom-navbar .navbar-login-stack > .dropdown > .btn-outline-light{
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }
}

/* Column that stacks Date/Time + Panchang directly above the
   Login button / account dropdown on the right side of the navbar. */
.navbar-login-stack {
    gap: 6px;
    width: 100%;
}

@media (min-width: 992px) {
    .navbar-login-stack {
        width: auto;
    }
}

/* Date/Time + Panchang row, sitting just above Login */
.navbar-info-strip {
    background: transparent;
}

.navbar-info-strip .panchang-widget {
    position: relative;
}

@media (max-width: 576px) {
    .navbar-login-stack {
        align-items: center;
    }

    .navbar-info-strip {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 400px) {
    .navbar-datetime {
        font-size: 11px;
        padding: 3px 8px;
        gap: 4px;
    }

    .panchang-widget .nav-link {
        font-size: 11px;
        padding: 3px 8px !important;
    }
}

/* Navbar live date & time widget */
.navbar-datetime {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 30px;
    padding: 4px 12px;
    font-size: 12.5px;
    line-height: 1.4;
    font-weight: 500;
    white-space: nowrap;
    margin: 0;
    justify-content: center;
}

.navbar-datetime i {
    color: #ffc107;
    font-size: 12px;
}

.navbar-datetime .navbar-datetime-sep {
    opacity: .4;
    margin: 0 2px;
}

#navbarTimeText {
    font-variant-numeric: tabular-nums;
}

.dropdown-menu {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.dropdown-item {
    padding: 12px 18px;
    transition: .3s;
}

.dropdown-item:hover {
    background: #0d6efd;
    color: #fff;
}

.btn-outline-light {
    border-radius: 30px;
    padding: 8px 18px;
}

.btn-warning {
    border-radius: 30px;
    padding: 8px 18px;
    font-weight: 600;
}

.navbar-nav {
    margin-top: 15px;
}

.navbar-nav .nav-link {
    padding: 10px;
}

.hero {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    margin-top: 20px;
    position: relative;
}

/* Makes the slider span the full browser width, breaking it out of the
   Bootstrap .container it sits inside (which would otherwise cap its width
   and center it with side gutters). */
.hero-fullwidth {
    width: 100vw;
    max-width: 100vw;
    /* 100vh on mobile browsers is unreliable (address bar resize jank);
       100dvh tracks the real visible viewport. Falls back to vh on
       browsers that don't support dvh. */
    height: 100vh;
    height: 100dvh;
    min-height: 320px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
    box-shadow: none;
}

.hero-fullwidth #heroCarousel,
.hero-fullwidth .carousel-inner,
.hero-fullwidth .carousel-item {
    height: 100%;
}

.carousel {
    position: relative;
}

.slider-img {
    width: 100%;
    /* Scales with viewport width between a phone-friendly minimum and
       the original desktop height, instead of a fixed 650px that
       overflows small screens and stays cramped on very wide ones. */
    height: clamp(200px, 45vw, 650px);
    object-fit: contain;
    object-position: center;
    background: #ffffff;
}

@media (min-width: 1600px) {
    .slider-img {
        height: clamp(650px, 35vw, 820px);
    }
}

.hero-fullwidth .slider-img {
    height: 100%;
}

/* Adds a visible border/frame around the hero image carousel on the
   home page (English + Hindi sites share this same stylesheet). */
.carousel-bordered {
    border: 4px solid #087d87;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.hero-fullwidth .carousel-bordered {
    border-radius: 0;
}

.carousel-caption {
    bottom: 15%;
    left: 8%;
    right: auto;
    text-align: left;
    max-width: 550px;
    background: rgba(0, 0, 0, .45);
    padding: clamp(15px, 3vw, 30px);
    border-radius: 20px;
}

.carousel-caption h1 {
    font-size: clamp(28px, 5vw, 60px);
    font-weight: 800;
    color: #fff;
}

.carousel-caption p {
    font-size: clamp(15px, 1.6vw, 22px);
    color: #fff;
    margin: 20px 0;
}

.carousel-caption .btn {
    padding: clamp(8px, 1.5vw, 12px) clamp(18px, 3vw, 35px);
    border-radius: 40px;
    font-weight: 600;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: clamp(36px, 4vw, 55px);
    height: clamp(36px, 4vw, 55px);
    background-color: rgba(0, 0, 0, .45);
    border-radius: 50%;
    background-size: 55%;
}

.carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-indicators .active {
    background: #0dcaf0;
}

@media (max-width: 768px) {
    .carousel-caption {
        left: 5%;
        right: 5%;
        bottom: 8%;
    }
}

.left-section {
    padding: clamp(20px, 5vw, 60px);
}

.logo {
    width: clamp(60px, 7vw, 90px);
}

.brand {
    font-size: clamp(26px, 4vw, 52px);
    font-weight: 700;
    color: #0c1d4f;
}

.tagline {
    color: #087d87;
    font-weight: 600;
    letter-spacing: 2px;
}

.title {
    font-size: clamp(32px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    color: #09235c;
}

.title span {
    color: #1499a3;
}

.subtitle {
    font-size: clamp(16px, 2vw, 24px);
    color: #333;
    margin-top: 15px;
}

.subtitle span {
    color: #0b8b96;
    font-weight: 700;
}

.mission {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.mission-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #eaf8fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: #0b8b96;
}

.right-section {
    background: linear-gradient(135deg, #0d7f89, #0a4f72);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(300px, 45vw, 650px);
}

.live-box {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 230px;
    padding: 20px;
    background: rgba(8, 56, 75, .95);
    color: #fff;
    border-radius: 20px;
    text-align: center;
    z-index: 1050;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .35);
}

.live-box h4 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 5px;
}

.live-box h5 {
    font-size: 18px;
    margin-bottom: 4px;
}

.live-box p {
    margin-top: 10px;
    font-size: 15px;
}

@media (max-width: 480px) {
    .live-box {
        width: 60%;
        right: 5%;
        left: 5%;
        bottom: 10px;
        padding: 12px;
    }

    .live-box h4 {
        font-size: 20px;
    }

    .live-box h5 {
        font-size: 14px;
    }
}

.features {
    margin-top: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 18px;
    padding: clamp(18px, 2.2vw, 25px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    height: 100%;
    transition: .3s;
}

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

.feature-icon {
    width: clamp(56px, 6vw, 70px);
    height: clamp(56px, 6vw, 70px);
    border-radius: 50%;
    background: #0b8b96;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(22px, 2.4vw, 28px);
    margin-bottom: 20px;
}

.footer-banner {
    margin-top: 40px;
    background: linear-gradient(90deg, #08245d, #0d8b96);
    color: #fff;
    border-radius: 15px;
    padding: clamp(16px, 3vw, 20px) clamp(18px, 4vw, 30px);
}

.btn-custom {
    background: #fff;
    color: #0b6d83;
    font-weight: 600;
    border-radius: 50px;
    padding: clamp(10px, 1.6vw, 12px) clamp(20px, 4vw, 35px);
    white-space: nowrap;
}

 .footer{
    background:#0d1b2a;
    padding-top: clamp(32px, 6vw, 64px) !important;
}

.footer h5{
    margin-bottom:20px;
    font-weight:600;
    font-size: clamp(1rem, 1.2vw + .7rem, 1.25rem);
}

/* Company logo + name row: wraps and shrinks instead of overflowing
   on very narrow phones. */
.footer .d-flex.align-items-center.mb-3 {
    flex-wrap: wrap;
    row-gap: 8px;
}

.footer .d-flex.align-items-center.mb-3 img {
    width: clamp(44px, 6vw, 60px);
}

.footer h3.fw-bold {
    font-size: clamp(1.3rem, 1.6vw + 1rem, 1.75rem);
}

.footer-links{
    padding-left:0;
}

.footer-links li{
    list-style:none;
    margin-bottom:10px;
}

.footer-links a{
    color:#d8d8d8;
    text-decoration:none;
    transition:.3s;
}

.footer-links a:hover{
    color:#ffc107;
    padding-left:8px;
}

.footer p{
    color:#d0d0d0;
    line-height:1.8;
}

.footer i{
    margin-right:6px;
}

.footer .fs-4{
    transition:.3s;
}

.footer .fs-4:hover{
    color:#ffc107 !important;
    transform:translateY(-4px);
}

.footer hr{
    opacity:.2;
}

/* Social icon row (Facebook / Instagram / YouTube / LinkedIn /
   WhatsApp) — previously unstyled, so it fluidly sizes itself
   consistently across phones and desktop alike. */
.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(8px, 1.5vw, 12px);
}

.social-icons a {
    width: clamp(34px, 4vw, 40px);
    height: clamp(34px, 4vw, 40px);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 1.6vw, 17px);
    transition: .25s;
    flex-shrink: 0;
}

.social-icons a:hover {
    background: #ffc107;
    color: #0d1b2a;
    border-color: #ffc107;
    transform: translateY(-3px);
}

.social-icons a i {
    margin-right: 0;
}

/* Newsletter form: input + button share a row on tablets/desktop,
   but stack on narrow phones so the email input never gets
   squeezed unreadably thin. */
@media (max-width: 420px) {
    .newsletter form .d-flex {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter form .d-flex input {
        margin-right: 0 !important;
    }

    .newsletter form .d-flex button {
        width: 100%;
    }
}

/* ===================== Top Intro Strip ===================== */
/* The short "Online Classes / Recorded Lectures ... Students" line.
   Sits in normal document flow directly between the navbar and the
   carousel/hero section (NOT overlaid on top of the slider), so it
   needs its own background since it's no longer sitting over the
   slide image. */
.hero-intro-strip {
    position: relative;
    width: 100%;
    z-index: 10;
    padding: 14px 0;
    margin: 0;
    background: linear-gradient(90deg, #05285d, #087d87);
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    overflow: hidden;
    pointer-events: auto;
}

.hero-marquee {
    width: 100%;
    overflow: hidden;
}

.hero-marquee-track {
    display: flex;
    width: max-content;
    animation: heroMarqueeScroll 18s linear infinite;
}

/* pause on hover/focus so users can read or click */
.hero-marquee:hover .hero-marquee-track,
.hero-marquee:focus-within .hero-marquee-track {
    animation-play-state: paused;
}

@keyframes heroMarqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.hero-intro-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    padding-right: 40px; /* space before the loop repeats */
    text-decoration: none;
    white-space: nowrap;
}

.hero-intro-title,
.hero-intro-row {
    display: inline-block;
    background: transparent;
    color: white;
    font-weight: 700;
    white-space: nowrap;
    animation: glowText 1.5s infinite alternate;
}

.hero-intro-sep {
    color: rgba(255, 255, 255, .5);
    font-weight: 400;
}

#logocolorfot01 {
    color: rgb(35, 201, 212);
}

@keyframes glowText {
    from { text-shadow: 0 0 3px #ffd700; }
    to   { text-shadow: 0 0 8px #ffd700, 0 0 15px #ff9800; }
}

.hero-intro-title {
    position: static;
    font-size: clamp(15px, 2vw, 22px);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: .5px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35));
}

.hero-intro-strip .fw-bold {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

@media (max-width: 576px) {
    .hero-intro-strip {
        padding: 10px 14px;
    }

    .hero-marquee-track {
        animation-duration: 12s; /* faster on small screens */
    }
}

/* ===================== Hero Intro Banner ===================== */
/* No longer an absolutely-positioned overlay on the slider image;
   it now sits in normal flow, directly below the navbar and above
   the slider (which already shows "GURUKULAM" in the image itself). */
.hero-overlay {
    position: relative;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: clamp(16px, 3vw, 30px);
    max-width: 100%;
    padding: clamp(18px, 3vw, 30px) clamp(18px, 4vw, 36px);
    margin-top: 30px;
    background: linear-gradient(90deg, #05285d, #087d87);
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.hero-overlay-left {
    max-width: 560px;
}

.hero-cap-icon {
    font-size: clamp(28px, 3vw, 40px);
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, .55);
}

.hero-heading {
    font-size: clamp(24px, 3.6vw, 46px);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: .5px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, .6);
}

.hero-for {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: .85;
    margin: 6px 0 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}

.hero-subheading {
    font-size: clamp(17px, 2vw, 26px);
    font-weight: 700;
    color: #6fb6ff;
    margin: 0 0 2px;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .65);
}

.hero-sep {
    color: rgba(255, 255, 255, .55);
    font-weight: 400;
    margin: 0 2px;
}

.hero-accent {
    color: #6fb6ff;
}

.hero-students {
    font-size: clamp(15px, 1.5vw, 20px);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}

.hero-divider {
    width: 70px;
    height: 3px;
    background: #6fb6ff;
    border-radius: 3px;
    margin-bottom: 16px;
}

.hero-tagline {
    display: inline-block;
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 8px;
    margin-top: 12px;
    margin-bottom: 26px;
}

.hero-programs {
    display: flex;
    margin-top: 24px;
    gap: 14px;
}

.hero-program-card {
    background: rgba(255, 255, 255, .95);
    border-radius: 14px;
    padding: 16px 14px;
    width: 150px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.hero-program-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    border-radius: 10px;
    background: #0c3d78;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.hero-program-card h6 {
    color: #0c3d78;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
}

.hero-program-card p {
    color: #444;
    font-size: 11.5px;
    line-height: 1.3;
    margin: 0;
}

.hero-overlay-right {
    max-width: 320px;
    flex-shrink: 0;
}

.hero-feature-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}

.hero-feature-title-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #0c3d78;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.hero-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.hero-feature-list::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: rgba(255, 255, 255, .4);
}

.hero-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    margin-bottom: 18px;
}

.hero-feature-list li:last-child {
    margin-bottom: 0;
}

.hero-feature-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #0c3d78;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 1;
}

.hero-feature-list h6 {
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 4px 0 2px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}

.hero-feature-list p {
    font-size: 12px;
    color: rgba(255, 255, 255, .9);
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}

@media (max-width: 992px) {
    .hero-overlay-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-overlay {
        position: relative;
        flex-direction: column;
        max-width: 100%;
    }

    .hero-overlay-left {
        max-width: 100%;
    }

    .hero-programs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-program-card {
        width: 130px;
    }
}

@media (max-width: 480px) {
    .hero-program-card {
        width: 100%;
    }
}
/* Hindu Panchang navbar widget */
.panchang-widget .nav-link {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 30px;
    padding: 4px 12px !important;
    font-size: 12.5px;
    line-height: 1.4;
    white-space: nowrap;
    justify-content: center;
    margin: 0;
}

.panchang-widget .nav-link i {
    color: #ffc107;
}

.panchang-panel {
    min-width: min(280px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    padding: 18px;
    border-radius: 16px;
}

.panchang-panel-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.panchang-panel-details li {
    padding: 4px 0;
    font-size: 14.5px;
    color: #333;
}

.panchang-panel-details i {
    color: #087d87;
    width: 18px;
    display: inline-block;
    text-align: center;
}

.panchang-festival {
    background: #fff8e6;
    border: 1px solid #ffe4a3;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: #6b4c00;
}

.panchang-festival.is-today {
    background: #fdece9;
    border-color: #f6c3ba;
    color: #7a1f0d;
}

.panchang-panel-footer {
    font-size: 11.5px;
    margin-top: 10px;
    text-align: right;
}

/* "More" collapse menu — Home / About / Gallery / Contact / Language */
.more-menu .nav-link {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 30px;
    padding: 6px 16px !important;
    white-space: nowrap;
    justify-content: center;
    margin: 6px 0;
}

.more-menu .nav-link i {
    color: #ffc107;
}

.more-menu .dropdown-menu {
    min-width: 200px;
}

.more-menu .dropdown-item i {
    width: 18px;
    display: inline-block;
    text-align: center;
    color: #087d87;
    margin-right: 4px;
}

.more-menu .dropdown-item.active,
.more-menu .dropdown-item:active {
    background: #0d6efd;
    color: #fff;
}

/* Login trigger button (opens the chatbox dialog) */
.login-trigger-btn {
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* ===== Sign In / Sign Up dialog, styled like a chat widget ===== */
.chatbox-dialog {
    max-width: 400px;
}

.chatbox-window {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.chatbox-header {
    background: linear-gradient(90deg, #05285d, #087d87);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
}

.chatbox-header-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffc107;
}

.chatbox-header-text {
    flex-grow: 1;
    min-width: 0;
}

.chatbox-title {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
}

.chatbox-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, .8);
    display: flex;
    align-items: center;
    gap: 5px;
}

.chatbox-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ecc71;
    display: inline-block;
}

.chatbox-body {
    background: #eef3f8;
    padding: 18px;
    max-height: 78vh;
    overflow-y: auto;
}

.chatbox-bubble {
    background: #fff;
    border-radius: 16px;
    border-top-left-radius: 4px;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    margin-bottom: 14px;
    max-width: 92%;
}

.chatbox-tabs {
    background: #fff;
    border-radius: 30px;
    padding: 4px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.chatbox-tabs .nav-link {
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    color: #05285d;
    padding: 8px 0;
    text-align: center;
}

.chatbox-tabs .nav-link.active {
    background: linear-gradient(90deg, #05285d, #087d87);
    color: #fff;
}

.chatbox-tab-content {
    background: #fff;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.chatbox-form .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.chatbox-form .form-control,
.chatbox-form .form-select {
    border-radius: 12px;
}

.chatbox-switch-tab {
    color: #087d87;
    font-weight: 600;
    text-decoration: none;
}

.chatbox-switch-tab:hover {
    text-decoration: underline;
}

@media (max-width: 420px) {
    .chatbox-dialog {
        max-width: 100%;
        margin: 10px;
    }
}