/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    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;
    border: var(--bs-secondary);
}

.btn.btn-primaryblog {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: 0.5s;
    border: var(--bs-secondary);
}

.btn.btn.btn-primary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-secondary);
    border: 1px solid var(--bs-primary) !important;
}

.btn.btn-secondary {
    background: transparent;
    color: var(--bs-secondary);
    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 ***/
/* Default state for dropdown menu */
.nav-item .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    min-width: 250px;
    /* Increased width */
    padding: 15px 0;
    /* Extra padding for height */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Hover state for dropdown */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out;
}

/* Dropdown item base styles */
.dropdown-item {
    position: relative;
    overflow: hidden;
    color: black;
    z-index: 1;
    padding: 15px 20px;
    /* Increased padding for larger height and spacing */
    font-size: 1.1rem;
    /* Slightly larger font */
    transition: color 0.4s ease-out;
}

/* Background hover effect */
.dropdown-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #0d395c;
    transition: left 0.4s ease-out;
    z-index: -1;
}

/* Hover state for dropdown item */
.dropdown-item:hover::before {
    left: 0;
}

.dropdown-item:hover {
    color: white;
}

/* Accordion button styles */
.accordion-button:not(.collapsed) {
    color: white;
    background-color: #0d395c !important;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

/* Optional: Dropdown animation smoothness for better UX */
.dropdown-menu {
    will-change: opacity, visibility;
}

/* Reduce padding for the dropdown menu */
.nav-item .dropdown-menu {
    padding: 0;
    /* Reduces top/bottom padding */
}

/* Navbar link styles */
.navbar-light .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 10px 0;
    color: var(--bs-primary) !important;
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

/* Navbar hover color */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

/* Navbar brand image */
.navbar-light .navbar-brand img {
    max-height: 95px;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 95px;
}

/* Navbar toggle button */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

/*** 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;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0px 0 0px 0;
}

/*** Single Page Hero Header End ***/


/*** Carousel Hero Header Start ***/
.carousel-header .carousel-control-prev .carousel-control-prev-icon,
.carousel-header .carousel-control-next .carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    margin-left: -60px;
    border-radius: 50%;
    background-size: 60% 60%;
    transition: 0.5s;
}

.carousel-header .carousel-control-next .carousel-control-next-icon {
    margin-left: 0;
    margin-right: -60px;
}

.carousel-header .carousel .carousel-indicators {
    padding-bottom: 0;
    transition: 0.5s;
}


.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li {
    width: 8px;
    height: 8px;
    border: 8px solid var(--bs-primary);
    border-radius: 50%;
    margin-right: 30px;
    transition: 0.5s;
}

.carousel-header .carousel .carousel-indicators li.active {
    width: 8px;
    height: 8px;
    border: 8px solid var(--bs-secondary);
}

.carousel-header .carousel-inner .carousel-item {
    position: relative;
    min-height: 100vh
}

.carousel-header .carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-header .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0.6));
    background-size: cover;
}




@media (max-width: 768px) {
    .carousel-header {
        height: auto !important;
    }

    .carousel-header .carousel-inner .carousel-item {
        min-height: auto;
    }

    .carousel-header .carousel-inner .carousel-item img {
        position: relative;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: rgba(0, 0, 0, 0.5);
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
        background-size: 60% 60%;
        margin: 0;
    }

    .carousel-header .carousel-control-prev {
        left: 0px;
    }

    .carousel-header .carousel-control-next {
        right: -4px;
    }
}

/*** Carousel Hero Header End ***/


/*** 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 ***/


/*** 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 ***/


/*** 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 ***/


/*** 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 ***/


/*** 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 ***/


/*** training Start ***/
.training .training-item .training-inner {
    position: relative;
}

.training .training-item .training-inner img {
    height: 340px;
    width: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: 0.5s;
}

.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 ***/


/*** 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;
}

.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 ***/

/* Scoped CSS for Student Registration Form */
.student-registration-container {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f9;
}

.student-registration-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.student-registration-form h1 {
    text-align: center;
    color: #333;
}

.student-registration-form .section {
    margin-bottom: 20px;
}

.student-registration-form .section h2 {
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    color: #555;
}

.student-registration-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    font-size: 12px;
}

.student-registration-form input,
.student-registration-form select,
.student-registration-form textarea {
    width: 100%;
    padding: 6px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.student-registration-form button {
    display: inline-block;
    width: calc(50% - 10px);
    padding: 10px;
    background-color: #0d395c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.student-registration-form button:hover {
    background-color: #0056b3;
}

.student-registration-form .btn-secondary {
    background-color: #dc3545;
}

.student-registration-form .btn-secondary:hover {
    background-color: #a71d2a;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-group label {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #333;
}

.checkbox-group input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    left: 0;
}

.checkbox-group span {
    position: relative;
    padding-left: 30px;
}

.checkbox-group span::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 1px;
    width: 20px;
    height: 20px;
    border: 2px solid;
    border-radius: 4px;
    background-color: #fff;
    transition: background-color 0.3s, border-color 0.3s;
}

.checkbox-group input[type="checkbox"]:checked+span::before {
    background-color: #dc3545;
    border-color: #dc3545;
}

.checkbox-group input[type="checkbox"]:checked+span::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 4px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


/* for teams */
.team-member {
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-member img {
    border-bottom: 1px solid #ddd;
}

.team-member .card-body {
    background-color: #dc3545;
    padding: 20px;
}

.team-member .card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.team-member .position {
    font-size: 1.2rem;
    color: #777;
    margin-bottom: 15px;
}

.team-member .description {
    font-size: 1rem;
    color: #555;
}

/* Team Member Card Image */
.team-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 4px;
}


.card-text.description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 14px;
    line-height: 1.5;
}


/* for students register */
.hidden {
    display: none;
}

/* Custom styles for the image for course*/
.course-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
    border-radius: 8px;
}


@media (max-width: 767px) {
    .course-image {
        max-height: 300px;
    }
}

/* for abroad clickable section */
.country-item-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
    z-index: 1000;
}

.description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Make the entire feature-item clickable */
.feature-item-link {
    text-decoration: none;
    color: inherit;
}

/* Add hover effect to the container */
.feature-item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Add rotation to the image when hovering over the container */
.feature-item:hover .feature-icon img {
    transform: rotate(360deg);
    transition: transform 0.5s ease;
}

/* Maintain the circular image styling */
.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    padding: 15px;
    background: #f0f0f0;
    border-radius: 50%;
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border-radius: 50%; */
    transition: transform 0.5s ease;
}

/* for blog image  */
.fixed-image {

    height: 330px;
    object-fit: cover;
}

.limit2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.py3 {
    padding-top: 1rem;
    padding-bottom: 0rem;
}

.post-image {
    width: auto;
    height: auto;
    object-fit: contain;
}

.footer-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-top: -10px;
}

.custom-icon {
    font-size: 3rem;
    color: #da1f28;
}

.ahover-link:hover {
    text-decoration: none;
    color: #da1f28 !important;
}

a {
    color: white;
    text-decoration: none;
}


.footerimgsize {
    max-height: 80px !important;
}

/* contact us section */
.branch-icon {
    background: #f0f0f0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}


.branch-card:hover .branch-icon {
    background: #dc3545;
    color: #fff;
    transform: scale(1.1);
}

.branch-card.active .branch-icon {
    background: #dc3545;
    color: #fff;
    transform: scale(1.1);
}

.branch-card {
    transition: box-shadow 0.3s ease;
}

.branch-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 29px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 33px;
    z-index: 100;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.viber-float {
    position: fixed;
    bottom: 45px;
    right: 29px;
    background-color: #675da9;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 33px;
    z-index: 100;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.tiktok-float {
    position: fixed;
    bottom: 155px;
    right: 29px;
    background-color: #121212;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 33px;
    z-index: 100;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    color: white;
}

.viber-float:hover {
    background-color: #5d549a;
    color: white;
}

.tiktok-float:hover {
    background-color: #171717;
    color: white;
}

/* for event */
.event-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-image {
    height: 280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
}

.badge-upcoming {
    background-color: #28a745;
    color: white;
}

.badge-expired {
    background-color: #dc3545;
    color: white;
}

.event-details {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.event-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.event-info {
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #495057;
}

.info-icon {
    color: #dc3545;
    width: 20px;
    margin-right: 12px;
}

.progress-container {
    margin-bottom: 1rem;
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 4px;
}

.progress-bar.full {
    background-color: #dc3545;
}

.btn-register {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

.btn-upcoming {
    background-color: #dc3545;
    color: white;
}

.btn-upcoming:hover {
    background-color: #003A66;
    color: white;
}

.btn-expired {
    background-color: #6c757d;
    color: white;
    cursor: not-allowed;
}

.header-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.header-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.header-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .header-title {
        font-size: 2rem;
    }

    .event-details {
        padding: 1rem;
    }
}

.event-image img {
    max-width: 100%;
    height: 280px;
    object-fit: contain;
}

.img-fluidevent {
    max-width: 100%;
    height: 280px;
}

@media (max-width: 768px) {
    .display-1 {
        font-size: 17px !important;
        font-weight: 600;
        line-height: 1.2;
    }
}

/* Useful Links Section */
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* popups */
.custom-close-btn {
    position: absolute;
    top: -17px;
    right: -20px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    user-select: none;
}

.custom-close-btn:hover {
    transform: scale(1.2);
}

@media (max-width: 575.98px) {
    .custom-close-btn {
        top: 5px;
        right: 5px;
        width: 30px;
        height: 30px;
        font-size: 20px;
        line-height: 28px;
    }
}

/* popups */
@media (min-width: 576px) and (max-width: 991.98px) {
    .modal-dialog {
        margin-top: 80px;
    }

    .modal-content {
        margin: 0 10px;
    }

    .modal-body {
        padding: 0.5rem 0.25rem !important;
    }
}

@media (min-width: 992px) {

    .modal-lg,
    .modal-xl {
        --bs-modal-width: 670px;
    }

    .popupfitm {
        width: fit-content;
        margin-left: 126px;
    }
}

@media (max-width: 575.98px) {
    .modal-dialog {
        max-width: 95% !important;
        margin: 30px auto;
    }
}


.abroadimg {
    height: 300px;
}

.text-centre {
    text-align: center !important;
}

/* for blog fontsize */
.responsive-text {
    font-size: 22px;

    @media (min-width: 768px) {
        font-size: 35px;
    }
}

@media (max-width: 767.98px) {
    .fotter-headings {
        font-size: 18px !important;
    }
}