
/*** 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;
}

/*** 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-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
}

.btn.btn-secondary {
    color: var(--bs-white);
}

.btn.btn-secondary:hover {
    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}

.btn.btn-light {
    color: var(--bs-primary);
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}

/*** Icon Animation Start ***/
@keyframes icon-animat {
    0%  {border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;}

    25% {border-radius: 69% 31% 19% 81% / 43% 37% 63% 57%;}

    50% {border-radius: 67% 33% 16% 84% / 57% 37% 63% 43%;}

    75% {border-radius: 77% 23% 61% 39% / 36% 61% 39% 64%;}

    100% {border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;}
}
/*** Icon Animation End ***/


/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-white);
}

.sticky-top {
    transition: 1s;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    letter-spacing: 1px;
    color: var(--bs-dark);
    font-size: 17px;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    margin-top: 8px !important;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}



@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;
    margin-top: 8px !important;
    transition: .5s;
    opacity: 0;
    }
}

@media (max-width: 991px) {
    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 12px 0;
    }
}
/*** Navbar End ***/

/*** Carousel Header Start ***/
.carousel .carousel-item img {
    object-fit: cover;
}

.carousel .carousel-item,
.carousel .carousel-item img {
    height: 700px;
}

.carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

.carousel .carousel-indicators {
    left: 75%;
    top: 50%;
    margin-right: 25%;
    transform: translateY(-50%);
    flex-direction: column;
}

.carousel-indicators [data-bs-target] {
    display: flex;
    width: 15px;
    height: 15px;
    border: 6px solid var(--bs-white);
    border-radius: 15px;
    padding: 0;
    margin-top:10px;
    margin-bottom:10px;
    background-color: var(--bs-secondary);
    opacity: 1;
    transition: 0.5s;
}

.carousel-indicators [data-bs-target].active {
    background-color: var(--bs-primary);
}

@media (max-width: 992px) {
    .carousel-indicators [data-bs-target] {
        display: none;
    }
}
/*** Carousel Header End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;

    /* Balanced overlay (NOT too dark) */
    background:
        linear-gradient(
            rgba(31, 46, 78, 0.75),
            rgba(31, 46, 78, 0.75)
        ),
        url("../img/header.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    min-height: 320px;   /* IMPORTANT */
    display: flex;
    align-items: center;

    padding: 0;          /* remove padding dependency */
}
.breadcrumb-content {
    padding: 90px 0;
}


.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/

/*** About Start ***/
.about .about-item .about-item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    transition: 0.5s;
}

.about .about-item .about-item-inner .about-icon {
    width: 90px; 
    height: 90px; 
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    background: var(--bs-primary);
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

.about .about-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    
}

.about .about-img .img-1 {
    height: 85%;
    margin-right: 50px;
}

.about .about-img .img-2 {
    position: absolute;
    width: 100%; 
    bottom: 0; 
    right: 0;
    padding-left: 50px;
    border-radius: 10px;
}

.about .about-img::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 98%;
    top: 0;
    right: 0;
    border-radius: 10px;
    background: var(--bs-primary);
    z-index: -1;
}

.about .about-item .text-item {
    position: relative;
    padding-left: 25px;
}

.about .about-item .text-item::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-secondary);
}
/*** About End ***/

/*** Cars Categories Start ***/
.categories .categories-item {
    position: relative;
    border: 1px solid var(--bs-secondary);
    border-radius: 10px;
    transition: 0.5s;
}

.categories .categories-item:hover {
    border: 1px solid var(--bs-primary);
}

.categories .categories-item .categories-item-inner {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
}

.categories .categories-item .categories-item-inner:hover {
    box-shadow: 0 0 50px rgba(234, 0, 30, .3);
}

.categories .categories-item-inner .categories-img {
    background: var(--bs-light);
}

.categories .categories-item-inner .categories-content {
    border-top: 4px solid var(--bs-white);
    text-align: center;
    background: var(--bs-light);
}

.categories .categories-item-inner .categories-review {
    display: flex;
    align-items: center;
    justify-content: center;
}

.categories-carousel .owl-stage-outer {
    margin-top: 65px;
    margin-right: -1px;
}

.categories-carousel .owl-nav .owl-prev,
.categories-carousel .owl-nav .owl-next {
    position: absolute;
    top: -65px;
    padding: 10px 35px;
    color: var(--bs-white);
    background: var(--bs-primary);
    border-radius: 50px;
    transition: 0.5s;
}

.categories-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.categories-carousel .owl-nav .owl-next {
    right: 0;
}

.categories-carousel .owl-nav .owl-prev:hover,
.categories-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** Cars Categories End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.3);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}  

.blog .blog-item .blog-content {
    position: relative;
    background: var(--bs-light);
}

.blog .blog-item .blog-content .blog-date {
    position: absolute;
    top: 0; 
    left: 25px; 
    transform: translateY(-50%);
    padding: 12px 25px;
    border-radius: 10px;
    color: var(--bs-white);
    background: var(--bs-primary);
}

.blog .blog-item .blog-content .blog-comment {
    display: flex;
    justify-content: space-between;
}
/*** Blog End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    text-align: center;
    border-radius: 10px;
    margin-top: 100px;
    background: var(--bs-light);
    transition: 0.5s;
    z-index: 1;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-secondary);
    z-index: 2;
    transition: 0.5s;
}

.team .team-item:hover::after {
    height: 100%;
}

.team .team-item .team-content {
    position: relative;
    z-index: 5;
}

.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white);
}
.team .team-item:hover .team-content p {
    color: var(--bs-white);
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    top: -100px;
    margin-bottom: -100px;
    border-radius: 10px;
    z-index: 3;
}

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .3);
    z-index: 4;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
}
/*** Team End ***/

/*** Contact Start ***/
.contact .contact-add-item {
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-light);
}

.contact .contact-add-item .contact-icon {
    width: 90px; 
    height: 90px; 
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    background: var(--bs-primary);
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

/*** Contact End ***/

  /* Fix unwanted top gap in slider */
.header-carousel {
    margin-top: 0 !important;
}

.header-carousel .carousel-item {
    height: calc(100vh - 120px); /* subtract topbar + navbar height */
    min-height: 500px;
}

.header-carousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
         /* ===== Brand Colors ===== */
:root {
    --primary: #4B0404;
    --primary-dark: #300000;

    --gold: #9F7944;
    --gold-dark: #76572F;
    --gold-light: #C7A56D;

    --accent: #F58F7F;

    --cream: #F8F5F0;
    --white: #FFFFFF;

    --text: #2B2522;
    --text-muted: #6F6862;
    --border: #E7DFD5;
}

/* Badge */
.badge-brand{
    background: var(--brand-primary);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 20px;
}

/* Primary button */
.btn-brand{
    background: var(--brand-primary);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    transition: all 0.3s ease;
}

.btn-brand:hover{
    background: var(--brand-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* Outline button (optional brand touch) */
.btn-outline-light:hover{
    background: var(--brand-secondary);
    border-color: var(--brand-secondary);
    color: #fff;
}

            /* ===== Premium Learning Ecosystem ===== */
.learning-ecosystem-premium {
    background: linear-gradient(180deg, #fff7f3, #ffffff);
    overflow: hidden;
}

/* Title */
.section-title-premium {
    font-size: 40px;
    font-weight: 700;
    color: #2b1b12;
}

.section-title-premium::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f2643c, #a37b42);
    margin: 14px auto 0;
    border-radius: 6px;
}

.section-subtitle-premium {
    max-width: 680px;
    margin: 15px auto 0;
    font-size: 17px;
    color: #6b4b32;
}

/* Cards */
.eco-card-premium {
    background: #ffffff;
    border-radius: 18px;
    padding: 34px 24px;
    text-align: center;
    height: 100%;
    position: relative;
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.eco-icon-premium {
    font-size: 50px;
    margin-bottom: 18px;
}

.eco-card-premium h5 {
    font-weight: 600;
    color: #2b1b12;
    margin-bottom: 12px;
}

.eco-card-premium p {
    font-size: 15px;
    color: #6b4b32;
}

/* Hover */
.eco-card-premium:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Color themes */
.eco-academic { border-top: 5px solid #f2643c; }
.eco-lab { border-top: 5px solid #a37b42; }
.eco-hospital { border-top: 5px solid #f2643c; }
.eco-career { border-top: 5px solid #a37b42; }

/* One-line statement */
.eco-line {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.eco-line p {
    font-size: 20px;
    font-weight: 500;
    color: #2b1b12;
    line-height: 1.6;
}

.eco-line span {
    color: #f2643c;
    font-weight: 700;
}

/* Decorative shapes */
.eco-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.15;
}

.eco-shape-1 {
    width: 220px;
    height: 220px;
    background: #f2643c;
    top: -60px;
    left: -60px;
}

.eco-shape-2 {
    width: 260px;
    height: 260px;
    background: #a37b42;
    bottom: -80px;
    right: -80px;
}

/* Mobile */
@media (max-width: 768px) {
    .section-title-premium {
        font-size: 28px;
    }

    .eco-line p {
        font-size: 17px;
    }
}

             /* =========================================================
   WHO WE ARE – PREMIUM INSTITUTIONAL DESIGN
========================================================= */

.who-we-are-section {
    position: relative;
    padding: 115px 0;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fffaf7 55%,
            #f8f3ee 100%
        );
    overflow: hidden;
}


/* =========================================================
   BACKGROUND DECORATIONS
========================================================= */

.who-bg-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.who-bg-circle-1 {
    width: 420px;
    height: 420px;

    right: -210px;
    top: -180px;

    background: rgba(159, 121, 68, 0.08);
}

.who-bg-circle-2 {
    width: 260px;
    height: 260px;

    left: -150px;
    bottom: -140px;

    background: rgba(75, 4, 4, 0.035);
}


/* =========================================================
   CONTENT
========================================================= */

.who-content {
    position: relative;
    z-index: 2;
}


/* =========================================================
   SECTION LABEL
========================================================= */

.who-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 22px;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: #9f7944;
}

.who-label-line {
    width: 34px;
    height: 2px;

    background: #9f7944;

    display: inline-block;
}


/* =========================================================
   TITLE
========================================================= */

.who-title {
    margin: 0 0 25px;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -1.5px;

    color: #300000;
}

.who-title span {
    color: #9f7944;
}


/* =========================================================
   INTRO TEXT
========================================================= */

.who-intro {
    max-width: 620px;

    margin-bottom: 18px;

    font-size: 19px;

    line-height: 1.75;

    font-weight: 500;

    color: #3e3029;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.who-description {
    max-width: 620px;

    margin-bottom: 28px;

    font-size: 16px;

    line-height: 1.8;

    color: #6b625c;
}


/* =========================================================
   HIGHLIGHT
========================================================= */

.who-highlight {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    max-width: 610px;

    padding: 20px 22px;

    margin-bottom: 32px;

    border-left: 4px solid #9f7944;

    background: rgba(255,255,255,0.75);

    border-radius: 0 16px 16px 0;

    box-shadow: 0 12px 35px rgba(48,0,0,0.06);

    backdrop-filter: blur(5px);
}

.who-highlight-icon {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #4b0404;

    color: #ffffff;

    font-size: 17px;
}

.who-highlight strong {
    display: block;

    margin-bottom: 4px;

    font-size: 16px;

    font-weight: 750;

    color: #300000;
}

.who-highlight span {
    display: block;

    font-size: 14px;

    line-height: 1.6;

    color: #6b625c;
}


/* =========================================================
   ACTIONS
========================================================= */

.who-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 22px;
}


/* Primary Button */

.who-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    padding: 13px 18px 13px 24px;

    border-radius: 50px;

    background: #4b0404;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 12px 28px rgba(75,4,4,0.20);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.who-btn-primary span {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #9f7944;

    transition: transform .3s ease;
}

.who-btn-primary:hover {
    color: #ffffff;

    background: #300000;

    transform: translateY(-3px);

    box-shadow:
        0 18px 35px rgba(75,4,4,0.25);
}

.who-btn-primary:hover span {
    transform: translateX(4px);
}


/* Secondary Link */

.who-btn-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #4b0404;

    font-size: 15px;

    font-weight: 700;

    text-decoration: none;

    transition: gap .3s ease;
}

.who-btn-link i {
    color: #9f7944;

    transition: transform .3s ease;
}

.who-btn-link:hover {
    color: #300000;

    gap: 12px;
}

.who-btn-link:hover i {
    transform: translateX(4px);
}


/* =========================================================
   RIGHT VISUAL
========================================================= */

.who-visual {
    position: relative;

    min-height: 540px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   MAIN IMAGE
========================================================= */

.who-image-card {
    position: relative;

    width: 88%;
    height: 455px;

    margin-left: auto;

    overflow: hidden;

    border-radius: 28px;

    background: #ffffff;

    box-shadow:
        0 30px 70px rgba(48,0,0,0.15);

    transform: rotate(1deg);

    transition:
        transform .5s ease,
        box-shadow .5s ease;
}

.who-image-card:hover {
    transform: rotate(0deg) translateY(-5px);

    box-shadow:
        0 40px 85px rgba(48,0,0,0.20);
}


/* Image */

.who-hospital-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition: transform 1s ease;
}

.who-image-card:hover .who-hospital-image {
    transform: scale(1.04);
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.who-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(48,0,0,0.02) 35%,
            rgba(48,0,0,0.60) 100%
        );

    pointer-events: none;
}


/* =========================================================
   HOSPITAL BADGE
========================================================= */

.who-hospital-badge {
    position: absolute;

    left: 24px;
    bottom: 24px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 13px 18px;

    min-width: 255px;

    border-radius: 16px;

    background: rgba(255,255,255,0.96);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.18);

    backdrop-filter: blur(10px);
}

.who-hospital-icon {
    width: 45px;
    height: 45px;

    flex: 0 0 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #4b0404;

    color: #ffffff;

    font-size: 17px;
}

.who-hospital-badge small {
    display: block;

    margin-bottom: 2px;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: #9f7944;

    font-weight: 700;
}

.who-hospital-badge strong {
    display: block;

    font-size: 16px;

    color: #300000;

    font-weight: 750;
}


/* =========================================================
   FLOATING LOGO CARD
========================================================= */

.who-logo-card {
    position: absolute;

    top: 10px;
    left: 0;

    width: 145px;
    height: 145px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 24px;

    background: #ffffff;

    border: 1px solid rgba(159,121,68,0.25);

    box-shadow:
        0 22px 55px rgba(48,0,0,0.16);

    z-index: 5;
}


/* Logo */

.who-logo-circle {
    width: 118px;
    height: 118px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    border: 2px solid rgba(159,121,68,0.35);

    padding: 8px;
}

.who-logo-circle img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* =========================================================
   FLOATING EXPERIENCE CARD
========================================================= */

.who-experience-card {
    position: absolute;

    right: 0;
    top: 135px;

    display: flex;
    align-items: center;

    gap: 12px;

    width: 250px;

    padding: 15px 17px;

    border-radius: 17px;

    background: #4b0404;

    color: #ffffff;

    box-shadow:
        0 20px 45px rgba(48,0,0,0.25);

    z-index: 6;
}

.who-experience-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #9f7944;

    color: #ffffff;
}

.who-experience-card strong {
    display: block;

    margin-bottom: 3px;

    font-size: 13px;

    line-height: 1.35;

    font-weight: 700;
}

.who-experience-card span {
    display: block;

    font-size: 11px;

    line-height: 1.45;

    color: rgba(255,255,255,0.72);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .who-we-are-section {
        padding: 90px 0;
    }

    .who-title {
        font-size: 46px;
    }

    .who-visual {
        min-height: 500px;

        margin-top: 20px;
    }

    .who-image-card {
        width: 82%;
        height: 430px;
    }

    .who-logo-card {
        left: 2%;
    }

    .who-experience-card {
        right: 2%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .who-we-are-section {
        padding: 70px 0;
    }

    .who-title {
        font-size: 36px;

        letter-spacing: -0.8px;
    }

    .who-intro {
        font-size: 17px;
    }

    .who-description {
        font-size: 15px;
    }

    .who-highlight {
        padding: 17px;
    }

    .who-actions {
        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }

    .who-visual {
        min-height: 430px;

        margin-top: 20px;
    }

    .who-image-card {
        width: 90%;
        height: 350px;

        margin-left: auto;
        margin-right: auto;

        border-radius: 22px;
    }

    .who-logo-card {
        width: 100px;
        height: 100px;

        top: 0;
        left: 0;

        border-radius: 18px;
    }

    .who-logo-circle {
        width: 82px;
        height: 82px;

        padding: 5px;
    }

    .who-experience-card {
        right: 0;
        top: 90px;

        width: 205px;

        padding: 12px;
    }

    .who-experience-icon {
        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }

    .who-hospital-badge {
        left: 15px;
        right: 15px;
        bottom: 15px;

        min-width: auto;

        padding: 11px 13px;
    }

    .who-hospital-icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }

    .who-hospital-badge strong {
        font-size: 14px;
    }

    .who-hospital-badge small {
        font-size: 9px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .who-title {
        font-size: 31px;
    }

    .who-visual {
        min-height: 390px;
    }

    .who-image-card {
        width: 94%;
        height: 315px;
    }

    .who-logo-card {
        width: 82px;
        height: 82px;
    }

    .who-logo-circle {
        width: 68px;
        height: 68px;
    }

    .who-experience-card {
        width: 180px;

        top: 75px;
    }

    .who-experience-card strong {
        font-size: 11px;
    }

    .who-experience-card span {
        font-size: 9px;
    }
}


/* =========================================================
   ACCESSIBILITY – REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .who-image-card,
    .who-hospital-image,
    .who-btn-primary,
    .who-btn-primary span,
    .who-btn-link,
    .who-btn-link i {
        transition: none !important;
    }

}

  /* ===== Courses Pathway Section ===== */
.courses-pathway-section {
    padding: 90px 0;
    background: #ffffff;
}

/* Pathway container */
.course-pathway {
    position: relative;
    max-width: 900px;
    margin: auto;
    padding-left: 40px;
}

/* Vertical line */
.course-pathway::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12px;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f2643c, #a37b42);
    border-radius: 4px;
}

/* Item */
.pathway-item {
    position: relative;
    margin-bottom: 45px;
}

/* Marker */
.pathway-marker {
    position: absolute;
    left: 0;
    top: 6px;
    width: 28px;
    height: 28px;
    background: #f2643c;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(242,100,60,0.15);
}

/* Content */
.pathway-content {
    padding-left: 50px;
}

.pathway-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #2b1b12;
    margin-bottom: 8px;
}

.pathway-content p {
    font-size: 16px;
    color: #5c4330;
    margin-bottom: 6px;
    line-height: 1.6;
}

.pathway-content span {
    font-size: 14px;
    font-weight: 600;
    color: #a37b42;
}

/* Mobile */
@media (max-width: 768px) {
    .course-pathway {
        padding-left: 30px;
    }

    .pathway-content h4 {
        font-size: 18px;
    }
}
            /* ===== Why Our Students Succeed ===== */
.student-success-section {
    padding: 100px 0;
    background: linear-gradient(120deg, #fff4ee, #ffffff);
    position: relative;
    overflow: hidden;
}

/* Decorative background */
.student-success-section::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    background: #f2643c;
    border-radius: 50%;
    top: -180px;
    left: -180px;
    opacity: 0.07;
}

/* Tag */
.success-tag {
    display: inline-block;
    padding: 6px 18px;
    background: #a37b42;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 18px;
}

/* Title */
.success-title {
    font-size: 42px;
    font-weight: 700;
    color: #2b1b12;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Text */
.success-text {
    font-size: 17px;
    color: #5c4330;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* Stats layout */
.success-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

/* Stat box */
.stat-box {
    background: #ffffff;
    padding: 36px 20px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
}

.stat-box h3 {
    font-size: 42px;
    font-weight: 700;
    color: #f2643c;
    margin-bottom: 6px;
}

.stat-box p {
    font-size: 15px;
    font-weight: 500;
    color: #5c4330;
}

/* Hover */
.stat-box:hover {
    transform: translateY(-8px);
}

/* Mobile */
@media (max-width: 768px) {

    .student-success-section {
        padding: 70px 0;
        text-align: center;
    }

    .success-title {
        font-size: 28px;
    }

    .success-stats {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
}

            /* ===== Footer ===== */
.site-footer {
    background: linear-gradient(135deg, #2b1b12, #3a2418);
    color: #f5e9e1;
    padding: 70px 0 30px;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
}

.footer-text {
    font-size: 15px;
    line-height: 1.7;
    color: #e6d6cc;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #f2643c;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #e6d6cc;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #f2643c;
    padding-left: 4px;
}

.footer-contact {
    font-size: 14px;
    color: #e6d6cc;
    line-height: 1.6;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #d8c5b9;
}

/* Mobile */
@media (max-width: 768px) {
    .site-footer {
        text-align: center;
    }
}

/* ===== Visual Experience Section ===== */
.visual-experience-section {
    margin: 100px 0;
    background: #ffffff;
}

/* Image Blocks */
.ve-image {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 280px;
}

.ve-image-large {
    min-height: 520px;
}

.ve-image-medium {
    min-height: 260px;
}

.ve-image-wide {
    min-height: 380px;
}

/* Image Label */
.ve-image-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

/* Cards */
.ve-card {
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ve-card h4 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.ve-card p {
    font-size: 16px;
    line-height: 1.7;
}

/* Light Card */
.ve-light {
    background: #ffffff;
    color: #2b1b12;
}

/* Brand Card */
.ve-brand {
    background: #f2643c;
    color: #ffffff;
}

.ve-brand-dark {
    background: linear-gradient(135deg, #f2643c, #a37b42);
    color: #ffffff;
}

/* Icon */
.ve-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

/* Mobile */
@media (max-width: 768px) {
    .visual-experience-section {
        margin: 60px 0;
    }

    .ve-image-large,
    .ve-image-medium,
    .ve-image-wide {
        min-height: 220px;
    }

    .ve-card {
        padding: 28px;
        text-align: center;
    }
}


 /* ===== WOW.JS OVERFLOW FIX ===== */
html, body {
    overflow-x: hidden !important;
}

.wow {
    visibility: hidden;
}
@media (max-width: 1024px) {
    .fadeInLeft,
    .fadeInRight,
    .slideInLeft,
    .slideInRight {
        animation-name: fadeIn !important;
        transform: none !important;
    }
}
           

.site-header {
    position: relative;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
}

.site-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    z-index: 99999;
}

body.has-fixed-header {
    padding-top: 110px;
}

@media (max-width: 768px) {
    body.has-fixed-header {
        padding-top: 90px;
    }
}
/* ===== MOBILE NAVBAR GAP FIX ===== */
@media (max-width: 991px) {

    .navbar-collapse {
        background: #ffffff;
        padding: 10px 0;
    }

    .navbar-nav {
        gap: 0 !important;
    }

    .navbar-nav .nav-item {
        margin: 0 !important;
    }

    .navbar-nav .nav-link {
        padding: 10px 20px !important;
        line-height: 1.3;
        font-size: 16px;
    }
}

   /* ===== Life at Subbaiah ===== */
.life-section {
    padding: 110px 0;
    background: linear-gradient(180deg, #ffffff, #fff7f3);
}

/* Header */
.life-header {
    max-width: 850px;
    margin: 0 auto 70px;
    text-align: center;
}

.life-tag {
    font-size: 14px;
    font-weight: 600;
    color: #a37b42;
}

.life-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #2b1b12;
    margin: 12px 0;
}

.life-header p {
    font-size: 17px;
    color: #5c4330;
    line-height: 1.7;
}

/* Layout */
.life-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* Content */
.life-content {
    display: grid;
    gap: 26px;
}

.life-item h4 {
    font-size: 22px;
    font-weight: 700;
    color: #2b1b12;
    margin-bottom: 6px;
}

.life-item p {
    font-size: 16px;
    color: #5c4330;
    line-height: 1.6;
}

/* Images */
.life-images {
    position: relative;
    height: 520px;
}

.life-img {
    position: absolute;
    background-size: cover;
    background-position: center;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.img-one {
    width: 70%;
    height: 65%;
    top: 0;
    right: 0;
}

.img-two {
    width: 55%;
    height: 50%;
    bottom: 0;
    left: 0;
}

.img-three {
    width: 45%;
    height: 40%;
    bottom: 10%;
    right: 5%;
}

/* Mobile */
@media (max-width: 992px) {
    .life-layout {
        grid-template-columns: 1fr;
    }

    .life-images {
        height: 420px;
    }
}

@media (max-width: 576px) {
    .life-section {
        padding: 70px 0;
    }

    .life-header h2 {
        font-size: 28px;
    }

    .life-images {
        height: 360px;
    }
}

      /* ===== Admissions Section ===== */
.admissions-section {
    padding: 50px 0;
    background: #ffffff;
}

/* Header */
.admissions-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 60px;
}

.admissions-tag {
    font-size: 14px;
    font-weight: 600;
    color: #a37b42;
}

.admissions-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: #2b1b12;
    margin: 10px 0;
}

.admissions-header p {
    font-size: 17px;
    color: #5c4330;
}

/* Steps */
.step-card {
    background: #fff7f3;
    padding: 30px;
    border-radius: 20px;
    height: 100%;
}

.step-card span {
    font-size: 32px;
    font-weight: 800;
    color: #f2643c;
}

.step-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0;
    color: #2b1b12;
}

.step-card p {
    font-size: 15px;
    color: #5c4330;
}

/* Eligibility */
.eligibility-section {
    margin-top: 70px;
}

.eligibility-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.eligibility-box h3 {
    font-size: 26px;
    font-weight: 700;
    color: #f2643c;
    margin-bottom: 15px;
}

.eligibility-box ul {
    padding-left: 18px;
}

.eligibility-box li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #5c4330;
}

/* Documents */
.documents-section {
    margin-top: 70px;
    text-align: center;
}

.documents-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2b1b12;
    margin-bottom: 25px;
}

.documents-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.documents-list span {
    padding: 10px 18px;
    border-radius: 25px;
    background: #fff7f3;
    font-size: 14px;
    font-weight: 600;
    color: #5c4330;
}

/* CTA */
.admission-cta {
    margin-top: 80px;
    text-align: center;
    background: linear-gradient(135deg, #f2643c, #a37b42);
    padding: 50px 30px;
    border-radius: 28px;
    color: #ffffff;
}

.admission-cta h4 {
    font-size: 26px;
    font-weight: 700;
}

.admission-cta p {
    font-size: 16px;
    margin: 10px 0 20px;
}

.btn-admission {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    background: #ffffff;
    color: #2b1b12;
    font-weight: 700;
    text-decoration: none;
}

.btn-admission:hover {
    background: #fef0ea;
}

/* Mobile */
@media (max-width: 768px) {
    .admissions-section {
        padding: 70px 0;
    }

    .admissions-header h2 {
        font-size: 28px;
    }
}

    
       
  /* ===== Anti Ragging Section ===== */
.anti-ragging-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #fff7f3, #ffffff);
}

/* Header */
.anti-header {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.anti-tag {
    font-size: 14px;
    font-weight: 600;
    color: #a37b42;
}

.anti-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: #2b1b12;
    margin: 10px 0;
}

.anti-header p {
    font-size: 17px;
    color: #5c4330;
    line-height: 1.7;
}

/* Card */
.anti-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.12);
    margin-bottom: 50px;
}

.anti-card h4 {
    color: #f2643c;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Box */
.anti-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 24px 55px rgba(0,0,0,0.1);
    height: 100%;
}

.anti-box h5 {
    font-size: 20px;
    font-weight: 700;
    color: #2b1b12;
    margin-bottom: 12px;
}

.anti-box ul {
    padding-left: 18px;
}

.anti-box li {
    font-size: 15px;
    color: #5c4330;
    margin-bottom: 8px;
}

/* Highlight */
.anti-highlight {
    background: linear-gradient(135deg, #f2643c, #a37b42);
    color: #ffffff;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    margin: 60px 0;
}

.anti-highlight h4 {
    font-weight: 800;
    margin-bottom: 10px;
}

/* Helpline */
.anti-helpline {
    border-left: 6px solid #f2643c;
}

/* Footer */
.anti-footer {
    text-align: center;
    max-width: 800px;
    margin: 60px auto 0;
}

.anti-footer h4 {
    font-weight: 800;
    color: #2b1b12;
}

/* Mobile */
@media (max-width: 768px) {
    .anti-ragging-section {
        padding: 70px 0;
    }

    .anti-header h2 {
        font-size: 28px;
    }

    .anti-card,
    .anti-box,
    .anti-highlight {
        padding: 28px;
    }
}
     /* ===== Contact Section ===== */
.contact-section {
    padding: 40px 0;
    background: #ffffff;
}

/* Header */
.contact-header {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.contact-tag {
    font-size: 14px;
    font-weight: 600;
    color: #a37b42;
}

.contact-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: #2b1b12;
    margin: 10px 0;
}

.contact-header p {
    font-size: 17px;
    color: #5c4330;
}

/* Info Box */
.contact-info-box {
    background: #fff7f3;
    padding: 40px;
    border-radius: 26px;
}

.info-item {
    margin-bottom: 26px;
}

.info-item h5 {
    font-size: 18px;
    font-weight: 700;
    color: #f2643c;
    margin-bottom: 6px;
}

.info-item p {
    font-size: 15.5px;
    color: #5c4330;
    line-height: 1.6;
}

/* Form Box */
.contact-form-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}

.contact-form-box h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2b1b12;
}

.contact-form-box .form-control {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 15px;
}

.contact-form-box .form-control:focus {
    box-shadow: none;
    border-color: #f2643c;
}

/* Button */
.btn-contact {
    padding: 12px 32px;
    border-radius: 30px;
    background: linear-gradient(135deg, #f2643c, #a37b42);
    color: #ffffff;
    font-weight: 700;
    border: none;
}

/* Map */
.contact-map iframe {
    width: 100%;
    height: 420px;
    border: none;
}

/* Mobile */
@media (max-width: 768px) {
    .contact-section {
        padding: 70px 0;
    }

    .contact-header h2 {
        font-size: 28px;
    }

    .contact-info-box,
    .contact-form-box {
        padding: 30px;
    }
}

        /* ===== Affiliation & Recognition ===== */
.affiliation-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #ffffff, #fff7f3);
}

/* Header */
.affiliation-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 70px;
}

.affiliation-tag {
    font-size: 14px;
    font-weight: 600;
    color: #a37b42;
}

.affiliation-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: #2b1b12;
    margin: 12px 0;
}

.affiliation-header p {
    font-size: 17px;
    color: #5c4330;
    line-height: 1.7;
}

/* Card */
.affiliation-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 28px 65px rgba(0,0,0,0.12);
    transition: 0.4s ease;
    height: 100%;
}

.affiliation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 85px rgba(0,0,0,0.15);
}

/* Logo */
.affiliation-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.affiliation-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Text */
.affiliation-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #2b1b12;
    margin-bottom: 12px;
}

.affiliation-card p {
    font-size: 16px;
    color: #5c4330;
    line-height: 1.6;
}

/* Note */
.affiliation-note {
    text-align: center;
    max-width: 800px;
    margin: 70px auto 0;
}

.affiliation-note p {
    font-size: 15px;
    color: #5c4330;
}

/* Mobile */
@media (max-width: 768px) {
    .affiliation-section {
        padding: 70px 0;
    }

    .affiliation-header h2 {
        font-size: 28px;
    }

    .affiliation-card {
        padding: 35px 25px;
    }

    .affiliation-logo {
        width: 120px;
        height: 120px;
    }
}

* ===== Gallery Page ===== */
.gallery-page {
    padding: 90px 0;
    background: #fff7f3;
}

.gallery-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    padding-top: 40px;
}

.gallery-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: #2b1b12;
}

.gallery-header p {
    font-size: 16px;
    color: #5c4330;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 22px;
    padding-bottom: 30px;
}

.gallery-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 18px;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.gallery-img:hover {
    transform: scale(1.03);
}

/* ===== Lightbox ===== */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.gallery-lightbox.active {
    display: flex;
}

.gl-image {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
}

/* Controls */
.gl-close,
.gl-prev,
.gl-next {
    position: absolute;
    color: #fff;
    font-size: 34px;
    cursor: pointer;
    padding: 12px;
    user-select: none;
}

.gl-close {
    top: 20px;
    right: 30px;
}

.gl-prev {
    left: 30px;
}

.gl-next {
    right: 30px;
}

/* Mobile */
@media (max-width:768px){
    .gallery-page {
        padding: 60px 0;
    }
    .gallery-header {
    
    padding-top: 0px;
}
    .gallery-header h2 {
        font-size: 28px;
    }
    .gallery-img {
        height: 200px;
    }
    .gl-prev,.gl-next {
        font-size: 26px;
    }
}
      /* ===== GALLERY LIGHTBOX FIX ===== */
.gallery-lightbox {
    position: fixed;
    inset: 0;                      /* top:0 right:0 bottom:0 left:0 */
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;                /* ABOVE NAVBAR */
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

 


/* Overlay */
.carousel-caption{
    background:rgba(0,0,0,.45);
    left:0;
    right:0;
    top:0;
    bottom:0;
}

/* Image Zoom Animation */
.carousel-item img{
    height:85vh;
    object-fit:cover;
    animation:zoomBg 8s ease-in-out infinite alternate;
}

@keyframes zoomBg{
    from{
        transform:scale(1);
    }
    to{
        transform:scale(1.08);
    }
}

/* Badge Animation */
.hero-badge{
    background:#ff6b35;
    color:#fff;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
    animation:fadeDown 1s ease forwards;
}

/* Heading Animation */
.hero-title{
    opacity:0;
    animation:fadeUp 1s ease .4s forwards;
    text-shadow:0 4px 20px rgba(0,0,0,.4);
}

/* Description Animation */
.hero-desc{
    opacity:0;
    animation:fadeUp 1s ease .8s forwards;
    max-width:850px;
    margin:auto;
}

/* Button Animation */
.hero-btn,
.hero-btn-outline{
    opacity:0;
    animation:fadeUp 1s ease 1.2s forwards;
}

.hero-btn{
    background:#ff6b35;
    border:none;
    border-radius:50px;
    padding:14px 35px;
    font-weight:600;
    transition:.3s;
}

.hero-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 30px rgba(255,107,53,.4);
}

.hero-btn-outline{
    border-radius:50px;
    padding:14px 35px;
    transition:.3s;
}

.hero-btn-outline:hover{
    transform:translateY(-3px);
}

/* Fade Down */
@keyframes fadeDown{
    from{
        opacity:0;
        transform:translateY(-40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Fade Up */
@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(50px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Re-trigger animation on active slide */
.carousel-item.active .hero-badge{
    animation:fadeDown 1s ease;
}

.carousel-item.active .hero-title{
    animation:fadeUp 1s ease .4s both;
}

.carousel-item.active .hero-desc{
    animation:fadeUp 1s ease .8s both;
}

.carousel-item.active .hero-btn,
.carousel-item.active .hero-btn-outline{
    animation:fadeUp 1s ease 1.2s both;
}

/* Mobile */
@media(max-width:768px){

    .carousel-item img{
        height:70vh;
    }

    .hero-title{
        font-size:2rem;
    }

    .hero-desc{
        font-size:1rem;
    }

    .hero-btn,
    .hero-btn-outline{
        padding:10px 20px;
        font-size:14px;
    }
}
