html {
    font-family: Kanit, sans-serif !important;
    -webkit-font-smothing: antialiased;
}

body {
    font-family: Kanit, sans-serif !important;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .fs-0,
    .fs-md-0,
    .hero-font {
        font-size: 56px !important;
    }

    h1,
    .h1,
    .fs-1,
    .fs-md-1 {
        font-size: 48px !important;
    }

    h2,
    .h2,
    .fs-2,
    .fs-md-2 {
        font-size: 40px !important;
    }

    h3,
    .h3,
    .fs-3,
    .fs-md-3 {
        font-size: 32px !important;
    }

    h4,
    .h4,
    .fs-4,
    .fs-md-4 {
        font-size: 24px !important;
    }

    h5,
    .h5,
    .fs-5,
    .fs-md-5 {
        font-size: 20px !important;
    }

    h6,
    .h6,
    .fs-6,
    .fs-md-6,
    p {
        font-size: 16px !important;
    }

    small {
        font-size: 14px !important;
    }
}

.topbar {
    font-size: 13px;
    font-style: normal;
    /* font-weight: 700; */
    line-height: 140%
}

.search-box {
    border-radius: 30px;
}

.menubar {
    padding: 0 !important
}

.acc-tab,
.menu-color,
.primary-color,
.privacy-link {
    color: #20356d !important
}

.menu-color:hover,
.secondary-color {
    color: #f47025 !important
}

.menu-color:hover {
    transition: .05s
}

.acc-tab.active,
.highligh-primary {
    color: #fff !important;
    background-color: #20356d !important
}

.highligh-secondary,
.home-tab.active,
.login-btn,
.partner-button,
.special-button:hover,
.university.active {
    background-color: #f37124 !important;
    color: #fff !important
}

.shoolarship-btn.active {
    background-color: #B9CDFF !important;
    color: #000 !important
}

.secondary-light-background {
    background-color: #fef1e9
}

a {
    text-decoration: none !important
}

.accomodation-title {
    background: url('../img/accomodation/Group 1000001799.png') 0 0/cover;
    height: 500px
}

.home-tab,
.main-tab {
    background-color: #fef1e9 !important
}

.accomodation.active {
    border-bottom: 2px solid #20356d !important;
    background-color: #f2f4f7 !important;
    color: #20356d !important
}

.apply-button:hover,
.common-button:hover {
    color: #fff;
    transition: background-color .4s, color .3s
}

.main-tab {
    border: 5px solid #fef1e9 !important;
    border-radius: 10px !important
}

.home-tab {
    border: 0 !important;
    color: #20356d !important
}

.search-section {
    background: url('../img/search-bg.svg') 0 0/cover
}

.loan-section {
    background: url('../img/loan/e.png') 0 0/cover
}

.ai-button,
.search-button:hover {
    background-color: #20356d !important
}

.search-button {
    padding: 8px 34px !important;
    border: none !important;
    background: linear-gradient(135deg, #4f70ff 0%, #2ec7ff 100%) !important;
    color: #fff !important;
    box-shadow: 0 16px 30px rgba(46, 199, 255, 0.22);
    transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
}

.search-button:hover {
    transform: translateY(-0px);
    box-shadow: 0 20px 20px rgba(46, 199, 255, 0.32);
    opacity: 0.98;
}
.job-thumbnail {
    object-fit: cover;
}

.job-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: jobCardFadeIn 0.6s ease-out both;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

@keyframes jobCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.apply-button,
.common-button {
    border: 2px solid #20356d;
    color: #20356d
}

.search-button:hover {
    border: 2px solid #20356d !important
}

.common-button {
    font-weight: 600
}

.common-button:hover {
    background-color: #20356d
}

.apply-button {
    font-weight: 800
}

.apply-button:hover {
    border: 2px solid #f37124;
    background-color: #f37124
}

.ai-button:hover,
.country-card:hover,
.footer-button:hover {
    background-color: #f37124 !important
}

.ai-button {
    font-size: 14px !important;
    color: #fff !important
}

.ai-button:hover {
    transition: background-color .4s, color .3s
}

.powered-ai-button {
    font-size: 10px !important
}

.border-left {
    border-left: 2px solid #f37124
}

.count-border {
    border: 2px solid #f37124;
    border-radius: 15px
}

.ielts-section {
    background: url('../img/home/Wave.png') 0 0/cover
}

.recommend-section {
    background: url('../img/search/Wave.png') 0 0/cover
}

.fees-section {
    background: url('../img/home/Wave.png') 0 0/cover #20356d
}

.fees-card {
    background-color: #939ed0 !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 4px 0 rgba(223, 197, 197, .25), 1px 3px 10px 1px rgba(0, 0, 0, .1) inset
}

.feedback-card {
    background: url('../img/home/Union.png') no-repeat;
    background-size: contain, cover;
    height: 330px
}

.footer-button {
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600
}

.footer-button:hover {
    border: 2px solid #f37124;
    color: #fff;
    transition: background-color .4s, color .3s
}

.course-card-bottom,
.eutab.active {
    border-bottom: 5px solid #f37124 !important
}

.footer-menubar {
    background: url('../img/img_footer.png') 0 0/cover #20356d
}

.title-section {
    background: url('../img/we-are/banner-blur effect.png') 0 0/cover no-repeat;
    height: 350px
}

.support-title-section {
    background: url('../img/help/Group\ 1000001928.png') 0 0/cover no-repeat;
    height: 350px
}

.title-agent {
    background: url('../img/agent/Group\ 1000001851.png') 0 0/cover no-repeat;
    height: 350px
}

.title-section-policy {
    background: url('../img/gdpr/topbar.png') 0 0/cover no-repeat
}

.partner-section {
    background: url('../img/services/Untitled-19.png') 0 0/cover no-repeat;
    height: 350px
}

.course-search-banner {
    background: url('../img/search/banner.png') 0 0/cover no-repeat
}

.university-banner {
    background: url('../img/course/Banner.png') 0 0/cover no-repeat
}

.excep-accordion,
.phd-card {
    background-color: #fef1e9 !important
}

.phd-footer {
    border-radius: 25px !important
}

.course-card {
    background: url('../img/search/course-card.png') 0 0/cover no-repeat
}

.login-page {
    background: url('../img/St Dash - Sign In.png') 0 0/cover;
    background-repeat: no-repeat !important;
    height: 100vh
}

.phd-page {
    background: url('../img/phd/hero.png') 0 0/cover;
    background-repeat: no-repeat !important;
    width: auto
}

.scholarship-page {
    background: url('../img/schoolarship.png') 0 0/cover;
    background-repeat: no-repeat !important;
    width: auto
}

.refer-page {
    background: url('../img/refer/Rectangle\ 7235.png') 0 0/cover;
    background-repeat: no-repeat !important;
    width: auto
}

.team-details {
    background: url('../img/person-profile/Rectangle 7140.png') 0 0/cover;
    background-repeat: no-repeat !important;
    width: auto
}

.profile-div {
    border-left: 5px solid #f47025;
    padding-left: 10px
}

.gdpr-context,
.privacy-link.active {
    border-left: 5px solid #f37124 !important
}

.int-page {
    background: url('../img/service/Group 1000001855.png') 0 0/cover;
    background-repeat: no-repeat !important;
    width: auto
}

.country-card:hover {
    color: #fff !important;
    transition: background-color .4s, color .2s
}

.country-card a {
    color: #000 !important;
}

.country-card:hover a {
    color: #fff !important;
}

.login-btn:hover,
.partner-button:hover,
.service-title:hover {
    background-color: #20356d !important
}

.partner-button:hover {
    transition: .2s
}

.service-title:hover {
    color: #fff !important;
    transition: background-color .4s, color .2s
}

.news-card {
    background-color: #f2f4f7 !important
}

.c-card {
    background-color: #a5a6a972 !important
}

#fc-dom-1,
.fc-toolbar-chunk {
    display: none !important
}

.user-section {
    font-size: 12px
}

.bs-stepper-circle,
.bs-stepper-label {
    font-size: 12px !important
}

.login-btn:hover {
    color: #fff !important;
    transition: .5s
}

.privacy-link.active {
    background-color: #fef1e9 !important
}

.video-container {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden
}

.video-container iframe {
    position: absolute;
    top: -200px;
    left: 0;
    width: 100%;
    height: calc(100% + 400px)
}

.video-container1 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%
}

.mega-menu {
    width: 700px
}

.bhe-abroad-dropdown:hover .dropdown-menu,
.bhe-courses-dropdown:hover .dropdown-menu,
.bhe-services-dropdown:hover .dropdown-menu,
.bhe-we-dropdown:hover .dropdown-menu,
.bhe-wizard-dropdown:hover+.menu-wizrd,
.menu-wizrd:hover {
    display: block
}

.video-container1 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.course-card-bottom {
    border-radius: 15px
}

.eu-heading {
    background: url('/front/img/eu/1.svg') 0 0/cover no-repeat
}

.eu-bg {
    background: url('/front/img/eu/10.svg') 0 0/cover no-repeat
}

.campus-bg {
    background: url('/front/campuses/bg.svg') no-repeat;
    background-size: cover !important;
    height: 450px
}

.campus-card {
    transition: transform .5s, z-index .3s
}

.campus-card:hover {
    transition: .2s;
    transform: scale(1.15);
    z-index: 2
}

.campus-card:hover .campus-description {
    display: block !important;
    font-size: 12px
}

.eutab.active {
    background-color: #fff !important;
    color: #344054 !important
}

.eucourse {
    background-color: #b9cdff
}

@media (max-width:371px) {
    .ai-button {
        font-size: 12px !important;
        font-weight: 900
    }
}

@media (max-width:500px) {
    .mega-menu {
        width: 290px !important
    }

    .border-left {
        border-left: 0 !important
    }
}

@media (max-width:350px) {
    .ai-button {
        font-size: 10px !important;
        font-weight: 900
    }
}

.cc-card:hover {
    background-color: #f37124 !important;
    transition: background-color .6s, color .5s;
    color: #fff !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cc-card:hover img {
    transform: scale(1.1);
    transition: transform .5s;
}

.fc-card:hover {
    background-color: #fff !important;
    transition: background-color .6s, color .5s;
    color: #f37124 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.fc-card:hover img {
    transform: scale(1.1);
    transition: transform .5s;
}

.ec-card:hover {
    background-color: #bbc4e9 !important;
    transition: background-color .6s, color .5s;
    color: #fff !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ec-card:hover img {
    transform: scale(1.1);
    transition: transform .5s;
}

/* Share Popup Styling */
.share-popup {
    display: none;
    position: absolute;
    right: 0;
    bottom: 100%;
    background: #fff;
    padding: 10px 15px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 100;
    min-width: 180px;
    margin-bottom: 10px;
}

.share-popup::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
}

.social-share-btn a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #fff !important;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-share-btn a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.social-share-btn.facebook a { background-color: #3b5998; }
.social-share-btn.linkedin a { background-color: #0077b5; }
.social-share-btn.twitter a { background-color: #1da1f2; }
.social-share-btn.whatsapp a { background-color: #25d366; }

/* Fix for Laravel Share package generating lists */
.social-share-btn ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-share-btn li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Custom styles for the scholarship tabs */
    #scholarshipTabs .nav-link {
        color: #9fa6b2; /* Light grey text for inactive */
        background-color: transparent;
        border: 1px solid #e0e0e0;
        margin: 0 5px;
        transition: all 0.3s ease;
    }

    #scholarshipTabs .nav-link.active {
        background: linear-gradient(135deg, #20356d 0%, #4a90e2 100%); /* Brighter blue matching the image */
        color: white;
        border-color: #1a2f6926;
        box-shadow: 0 4px 12px rgba(38, 100, 235, 0.2);
    }

    #scholarshipTabs .nav-link:not(.active):hover {
        border-color: #b0b0b0;
        color: #6c757d;
    }
