/* header */
.main-logo {
    height: 70px;
    object-fit: fill;
    object-position: center center;
}

@media (max-width: 768px) {
    .top-bar {
        padding: 0;
    }

    .logo-web-text2 {
        font-size: 0.9rem;
        font-weight: 700;
    }
}

@media (max-width: 576px) {
    .w-sm-100 {
        width: 100% !important;
    }
}

/*marquee*/
ul.marquee {
    padding: 0;
    margin: 0;
    list-style: none;
    line-height: 1;
    position: relative;
    overflow: hidden;
    font-size: 16px;
    line-height: 32px;
    height: 28px;
}

@media (max-width: 768px) {
    ul.marquee {
        left: 0;
    }
}

ul.marquee a {
    color: var(--bs-light);
}

ul.marquee a:hover {
    color: var(--bs-secondary);
}

ul.marquee li {
    position: absolute;
    top: -999em;
    left: 0;
    display: block;
    white-space: nowrap;
}

.marquee-text:hover {
    color: var(--bs-secondary);
}

.hero-section {
    min-height: 80vh;
}

.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-3 { z-index: 3; }

.hero-img {
    height: 350px;
    object-fit: cover;
    object-position: center;
    padding: 30px;
}

.badge-floating {
    position: absolute;
    background-color: #0d6efd; /* Use theme primary color */
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Positioning for the badges - adjust percentages based on your specific image */
.badge-scholarship { top: 0%; left: 1%; background: #dc3545; }
.badge-success { bottom: 20%; left: 0%; }
.badge-location { top: 5%; right: 5%; }
.badge-year { bottom: 5%; right: 5%; }

/* Mobile adjustment: hide or stack badges on small screens */
@media (max-width: 768px) {
    .badge-floating { position: static; margin: 5px; display: inline-block; }
}

.slider-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
}

.about-img img {
    object-fit: cover;
    max-height: 400px;
}

.about-description p {
    margin-bottom: 1rem;
}

.hover-shadow:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.about-sub-section {
    font-size: 5rem;
    left: -10px;
    top: 0;
    opacity: 0.07;
    transform: translate(-30%, -30%);
    z-index: 0;
}

.reason-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.reason-card:hover {
    transform: translateY(-5px);
    border-left: 4px solid #0d6efd;
    /* Bootstrap primary color */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.reason-card .icon-wrap i {
    transition: transform 0.3s ease;
}

.reason-card:hover .icon-wrap i {
    transform: scale(1.2);
}

.service-img {
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-item:hover .service-img {
    transform: scale(1.05);
}

.overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    transition: background 0.3s ease;
    z-index: 2;
}

.arrow-link {
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
}

.arrow-link .transition {
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.3s ease;
}

.service-item:hover .arrow-link .transition {
    opacity: 1;
    transform: translateX(0);
}

.category-carousel {
    position: relative;
}

.category-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 9;
    color: var(--bs-primary);
}


.footer p {
    color: var(--bs-white);
}

.destination-glass-card {
    height: 240px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.destination-glass-card:hover {
    transform: translateY(-5px);
}

.destination-glass-card .bg-img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(60%);
}

.img-destination {
    height: 168px;
    object-fit: cover;
}

.card-overlay {
    position: relative;
    z-index: 2;
}

.flag-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
}

.description {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.destination-glass-card:hover .description {
    opacity: 1;
    transform: translateY(0);
}

.arrow-icon {
    font-size: 1rem;
    color: #fff;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.destination-glass-card:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

.service-img {
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.rotate-text {
    position: absolute;
    left: -103px;
    top: -40px;
    transform: rotate(90deg) translateY(-50%);
    transform-origin: left center;
    z-index: 1;
}

.rotate-text h1 {
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .rotate-text {
        position: initial;
        left: 0;
        /* adjust as needed */
        top: 0;
        transform: initial;
        transform-origin: initial;
        z-index: initial;
    }

    .rotate-text h1 {
        margin: 0;
        white-space: initial;
    }
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.check-icon {
    color: var(--bs-primary);
    /* Bootstrap success green */
    font-size: 1.2rem;
    margin-top: 2px;
}

.shadow-box {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.price {
    background: #a3ddd04f;
    border-radius: 12px;
    box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.5);
}

/*breadcrumb*/
.breadcrumb-img {
    height: 30px;
    object-fit: contain;
}

.team-img {
    height: 300px;
    object-fit: cover;
}