:root {
    --primary-yellow: #fcbe15;
    --secondary-green: #009b50;
    --dark-text: #212529;
    --light-bg: #fdfdfd;
    /* Background ko halka off-white rakhein */
    --cbip-dark: #222222;
    --cbip-text-gray: #555555;
    --cbi-text-gray: #6c757d;
    --cbi-dark: #1a1a1a;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

html,
body {
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
    color: var(--dark-text);
    font-family: 'Poppins', sans-serif;
    overflow-x: clip;
    line-height: 1.8;
    /* overflow-x: visible !important;*/
}


h1,
h2,
h3,
h4 {
    font-family: 'Syne', sans-serif;
}



/*-----------------topbar------------------*/
/* --- CSS Section --- */

/* Base Header Styling */
.top-header-bar {
    background: #009b50;
    color: #ffffff;
    padding: 8px 0;
    font-family: 'Poppins', sans-serif;
    border-bottom: 4px solid #fcbe15;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Social Media Icons */
.social-link {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 6px;
    font-size: 14px;
}

.social-link:hover {
    background: #fcbe15;
    color: #009b50;
    transform: translateY(-3px);
    /* Chhota sa hover effect */
}

/* Contact Details */
.contact-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin-left: 15px;
    transition: 0.3s;
}

.contact-item i {
    color: #fcbe15;
    margin-right: 5px;
}

.contact-item:hover {
    color: #fcbe15;
}

/* Email Styling (Static) */
.email-colorful {
    color: #ffffff;
    font-weight: 700;
}

.email-colorful:hover {
    color: #fcbe15;
}

/* Navigation Buttons */
.btn-nav {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    transition: 0.3s;
    border: 1px solid transparent;
    text-transform: uppercase;
}

.btn-nav:hover {
    background: #fcbe15;
    color: #009b50 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Admission Button (No Animation) */
.btn-admission {
    background: #fcbe15;
    color: #00008b;
    /* darkblue */
    padding: 7px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    border: 2px solid #ffffff;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.btn-admission:hover {
    background: #ffffff;
    color: #009b50;
    border-color: #fcbe15;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .contact-item {
        font-size: 11px;
        margin-left: 5px;
    }

    .btn-nav {
        font-size: 10px;
        padding: 4px 8px;
    }
}


/*---------------topbar section--end-------------------*/



/*----------------marquee start -----------------*/


.snehkul-ultra-marquee {
    display: flex;
    align-items: center;
    background: #ffffff;
    height: 42px;
    width: 100%;
    border-bottom: 3px solid var(--primary-yellow);
    overflow: hidden;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

/* 1. ✂️ Clip-Cut Label with SHINE Effect */
.marquee-label-shine {
    background: var(--primary-yellow);
    color: var(--secondary-green);
    padding: 0 35px 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
    z-index: 20;
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0% 100%);
    position: relative;
    overflow: hidden;
}

.marquee-label-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: rotate(25deg);
    animation: shine-loop 3s infinite;
}

/* 2. 🌫️ FADE-OUT EDGES Effect */
.marquee-fade-window {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.marquee-fade-window::before,
.marquee-fade-window::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.marquee-fade-window::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.marquee-fade-window::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

/* 3. 💓 PULSING BADGE Effect */
.mq-pulse-dot {
    background: var(--secondary-green);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
    font-weight: bold;
    animation: pulse-green 1.5s infinite;
}

.alert-bg {
    background: #d9534f;
}

/* Red for Alert */

/* 4. 🎞️ Smooth Infinite Animation */
.marquee-track-main {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: marquee-scroll 10s linear infinite;
}

.mq-link-item {
    text-decoration: none !important;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    padding: 0 40px;
    transition: 0.3s;
}

.mq-link-item:hover {
    color: var(--secondary-green);
}

.mq-divider {
    color: var(--primary-yellow);
    font-weight: bold;
}

/* 📽️ KEYFRAMES */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes shine-loop {
    0% {
        left: -100%;
    }

    30% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 155, 80, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(0, 155, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 155, 80, 0);
    }
}

/* Pause on Hover */
.snehkul-ultra-marquee:hover .marquee-track-main {
    animation-play-state: paused;
}

/*----------------marquee end -----------------*/


/*------------------------ NAVBAR CSS ------------------------*/

.main-navbar {
    position: sticky !important;
    top: 0 !important;
    padding: 10px 0;
    z-index: 1050 !important;
    transition: none !important;
}


.nav-left-section {
    flex: 1;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    /* Isse content pichkega nahi */
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    font-weight: 800;
    font-size: 1.2rem;
    color: #fcbe15;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.navbar-logo {
    max-height: 60px;
    width: 60px;
}

.nav-link {
    font-weight: 600 !important;
    color: #333 !important;
    position: relative;
    padding: 10px 15px !important;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    height: 3px;
    background: #009b50;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 4px solid #009b50;
    border-radius: 4px;
    padding: 0;
}

.dropdown-item {
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #009b50 !important;
    color: #fff !important;
    padding-left: 25px;
}

/* MULTI-LEVEL DROPDOWN FIX */
.dropdown-submenu {
    position: relative;
}

/* Arrow Alignment Fix: Text and Arrow in one line */
.dropdown-submenu>.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
    }

    .dropdown-submenu>.dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -4px;
        display: none;
    }

    /* Level 3 and more submenu position */
    .dropdown-menu .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: 0.1rem;
        margin-top: -5px;
    }

    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }

    /* Desktop Side Arrow */
    .dropdown-submenu>.dropdown-toggle::after {
        border-top: .3em solid transparent;
        border-bottom: .3em solid transparent;
        border-left: .3em solid;
        border-right: 0;
        margin-left: 10px;
        transform: none;
    }
}

@media (max-width: 991px) {
    .brand-title {
        font-size: 1rem;
    }

    .brand-subtitle {
        font-size: 0.65rem;
    }

    .navbar-logo {
        height: 45px !important;
        width: 45px !important;
    }

    .dropdown-submenu .dropdown-menu {
        position: static;
        display: none;
        padding-left: 20px;
        background: rgba(0, 0, 0, 0.05);
        box-shadow: none;
    }

    .dropdown-submenu.show>.dropdown-menu {
        display: block;
    }

    .dropdown-submenu>.dropdown-toggle::after {
        transform: rotate(0deg);
    }
}


/*------------------navbar end-----------*/




/*-----------------slider start------------*/

/* Slider Container */
.hero-container {

    width: 100%;
    overflow: hidden;
}

/* Equal Height Logic */
.hero-slide-img {
    height: 70vh;
    /* Desktop Height - Hamesha equal rahegi */
    min-height: 500px;
    /* Isse chota nahi hoga */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    object-fit: cover;
}

/* Overlay for better text visibility */
.hero-slide-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 40, 20, 0.7), transparent);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 5;
    /* Text overlay ke upar lane ke liye */
}

/* Glass Card - Compact & Professional */
.glass-card-sm {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 450px;
    color: #fff;
}

.hero-title-sm {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 15px 0;
}

.text-gold {
    color: #fcbe15;
}

/* Responsive Adjustments (Mobile) */
@media (max-width: 768px) {
    .hero-slide-img {
        height: 60vh;
        /* Mobile par thoda chota */
        min-height: 400px;
    }

    .glass-card-sm {
        padding: 1.5rem;
        margin: 0 15px;
        /* Side spacing */
        max-width: 100%;
        text-align: center;
    }

    .hero-title-sm {
        font-size: 1.8rem;
    }

    .hero-btns-sm {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn-outline-sm {
        margin-left: 0;
    }
}

/*------------------------ banner videos css-----------------*/
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* Video ko stretch nahi hone dega */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Video ko thoda dark karega taaki white text dikhe */
    z-index: 1;
}


/*-----------------slider end------------*/




/*-----------our program css code start-----------*/


.department-section {
    background-color: var(--light-bg);
}

.portal-container-card {
    border-radius: 40px;
    width: 100%;
}

.title-underline-custom {
    width: 60px;
    height: 4px;
    background: var(--primary-yellow);
    margin: 10px auto;
    border-radius: 2px;
}

.btn-holder-cbi {
    position: relative;
    width: 210px;
    height: 210px;
    margin: 20px auto;
}

.circle-link-cbi {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    border: 9px solid var(--secondary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #ffffff !important;
    /* Force White */
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    z-index: 2;
    padding: 20px;
    box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Ground Shadow effect */
.btn-holder-cbi::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 15%;
    width: 70%;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    filter: blur(8px);
    z-index: 1;
    transition: all 0.4s ease;
}

/* Hover States */
.btn-holder-cbi:hover .circle-link-cbi {
    transform: translateY(-10px) scale(1.03);
    background-color: var(--secondary-green);
    border-color: var(--primary-yellow);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.btn-holder-cbi:hover::after {
    transform: scale(1.1);
    opacity: 0.6;
}

/* Mobile Responsive Adjustments */
@media (max-width: 1199px) {
    .btn-holder-cbi {
        width: 180px;
        height: 180px;
    }

    .circle-link-cbi {
        font-size: 0.85rem;
        border-width: 7px;
    }
}

@media (max-width: 575px) {
    .btn-holder-cbi {
        width: 140px;
        height: 140px;
        margin: 10px auto;
    }

    .circle-link-cbi {
        font-size: 0.65rem;
        border-width: 5px;
        padding: 10px;
    }

    .portal-container-card {
        padding: 30px 15px !important;
        border-radius: 25px;
    }
}

/*----------- Our Program CSS End -----------*/
/*-----------our program css code end-----------*/





/*-----------------NOTIFICATION CARD LATEST UPDATES START------------*/



/* Animations & Accents */
.accent-bar {
    width: 8px;
    height: 45px;
    background: var(--secondary-green);
    margin-right: 15px;
    border-radius: 10px;
    box-shadow: 2px 0 10px rgba(21, 115, 71, 0.3);
}

.text-yellow {
    color: var(--primary-yellow);
}

.main-heading {
    color: var(--secondary-green);
    font-size: 2rem;
}

/* Custom Buttons */
.btn-custom {
    border: 2px solid var(--secondary-green);
    color: var(--secondary-green);
    font-weight: 700;
    border-radius: 50px;
    padding: 8px 25px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-custom.active,
.btn-custom:hover {
    background: var(--secondary-green);
    color: var(--primary-yellow) !important;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(21, 115, 71, 0.3);
}

/* Date Box Animation */
.date-box {
    background: var(--primary-yellow);
    color: var(--secondary-green);
    min-width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-weight: 800;
    transition: 0.3s;
    border: 2px solid transparent;
}

.new-scroll-container {
    min-height: 400px;
}

#news-list {
    min-height: 380px;
    display: block;
}

.news-item:hover .date-box {
    background: var(--secondary-green);
    color: var(--primary-yellow);
    transform: rotate(-8deg) scale(1.1);
}

/* Notice Card Styling */
.notice-card {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    border: 1px solid #eee;
}

#notification-list {
    min-height: 250px;
}

.notice-header {
    background: linear-gradient(45deg, var(--secondary-green), var(--secondary-green));
    color: white;
    padding: 20px;
    border-bottom: 5px solid var(--primary-yellow);
}

.pulse-yellow {
    background: var(--primary-yellow);
    color: var(--secondary-green);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

.view-all-link {
    color: var(--secondary-green);
    text-decoration: none;
    font-weight: bold;
}


/*-----------------NOTIFICATION CARD & LATEST UPDATES END------------*/



/*---------------------------cbi-chairperson-message-section---------------*/

/* --- Section Global Styling --- */
.cbi-chairperson-message-section {
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow: visible;
}

/* --- Content Column (Left Side) --- */
.message-wrapper {
    max-width: 95%;
}

.cbi-chairperson-message-section h4 {
    color: #333;
    /* Default dark color without animation */
    font-size: 1.4rem;
}

/* --- Message Text Body --- */
.cbi-chairperson-message-section .message-body p {
    color: #6c757d;
    /* Fixed muted color, no looping */
    margin-bottom: 1rem;
    text-align: justify;
}

/* --- Profile Column (Right Side) --- */
.profile-container {
    padding: 10px;
    z-index: 1;
}

.profile-img {
    border: 5px solid #ffffff;
    z-index: 10;
    position: relative;
    border-radius: 4px;
    transition: none;
    /* Removed transition */
}

/* Removed hover effect (translateY) */
.profile-container:hover .profile-img {
    transform: none;
}

/* --- Header Styling --- */
.message-header {
    font-size: 2.2rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.header-underline {
    width: 80px;
    /* Fixed width, no expansion */
    height: 4px;
    background: linear-gradient(to right, #009b50, #fcbe15);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Section Title Box - No Pulse */
.section-title-box h2 {
    opacity: 1;
    transform: scale(1);
}

/* --- Utility Classes --- */
.text-justify {
    text-align: justify;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .profile-img {
        width: 180px !important;
        height: 240px !important;
    }

    .profile-details {
        text-align: center !important;
    }
}

/*--------------chairperson message section------------*/

/*----------------COUNTER CARD SECTION -------------------------*/

/* Counter Section Styles */
.counter-section {
    background-color: var(--light-bg);
    /* Light background to make cards pop */
}

.counter-card {
    background: #ffffff;
    padding: 30px 15px;
    border-radius: 40px;
    /* Square with rounded corners as per image */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, border 0.3s ease;
    border-bottom: 5px solid #009b50;
    /* Secondary Green Bottom border */
    height: 100%;
}

.counter-card:hover {
    transform: translateY(-10px);
    border-bottom: 5px solid #fcbe15;
    /* Primary Gold on Hover */
}

.icon-box {
    width: 70px;
    height: 70px;
    background: #009b50;
    /* Secondary Color */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 20px;
    font-size: 30px;
}

.counter-value {
    font-size: 36px;
    font-weight: 800;
    color: #333;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.counter-label {
    font-size: 14px;
    font-weight: 700;
    color: #009b50;
    /* Green Labels */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Specific styling for 2x2 grid on mobile */
@media (max-width: 767px) {
    .counter-card {
        padding: 20px 10px;
        border-radius: 30px;
    }

    .counter-value {
        font-size: 28px;
    }

    .icon-box {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
}

/*---------------COUNTER CARD SECTION END-----------------*/






/*------------career success section start ---------------*/

/* Section Container */
.success-section {
    position: relative;
    height: 400px;
    background-color: #ffffff;
    overflow: hidden;
    /* Bahar ke cards chhupane ke liye */
    display: flex;
    align-items: center;
}

/* Left Content: Iska Z-index hamesha zyada hona chahiye */
.left-content {
    background-color: #fcbe15;
    color: #000000;
    height: 400px;
    width: 40% !important;
    display: flex;
    align-items: center;
    padding: 0 45px;
    /* Is point ko dhyan se dekhein: 85% cut style ke liye */
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 0% 100%);

    z-index: 100;
    /* Isse cards hamesha iske PEECHE rahenge */
    position: relative;
}

/* Typography & Animations */
.main-heading {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.highlight-text {
    color: #009b50;
    /* Secondary Green */
    display: block;
}

.description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    max-width: 320px;
}

.location-tag {
    background: #009b50;
    color: #fff;
    padding: 2px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Right Slider: Iska Z-index kam rahega */
.right-slider {
    height: 400px;
    width: 65% !important;
    background-color: #fafafa;
    display: flex;
    align-items: center;

    /* Important: Slider ko thoda left shift karein overlap ke liye */
    margin-left: -5%;
    z-index: 5;
    /* Yellow section (100) se kam */
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 25px;
    padding-left: 25px;
    /* Cards ab adha hi move karenge aur seamless loop banega */
    animation: scrollLeft 20s linear infinite;
    width: max-content;
    /* Ensure track cards ke hisab se expand ho */
}

/* Cards ko thoda stylish banayein */
.career-card {
    min-width: 300px;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    /* Shadow taaki overlay clear dikhe */
    transition: transform 0.3s ease;
}

.career-card:hover {
    transform: translateY(-8px);
}

.img-box {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #009b50;
    color: #fff;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

.card-footer-text {
    background-color: #ffffff;
    color: #000;
    padding: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    border-top: 5px solid #009b50;
    text-transform: uppercase;
}

.step-count {
    color: #fcbe15;
    font-size: 1.2rem;
    margin-right: 10px;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Adhe track tak slide hote hi animation restart ho jayega bina dikhe */
        transform: translateX(-50%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growWidth {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

.animate-text {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.animate-text-delay {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.animate-grow {
    width: 0;
    height: 6px;
    background: #009b50;
    margin-top: 20px;
    animation: growWidth 1s ease forwards;
    animation-delay: 0.6s;
}

@media (max-width: 768px) {

    /* Pure section ki height auto karein taaki text ke hisab se expand ho */
    .success-section {
        height: auto !important;
        flex-direction: column !important;
        margin: 15px 0 !important;
        display: block !important;
        /* Stack layout ke liye */
    }

    /* Yellow Section (Left Content) */
    .left-content {
        width: 100% !important;
        height: auto !important;
        /* Fixed height hata di */
        padding: 40px 20px !important;
        /* Proper spacing */
        clip-path: none !important;
        /* Cut hata diya taaki text space mile */
        text-align: center !important;
        display: block !important;
    }

    /* Heading ka size mobile ke liye perfect karein */
    .main-heading {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
        border-left: none !important;
        padding-left: 0 !important;
    }

    /* Text jo cut raha tha, uske liye ye zaroori hai */
    .description {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        color: #000 !important;
        max-width: 100% !important;
        margin: 10px 0 !important;
        overflow: visible !important;
        /* Ensure text is not hidden */
        display: block !important;
    }

    /* Slider area mobile par chota dikhega */
    .right-slider {
        width: 100% !important;
        height: 300px !important;
        margin-left: 0 !important;
        padding: 15px 0 !important;
        background-color: #f9f9f9 !important;
    }

    .career-card {
        min-width: 220px !important;
        margin: 0 10px !important;
    }

    .img-box {
        height: 160px !important;
    }
}

/*---------career success section end ----------------*/


/*--------- Recruiter Slider Section ---------------*/

/* Scoped Variables to avoid global leaks */
.sp-recruiter-wrap {
    --sp-primary: #fcbe15;
    --sp-secondary: #009b50;
    --sp-bg: #ffffff;
    --sp-logo-width: 200px;
}

.sp-badge-title {
    color: var(--sp-secondary) !important;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 5px;
}

.sp-divider-line {
    width: 60px;
    height: 4px;
    background-color: var(--sp-primary);
    border-radius: 20px;
}

/* Slider Container */
.sp-infinite-slider {
    background: var(--sp-bg);
    padding: 40px 0;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--sp-primary);
}

/* Gradient Overlays for Smooth Fading */
.sp-infinite-slider::before,
.sp-infinite-slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 15%;
    z-index: 2;
    pointer-events: none;
}

.sp-infinite-slider::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, var(--sp-bg), transparent);
}

.sp-infinite-slider::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, var(--sp-bg), transparent);
}

/* Animation Track */
.sp-logos-track {
    display: flex;
    width: calc(var(--sp-logo-width) * 18);
    /* Adjust based on total logo boxes */
    animation: sp-scroll 40s linear infinite;
}

.sp-logo-box {
    width: var(--sp-logo-width);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
}

.sp-logo-box img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    transition: all 0.4s ease-in-out;
}

/* Interaction Effects */
.sp-logo-box img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.sp-infinite-slider:hover .sp-logos-track {
    animation-play-state: paused;
}

/* Keyframes with unique name */
@keyframes sp-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(var(--sp-logo-width) * -12));
    }

    /* Scroll distance = number of unique logos */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .sp-infinite-slider {
        padding: 25px 0;
    }

    .sp-logo-box {
        width: 150px;
    }

    .sp-logos-track {
        animation-duration: 25s;
        /* Faster scroll on small screens */
    }
}


/*---------------Recruiter Slider Section end---------------*/


/*---------------------student life section card------------------*/



/* Hero Section */
.cbi-hero-section {
    padding: 60px 20px 40px;
    background: #ffffff;
}

.cbi-hero-badge span {
    background: #e6f5ee;
    color: var(--secondary-green);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cbi-main-title {
    font-weight: 800;
    color: #222;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin: 15px 0;
}

.cbi-highlight {
    color: var(--secondary-green);
}

.cbi-static-line {
    width: 80px;
    height: 4px;
    background: var(--primary-yellow);
    margin: 20px auto;
    border-radius: 2px;
}

/* Layout & Cards */
.cbi-split-layout {
    padding-bottom: 60px;
}

.cbi-title-label {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 25px;
    padding-left: 15px;
    text-transform: uppercase;
}

.cbi-border-green {
    border-left: 5px solid var(--secondary-green);
    color: var(--secondary-green);
}

.cbi-border-yellow {
    border-left: 5px solid var(--primary-yellow);
    color: #fcbe15;
}

/* New Card Design based on Reference */
.cbi-simple-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.cbi-simple-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cbi-card-img-wrapper {
    aspect-ratio: 16/9;
    /* Fixed height for image area */
    width: 100%;
    overflow: hidden;
}

.cbi-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cbi-simple-card:hover .cbi-card-img-wrapper img {
    transform: scale(1.1);
}

.cbi-card-info {
    padding: 15px;
    text-align: left;
}

.cbi-card-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.cbi-card-info p {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.cbi-card-link {
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.text-green {
    color: var(--secondary-green);
}

.text-yellow {
    color: #d4a000;
}

/* Slightly darker for readability */

.cbi-btn {
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.cbi-btn:hover {
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Mobile 2x2 Grid Fix */
@media (max-width: 767px) {
    .cbi-card-img-wrapper {
        height: 110px;
    }

    .cbi-card-info {
        padding: 10px;
    }

    .cbi-card-info h4 {
        font-size: 0.85rem;
    }

    .cbi-card-info p {
        display: none;
        /* Hide description on mobile to save space */
    }

    .cbi-title-label {
        font-size: 1.1rem;
    }
}

/*---------------------student life section end------------------*/


/*------------WHY CHOOSE CBI SECTION STYLE START--------------------*/



.why-section {
    padding: 80px 0;
    background-color: #ffffff;
    overflow: hidden;
}

/* Animation like Video 3 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-reveal {
    animation: fadeInUp 1.2s ease-out forwards;
}

.sub-title {
    color: #009b50;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.main-heading {
    font-size: 38px;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 25px;
    line-height: 1.2;
}

.highlight-yellow {
    color: #fcbe15;
}

/* Video Container Styling */
.video-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: #000;
    line-height: 0;
    width: 100%;
}

.video-wrapper video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    /* Agar video ka aspect ratio maintain karna hai toh min-height hata sakte hain */
    min-height: 350px;
}

/* Feature Card Grid */
.feature-item {
    display: flex;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid #f1f1f1;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    border-color: #fcbe15;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.step-count {
    font-size: 35px;
    font-weight: 900;
    color: rgba(0, 155, 80, 0.1);
    margin-right: 20px;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.feature-content h5 {
    color: #009b50;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 18px;
}

.feature-content p {
    color: #636e72;
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Delay for grid items animation */
.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@media (max-width: 991px) {
    .main-heading {
        font-size: 30px;
    }

    .video-wrapper {
        margin-bottom: 40px;
    }
}

/*------------WHY CHOOSE CBI SECTION STYLE START--------------------*/


/*-----------------------social card section start --------------*/

.mini-card {
    position: relative;
    width: 100%;
    height: 200px;
    background: #fff;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1;
    /* Animation hatane ke liye transition rakha hai smooth hover ke liye */
    transition: 0.3s ease;
    /* Static border style */
    border: 2px solid #009b50;
}

/* Rotating Border Effect hatane ke liye is section ko khali kar diya */
.mini-card::before {
    display: none;
}

.mini-content {
    position: relative;
    /* Absolute se Relative kiya taaki layout clean rahe */
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 12px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
}

.mini-icon {
    font-size: 30px;
    margin-bottom: 5px;
}

.mini-content h4 {
    color: #009b50;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.mini-content p {
    color: #777;
    font-size: 0.7rem;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.btn-sm-custom {
    text-decoration: none;
    font-size: 0.75rem;
    padding: 4px 15px;
    background-color: #fcbe15;
    color: #009b50;
    border-radius: 20px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-sm-custom:hover {
    background-color: #009b50;
    color: #fcbe15;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .mini-card {
        height: 180px;
    }

    .mini-content h4 {
        font-size: 0.85rem;
    }
}

/* --- Slide-In Animations Removed --- */

.main-heading {
    color: #009b50;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 2rem;
}

.heading-line {
    width: 80px;
    height: 4px;
    background: #fcbe15;
    margin: 10px auto;
    border-radius: 2px;
}

.sub-heading {
    color: #555;
    font-size: 1rem;
    font-weight: 500;
}

/*----------------social card section end----------*/


/*--------------------Testimonial section css style------------------------*/


/* Testimonial Enhanced Styles */
.testi-card-premium {
    background: #ffffff;
    border-radius: 15px;
    padding: 35px 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 155, 80, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testi-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #009b50, #2ecc71);
}

.testi-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 155, 80, 0.12);
    border-color: #009b50;
}

.quote-mark {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 35px;
    color: #fcbe15;
    opacity: 0.15;
}

.testi-desc {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
}

.testi-user-box {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.testi-user-box img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fcbe15;
    padding: 2px;
}

/* Float Animation */
@keyframes textFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.animate-text-pop {
    display: inline-block;
    animation: textFloat 4s ease-in-out infinite;
}

/* Swiper Dots */
.swiper-pagination-bullet-active {
    background: #009b50 !important;
    width: 20px !important;
    border-radius: 4px !important;
}

/*-----------Testimonial end style----------*/




/*-----------------------footer section------------*/

/* --- Ultra-Modern Animated Footer (Option 1) --- */

.footer-section {
    background-color: #1a1a1a !important;
    border-top: 5px solid #fcbe15 !important;
    color: #e0e0e0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Subtle Floating Animation for Background (Optional) */
.footer-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 155, 80, 0.05) 0%, transparent 70%);
    animation: rotateBG 20s linear infinite;
    z-index: 0;
}

@keyframes rotateBG {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Heading Animation with Animated Line */
.footer-section h5 {
    color: #009b50 !important;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 12px;
    position: relative;
    z-index: 1;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #fcbe15;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-section:hover h5::after {
    width: 80px;
    /* Hover par line expand hogi */
}

/* World Best Link Animation: The Sliding Highlight */
.footer-links a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    padding: 2px 0;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    z-index: 1;
}

.footer-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    background: rgba(252, 190, 21, 0.1);
    left: -5px;
    bottom: 0;
    z-index: -1;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.footer-links a:hover {
    color: #fcbe15 !important;
    padding-left: 10px;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: calc(100% + 15px);
}

/* Social Icon: 3D Pop and Glow */
.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #252525 !important;
    border: 1px solid #333 !important;
    border-radius: 50% !important;
    color: #fff !important;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
}

.social-icon:hover {
    background-color: #009b50 !important;
    border-color: #009b50 !important;
    color: #fff !important;
    transform: translateY(-10px) rotate(360deg);
    box-shadow: 0 10px 20px rgba(0, 155, 80, 0.4);
}

/* Contact Card: Glowing Glassmorphism */
.contact-card {
    background: rgba(37, 37, 37, 0.6) !important;
    backdrop-filter: blur(10px);
    border-left: 4px solid #fcbe15 !important;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-card:hover {
    background: rgba(37, 37, 37, 0.9) !important;
    transform: scale(1.02);
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-card i {
    color: #fcbe15 !important;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
        text-shadow: 0 0 10px #fcbe15;
    }

    100% {
        transform: scale(1);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-section h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        padding-left: 0;
        transform: translateY(-3px);
    }

    .contact-card {
        text-align: left;
    }
}

/*--------------end--------------*/

/*-----------------scroll to top section css-------------------*/


/* --- Scroll To Top Button Styles --- */
#progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(0, 155, 80, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 400ms linear;
    background-color: #fff;
}

#progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#progress-wrap::after {
    position: absolute;
    content: '';
    /* Aapka font-awesome icon yahan display hoga */
}

.scroll-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: #009b50;
    /* Primary Green */
    transition: all 300ms ease;
}

#progress-wrap:hover .scroll-icon {
    color: #fcbe15;
    /* Gold Color on Hover */
    transform: translate(-50%, -80%);
    /* Chota sa animation */
}

#progress-wrap .svg-content {
    width: 100%;
    height: 100%;
}

#progress-wrap svg path {
    fill: none;
    stroke: #fcbe15;
    /* Progress bar color */
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 400ms linear;
}



/*---------chatbot section css-------------*/


.chat-online-dot {
    width: 10px;
    height: 10px;
    background: #ffc107;
    border-radius: 50%;
    border: 1px solid white;
    animation: pulse-yellow 1.5s infinite;
}

@keyframes pulse-yellow {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    70% {
        transform: scale(1.3);
        opacity: 0.4;
    }

    100% {
        transform: scale(0.9);
        opacity: 1;
    }
}

#chatTrigger:hover {
    transform: scale(1.1) rotate(-5deg);
}

#chatBody::-webkit-scrollbar {
    width: 5px;
}

#chatBody::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}


/*----------chatbot section css--------------------*/



/*-------------popop section css-----------------------*/


/* Bottom-Left to Center Animation */
#admissionPopup.modal.fade .modal-dialog {
    /* Starting point: Bottom-Left corner and small scale */
    transform: translate(-100%, 100%) scale(0) !important;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

#admissionPopup.modal.show .modal-dialog {
    /* Ending point: Center and normal scale */
    transform: translate(0, 0) scale(1) !important;
}

/* Modal Styling */
.custom-popup-card {
    border-radius: 30px !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3) !important;
    border-left: 10px solid #fcbe15 !important;
}

/* Button Custom Styling */
.btn-whatsapp-custom {
    background: #009b50;
    color: white !important;
    font-weight: 700;
    border-radius: 15px;
    border: none;
    transition: all 0.3s ease;
}

.btn-whatsapp-custom:hover {
    background: #007a3e;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 155, 80, 0.3);
}

/* Badge Pulse */
.pulse-red {
    animation: pulse-red-animation 2s infinite;
}

@keyframes pulse-red-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/*------------------popop section css end---------------*/