
/*** Spinner Start ***/


.nav-bar h1{
    font-size: 30px;
}
/*** 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;
}

.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: 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 ***/
.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: 60px;
    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 ***/


/*** 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: 700px !important;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-top: 500px;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon {
        margin-left: 0px;
    }

    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-right: 0px;
    }

    .carousel-header .carousel .carousel-indicators {
        padding: 0;
    }
}
/*** 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 .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 ***/



@media (max-width: 991.98px) {
                .navbar-brand h1 {
                    font-size: 1.8rem; /* Adjust font size for tablets */
                }
                .navbar-brand img {
                    max-height: 40px; /* Smaller logo for tablets */
                }
            }
 
            @media (max-width: 767.98px) {
                .navbar-brand h1 {
                    font-size: 1.5rem; /* Further adjust font size for smaller tablets/large phones */
                }
                .navbar-brand img {
                    max-height: 30px; /* Smaller logo for smaller tablets/large phones */
                }
            }
 
            @media (max-width: 575.98px) {
                .navbar-brand h1 {
                    font-size: 1rem; /* Smallest font size for mobile phones */
                }
                .navbar-brand img {
                    max-height: 25px !important; /* Smallest logo for mobile phones */
                }
            }




















/* General styles for new sections */
.usa-visa-specialization-section,
.global-visa-section,
.cyprus-education-section {
    background-color: #f8f9fa; /* Light background for all new sections */
    padding: 80px 0;
    text-align: center;
}

.usa-visa-specialization-section .section-title h1,
.global-visa-section .section-title h1,
.cyprus-education-section .section-title h1 {
    font-size: 2.8rem;
    color: var(--bs-primary); /* Using primary color for headings */
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
}

.usa-visa-specialization-section .section-title p,
.global-visa-section .section-title p,
.cyprus-education-section .section-title p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
}

/* Card styles for all new sections */
.usa-specialization-card,
.global-visa-card,
.cyprus-partnership-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 35px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.usa-specialization-card:hover,
.global-visa-card:hover,
.cyprus-partnership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.usa-specialization-card h3,
.global-visa-card h3,
.cyprus-partnership-card h3 {
    color: var(--bs-secondary); /* Using secondary color for card headings */
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

/* List styles for cities */
.city-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.city-list li {
    font-size: 1.1rem;
    color: #343a40;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start; /* Align icon and text at the top */
    line-height: 1.4;
}

.city-list li i {
    color: var(--bs-secondary);
    margin-right: 12px;
    font-size: 1.3rem;
    min-width: 20px;
    padding-top: 2px; /* Adjust icon vertical alignment */
}

/* New styles for visa categories grid/table-like layout */
.visa-category-grid {
    display: grid;
    /* Two columns: one for visa type, one for description */
    grid-template-columns: auto 1fr; 
    gap: 15px 10px; /* Row gap, column gap */
    margin-bottom: 20px;
    /* Add a subtle border around the grid for definition */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background-color: #fcfcfc; /* Slightly different background for the grid area */
}

.visa-item {
    display: contents; /* Allows child elements to be direct grid items */
}

.visa-type {
    font-weight: 600;
    color: #343a40;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    padding-right: 5px; /* Small padding to separate from description */
    /* Add a bottom border to separate rows visually */
    border-bottom: 1px dashed #e9ecef; /* Dashed border for softer look */
    padding-bottom: 10px; /* Padding above border */
    margin-bottom: 10px; /* Space below border */
}

.visa-type:last-child { /* Remove border for the last item */
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.visa-type i {
    color: var(--bs-secondary);
    margin-right: 10px;
    font-size: 1.2rem;
    min-width: 20px;
    padding-top: 2px;
}

.visa-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.4;
    text-align: left;
    /* Add a bottom border to separate rows visually */
    border-bottom: 1px dashed #e9ecef; /* Dashed border for softer look */
    padding-bottom: 10px; /* Padding above border */
    margin-bottom: 10px; /* Space below border */
}

.visa-description:last-child { /* Remove border for the last item */
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}


/* Specific styles for USA Visa Specialization */
.usa-specialization-card .success-guarantee {
    background: linear-gradient(to right, var(--bs-primary), #004d40); /* Darker blue/teal gradient */
    border-radius: 10px;
    padding: 20px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.usa-specialization-card .success-guarantee strong {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 5px;
}

/* Specific styles for Cyprus Education Partnership */
/* Specific styles for Cyprus Education Partnership */
.cyprus-education-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%); /* Softer, inviting gradient */
    padding-top: 4rem; /* Slightly more vertical breathing room */
    padding-bottom: 4rem; /* Slightly more vertical breathing room */
    overflow: hidden; /* Ensures animations don't cause scrollbars */
}

/* Custom color variables for better maintainability and theme control */
:root {
    --primary-darker: #1a237e; /* Darker blue for headings */
    --secondary-light: #5c6bc0; /* Lighter blue for lead text */
    --accent-green: #2ecc71; /* A fresh, vibrant green for the icon */
    --text-paragraph: #455a64; /* A deep grey for paragraphs */
    --text-muted-small: #78909c; /* Lighter grey for small text */
}

.cyprus-education-section .section-title h2 {
    color: var(--primary-darker);
    font-weight: 800; /* Extra bold for impact */
    line-height: 1.2;
    letter-spacing: -0.5px; /* Subtle letter spacing adjustment */
}

.cyprus-education-section .section-title p {
    color: var(--secondary-light);
    font-size: 1.1rem; /* Slightly larger lead text */
    font-weight: 500;
}

.cyprus-education-section .small-paragraph {
    font-size: 1rem; /* Standard paragraph size, but still concise */
    color: var(--text-paragraph);
    line-height: 1.7; /* Better readability */
}

.cyprus-education-section .btn {
    background: #007bff !important; /* Retain primary blue for action */
    border-color: #007bff !important;
    padding: 12px 35px; /* More generous button padding */
    font-size: 1.05rem; /* Slightly larger button text */
    font-weight: 700; /* Bolder button text */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smoother, more distinct transition */
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.25); /* Stronger initial shadow */
    position: relative; /* For potential pseudo-element effects */
    z-index: 1;
    overflow: hidden; /* For hover effects */
}

.cyprus-education-section .btn:hover {
    background: #0056b3 !important;
    border-color: #0056b3 !important;
    transform: translateY(-4px); /* More noticeable lift on hover */
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4); /* Enhanced shadow on hover */
}

/* Optional: Add a subtle 'shine' effect on button hover */
.cyprus-education-section .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease-in-out;
    transform: skewX(-20deg);
    z-index: -1;
}

.cyprus-education-section .btn:hover::after {
    left: 100%;
}


.cyprus-education-section .text-muted-small {
    font-size: 0.875rem; /* Slightly larger for readability */
    color: var(--text-muted-small) !important;
    margin-top: 15px; /* Adjusted margin */
}

.icon-circle {
    background-color: #ffffff;
    border: 1px solid #e0e0e0; /* Slightly more defined border */
    border-radius: 50%;
    width: 200px; /* Even larger, more commanding icon */
    height: 200px;
    font-size: 5rem; /* Icon size */
    color: var(--accent-green);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); /* More prominent, softer shadow */
    flex-shrink: 0;
    /* Animation for attraction */
    animation: bounceIn 1.2s ease-out forwards; /* Uses Animate.css bounceIn */
}

/* Custom keyframe for the icon pulse (if not using Animate.css for it) */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); } /* Subtle expansion */
    100% { transform: scale(1); }
}


/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .cyprus-education-section .text-md-start {
        text-align: center !important;
    }
    .cyprus-education-section .btn {
        margin-bottom: 20px;
    }
    .cyprus-education-section .text-muted-small {
        margin-top: 0;
    }
    .icon-circle {
        width: 150px; /* Slightly smaller on tablets */
        height: 150px;
        font-size: 3.8rem;
        margin-bottom: 25px; /* Add margin below icon when stacked */
        animation: pulse 2.5s infinite ease-in-out; /* Use custom pulse or animate.css pulse */
    }
}

@media (max-width: 767.98px) {
    .cyprus-education-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .cyprus-education-section .section-title h2 {
        font-size: 1.9rem;
    }
    .cyprus-education-section .section-title p {
        font-size: 1rem;
    }
    .cyprus-education-section .small-paragraph {
        font-size: 0.95rem;
    }
    .cyprus-education-section .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
    .icon-circle {
        width: 120px; /* Further reduce size for very small screens */
        height: 120px;
        font-size: 3rem;
        margin-bottom: 20px; /* Adjust margin below icon for mobile */
    }
    /* Ensure no text alignment conflicts */
    .cyprus-education-section .text-center {
        text-align: center !important;
    }
}




/* Responsive adjustments */
@media (max-width: 991.98px) {
    .usa-specialization-card,
    .global-visa-card,
    .cyprus-partnership-card {
        flex: 1 1 100%; /* Stack cards on smaller screens */
        max-width: 100%;
        margin-bottom: 20px; /* Add space between stacked cards */
    }
    .usa-visa-specialization-section .section-title h1,
    .global-visa-section .section-title h1,
    .cyprus-education-section .section-title h1 {
        font-size: 2.2rem;
    }
    .usa-specialization-card h3,
    .global-visa-card h3,
    .cyprus-partnership-card h3 {
        font-size: 1.6rem;
    }
    .usa-specialization-card ul li,
    .global-visa-card ul li,
    .cyprus-partnership-card p {
        font-size: 1rem;
    }
    .cyprus-partnership-card .icon-box {
        font-size: 3rem;
        width: 80px;
        height: 80px;
    }

    .visa-category-grid {
        grid-template-columns: 1fr; /* Stack on small screens */
        gap: 10px;
        padding: 10px; /* Adjust padding for smaller screens */
    }
    .visa-type {
        font-size: 1rem;
        margin-bottom: 5px; /* Space below type when stacked */
        padding-bottom: 5px; /* Adjust padding for smaller screens */
    }
    .visa-description {
        font-size: 0.9rem;
        padding-left: 30px; /* Indent description slightly */
        padding-bottom: 5px; /* Adjust padding for smaller screens */
    }
}

@media (max-width: 575.98px) {
    .usa-visa-specialization-section,
    .global-visa-section,
    .cyprus-education-section {
        padding: 40px 0;
    }
    .usa-visa-specialization-section .section-title h1,
    .global-visa-section .section-title h1,
    .cyprus-education-section .section-title h1 {
        font-size: 1.8rem;
    }
    .usa-specialization-card h3,
    .global-visa-card h3,
    .cyprus-partnership-card h3 {
        font-size: 1.4rem;
    }
    .usa-specialization-card ul li,
    .global-visa-card ul li {
        font-size: 0.9rem;
    }
    .cyprus-partnership-card .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    .visa-type {
        font-size: 0.95rem;
    }
    .visa-description {
        font-size: 0.85rem;
        padding-left: 25px;
    }
}

















/* Add to your style.css or a relevant responsive CSS file */

/* Ensure the outer column behaves responsively */
/* Assuming this snippet lives inside a .row, it would default to col-12 on xs, sm */
/* If you need specific handling for col-8 col-md-9 on smaller screens, define it */
@media (max-width: 767.98px) {
    /* Adjustments for smaller mobile devices */
    .col-8, .col-md-9 {
        width: 100%; /* Make the column full width on mobile if it's not already */
        text-align: center !important; /* Center content within the column */
        padding-left: 15px; /* Add some padding on the sides */
        padding-right: 15px; /* Add some padding on the sides */
    }

    .d-flex.flex-column.flex-sm-row {
        /* Ensure the flex container itself is centered if it doesn't take full width */
        justify-content: center !important;
    }

    #phone-tada {
        margin-right: 0 !important; /* Remove right margin on mobile */
        margin-bottom: 20px !important; /* Add space below icon for stacking */
    }

    .mobile-text-size {
        font-size: 0.9rem; /* Smaller font for question text on mobile */
    }

    .mobile-phone-size {
        font-size: 1.2rem !important; /* Adjust phone number font size for mobile */
        letter-spacing: 1px !important; /* Reduce letter spacing if it looks too wide */
    }
    
    .text-center.text-sm-start {
        text-align: center !important; /* Ensure text is centered below icon */
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    /* Adjustments for tablet devices */
    .col-md-9 { /* This will apply to the column itself */
        /* If you want it to be wider than default on tablet, e.g., col-10 */
        /* width: 83.333333%; */ /* For col-10 */
        /* max-width: 83.333333%; */
        /* margin: 0 auto; */ /* Center the column */
        
        /* Ensure text and flex items are aligned as per original design for md breakpoint */
        text-align: left !important;
    }
    .text-center.text-md-start {
        text-align: left !important;
    }
    .d-flex.justify-content-md-start {
        justify-content: flex-start !important;
    }
    #phone-tada {
        margin-right: 15px !important; /* Adjust margin for tablet, if needed */
        margin-bottom: 0 !important; /* Ensure no bottom margin on tablet */
    }

    .mobile-text-size {
        font-size: 0.95rem; /* Slightly larger than mobile, smaller than desktop */
    }

    .mobile-phone-size {
        font-size: 1.4rem !important; /* Adjust phone number font size for tablet */
        letter-spacing: 1.5px !important; /* Adjust letter spacing */
    }
}