/********** Template CSS **********/
:root {
    --primary: #1f64be;
    --secondary: #1f64be ;
    --light: #F5F5F5;
    --dark: #14141F;
            
}

/*** start cursor style ***/


/*** end cursor style ***/

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.green
{
    --text-color: #3cc23c;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}



.navbar {
    background-color: white !important;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}


/*** home slider start ***/
/* Smooth transitions for slides */
.carousel-item {
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    opacity: 0;
}

.carousel-item.active {
    opacity: 1;
    transform: scale(1);
}

/* Slide animation */
.slide-animation {
    animation: slideFade 0.8s ease-in-out;
}

@keyframes slideFade {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}





/* start home page Slide transiction css */
/* Ensure all slides have a consistent height */
.carousel-inner {
    position: relative;
    height: 100%;
}

.carousel-item {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    height: 100%; /* Ensure that all slides take up the full height of the container */
}

/* Add transition effect for the current active slide */
.carousel-item-next,
.carousel-item-prev {
    opacity: 0;
    transform: translateX(0); /* Ensure slides don't shift vertically */
}

/* Apply active class with opacity */
.carousel-item.active {
    opacity: 1;
    transform: translateX(0);
}

/* Smooth transitions for sliding effect */
.carousel-item-next,
.carousel-item-prev {
    opacity: 1;
    transform: translate3d(100%, 0, 0); /* Slide effect without altering the height */
}

/* Ensure the container has the correct height */
#studyCarousel {
    position: relative;
    height: 100%;
}
/* ends home page Slide transiction css */




/* Button hover effect */
.hover-effect {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hover-effect:hover {
    background-color: #0056b3;
    color: #ffffff;
}
/*** home slider ends ***/



/*** Start Study in Uk ***/
        /* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

.text-center {
    text-align: center;
}

h2, h3, h6 {
    font-weight: 600;
    margin: 15px 0;
}

h6.section-title {
    font-size: 20px;
    text-transform: uppercase;
    display: inline-block;
    padding: 5px 20px;
    margin-bottom: 30px;
    border-radius: 5px;
}

h6.section-title.bg-white.text-primary {
    background: #f9f9f9;
    color: #007bff;
}

.sidebar-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #007bff;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 2px solid #007bff;
    display: inline-block;
    padding-bottom: 5px;
}

p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    font-size: 16px;
    line-height: 2;
}

/* home slider Styles start */

/* .carousel-item {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    position: absolute;
    width: 100%;
}
.carousel-item.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
} */
/* Home slider ends */


/* Form Styles */
form {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

form label {
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
    color: #555;
}

form input, 
form textarea, 
form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

form input::placeholder,
form textarea::placeholder {
    color: #aaa;
}

form button {
    width: 100%;
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #0056b3;
}

#loading1 {
    display: none;
    margin-top: 10px;
}

textarea {
    resize: none;
}

/* Sidebar Styles */
.sidebar {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #007bff;
}

.sidebar-box-inner {
    padding: 15px;
}

/* Section Spacing */
.py-5 {
    padding: 50px 0;
}

.container-xxl {
    max-width: 100%;
    padding: 0 15px;
}

.about-page1-area {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-page-content-holder {
    margin-top: 20px;
}

/* Institution List */
.courses-content-wrapper ul {
    padding: 0 15px;
    border-left: 3px solid #007bff;
    margin-top: 15px;
}

.courses-content-wrapper ul li {
    position: relative;
    padding-left: 10px;
}

.courses-content-wrapper ul li::before {
    content: '•';
    color: #007bff;
    font-size: 18px;
    position: absolute;
    left: -10px;
    top: 0;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .form-group {
        margin-bottom: 15px;
    }

    .sidebar {
        margin-bottom: 20px;
    }

    h6.section-title {
        font-size: 18px;
    }

    ul li {
        font-size: 14px;
    }

    form button {
        font-size: 14px;
    }
}

/*** Start Study in Uk ***/



/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .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(--dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/bg-hero.jpg);
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/header\ image.png);
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}

    /* Ensures all service items are of the same height */
    .service-item {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /* Set a consistent height for the inner content */
    .service-item img {
        max-height: 150px; /* Adjust this as needed */
        object-fit: cover; /* Ensures images are scaled properly */
    }

    /* Ensure title and description have uniform space */
    .service-item h5 {
        min-height: 50px; /* Adjust based on the amount of text */
        text-align: center; /* Optional: Center-align the text */
    }

    .service-item p {
        min-height: 80px; /* Adjust to fit description text */
        text-align: center; /* Optional: Center-align the text */
    }

    /* Optional: Ensure carousel items are vertically centered */
    .carousel-item {
        display: flex;
        align-items: center;
        justify-content: center;
    }
/*** study abroad img ***/
.medium-size {
    width: 100%; /* Responsive to container */
    height: 250px; /* Medium height for uniformity */
    object-fit: cover; /* Crops image while maintaining aspect ratio */
}   

/*** header study dropdown list animation***/
/* For the main dropdown link */
.animated-dropdown {
    position: relative;
    color: #ffffff;
    font-size: 1.3rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .animated-dropdown:hover {
    color: #00aaff;
    transform: scale(1.1);
  }
  
  /* Add a subtle underline effect on hover */
  .animated-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #00aaff;
    transition: width 0.3s ease;
  }
  
  .animated-dropdown:hover::after {
    width: 100%;
  }
  
  /* For dropdown items */
  .animated-dropdown-item {
    color: #000000;
    padding: 10px 20px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  }
  
  .animated-dropdown-item:hover {
    color: #ffffff;
    background-color: #00aaff;
    transform: translateX(10px);
  }
/*** end header study dropdown list animation***/

/*** popuar country hover css***/

/* General Styles for Testimonial Items */
.testimonial-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
  
  .testimonial-item:hover {
    transform: scale(1.05); /* Slightly increase the size */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Add shadow for a lifted look */
    border-color: #007bff; /* Optional: Change border color */
  }
  
  /* Text and Heading Hover Effect */
  .testimonial-item h5 {
    transition: color 0.3s ease;
  }
  
  .testimonial-item:hover h5 {
    color: #007bff; /* Change text color on hover */
  }
  
  /* Hover Effect for Image */
  .testimonial-item img {
    transition: transform 0.3s ease;
  }
  
  .testimonial-item:hover img {
    transform: rotate(10deg); /* Rotate slightly on hover */
  }
  
  /* Background Color Effect */
  .testimonial-item:hover {
    background-color: #f8f9fa; /* Optional: Lighten the background on hover */
  }
  
/*** popuar country hover css***/

/*** start header background color***/

/*** end header background color***/


/*** header animation***/
.hover-link {
    position: relative;
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .hover-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #00aaff;
    transition: width 0.3s ease;
  }
  
  .hover-link:hover {
    color: #00aaff;
    transform: scale(1.1);
  }
  
  .hover-link:hover::after {
    width: 100%;
  }
  
/*** header end text animation***/
/*** start study abroad text animation***/
.hover-text {
    animation: slideInDown 1s ease-out;
    color: #ffffff;
    text-shadow: 0 0 1px #ffffff, 0 0 1px #ffffff;
    transition: transform 0.1s, color 0.1s;
    transform-origin: center;
  }
  
  .hover-text:hover {
    color: #003377;
    transform: scale(1);
    text-shadow: 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff;
  }
  
  @keyframes slideInDown {
    0% {
      transform: translateY(-100%);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
/*** end of study abroad text animation***/



/*** start university names in box ***/
.institution-box {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.institution-box:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.institution-box p {
    margin: 0;
    font-size: 16px;
    color: #333;
}

@media (max-width: 768px) {
    .institution-box {
        font-size: 14px;
    }
}

/*** ends university names in box ***/




/*** Destination ***/
.destination img {
    transition: .5s;
}

.destination a:hover img {
    transform: scale(1.1);
}


/*** Package ***/
.package-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.package-item img {
    transition: .5s;
}   

.package-item:hover img {
    transform: scale(1.1);
}


/*** Booking ***/
.booking {
    background: linear-gradient(rgba(15, 23, 43, .7), rgba(15, 23, 43, .7)), url(../img/form\ background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.smaller-logo {
    max-width: 250px; /* Adjust to desired size */
    height: auto; /* Maintain aspect ratio */
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .btn {
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 20px;
    border-bottom: 1px solid var(--primary);
}

.team-item .btn:hover {
    background: var(--primary);
    color: #FFFFFF;
}

 /* countrer start*/
 .statistics{
    position:relative;
    display: flex;
    align-items: center;
    background:url(../../assets/images/counter/counter-banner.jpg)no-repeat fixed;
    background-position:center;
    background-size:cover;
    padding:127px 0 120px;
}
.statistics:before{
    position:absolute;
    content:'';
    background: rgba(75,75,75,.60);
    height:50%;
    width:100%;
    top:0;
    left:0;
}
/* single-ststistics-box */
.single-ststistics-box {
    text-align: center;
    margin-bottom:30px;

}
/* single-ststistics-box */
.statistics-content{
    display: flex;
    justify-content: center;
    color:#fff;
    font-size:60px;
}
.statistics-content span {
    margin-left: 5px;
}
.single-ststistics-box h3{
    color:#fff;
    font-size:24px;
    text-transform:capitalize;
    font-weight: 500;
}

 /* countrer ends*/
/* <!-- popular country test--> */
.container-xxl {
    max-width: 100%;
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    display: inline-block;
}

.text-primary {
    color: #007bff; /* Customize with your primary color */
}

.bg-white {
    background-color: #2433b8;
}

.px-3 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.owl-carousel .testimonial-item {
    background-color: #2433b8;
    text-align: center;
    border: 3px solid #2433b8;
    padding: 2rem;
    border-radius: 10px;
    margin: 0.5rem;
}

.owl-carousel .testimonial-item img {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    padding: 0.5rem;
    background-color: #2433b8;
    box-shadow: 0 0 10px #2433b8;
    margin-bottom: 1rem;
}

.owl-carousel .testimonial-item h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.owl-carousel .testimonial-item p {
    font-size: 14px;
    color: #666;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    font-size: 2rem;
    color: #007bff;
    cursor: pointer;
}

.owl-nav button.owl-prev {
    left: -5rem;
}

.owl-nav button.owl-next {
    right: -5rem;
}

.owl-dots {
    text-align: center;
    margin-top: 1rem;
}

.owl-dots .owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ddd;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
}

.owl-dots .owl-dot.active {
    background-color: #2433b8; /* Primary color for active dot */
}

/* .popular country ends */

/* .popular country start */
/* .popular country ends */



/* submit button start*/
/* Default Button Style */
.btn-dark-w-100 {
    background-color: #343a40; /* Dark gray background */
    color: #ffffff; /* White text */
    border: none; /* Remove border */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
  }
  
  .btn-dark-w-100:hover {
    background-color: #007bff; /* Change background to blue on hover */
    color: #ffffff; /* Ensure text stays white */
    transform: scale(1.05); /* Slightly increase size on hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Add shadow for a lifted look */
  }
  
  /* Optional: Active State for Click */
  .btn-dark-w-100:active {
    transform: scale(0.98); /* Slightly reduce size for a pressed effect */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* Slightly reduce shadow */
  }
  
/* submit button ends*/


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer-logo {
    max-width: 170px; /* Adjust the size */
    height: auto; /* Maintain aspect ratio */
}


.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/* Dropdown Menu Animation */
.animated-dropdown {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-item.dropdown:hover .animated-dropdown {
    opacity: 1;
    transform: translateY(0);
}

/* Dropdown Item Slide Animation */
.animated-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-item.dropdown:hover .animated-item {
    opacity: 1;
    transform: translateX(0);
}

.animated-item:nth-child(1) { transition-delay: 0.1s; }
.animated-item:nth-child(2) { transition-delay: 0.2s; }
.animated-item:nth-child(3) { transition-delay: 0.3s; }
.animated-item:nth-child(4) { transition-delay: 0.4s; }
.animated-item:nth-child(5) { transition-delay: 0.5s; }
.animated-item:nth-child(6) { transition-delay: 0.6s; }

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }
