
/*** 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;
}
.program-tabs .nav-link{
background:transparent;
border:none;
color:#ccc;
font-weight:600;
margin-right:15px;
padding:10px 18px;
border-radius:30px;
transition:0.3s;
}

.program-tabs .nav-link.active{
background:#ffc107;
color:#000;
}

.program-card{
background:#fff;
border-radius:14px;
overflow:hidden;
transition:0.35s;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
height:100%;
display:flex;
flex-direction:column;
}

.program-card:hover{
transform:translateY(-8px);
box-shadow:0 15px 35px rgba(0,0,0,0.18);
}

.program-logo{
height:140px;
display:flex;
align-items:center;
justify-content:center;
background:#f8f9fa;
padding:20px;
}

.program-logo img{
max-height:90px;
object-fit:contain;
}

.program-body{
padding:20px;
display:flex;
flex-direction:column;
flex:1;
}

.program-university{
font-size:13px;
color:#888;
margin-bottom:5px;
}

.program-title{
font-size:18px;
font-weight:700;
margin-bottom:10px;
}

.program-desc{
font-size:14px;
color:#666;
flex-grow:1;
}

.program-buttons{
margin-top:15px;
}

.program-buttons .btn{
width:100%;
margin-bottom:8px;
}
/*** Spinner End ***/
.avatar-circle{
width:35px;
height:35px;
border-radius:50%;
background:#0d6efd;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
font-size:14px;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    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-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn.btn-primary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
}

.btn.btn-secondary {
    background: transparent;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    border: none;
    transition: 0.5s;
}
.btn.btns-secondary {
    background: transparent;
    color:#E02454;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    border: none;
    transition: 0.5s;
}

.btn.btn-secondary:hover {
    color: var(--bs-primary) !important;
}


/*** Section Title Start ***/
.section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: -6px;
    margin-left: -100px;
    border: 1px solid var(--bs-secondary) !important;
}

.section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: -8px;
    margin-left: -50px;
    border: 1px solid var(--bs-primary) !important;
}

.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: -8px;
    margin-right: -100px;
    border: 1px solid var(--bs-secondary) !important;
}

.sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: -6px;
    margin-right: -50px;
    border: 1px solid var(--bs-primary) !important;
}


/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-primary) !important;
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-primary) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar-light .navbar-brand img {
    max-height: 95px;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-secondary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary) !important;
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 991.98px) {
    .sticky-top .navbar-light {
        background: var(--bs-light) !important;
    }

    /*** Top and Bottom borders go out ***/
    .navbar-light .navbar-nav .nav-link:after,
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        top: 30px;
        bottom: 30px;
        left: 0px;
        width: 100%;
        height: 2px;
        background: var(--bs-primary);
        opacity: 0;
        transition: all 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:before {
        bottom: auto;
    }

    .navbar-light .navbar-nav .nav-link:after {
        top: auto;
    }

    .navbar-light .navbar-nav .nav-link:hover:before,
    .navbar-light .navbar-nav .nav-link.active:before {
        top: 20px;
        opacity: 1;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        bottom: 20px;
        opacity: 1;
    }
}

#searchModal .modal-content {
    background: rgba(240, 245, 251, 0.5);
}
/*** Navbar End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(0, 58, 102, 0.9), rgba(0, 58, 102, 0.8)), url(../img/breadcrumb.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
/*** Single Page Hero Header End ***/


/*** ===== HERO CAROUSEL START ===== ***/

.carousel-header {
    position: relative;
}

/* Carousel Item */
.carousel-header .carousel-inner .carousel-item {
    position: relative;
    height: 90vh; /* Desktop height slightly reduced */
    min-height: 650px;
}

/* Background Image */
.carousel-header .carousel-inner .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay + Center Content */
.carousel-header .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.6),
                                rgba(0, 0, 0, 0.6));
}

/* Indicators */
.carousel-header .carousel-indicators {
    bottom: 25px;
}

.carousel-header .carousel-indicators li {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 8px solid var(--bs-primary);
    margin: 0 8px;
}

.carousel-header .carousel-indicators li.active {
    border-color: var(--bs-secondary);
}

/* Controls */
.carousel-header .carousel-control-prev-icon,
.carousel-header .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-size: 60% 60%;
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 992px) {

    .carousel-header .carousel-inner .carousel-item {
        height: 70vh;
        min-height: 500px;
    }

}

@media (max-width: 768px) {

    .carousel-header .carousel-inner .carousel-item {
        height: 60vh;        /* height reduced */
        min-height: 450px;
    }

    .carousel-header .carousel-inner .carousel-item img {
        object-fit: cover;
    }

    .carousel-header .carousel-caption {
        padding: 20px 15px;
    }

    .carousel-header h1 {
        font-size: 28px;
    }

    .carousel-header h4,
    .carousel-header h5 {
        font-size: 14px;
    }

}

@media (max-width: 576px) {

    .carousel-header .carousel-inner .carousel-item {
        height: 55vh;     /* even smaller for small phones */
        min-height: 400px;
    }

    .carousel-header h1 {
        font-size: 22px;
    }

}
 
/*** ===== HERO CAROUSEL END ===== ***/


/*** service Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
}

.service .service-item .service-inner .service-title {
    position: relative;
    margin-top: -30px;
    text-align: center;
    transition: 0.5s;
}

.service .service-item .service-inner .service-title .service-content {
    position: absolute;
    bottom: -100%; 
    left: 0;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    border-radius: 10px;
    background: var(--bs-primary);
    opacity: 0;
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-content {
    bottom: 0;
    opacity: 1;
}

.service .service-item .service-inner .service-title .service-content a h4 {
    border-bottom: 1px solid rgba(256, 256, 256, .1);
}

.service .service-item .service-inner .service-title .service-title-name {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-title-name {
    opacity: 0;
}

.service .service-item .service-inner .service-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.service .service-item .service-inner .service-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .5);
    transition: 0.5s;
    opacity: 0;
}

.service .service-item:hover .service-inner .service-img::after {
    height: 100%;
    opacity: 1;
}

.service .service-item .service-inner .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-img img {
    transform: scale(1.3);
}
/*** Service End ***/


/*** testimonial Start ***/
.testimonial .owl-carousel.testimonial-carousel {
    position: relative;
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content {
    position: relative;
    border-radius: 10px;
    background: var(--bs-light);
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 45px;
    bottom: -20px;
    left: 30px;
    transform: rotate(45deg);
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-primary);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-secondary);
}
/*** testimonial end ***/


/*** Contact Start ***/
.contact .office .office-item {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
    background: var(--bs-light);
    transition: 0.5s;
}

.contact .office .office-item:hover {
    box-shadow: 20px 20px 20px rgba(0, 58, 102, 0.3);
}

.contact .office .office-item .office-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.contact .office .office-item .office-img img {
    transition: 0.5s;
}

.contact .office .office-item:hover .office-img img {
    transform: scale(1.3);
}

.contact .office .office-item .office-content a.text-secondary,
.contact .office .office-item .office-content a.text-muted {
    transition: 0.5s;
}

.small{
    font-family: 14px;
}
.contact .office .office-item .office-content a.text-muted:hover {
    color: var(--bs-secondary) !important;
}

.contact .office .office-item .office-content a.text-secondary:hover {
    color: var(--bs-primary) !important;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-primary);
}
.footer .footer-item a {
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 30px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-secondary);
}

/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-secondary) !important;
}
/*** copyright end ***/


.search-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    max-width: 900px;
    margin: auto;
}

.search-box input {
    height: 55px;
    border: none;
}

.search-box input:focus {
    box-shadow: none;
}

.search-box .btn {
    height: 55px;
}


/* ===== Premium Russia CTA ===== */

.premium-cta-section {
    background: url('../img/service-3.jpg') center center/cover no-repeat;
    padding: 110px 0;
    position: relative;
}

.premium-cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 58, 102, 0.85); /* --bs-primary overlay */
}

.premium-cta-box {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: auto;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 50px;
    border-radius: 20px;
    color: #fff;
}

.premium-cta-title {
    font-size: 36px;
    font-weight: 700;
    color:#fff;
}

.premium-cta-text {
    font-size: 17px;
    margin-top: 15px;
    opacity: 0.95;
}

.premium-cta-buttons .btn-primary {
    background-color: #003A66;
    border: none;
}

.premium-cta-buttons .btn-primary:hover {
    background-color: #00284a;
}

.premium-cta-buttons .btn-secondary {
    background-color: #E02454;
    border: none;
}

.premium-cta-buttons .btn-secondary:hover {
    background-color: #c41e48;
}

/* Responsive */

@media (max-width: 992px) {
    .premium-cta-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .premium-cta-section {
        padding: 70px 20px;
    }

    .premium-cta-box {
        padding: 30px 20px;
    }

    .premium-cta-title {
        font-size: 22px;
    }

    .premium-cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}



/* ===== Featured University Section ===== */

.featured-university {
    background: #F0F5FB;
}

.featured-img {
    position: relative;
}

.featured-img img {
    border-radius: 15px;
}

.rank-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #E02454;
    color: #fff;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.featured-university h2 {
    font-size: 30px;
}

.featured-university .btn-primary {
    background-color: #003A66;
    border: none;
}

.featured-university .btn-primary:hover {
    background-color: #00284a;
}

.featured-university .btn-secondary {
    background-color: #E02454;
    border: none;
}

.featured-university .btn-secondary:hover {
    background-color: #c41e48;
}

/* Responsive */

@media (max-width: 768px) {
    .featured-university {
        text-align: center;
    }

    .featured-university h2 {
        font-size: 22px;
    }

    .rank-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
}


/*** Counter Facts Start ***/
.counter-facts {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0.8)), url(../img/breadcrumb.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

.counter-facts .counter {
    position: relative;
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 10px 15px;
    margin: 0 auto;
    border-radius: 100px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
    background: var(--bs-white);
}

.counter-facts .counter:before {
    content: "";
    position: absolute;
    height: 105px;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 10px 10px 0 0;
    background-color: var(--bs-primary);
    
}
.counter-facts .counter .counter-icon {
    position: relative;
    width: 120px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 10px 10px 0 0;
    transform: translateY(-20px);
    font-size: 50px;
    line-height: 90px;
    color: var(--bs-secondary);
    background: rgba(1, 143, 252, 0.5);
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter .counter-icon:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 90px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px 10px 0 0;
    background: rgba(0, 58, 102, 0.5);
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter:hover .counter-icon i {
    transform: rotate(360deg);
    transition: all 0.3s ease;
}
.counter-facts .counter h3 {
    color: var(--bs-primary);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}
.counter-facts .counter .counter-value {
    font-size: 30px;
    font-weight: 700;
    display: block;
    color: var(--bs-secondary);
}

@media screen and (max-width: 1200px) {
    .counter-facts .counter { margin-bottom: 40px; 
    }
}
/*** Counter Facts End ***/



/*** Country Start ***/
.country .country-item {
    position: relative;
}

.country .country-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 58, 102, 0.7);
    border-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.country .country-item:hover::after {
    height: 100%;
}

.country .country-item .country-flag {
    position: absolute;
    width: 90px; 
    height: 90px; 
    border-radius: 50%;
    top: -45px; 
    left: 50%; 
    transform: translateX(-50%);
    transition: 0.5s;
    z-index: 2;
}

.country .country-item .country-flag img {
    border: 5px solid var(--bs-white);
    transition: 0.5s;
}

.country .country-item:hover .country-flag img {
    border: 5px solid var(--bs-white);
    transform: rotate(360deg);
    transition: all 0.5s ease;
}

.country .country-item .country-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.country .country-item:hover .country-name {
    opacity: 1;
}

.country .country-item img {
    transition: 0.5s;
}

.country .country-item:hover img {
    transform: scale(1.2);
}

.country .country-item .country-name a.fs-4 {
    transition: 0.5s;
}

.country .country-item .country-name a.fs-4:hover {
    color: var(--bs-secondary) !important;
}
/*** Country End ***/


/*** training Start ***/
.training .training-item .training-inner {
    position: relative;
}

.training .training-item .training-inner .training-title-name {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    display: flex; 
    flex-direction: column;
    justify-content: end;
    text-align: center;
    transition: 0.5s;
}

.training .training-item {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.training .training-item:hover .training-inner .training-title-name {
    background: rgba(0, 58, 102, 0.5);
}

.training .training-item:hover .training-inner .training-title-name a {
    opacity: 0;
}

.training .training-item .training-inner img {
    transition: 0.5s;
}

.training .training-item:hover .training-inner img {
    transform: scale(1.3);
}

.training .training-item .training-content {
    position: absolute;
    width: 100%;
    bottom: -100%;
    left: 0;
    transition: 0.5s;
}

.training .training-item:hover .training-content {
    bottom: 0;
}  
/*** training End ***/


/*** Features Start ***/
.features .feature-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.features .feature-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 58, 102, 0.1);
    z-index: -1;
    transition: 0.5s;
}

.features .feature-item:hover::after {
    height: 100%;
}

.features .feature-item .feature-icon {
    width: 120px; 
    height: 120px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-light);
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon {
    border-radius: 50%;
    background: var(--bs-white) !important;
}

.features .feature-item .feature-icon i {
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon i {
    color: var(--bs-secondary) !important;
    transform: rotate(360deg);
    transition: all 0.5s ease;
}
/*** Features End ***/




/* ==============================
   🐼 PANDA WRAPPER
================================= */

.panda-wrapper{
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 0;
    z-index: 9999;
    pointer-events: none; /* layout disturb na ho */
}

/* Panda actual moving element */
.panda-bot{
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 120px;
    cursor: pointer;
    pointer-events: auto;
    transition: left 1s ease-in-out;
}

.panda-bot img{
    width: 100%;
    transition: transform 0.4s ease;
}

/* ==============================
   💬 AUTO BUBBLE
================================= */

.auto-bubble{
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #003A66;
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* ==============================
   💬 CHAT OVERLAY (CENTER FIXED)
================================= */

.chat-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

/* ==============================
   💬 CHAT POPUP CENTERED
================================= */

.chat-popup{
    width: 60%;
    max-width: 950px;
    height: 80vh;
    background: #fff;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* Header */
.chat-header{
    background: #003A66;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
}

/* Body */
.chat-body{
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
}

/* Messages */
.bot-msg{
    background: #F0F5FB;
    padding: 10px 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    max-width: 75%;
}

.user-msg{
    background: #E02454;
    color: #fff;
    padding: 10px 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    margin-left: auto;
    max-width: 75%;
    text-align: right;
}

/* Footer */
.chat-footer{
    display: flex;
    border-top: 1px solid #ddd;
}

.chat-footer input{
    flex: 1;
    border: none;
    padding: 12px;
    outline: none;
}

.chat-footer button{
    background: #E02454;
    border: none;
    color: #fff;
    padding: 0 20px;
    cursor: pointer;
}

/* ==============================
   📱 RESPONSIVE
================================= */

@media(max-width:992px){
    .chat-popup{
        width: 85%;
    }
}

@media(max-width:768px){
    .chat-popup{
        width: 95%;
        height: 85vh;
    }

    .panda-bot{
        width: 90px;
    }
}


/* =========================
   CHAT HEADER IMPROVED
========================= */

.chat-header {
    background: linear-gradient(135deg,#003A66,#00284a);
    color: #fff;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4{
    margin: 0;
    font-size: 18px;
}

#closeChat{
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

#closeChat:hover{
    opacity: 0.7;
}

/* =========================
   CHAT BODY CLEAN LOOK
========================= */

.chat-body{
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    background: #f4f7fb;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Scrollbar */
.chat-body::-webkit-scrollbar{
    width: 6px;
}
.chat-body::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 10px;
}

/* =========================
   MESSAGE BUBBLES
========================= */

.bot-msg{
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 16px 16px 16px 5px;
    max-width: 75%;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    font-size: 14px;
    line-height: 1.5;
}

.user-msg{
    background: #E02454;
    color: #fff;
    padding: 12px 16px;
    border-radius: 16px 16px 5px 16px;
    max-width: 75%;
    margin-left: auto;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================
   SUGGESTION CHIPS
========================= */

.suggestions{
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggest-btn{
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}

.suggest-btn:hover{
    background: #003A66;
    color: #fff;
    border-color: #003A66;
}

/* =========================
   FOOTER INPUT STYLE
========================= */

.chat-footer{
    display: flex;
    padding: 12px 15px;
    background: #fff;
    border-top: 1px solid #eee;
}

.chat-footer input{
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 10px 15px;
    font-size: 14px;
}

.chat-footer input:focus{
    border-color: #003A66;
}

.chat-footer button{
    margin-left: 10px;
    background: #E02454;
    border: none;
    border-radius: 25px;
    padding: 8px 18px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.chat-footer button:hover{
    background: #c81e4a;
}
/* ==============================
   FULLSCREEN FAQ
================================= */

.faq-fullscreen{
    width: 100%;
    height: 100vh;
    background: #F0F5FB;
    display: flex;
}

.faq-wrapper{
    width: 100%;
    display: flex;
}

/* LEFT SIDE */

.faq-left{
    width: 30%;
    background: linear-gradient(180deg,#003A66,#00284a);
    color: #fff;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
}

.faq-left h2{
    margin-bottom: 30px;
    font-weight: 600;
    color:#fff;
}

.faq-tab{
    background: transparent;
    border: none;
    color: #fff;
    padding: 15px 20px;
    margin-bottom: 10px;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.faq-tab:hover,
.faq-tab.active{
    background: #E02454;
}

/* RIGHT SIDE */

.faq-right{
    width: 70%;
    background: #fff;
    padding: 40px;
    overflow-y: auto; /* SCROLL ONLY RIGHT SIDE */
}

/* Scrollbar */
.faq-right::-webkit-scrollbar{
    width: 6px;
}
.faq-right::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 10px;
}

/* PANEL */

.faq-panel{
    display: none;
}

.faq-panel.active{
    display: block;
}

/* FAQ ITEM */

.faq-item{
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.faq-question{
    width: 100%;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 600;
    color: #003A66;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.faq-answer{
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease;
    color: #555;
    font-size: 14px;
    padding-top: 0;
}

.faq-item.active .faq-answer{
    max-height: 300px;
    padding-top: 10px;
}

/* ==============================
   RESPONSIVE
================================= */

@media(max-width:992px){

    .faq-fullscreen{
        height: auto;
        flex-direction: column;
    }

    .faq-wrapper{
        flex-direction: column;
    }

    .faq-left{
        width: 100%;
    }

    .faq-right{
        width: 100%;
        max-height: 500px;
    }
}


/* ===== Equal Height Feature Boxes ===== */

.prep-features .col-6 {
    display: flex;
}

.feature-box {
    flex: 1;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    font-weight: 500;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-box p {
    margin: 10px 0 0;
}

.feature-box:hover {
    background: #003A66;
    color: #fff;
    transform: translateY(-5px);
}

/* ===== Button Responsive Fix ===== */

@media (max-width: 768px) {

    .search-box .row {
        flex-direction: column;
    }

    .search-box .col-md-10,
    .search-box .col-md-2 {
        width: 100%;
        max-width: 100%;
    }

    .search-box .btn {
        width: 100%;
        margin-top: 10px;
    }

}

.btn.btns-primary {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: 0.5s;
        text-align: center;
    margin-bottom: 10px;
    margin-left: 32px;
}