@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&display=swap');

/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/* Don't hide hero images while loading to prevent black screen */
.header-carousel-item [data-media-id] {
    opacity: 1 !important;
}

[data-media-id] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

[data-media-id].media-loaded {
    opacity: 1;
}

/* Media Loading Spinner */
.media-loading-parent {
    position: relative;
    min-height: 100px;
    background-color: rgba(255, 255, 255, 0.08);
}

.media-loading-parent::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--bs-primary);
    border-radius: 50%;
    animation: spin-loader 1s linear infinite;
    z-index: 5;
    opacity: 1;
    transition: opacity 0.3s;
}

.media-loading-parent.media-loaded::before {
    opacity: 0;
    pointer-events: none;
}

@keyframes spin-loader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
html,
body {
    min-height: 100%;
    -webkit-overflow-scrolling: touch;
}

body {
    background: linear-gradient(to left, #ffa050 0%, #fff1e1 100%);
    color: #4a2a12;
}


/* Custom Banner Design */
.custom-banner-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.custom-banner-tagline {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-style: italic;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

@media (max-width: 991px) {
    .custom-banner-title {
        font-size: 6.5vw !important;
        letter-spacing: 0px !important;
    }
    .custom-banner-tagline {
        font-size: 3.5vw !important;
        letter-spacing: 0px !important;
    }
}


/* --- Global Section Gap Reduction --- */
/* Override Bootstrap's generic .py-5 stacking on sections to reduce massive gaps between sections */
.container-fluid.py-5,
.container-fluid.py-5 > .container.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Reduce the excessive bottom padding of section headers */
.container-fluid.py-5 > .container.py-5 > .pb-5 {
    padding-bottom: 1.5rem !important;
}

body.dance-texture-bg::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        url("../img/paisley_mandala.png"),
        url("../img/dancer_kathak_whitebg.png"),
        url("../img/dancer_bharatanatyam_whitebg.png"),
        url("../img/paisley_mandala.png"),
        url("../img/dancer_odissi_whitebg.png"),
        url("../img/paisley_mandala.png"),
        url("../img/dancer_silhouette.png");
    background-position: 
        right -50px top -50px,       /* 1. Paisley top right */
        right 10% bottom 10%,        /* 2. Dancer Kathak bottom right */
        left 5% top 25%,             /* 3. Dancer Bharatanatyam top left */
        left -100px bottom -50px,    /* 4. Paisley bottom left */
        left 45% center,             /* 5. Dancer Odissi middle left */
        center top -150px,           /* 6. Paisley top center */
        center bottom 5%;            /* 7. Dancer silhouette original bottom center */
    background-repeat: 
        no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: 
        400px,   /* 1 */
        220px,   /* 2 */
        200px,   /* 3 */
        450px,   /* 4 */
        180px,   /* 5 */
        500px,   /* 6 */
        240px;   /* 7 */
    mix-blend-mode: multiply;
    opacity: 0.05; /* Subtle opacity */
    pointer-events: none;
    z-index: 0;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    position: relative;
    z-index: 1;
}

section,
.page-header,
.breadcrumb,
.footer,
.copyright {
    position: relative;
}

.modal-content,
.navbar-dark-custom,
.topbar,
.premium-card,
.class-item.premium-card,
.training-item.premium-card {
    position: relative;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.bg-white,
.bg-light {
    background-color: rgba(255, 255, 255, 0.55) !important;
}

.text-dark,
.text-black {
    color: #4a2a12 !important;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-primary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-secondary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-secondary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-primary);
    color: var(--bs-light) !important;
}

.btn-hover {
    transition: 0.5s;
}

.btn-hover:hover {
    color: var(--bs-secondary) !important;
}

/*** Sub Title Start ***/
.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-right: -110px;
    border: 1px solid var(--bs-secondary) !important;
}

/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}

@media (max-width: 991.98px) {
    .mobile-topbar {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    
    .mobile-topbar a {
        font-size: 13px;
        padding: 4px 0 !important;
        display: flex;
        align-items: center;
    }
    
    .mobile-topbar a i {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .mobile-topbar .d-flex {
        justify-content: center !important;
        flex-wrap: nowrap !important;
    }
    
    .mobile-topbar a {
        margin-right: 15px !important;
        border-bottom: none !important;
    }
    
    .mobile-topbar a:last-child {
        margin-right: 0 !important;
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-dark-custom {
    background: #111111 !important;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 22px 0;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: #ffffff !important;
    font-size: 15px !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar-light .navbar-brand img {
    max-height: 70px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 55px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: #222 !important;
    transition: .5s;
    opacity: 1;
}

.navbar .nav-item .dropdown-menu .dropdown-item {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    padding: 8px 20px;
    transition: 0.3s;
}

.navbar .nav-item .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: #ffffff;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-primary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-secondary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-secondary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-primary);
    color: var(--bs-light) !important;
}

.btn-hover {
    transition: 0.5s;
}

.btn-hover:hover {
    color: var(--bs-secondary) !important;
}

/*** Sub Title Start ***/
.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-right: -110px;
    border: 1px solid var(--bs-secondary) !important;
}

/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}

@media (max-width: 991.98px) {
    .mobile-topbar {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    
    .mobile-topbar a {
        font-size: 13px;
        padding: 4px 0 !important;
        display: flex;
        align-items: center;
    }
    
    .mobile-topbar a i {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .mobile-topbar .d-flex {
        justify-content: center !important;
        flex-wrap: nowrap !important;
    }
    
    .mobile-topbar a {
        margin-right: 15px !important;
        border-bottom: none !important;
    }
    
    .mobile-topbar a:last-child {
        margin-right: 0 !important;
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-dark-custom {
    background: #111111 !important;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 22px 0;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: #ffffff !important;
    font-size: 15px !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar-light .navbar-brand img {
    max-height: 70px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 55px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: #222 !important;
    transition: .5s;
    opacity: 1;
}

.navbar .nav-item .dropdown-menu .dropdown-item {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    padding: 8px 20px;
    transition: 0.3s;
}

.navbar .nav-item .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: #ffffff;
}

.navbar .nav-item .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: #ffffff;
}

@media (max-width: 991.98px) {
    /* Remove backdrop-filter on mobile so it doesn't trap position:fixed children */
    .navbar-dark-custom {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Ensure navbar creates a high stacking context so it overlaps the carousel */
    .navbar-light {
        z-index: 1040;
    }

    .sticky-top.navbar-light {
        position: sticky !important;
        top: 0;
        background: #111111;
        z-index: 1040;
    }

    /* Ensure toggle and brand sit above the overlay */
    .navbar.navbar-expand-lg .navbar-toggler,
    .navbar-light .navbar-brand {
        position: relative;
        z-index: 1060;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
    
    .navbar.navbar-expand-lg .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    /* Premium Overlay Style - Handles both .show and .collapsing */
    .navbar-light .navbar-collapse,
    .navbar-light .navbar-collapse.collapsing {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh !important;
        background: rgba(17, 17, 17, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 1050;
        margin-top: 0;
        border-top: none;
        overflow-y: auto;
        transition: opacity 0.3s ease;
    }
    
    .navbar-light .navbar-collapse.collapsing {
        opacity: 0;
        display: flex;
    }
    
    .navbar-light .navbar-collapse.show {
        opacity: 1;
        display: flex;
    }
    
    .navbar-light .navbar-collapse:not(.show):not(.collapsing) {
        display: none;
    }
    
    .navbar-light .navbar-collapse .navbar-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        width: 100%;
        padding-bottom: 4rem; /* Safe area padding */
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        font-family: 'Cinzel', serif;
        font-size: 24px !important;
        padding: 18px 0;
        margin-left: 0;
        color: #ffffff !important;
        text-transform: uppercase;
        letter-spacing: 3px;
        transition: color 0.3s ease;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: relative;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: none;
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: sticky !important;
        top: 0;
        background: #111111 !important;
        z-index: 1030;
    }
    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

/*** Carousel Hero Header Start ***/
.container-fluid.position-relative.p-0 {
    background: #111111;
    margin: 0;
    padding: 0;
}

#navbar-spacer {
    width: 100%;
    height: 0;
    display: none;
}

@media (max-width: 991.98px) {
    .container-fluid.position-relative.p-0 {
        padding-top: 0;
    }
}


.header-carousel {
    position: relative; 
    background: #111111;
    min-height: 700px;
}
@media (max-width: 992px) {
    .header-carousel { min-height: 500px; }
}
@media (max-width: 768px) {
    .header-carousel { min-height: 350px; }
}


.header-carousel .owl-nav .owl-prev {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    border-radius: 60px;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    border-radius: 60px;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

@media (max-width: 576px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
        width: 95% !important;
    }
}

.header-carousel .header-carousel-item {
    position: relative;
    width: 100%;
    height: 700px;
    background: #111111; 
    display: flex;
    align-items: stretch; /* Ensure content fills height */
    overflow: hidden;
}

@keyframes skeleton-pulse {
    0% { background-color: #1a1a1a; }
    50% { background-color: #2a2a2a; }
    100% { background-color: #1a1a1a; }
}

.header-carousel .header-carousel-item:not(.media-loaded) {
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.header-carousel .header-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Keep heads visible */
    transition: 0.5s;
}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .header-carousel .header-carousel-item {
        height: 350px;
    }
    
    .header-carousel .header-carousel-item img {
        object-fit: cover; /* Back to cover, showing full width at cost of height */
        object-position: center 20%; /* Keep heads visible on mobile */
    }
}

@media (min-width: 992px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        margin-top: 50px;
    }
}

.header-carousel .header-carousel-item .carousel-caption {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
}

.header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
    position: relative;
    width: 75%;
    
}
/*** Carousel Hero Header End ***/


.bg-breadcrumb {
	position: relative;
	padding: 20px 0 140px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/breadcrumb.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-breadcrumb .breadcrumb {
    display: none !important;
}

@media (max-width: 992px) {
    .bg-breadcrumb {
        padding: 10px 0 90px 0;
    }
}
/*** Contact Premium Styles ***/
.bg-primary-soft {
    background-color: rgba(246, 70, 108, 0.1);
}

.hover-float {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important;
}

.hover-text-primary:hover {
    color: var(--bs-primary) !important;
}

    transition: 0.5s;
}

.training-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.training-carousel .owl-nav .owl-next {
    right: 0;
}

.training-carousel .owl-nav .owl-prev:hover,
.training-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.training .training-item .training-img {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.training .training-item .training-img img {
    transition: 0.5s;
}

.training .training-item:hover .training-img img {
    transform: scale(1.2);
}
/*** Training End ***/



/*** Dance Class Start ***/
.class-carousel .owl-stage-outer {
    margin-top: 30px;
}

.class-carousel .owl-nav .owl-prev,
.class-carousel .owl-nav .owl-next {
    position: absolute;
    top: 0;
    padding: 10px 35px;
    border: 1px solid var(--bs-secondary);
    color: var(--bs-white);
    background: var(--bs-secondary);
    border-radius: 50px;
    transition: 0.5s;
}

.class-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.class-carousel .owl-nav .owl-next {
    right: 0;
}

.class-carousel .owl-nav .owl-prev:hover,
.class-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.class .class-item .class-img {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.class .class-item .class-img img {
    transition: 0.5s;
}

.class .class-item:hover .class-img img {
    transform: scale(1.3);
}
/*** Dance Class End ***/


/*** Blog Start ***/
.blog-carousel .owl-stage-outer {
    margin-top: 30px;
}

.blog-carousel .owl-nav .owl-prev,
.blog-carousel .owl-nav .owl-next {
    position: absolute;
    top: 1px;
    padding: 10px 35px;
    border: 1px solid var(--bs-secondary);
    color: var(--bs-white);
    background: var(--bs-secondary);
    border-radius: 50px;
    transition: 0.5s;
}

.blog-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.blog-carousel .owl-nav .owl-next {
    right: 0;
}

.blog-carousel .owl-nav .owl-prev:hover,
.blog-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.3);
}
/*** Blog End ***/

/*** Team Start ***/
.team-carousel .owl-stage-outer {
    margin-top: 30px;
}
.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: absolute;
    top: 1px;
    padding: 10px 35px;
    border: 1px solid var(--bs-secondary);
    color: var(--bs-white);
    background: var(--bs-secondary);
    border-radius: 50px;
    transition: 0.5s;
}

.team-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.team-carousel .owl-nav .owl-next {
    right: 0;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.team .team-carousel .team-item .team-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* Overlay removed as per user request to make photo clearly visible */
/* .team .team-carousel .team-item .team-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    transition: 0.5s;
    z-index: 2;
} */

.team .team-carousel .team-item .team-img .team-icon {
    position: absolute;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 25px;
    display: flex;
    opacity: 0;
    transition: 0.5s;
    z-index: 3;
}

/* Social icons display inhibited */
/* .team .team-carousel .team-item:hover .team-img .team-icon {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
} */

.team .team-carousel .team-item .team-content {
    position: relative;
    background: #ffffff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 1;
    transition: 0.5s;
    border-top: 1px solid #eee;
}

.team .team-carousel .team-item .team-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--bs-primary) !important;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-carousel .team-item:hover .team-content a,
.team .team-carousel .team-item:hover .team-content p {
    color: var(--bs-white) !important;
}

.team .team-carousel .team-item:hover .team-content::after {
    height: 100% !important;
}

.team .team-carousel .team-item .team-img img {
    transition: 0.5s;
}

.team .team-carousel .team-item:hover .team-img img {
    transform: scale(1.1);
}
/*** Team End ***/


/*** Vidie Gallery Start ***/
/*** Youtube Video start ***/
.gallery .tab-class {
    text-align: start !important;
}

.gallery .nav-item {
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.gallery .nav-item a span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery .nav-item a.active {
    background: var(--bs-primary) !important;
}

.gallery .nav-item a.active span {
    color: var(--bs-white) !important;
}


.video {
    position: relative;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: content-box;
    display: block;
    width: 23px;
    height: 44px;
    border-radius: 50%;
    transition: 0.5s;
    

}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 70px;
    height: 70px;
    background: var(--bs-white);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
    transition: 0.5s;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 50px;
    height: 50px;
    background: var(--bs-secondary);
    border-radius: 50%;
    transition: all 300ms;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 23px solid var(--bs-primary);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}
/*** Youtube Video End ***/

/*** Vidieo Gallery End ***/

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-top: 30px;
}
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: 1px;
    padding: 10px 35px;
    border: 1px solid var(--bs-secondary);
    color: var(--bs-white);
    background: var(--bs-secondary);
    border-radius: 50px;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.testimonial-carousel .owl-nav .owl-next {
    right: 0;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}
/*** Testimonial End ***/


/*** Contact Start ***/
.contact button.btn.btn-primary.w-100:hover {
    box-shadow: inset 700px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item .footer-link {
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item .footer-link:hover {
    letter-spacing: 1px;
    color: var(--bs-primary) !important;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/

/*** Contact Premium Styles ***/
.bg-primary-soft {
    background-color: rgba(246, 70, 108, 0.1);
}

.hover-float {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important;
}

.hover-text-primary:hover {
    color: var(--bs-primary) !important;
}

#whatsappContactForm .form-control:focus, 
#whatsappContactForm .form-select:focus {
    background-color: #fff !important;
    border: 1px solid var(--bs-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(246, 70, 108, 0.1);
}

#whatsappContactForm label {
    color: #6c757d;
}

.contact .shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.075) !important;
}

/*** Team Circular Styles ***/
.team-img-circle {
    transition: 0.5s;
    background-color: #fdfdfd;
    border: 6px solid var(--bs-primary) !important;
    box-shadow: 0 0 15px rgba(246, 70, 108, 0.2);
}

.team-item:hover .team-img-circle {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(246, 70, 108, 0.4);
}

.team-item:hover .team-img-circle img {
    transform: scale(1.1);
}

.team-img-circle img {
    transition: 0.5s;
}

.team-content-box {
    background-color: var(--bs-primary);
    border-radius: 12px;
    padding: 15px 10px;
    transition: 0.5s;
}

.team-item:hover .team-content-box {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(246, 70, 108, 0.3);
}

.team-content-box .name {
    color: #000;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.team-content-box .designation {
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.team-overlay-ring {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid rgba(246, 70, 108, 0.3);
    border-radius: 50%;
    z-index: -1;
    transition: 0.5s;
}


.team-item:hover .team-overlay-ring {
    transform: scale(1.1);
    border-color: var(--bs-primary);
}

/*** Registration Badge ***/
.registration-badge {
    background: rgba(246, 70, 108, 0.08);
    border: 1px solid rgba(246, 70, 108, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    color: var(--bs-dark);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.registration-badge i {
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   PREMIUM REDESIGN - DANCE CARDS
   ========================================================================== */

:root {
    --premium-orange-gradient: linear-gradient(135deg, #ffc77a 0%, #ffb05a 46%, #ffdca8 100%);
    --premium-orange-glow: rgba(255, 176, 90, 0.28);
    --premium-shadow: 0 18px 45px rgba(120, 72, 20, 0.14);
    --premium-shadow-hover: 0 26px 60px rgba(120, 72, 20, 0.2);
    --card-radius: 22px;
}

.class-item.premium-card,
.training-item.premium-card {
    border: none !important;
    border-radius: var(--card-radius) !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--premium-shadow);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.class-item.premium-card:hover,
.training-item.premium-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--premium-shadow-hover);
}

.premium-card .card-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #f0f0f0;
}

.premium-card .card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.premium-card:hover .card-img-container img {
    transform: scale(1.12);
}

.premium-card .card-body-custom {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
    justify-content: center;
}

.premium-card .class-category {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ff6b3d;
    margin-bottom: 0.6rem;
    display: block;
}

.premium-card .class-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.premium-card .class-title:hover {
    color: #ff3d6b;
}

.premium-card .batch-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
    font-weight: 500;
}

.premium-card .batch-info i {
    color: #ff6b3d;
    font-size: 1.1rem;
}

.premium-btn {
    margin-top: auto;
    background: var(--premium-orange-gradient);
    color: #fff !important;
    border: none;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px var(--premium-orange-glow);
    text-decoration: none;
    display: inline-block;
    width: fit-content;
}

.premium-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 25px rgba(255, 176, 90, 0.35);
    background: linear-gradient(135deg, #ffdca8 0%, #ffc77a 50%, #ffb05a 100%);
}

.premium-card .student-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a1a1a;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

/* Fix Owl Carousel spacing for premium cards */
.class-carousel .owl-item, 
.training-carousel .owl-item {
    padding: 15px;
}



/* --- Premium Button Redesign --- */
.btn.btn-primary, .btn.btn-secondary, .premium-btn {
    background: linear-gradient(135deg, #d81b60, #8e24aa) !important; /* Premium magenta-purple gradient */
    border: none !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    box-shadow: 0 8px 20px rgba(216, 27, 96, 0.35) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 700 !important;
}

.btn.btn-primary:hover, .btn.btn-secondary:hover, .premium-btn:hover {
    background: linear-gradient(135deg, #c2185b, #7b1fa2) !important;
    box-shadow: 0 12px 25px rgba(216, 27, 96, 0.55) !important;
    transform: translateY(-4px) !important;
    color: #ffffff !important;
}

/* --- Premium Form Inputs --- */
.premium-input {
    background: #fdf8f4 !important; /* Soft warm tint */
    border: 2px solid rgba(216, 27, 96, 0.1) !important;
    border-radius: 15px !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    color: #4a2a12 !important;
    font-weight: 500;
}

.premium-input:focus {
    background: #ffffff !important;
    border: 2px solid #d81b60 !important; /* Premium magenta accent */
    box-shadow: 0 8px 20px rgba(216, 27, 96, 0.12) !important;
    transform: translateY(-2px);
}

.premium-form .form-floating > label {
    color: #8c7362;
    font-weight: 500;
}

.premium-form .form-floating > .premium-input:focus ~ label,
.premium-form .form-floating > .premium-input:not(:placeholder-shown) ~ label {
    color: #d81b60 !important;
    font-weight: 700;
}

/* --- Photo Stack Card --- */
.photo-stack-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    padding: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: none;
    box-shadow: none;
}
.photo-stack-card:hover {
    transform: translateY(-5px);
    background-color: transparent;
    box-shadow: none;
}

.photo-stack-images {
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.photo-stack-img {
    position: absolute;
    height: 200px;
    width: auto;
    max-width: 90%;
    border-radius: 0.5rem;
    border: 5px solid #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    object-fit: contain;
    background-color: transparent;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center center;
}

.photo-stack-text {
    text-align: center;
    z-index: 10;
}
.photo-stack-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.photo-stack-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}
.photo-stack-subtitle {
    display: none;
}

/* Base rotations */
.photo-stack-img:nth-child(1) { transform: rotate(-6deg) translateX(-15px); z-index: 1; filter: brightness(0.85); }
.photo-stack-img:nth-child(2) { transform: rotate(0deg) translateY(5px); z-index: 3; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.photo-stack-img:nth-child(3) { transform: rotate(6deg) translateX(15px); z-index: 2; filter: brightness(0.9); }
.photo-stack-img:nth-child(4) { transform: rotate(-12deg) translateX(-25px); z-index: 0; filter: brightness(0.75); }
.photo-stack-img:nth-child(5) { transform: rotate(12deg) translateX(25px); z-index: -1; filter: brightness(0.7); }
.photo-stack-img:nth-child(n+6) { display: none; }

/* Hover animations */
.photo-stack-card:hover .photo-stack-img:nth-child(1) {
    transform: rotate(-15deg) translate(-40px, -10px) scale(1.05);
}
.photo-stack-card:hover .photo-stack-img:nth-child(2) {
    transform: rotate(0deg) translateY(-15px) scale(1.1);
    z-index: 10;
}
.photo-stack-card:hover .photo-stack-img:nth-child(3) {
    transform: rotate(15deg) translate(40px, -10px) scale(1.05);
}
.photo-stack-card:hover .photo-stack-img:nth-child(4) {
    transform: rotate(-25deg) translate(-60px, -5px) scale(1.02);
}
.photo-stack-card:hover .photo-stack-img:nth-child(5) {
    transform: rotate(25deg) translate(60px, -5px) scale(1.02);
}


/* Lightbox Gallery Styles */
.gallery-lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}
.gallery-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: transparent;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.gallery-lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.2s ease;
}
.gallery-lightbox-close:hover {
    color: var(--primary);
}
.gallery-lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* --- Event Lightbox --- */
.event-lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.event-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}
.event-lightbox-content {
    position: relative;
    width: 900px;
    max-width: 95vw;
    max-height: 90vh;
    background: #fff;
    border-radius: 1rem;
    display: flex;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    flex-direction: row;
}
@media (max-width: 768px) {
    .event-lightbox-content {
        flex-direction: column;
        overflow-y: auto;
    }
}
.event-lightbox-image-col {
    flex: 1;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 300px;
}
.event-lightbox-image-col img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.event-lightbox-text-col {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
}
.event-lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #333;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    background: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}
@media (max-width: 768px) {
    .event-lightbox-close {
        color: #fff;
        background: rgba(0,0,0,0.5);
    }
}
.event-lightbox-close:hover {
    background: var(--primary);
    color: #fff;
}
.event-lightbox-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}
.event-lightbox-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}
.event-lightbox-meta-item {
    display: flex;
    align-items: center;
    color: #555;
    font-size: 1.1rem;
}
.event-lightbox-meta-item i {
    color: var(--primary);
    width: 25px;
    font-size: 1.2rem;
}
.event-lightbox-desc {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 2rem;
    white-space: pre-wrap;
}


/* Masonry Gallery Layout */
.masonry-gallery {
    column-count: 3;
    column-gap: 20px;
    padding: 20px 0;
}

@media (max-width: 991px) {
    .masonry-gallery {
        column-count: 2;
    }
}

@media (max-width: 575px) {
    .masonry-gallery {
        column-count: 1;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #000;
    cursor: pointer;
}

.masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(246, 70, 108, 0.4);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.masonry-item .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(246, 70, 108, 0.8);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: auto !important;
}

.masonry-item:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}


/* Mobile Navbar Fix */
@media (max-width: 450px) {
    .navbar-brand {
        width: 230px !important;
    }
    .navbar-brand img[src*="logo.png"] {
        height: 60px !important;
        top: -2px !important;
    }
    .navbar-brand img[src*="name.png"] {
        height: 100px !important;
        top: -15px !important;
        left: 30px !important;
    }
    .navbar-toggler {
        margin-left: auto !important;
    }
}


#whatsappContactForm label {
    color: #6c757d;
}

.contact .shadow-lg {
    margin-top: 30px;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.075) !important;
}

/*** Counter Facts Start ***/
.counter-facts {
    background: transparent;
}

.counter-facts .counter {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border-bottom: 4px solid var(--bs-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.counter-facts .counter:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.counter-facts .counter .counter-icon-premium {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background: rgba(246, 70, 108, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tracking-wide {
    letter-spacing: 1.5px;
}

@media screen and (max-width: 1200px) {
    .counter-facts .counter { 
        margin-bottom: 40px; 
    }
}
/*** Counter Facts End ***/

.training-carousel .owl-stage-outer {
    margin-top: 30px;
}

.training-carousel .owl-nav .owl-prev,
.training-carousel .owl-nav .owl-next {
    position: absolute;
    top: 0;
    padding: 10px 35px;
    border: 1px solid var(--bs-secondary);
    color: var(--bs-white);
    background: var(--bs-secondary);
    border-radius: 50px;
    transition: 0.5s;
}


/* Ornate Premium Milestone Design */
.ornate-milestone-card {
    position: relative;
    border: 2px solid #d4af37;
    border-radius: 15px 15px 120px 120px;
    background: transparent;
    margin-top: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.ornate-milestone-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.ornate-badge {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    background: #7b1113;
    border: 2px solid #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.ornate-badge i {
    font-size: 35px;
    color: #d4af37;
}

.ornate-top {
    background: #7b1113;
    padding: 60px 20px 20px 20px;
    border-radius: 13px 13px 0 0;
    position: relative;
}

.ornate-top h4 {
    color: #fff;
    font-size: 16px;
    font-family: 'Georgia', serif;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 0;
    text-transform: uppercase;
}

.ornate-divider {
    text-align: center;
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.ornate-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    border-top: 1px solid #d4af37;
    z-index: -1;
}

.ornate-divider span {
    color: #d4af37;
    background: #7b1113;
    padding: 0 10px;
}

.ornate-bottom {
    background: #fdfaf6;
    padding: 30px 20px 45px 20px;
    border-radius: 0 0 118px 118px;
    position: relative;
    z-index: 1;
}

.ornate-bottom .counter-value, .ornate-bottom .counter-plus {
    font-size: 45px;
    font-weight: 800;
    background: linear-gradient(to right, #d4af37, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.ornate-bottom .counter-label {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-top: 5px;
    letter-spacing: 1px;
}

/* Center Owl Carousel items if they don't fill the track */
.owl-carousel .owl-stage {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

/* Smooth scrolling for mobile and desktop */
html { scroll-behavior: smooth; }
body { -webkit-overflow-scrolling: touch; overflow-x: hidden; }
.navbar-collapse { -webkit-overflow-scrolling: touch; }

/* ===== GALLERY DROPDOWN FIX (Bootstrap 5) ===== */
/* Bootstrap 5 adds .show to parent .dropdown and .dropdown-menu on click */
/* Override template animation to make it visible */
@media (min-width: 992px) {
    .navbar .nav-item.show .dropdown-menu,
    .navbar .nav-item .dropdown-menu.show {
        visibility: visible !important;
        opacity: 1 !important;
        transform: rotateX(0deg) !important; position: absolute !important; z-index: 9999 !important; top: 100% !important;
        background: #222 !important;
        display: block !important;
    }
}

/* Mobile: collapse mode - show submenu as a plain list */
@media (max-width: 991.98px) {
    .navbar .nav-item .dropdown-menu,
    .navbar .nav-item:hover .dropdown-menu {
        display: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 5px 0 5px 15px !important;
        transition: none !important;
    }
    .navbar .nav-item.show .dropdown-menu,
    .navbar .nav-item .dropdown-menu.show {
        display: block !important;
    }
    .navbar .dropdown-item {
        font-family: 'Montserrat', sans-serif;
        color: rgba(255,255,255,0.85) !important;
        padding: 8px 0 !important;
        font-size: 14px !important;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .navbar .dropdown-item:hover {
        color: #ff5e14 !important;
        background: transparent !important;
    }
}
/* ===== END GALLERY DROPDOWN FIX ===== */


/* Fix mobile horizontal scroll without touching logo layout */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}


/* Fix Stacking Context: Ensure navbar is always above the hero carousel */
.container-fluid.position-relative.p-0:has(.navbar) {
    z-index: 1040;
}
.navbar {
    z-index: 1040;
}



/* Premium Hero Title */
.premium-hero-title {
    font-family: 'Cinzel', serif !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}
/* Push hero text to the top */
.bg-breadcrumb .py-5 {
    padding-top: 10px !important;
}

/* Premium Footer Typography */
.footer {
    font-family: 'Montserrat', sans-serif !important;
}
.footer h4 {
    font-family: 'Cinzel', serif !important;
    letter-spacing: 2px;
}
.footer p, .footer a, .footer .text-white {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400;
}

/* Improve Topbar Icon Contrast */
.mobile-topbar .text-primary,
.topbar .text-primary {
    color: #ffffff !important;
}

/* Custom Logo Styles */
.custom-logo-link { gap: 10px; }
.custom-logo-img { height: 60px; width: auto; max-height: none !important; z-index: 100; margin-left: 5px; }
.custom-logo-text-container { display: flex; flex-direction: column; justify-content: center; }
.custom-logo-title { font-family: 'Cinzel', serif; font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1.2; letter-spacing: 1px; white-space: nowrap; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
.custom-logo-tagline { font-family: 'Georgia', serif; font-size: 0.85rem; font-style: italic; color: #fff; line-height: 1.2; white-space: nowrap; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }
@media (max-width: 991px) { .custom-logo-img { height: 45px; } .custom-logo-title { font-size: 1.1rem; } .custom-logo-tagline { font-size: 0.65rem; } }
