/********** Template CSS - ASCB Red-Blue Gradient Theme **********/

/* ===== CSS VARIABLES ===== */
:root {
    --ascb-red: #9B1E32;
    --ascb-red-dark: #7b1828;
    --ascb-red-light: #b32a41;
    --ascb-purple: #6C4E91;
    --ascb-purple-dark: #4a3066;
    --ascb-purple-light: #8a6ab5;
    --ascb-dark: #0b1c3e;
    --ascb-mid: #1a3a6e;
    --ascb-plum: #6c4e91;
    --ascb-maroon: #9b1e32;
    --ascb-gradient: linear-gradient(135deg, #9B1E32, #6C4E91);
    --ascb-gradient-h: linear-gradient(90deg, #9b1e32 0%, #6c4e91 100%);
    --ascb-gradient-dark: linear-gradient(135deg, #7b1828 0%, #5a4179 100%);
    --bs-primary: #9b1e32;
    --bs-secondary: #6c4e91;
    /* Fluid Typography Breakpoints */
    --fluid-min-width: 375px;
    --fluid-max-width: 1440px;
    --fluid-screen: 100vw;
}

/* Global Responsive Typography */
h1,
.h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

h2,
.h2 {
    font-size: clamp(1.5rem, 4vw, 2.1rem);
}

h3,
.h3 {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Red Rose', serif;
    font-weight: 700;
    color: var(--ascb-dark);
}

h2 {
    font-size: clamp(1.5rem, 4.5vw, 2.2rem);
    margin-bottom: 1.5rem;
}

.display-1 {
    font-size: clamp(2.2rem, 8vw, 4.5rem);
}

.display-2 {
    font-size: clamp(2rem, 7vw, 4rem);
}

.display-6 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

/* Override Bootstrap primary color */
.bg-primary {
    background: var(--ascb-gradient) !important;
}

.text-primary {
    color: var(--ascb-red) !important;
}

.btn-primary {
    background: var(--ascb-gradient) !important;
    border: none !important;
    color: #fff !important;
}

.btn-primary:hover {
    background: var(--ascb-gradient-dark) !important;
}

.btn-outline-primary {
    border-color: var(--ascb-red) !important;
    color: var(--ascb-red) !important;
}

.btn-outline-primary:hover {
    background: var(--ascb-gradient) !important;
    color: #fff !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background: var(--ascb-gradient) !important;
    border: none !important;
}

.fw-medium {
    font-weight: 500;
}

/*** Fixed Header Offset ***/
body {
    padding-top: 85px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #444;
    /* compact mobile header */
}

@media (min-width: 992px) {
    body {
        padding-top: 135px;
        /* compact desktop header */
    }
}

.header-inner-padding {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media (min-width: 992px) {
    .header-inner-padding {
        padding-left: 90px !important;
        padding-right: 90px !important;
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

#site-header {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

#site-header .container-fluid.py-2 {
    background: var(--ascb-red);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#site-header .container-fluid.py-2 .header-inner-padding {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

#site-header .container-fluid.py-2 small {
    font-size: 0.68rem !important;
    /* Even smaller as per 'make it little small' */
    color: #ffffff !important;
}

#site-header .container-fluid.py-2 i {
    font-size: 0.7rem !important;
    color: #ffffff !important;
}

/*** 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;
}

/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: normal;
}

.icon-box-primary,
.icon-box-light {
    position: relative;
    padding: 0 0 10px 10px;
    z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
    font-size: 60px;
    line-height: 0;
}

.icon-box-primary::before,
.icon-box-light::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    left: 0;
    bottom: 0;
    border-radius: 35px;
    transition: .5s;
    z-index: -1;
}

.icon-box-primary::before {
    background: var(--ascb-gradient);
}

.icon-box-light::before {
    background: var(--bs-light);
}

/* NAVBAR CROWDING FIX (992px - 1400px) */
@media (min-width: 992px) and (max-width: 1400px) {
    .navbar-nav .nav-link {
        padding-left: 6px !important;
        /* Further reduced to prevent wrap */
        padding-right: 6px !important;
        /* Further reduced to prevent wrap */
        font-size: 0.85rem;
        /* Slightly smaller font */
    }

    .navbar-brand img {
        height: 65px !important;
    }

    .ms-auto.d-none.d-lg-flex img {
        height: 40px !important;
        margin-right: 5px !important;
    }
}

/* VIKSIT BHARAT SLIDE - Mobile Responsive Focal Point */
.carousel-viksit {
    object-position: 80% top;
    /* Desktop focus on PM */
}

@media (max-width: 768px) {
    .carousel-viksit {
        object-position: 15% top !important;
        /* Mobile focus on Text */
    }
}

/*** Brand / Header Bar ***/
.brand-bar-white {
    background: #ffffff !important;
    border-bottom: 2px solid #f4f7fd;
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.brand-info-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-info-box i {
    font-size: 1.8rem;
    /* Slightly smaller and cleaner */
    background: var(--ascb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-info-box h5 {
    color: #2c3e50;
    /* Darker, more professional text */
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1rem;
}

.brand-info-box span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/*** ASCB Logo Branding ***/
.ascb-brand-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    z-index: 10;
}

.ascb-brand-desktop img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.5s ease;
}

.ascb-brand-desktop img:hover {
    transform: scale(1.05);
}

.nav-sticky-hidden {
    opacity: 0 !important;
    visibility: hidden;
    transform: translateY(-20px);
}

.sticky-logo {
    opacity: 0;
    max-width: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    margin-right: 0;
    display: flex;
    align-items: center;
}

.sticky-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    padding: 10px 0;
}

.nav-sticky .sticky-logo {
    opacity: 1;
    max-width: 250px;
    margin-right: 30px;
}

/*** ASCB Logo Branding ***/
.ascb-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.ascb-brand img {
    height: 100px;
    /* Slightly taller for better detail */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 5px;
}

.ascb-brand img:hover {
    transform: scale(1.05);
}

.ascb-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.ascb-brand-text .brand-main {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.ascb-brand-text .brand-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Mobile brand */
.ascb-brand-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.ascb-brand-mobile .brand-main {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--ascb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--bs-dark);
    font-size: 18px;
    font-weight: 500;
    font-family: 'Red Rose', serif;
    outline: none;
    position: relative;
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ascb-gradient-h);
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--ascb-red);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .sticky-top {
        margin-top: 0;
    }

    .navbar {
        height: 68px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        border-top: 3px solid transparent;
        border-image: var(--ascb-gradient-h) 1;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/
@media (min-width: 992px) {

    .header-carousel,
    .page-header {
        margin-top: 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(155, 30, 50, .55) 0%, rgba(108, 78, 145, .55) 100%);
    z-index: 1;
}

.carousel-caption-no-overlay {
    background: none !important;
}

/* Ensure text is readable without background overlay */
.carousel-caption-no-overlay h1,
.carousel-caption-no-overlay p,
.carousel-caption-no-overlay .badge {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--ascb-red);
    border: 15px solid var(--ascb-red);
}

.header-carousel .carousel-item {
    background: #000;
    /* Dark background to fill gaps */
}

.header-carousel .carousel-item img {
    width: 100%;
}

/* Slides 2, 3, 4 - Traditional Full Screen */
.header-carousel .carousel-item:not(.carousel-item-split) img {
    height: 100vh !important;
    object-fit: cover !important;
}

/* Slightly reduce text size on slides 2, 3, 4 as requested */
.header-carousel .carousel-item:not(.carousel-item-split) .carousel-caption h1 {
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
}

.header-carousel .carousel-item:not(.carousel-item-split) .carousel-caption p {
    font-size: 1.1rem !important;
}

/* Specialized First Slide - Premium Split Layout (Properly Centered) */
.carousel-item-split {
    background: linear-gradient(135deg, rgba(155, 30, 50, 0.95) 0%, rgba(108, 78, 145, 0.95) 100%) !important;
    min-height: calc(100vh - 135px) !important;
    overflow: visible;
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-item-split::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/feature.jpg') center center no-repeat;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.carousel-item-split .container {
    height: 100%;
    position: relative;
    z-index: 1;
}

.floating-image-wrapper {
    z-index: 2;
    position: relative;
    /* Pushes image downwards as requested vertically */
    margin-top: 60px;
}

@keyframes floatingSlide {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

.bio-sphere {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.mission-quote-container {
    border-left: 4px solid #fff;
    padding-left: 30px;
    margin: 40px 0;
}

.mission-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    line-height: 1.7;
    color: #fff !important;
    font-style: italic;
    font-weight: 500;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    text-wrap: balance;
}

@media (max-width: 991.98px) {
    .mission-quote {
        font-size: 1.3rem;
        padding-left: 15px;
        text-align: left;
    }
    .mission-quote-container {
        margin: 15px 0 !important; /* Strips the huge 40px desktop margin to tighten space */
    }
}

.slide-content-right {
    /* Pushes right side content down as requested */
    padding-top: 100px !important;
}

.slide-content-right h1 {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content-right p.lead {
    color: #ffffff !important;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.gradient-text-alt {
    color: #ffffff !important;
    -webkit-text-fill-color: initial !important;
    background: none !important;
}

.slide-content-right p.lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hover-up {
    transition: all 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 991.98px) {
    .header-carousel .carousel-item img {
        height: auto !important;
        min-height: auto;
        object-fit: contain !important;
        background: transparent !important;
        /* MIX: Remove harsh white */
    }

    .carousel-item-split {
        height: auto !important;
        min-height: auto !important;
        padding-top: 0;
        padding-bottom: 50px;
        align-items: center;
        display: block !important;
        background: var(--ascb-gradient) !important;
        /* Unified background */
    }

    .carousel-item-split .col-lg-8 {
        height: auto !important;
        background: transparent !important;
        /* MIX: Remove white box */
    }

    .main-split-img {
        max-height: 45vh;
        width: 100%;
        object-fit: contain !important;
    }

    .floating-image-wrapper {
        margin-top: 10px !important; /* Removes the 60px top shift strictly for mobile */
    }

    .slide-content-right {
        text-align: center;
        padding: 0px 10px 20px 10px !important;
        /* Eliminates the wide gaps completely between the photo and content */
    }

    .slide-content-right .glass-content-card {
        padding-top: 5px !important;
    }

    .slide-content-right .d-flex {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .slide-content-right h1 {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }

    .header-carousel .carousel-caption p {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        margin-bottom: 25px !important;
    }

    .header-carousel .carousel-caption .badge {
        font-size: 11px !important;
        padding: 4px 10px !important;
        margin-bottom: 15px !important;
    }

    .header-carousel .btn-primary {
        padding: 12px 25px !important;
        font-size: 14px !important;
    }

    .header-carousel .carousel-control-prev,
    .header-carousel .carousel-control-next {
        width: 10%;
    }

    .header-carousel .carousel-control-prev-icon,
    .header-carousel .carousel-control-next-icon {
        width: 2.2rem;
        height: 2.2rem;
        border-width: 6px;
    }

    /* Small Mobile Devices */
    @media (max-width: 575.98px) {
        .header-carousel .carousel-item img {
            height: 80vh;
            min-height: 450px;
        }

        .header-carousel .carousel-caption h1 {
            font-size: 1.8rem !important;
        }

        .header-carousel .carousel-caption .container {
            padding-left: 15px;
            padding-right: 15px;
        }

        .header-carousel .carousel-caption .row {
            margin: 0;
        }

        .header-carousel .carousel-caption .text-start,
        .header-carousel .carousel-caption .text-end {
            text-align: center !important;
        }

        .header-carousel .carousel-caption .row.justify-content-start,
        .header-carousel .carousel-caption .row.justify-content-end {
            justify-content: center !important;
        }
    }

    /* About Section Logo Box Mobile Fix */
    .about-logo-box {
        margin-top: 0 !important;
        margin-left: 0 !important;
        padding: 30px 15px !important;
        min-height: 180px;
        border-radius: 15px;
    }

    .about-logo-box h1.display-1 {
        font-size: 2.8rem !important;
    }

    .about-logo-box .icon-box-light {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
}

.page-header {
    background: linear-gradient(135deg, rgba(155, 30, 50, 0.85) 0%, rgba(108, 78, 145, 0.75) 100%), url(../img/testimonial.jpg) center center no-repeat;
    background-size: cover;
    padding-top: 140px !important;
}

.page-header h1 {
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Features ***/
.feature {
    background: linear-gradient(135deg, rgba(155, 30, 50, .5) 0%, rgba(108, 78, 145, .5) 100%), url(../img/feature.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 57, 43, 0.15);
    border-color: rgba(192, 57, 43, 0.2) !important;
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
    background: var(--ascb-gradient) !important;
}

.experience .nav-pills .nav-link {
    color: var(--dark);
}

.experience .nav-pills .nav-link.active {
    background: var(--ascb-gradient) !important;
    color: #FFFFFF;
}

.experience .tab-content hr {
    width: 30px;
}

/*** About ***/
.about-fact {
    width: 220px;
    height: 220px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

@media (min-width: 576px) {
    .about-fact.mt-n130 {
        margin-top: -130px;
    }
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--ascb-gradient);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--ascb-red);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--ascb-gradient);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .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;
}

/*** Service ***/
.container-service {
    position: relative;
}

.container-service::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
    z-index: -1;
}

.service-item {
    position: relative;
    height: 100%;
    padding: 45px 30px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: .5s;
    background: var(--ascb-gradient);
}

.service-item:hover::before {
    height: 100%;
    top: 0;
}

.service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--bs-white);
}

.service-item:hover .icon-box-primary::before {
    background: rgba(255, 255, 255, 0.2);
}

.service-item:hover .icon-box-primary i {
    color: var(--bs-white) !important;
}

/*** Team ***/
.container-team {
    position: relative;
}

.container-team::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0% 100%);
    z-index: -1;
}

.team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .1);
}

.team-item .position-relative {
    height: 380px;
    overflow: hidden;
    flex-shrink: 0;
}

.team-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-item .text-center {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--ascb-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}

/*** Testimonial ***/
.testimonial {
    background: linear-gradient(135deg, rgba(155, 30, 50, .7) 0%, rgba(108, 78, 145, .7) 100%), url(../img/testimonial.jpg) left center no-repeat;
    background-size: cover;
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    color: var(--ascb-red);
    font-size: 30px;
    line-height: 0;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--ascb-blue);
}

/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        /* border-top removed */
    }
}

/*** Footer ***/
.footer {
    background: linear-gradient(135deg, rgba(155, 30, 50, .85) 0%, rgba(108, 78, 145, .85) 100%), url(../img/footer.png) center center no-repeat !important;
    background-size: contain !important;
    background-color: #1a1a2e !important;
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #ffffff;
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    /* border-top removed */
    background: linear-gradient(90deg, rgba(155, 30, 50, 0.95) 0%, rgba(108, 78, 145, 0.95) 100%) !important;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: rgba(255, 200, 200, 1);
}

/*** Gradient Section Dividers ***/
.section-gradient-divider {
    height: 4px;
    background: var(--ascb-gradient-h);
}

/*** Gradient Headings ***/
h1.gradient-text,
h2.gradient-text {
    background: var(--ascb-gradient-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/*** About fact circles ***/
.about-fact.bg-primary {
    background: var(--ascb-gradient) !important;
}

/*** Form focus ***/
.form-control:focus,
.form-select:focus {
    border-color: var(--ascb-red) !important;
    box-shadow: 0 0 0 0.25rem rgba(155, 30, 50, 0.15) !important;
}

/*** Social buttons in navbar ***/
.btn-sm-square.btn-primary {
    background: var(--ascb-gradient) !important;
    border: none !important;
    transition: opacity 0.3s, transform 0.3s;
}

.btn-sm-square.btn-primary:hover {
    opacity: 0.85;
    transform: scale(1.1);
}

/*** Back to top gradient ***/
.btn-lg-square.btn-primary {
    background: var(--ascb-gradient) !important;
    border: none !important;
}

/*** Progress bar gradient ***/
.progress-bar {
    background: var(--ascb-gradient) !important;
}

/*** Dropdown item hover ***/
.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(155, 30, 50, 0.08) 0%, rgba(108, 78, 145, 0.08) 100%) !important;
    color: var(--ascb-red) !important;
}

/* Premium Dropdown Styles */
.dropdown-menu-premium {
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.92) !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    padding: 10px !important;
    overflow: hidden;
}

.dropdown-item-premium {
    border-radius: 8px !important;
    margin: 2px 0 !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.dropdown-item-premium:hover {
    background: var(--ascb-gradient) !important;
    color: #ffffff !important;
    transform: translateX(5px);
}

.dropdown-item-premium.active {
    background: var(--ascb-gradient) !important;
    color: #ffffff !important;
}

/*** Smooth animations ***/
* {
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn,
.service-item,
.team-item,
.feature-item {
    transition: all 0.3s ease;
}

/*** News & Updates Cards ***/
.news-section {
    background: linear-gradient(160deg, #fdf0ef 0%, #f0f4ff 100%);
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(155, 30, 50, 0.15);
}

.news-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-img img {
    transform: scale(1.07);
}

.news-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
}

.badge-industry {
    background: var(--ascb-gradient);
}

.badge-workshop {
    background: linear-gradient(90deg, var(--ascb-purple-dark), var(--ascb-purple));
}

.badge-outreach {
    background: linear-gradient(90deg, var(--ascb-red-light), var(--ascb-red));
}

.news-card-date {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
}

.news-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-body h5 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 0.75rem;
    color: #1a1a2e;
}

.news-card-body p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.65;
    flex: 1;
}

.news-card-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.82rem;
    color: #888;
}

.news-card-meta span {
    display: block;
    margin-bottom: 3px;
}

.news-card-meta i {
    color: var(--ascb-red);
    margin-right: 5px;
}

/*** Team Group Photo Section ***/
.team-group-section {
    background: linear-gradient(160deg, #f0f4ff 0%, #fdf0ef 100%);
}

.team-group-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* .team-group-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(155, 30, 50, 0.45) 0%, transparent 55%);
    z-index: 1;
    pointer-events: none;
} */

.team-group-frame img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

/*** Meet Our Team Section Redesign ***/
.team-group-section {
    background: #fdfbff;
    position: relative;
    border: 1px solid rgba(155, 30, 50, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03);
}

.team-group-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    background: #1a1a1a;
}

.team-stories-carousel .owl-item img {
    width: 100%;
    height: 480px;
    object-fit: contain;
    display: block;
}

/* Custom Owl Dots for Team Stories */
.team-stories-carousel .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 40px;
    text-align: left;
}

.team-stories-carousel .owl-dot {
    display: inline-block;
    margin-right: 8px;
}

.team-stories-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.team-stories-carousel .owl-dot.active span {
    background: #fff;
    width: 30px;
    border-radius: 10px;
}

.team-stat-box {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.team-stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(155, 30, 50, 0.08);
    border-color: rgba(155, 30, 50, 0.1);
}

.team-stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #9b1e32 0%, #6c4e91 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.team-stat-label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/*** Vendor Carousel ***/
.vendor-carousel .owl-item img {
    width: auto;
    max-width: 100%;
}

.vendor-carousel .bg-light {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.vendor-carousel .bg-light:hover {
    background: #fff !important;
    border-color: rgba(155, 30, 50, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/*** Repository / Featured Collections ***/
.repository-card {
    position: relative;
    height: 260px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.repository-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.repository-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.repository-card:hover img {
    transform: scale(1.1);
}

.repository-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(155, 30, 50, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: #fff;
    z-index: 2;
}

/* goat - specific blue/purple overlay to match common branding for caprine */
.repository-card.goat .repository-overlay {
    background: linear-gradient(135deg, rgba(108, 78, 145, 0.1) 0%, rgba(108, 78, 145, 0.9) 100%);
}

.repository-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--ascb-red);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.repository-title {
    font-size: 1.6rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1;
}

.repository-link {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin-top: 5px;
    display: inline-block;
}

.repository-arrow {
    position: absolute;
    bottom: 25px;
    right: 25px;
    font-size: 1.4rem;
    color: #fff;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.repository-card:hover .repository-arrow {
    transform: translate(5px, -5px);
    opacity: 1;
}

@media (max-width: 576px) {
    .repository-card {
        height: 280px;
    }

    .repository-title {
        font-size: 1.8rem;
    }
}

.publication-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.publication-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-primary-light {
    background: rgba(21, 101, 192, 0.1);
}

.bg-danger-light {
    background: rgba(220, 53, 69, 0.1);
}

.bg-secondary-light {
    background: rgba(108, 117, 125, 0.1);
}

/* Footer bottom fix - all pages */
html {
    background-color: #6c4e91 !important;
}

body {
    background-color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
}

.copyright {
    margin-top: -1px !important;
    padding-bottom: 1rem !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

.back-to-top {
    margin: 0 !important;
}

/* Custom Testimonial Carousel Style */
.testimonial-carousel .owl-item img {
    width: auto !important;
    display: inline-block;
    object-fit: cover;
    border: 5px solid #fff;
}

@media (max-width: 768px) {
    .testimonial-item img {
        margin: 0 auto 20px auto !important;
        z-index: 2;
        width: 250px !important;
        height: 320px !important;
        border-radius: 15px !important;
    }

    .testimonial-item .col-md-5 {
        min-height: 350px !important;
        padding: 30px 15px !important;
        flex-direction: column;
    }

    .testimonial-item .col-md-7 {
        padding-top: 20px !important;
        text-align: center;
    }

    .testimonial-item hr {
        margin: 10px auto 15px auto !important;
    }

    .testimonial-item .d-flex.align-items-center.mt-4 {
        flex-direction: column;
    }

    .testimonial-item .d-flex.align-items-center.mt-4 div {
        margin-top: 5px;
    }

    .testimonial-item h2.position-absolute {
        display: none;
    }
}

/* Enforce Big Testimonial Image */
.testimonial-carousel .owl-item img {
    width: 300px !important;
    height: 360px !important;
    max-width: none !important;
    object-fit: cover !important;
    border: 8px solid #fff !important;
    border-radius: 15px !important;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3) !important;
    display: inline-block !important;
    margin-right: -80px !important;
    position: relative !important;
    z-index: 2 !important;
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-item img {
        width: 250px !important;
        height: 320px !important;
        border-radius: 15px !important;
        margin: 0 auto 20px auto !important;
        box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2) !important;
    }
}

/* Animal Orbit - Circular Icons Around ASCB */
.animal-orbit {
    position: absolute;
    width: 280px;
    height: 280px;
    animation: orbitSpin 20s linear infinite;
    z-index: 1;
}

.animal-icon {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    top: 50%;
    left: 50%;
    transform: rotate(calc(var(--i) * 72deg)) translate(120px) rotate(calc(var(--i) * -72deg));
    animation: orbitCounterSpin 20s linear infinite;
}

@keyframes orbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes orbitCounterSpin {
    from {
        transform: rotate(calc(var(--i) * 72deg)) translate(120px) rotate(calc((var(--i) * -72deg) + 0deg));
    }

    to {
        transform: rotate(calc(var(--i) * 72deg + 360deg)) translate(120px) rotate(calc((var(--i) * -72deg) - 360deg));
    }
}

@media (max-width: 768px) {
    .animal-orbit {
        width: 200px;
        height: 200px;
    }

    .animal-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        transform: rotate(calc(var(--i) * 72deg)) translate(85px) rotate(calc(var(--i) * -72deg));
    }
}

/* Team Carousel Navigation Arrows */
.team-carousel {
    position: relative;
    padding: 0 40px;
    /* Space for arrows */
}

.team-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 80px);
    height: 100%;
    top: 0;
    left: -40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.team-carousel .owl-nav button {
    width: 30px;
    height: 30px;
    background: #fff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ascb-red) !important;
    font-size: 1rem;
    pointer-events: auto;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.team-carousel .owl-nav button:hover {
    background: var(--ascb-red) !important;
    color: #fff !important;
    border-color: var(--ascb-red) !important;
}

/* ==========================================================================
   BILINGUAL LANGUAGE TOGGLE  (English / Hindi — no Google Translate)
   ========================================================================== */

/* Remove any leftover Google Translate bar just in case */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

body { top: 0 !important; }

/* ── Toggle pill ── */
.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: #fff;
    border: 1.5px solid rgba(155, 30, 50, 0.22);
    border-radius: 50px;
    padding: 4px 10px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.language-toggle:hover {
    border-color: var(--ascb-red);
    box-shadow: 0 2px 10px rgba(155, 30, 50, 0.12);
}

/* ── Language links ── */
.lang-link {
    text-decoration: none !important;
    font-size: 0.82rem;
    font-weight: 600;
    color: #999;
    padding: 3px 8px;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.lang-link:hover {
    color: var(--ascb-red);
}

.lang-link.active {
    color: #fff;
    background: var(--ascb-gradient);
    font-weight: 700;
}

.lang-divider {
    color: #ddd;
    font-size: 0.75rem;
    user-select: none;
    padding: 0 1px;
}

/* ── Mobile ── */
@media (max-width: 991.98px) {
    .language-toggle {
        margin: 10px 0 18px 4px;
    }
}

