html {
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 90px;
}

.menu__nav a {
    text-transform: uppercase;
}

/* Enhanced dark card style for course details */
.dark-card {
    background: #E2E2E2;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(34, 34, 34, 0.10);
    border: 1px solid #d1d1d1;
    padding: 24px 32px;
    color: #222;
    font-size: 1rem;
    font-weight: 500;
    transition: box-shadow .25s ease;
}

.dark-card h2,
.dark-card .fw-bold {
    color: #222;
}

.dark-card .text-muted {
    color: #555 !important;
}

.header__logo img {
    width: 100px;
    height: auto;
}

.mainSlider.-type-1 .swiper-wrapper {
    top: 56px;
}

.featureCard.-type-1 .featureCard__content {
    padding: 10px 5px;
}

.featureCard.-type-1 .featureCard__icon {
    background-color: transparent;
    width: auto;
    height: 100%;
}

.featureCard.-type-1 .featureCard__title {
    margin: 0;
    font-size: 14px;
    line-height: 15px;
    color: var(--color-dark-1);
    font-weight: bold;
    padding: 15px 5px;
}

.featureCard.-type-1 .featureCard__icon img {
    width: 180px;
    height: 120px;
    object-fit: cover;
}

.coursesCard.-type-1 .coursesCard__image img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.form-control {
    border: 1px solid #ddd !important;
    margin-bottom: 5px;
}

.mainSlider.-type-1 .mainSlider__form input,
.mainSlider__form select {
    width: 100%;
    height: 70px;
    font-size: 15px;
    line-height: 26px;
    background-color: white;
    color: var(--color-light-1);
    border-radius: 100px;
    padding: 22px 35px;
}

.mainSlider__form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L8 8L15 1' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 35px center;
    background-size: 16px 10px;
    padding-right: 55px;
}

.mainSlider__form .search-button {
    position: static !important;
    width: 100%;
    height: 70px !important;
    font-size: 20px;
    line-height: 26px;
    background-color: var(--color-yellow-1);
    color: var(--color-light-1);
    border-radius: 100px;
    padding: 22px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header.-type-1 {
    padding-top: 0px;
    padding-bottom: 20px;
}

.page-header__content img {
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
}

.teamCard.-type-1 .teamCard__image img {
    width: 100%;
    height: 150px;
}

.teamCard.-type-1 .teamCard__content {
    margin-top: 20px;
}

.teamCard.-type-1 .teamCard__title {
    min-height: 53px;
}

.side-search {
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(34, 34, 34, 0.10);
    background: #fff;
    padding: 18px 24px;
    margin-bottom: 10px;
    position: relative;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.side-search .side-search-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.side-search-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
    border-bottom: 1px solid #e8b30c;
    padding-bottom: 4px;
}

.course-date-item {
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(34, 34, 34, 0.10);
    background: #fff;
    padding: 18px 24px;
    margin-bottom: 10px;
    position: relative;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-date-item .course-date-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    /* min-height: 56px; */
}

.course-date-item .course-date-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}

.course-date-item .course-date-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 0.98rem;
    color: #555;
    flex-wrap: nowrap;
    gap: 18px;
}

.course-date-item .course-date-meta span {
    flex: 1 1 0;
    min-width: 0;
    /* text-align: center; */
    padding: 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-date-item .course-date-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Filter Sidebar */
.filter-sidebar-form .sidebar {
    max-height: 85vh;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(34, 34, 34, 0.08);
    position: relative;
    padding: 32px 22px 24px 22px;
    margin-bottom: 32px;
}

.filter-sidebar-form .sidebar::-webkit-scrollbar {
    width: 6px;
}

.filter-sidebar-form .sidebar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.filter-sidebar-form .sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.filter-sidebar-form .sidebar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Sidebar inner element styling to mirror course-date-item aesthetics */
.filter-sidebar-form .sidebar__item+.sidebar__item {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
    background: none;
}

.filter-sidebar-form .sidebar__title {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.filter-sidebar-form .sidebar-checkbox__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 10px;
    position: relative;
    transition: background .25s ease, box-shadow .25s ease;
    min-height: 38px;
}

.filter-sidebar-form .sidebar-checkbox__item:hover {
    background: #f8fafc;
    box-shadow: 0 1px 6px rgba(34, 34, 34, 0.06);
}

.filter-sidebar-form .sidebar-checkbox__title {
    font-size: .9rem;
    font-weight: 500;
    color: #222;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-sidebar-form .sidebar-checkbox__count {
    margin-left: auto;
    font-size: .75rem;
    color: #64748b;
    font-weight: 400;
}

.filter-sidebar-form .form-control {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: .9rem;
    padding: 10px 14px;
    background: #f8fafc;
    box-shadow: none;
    color: #222;
}

.filter-sidebar-form .form-control:focus {
    border-color: #cbd5e1;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, .25);
    background: #fff;
}

.filter-sidebar-form .btn.btn-primary {
    background: linear-gradient(90deg, #fffbe6, #f1f5f9);
    color: #222;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    border-radius: 14px;
    transition: box-shadow .25s ease, transform .25s ease;
    box-shadow: 0 2px 8px rgba(34, 34, 34, 0.07);
    letter-spacing: 0.5px;
    padding: 10px 0;
}

.filter-sidebar-form .btn.btn-primary:hover {
    box-shadow: 0 4px 18px rgba(34, 34, 34, 0.12);
    transform: translateY(-2px);
    background: linear-gradient(90deg, #f8fafc, #fffbe6);
}

.filter-sidebar-form .btn.btn-light {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-weight: 500;
    background: #f8fafc;
    color: #222;
    padding: 10px 0;
}

@media (max-width: 991.98px) {
    .filter-sidebar-form .sidebar {
        max-height: none;
    }
}



.pagination.-buttons {
    display: flex;
    align-items: center;
}

.pagination.-buttons>*+* {
    margin-left: 40px;
}

.pagination.-buttons .pagination__button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    width: 45px;
    border-radius: 100%;
    background-color: var(--color-light-7);
    color: var(--color-purple-1);
    transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.pagination.-buttons .pagination__button .icon {
    font-size: 12px;
}

.pagination.-buttons .pagination__button:hover {
    background-color: var(--color-purple-1);
    color: white;
}

.pagination.-buttons .pagination__count>* {
    position: relative;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    color: var(--color-dark-1);
}

.pagination.-buttons .pagination__count>*+* {
    margin-left: 30px;
}

.pagination.-buttons .pagination__count a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 16px;
    height: 2px;
    transform: translateX(-50%);
    background-color: var(--color-purple-1);
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    opacity: 0;
}

.pagination.-buttons .pagination__count a.-count-is-active {
    color: var(--color-purple-1);
}

.pagination.-buttons .pagination__count a.-count-is-active::after {
    opacity: 1;
}

.pagination.-avatars {
    display: flex;
    align-items: center;
}

.pagination.-avatars .pagination__item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination.-avatars .pagination__item::before {
    content: "";
    position: absolute;
    border-radius: 100%;
    width: 92px;
    height: 92px;
    border: 2px solid var(--color-dark-1);
    transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    opacity: 0;
}

.pagination.-avatars .pagination__item.is-active::before {
    opacity: 1;
}

.filter-sidebar-form select.form-control,
.filter-sidebar-form .form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: .9rem;
    padding: 10px 30px 10px 14px;
    color: #222;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 7px;
}

.filter-sidebar-form select.form-control:focus,
.filter-sidebar-form .form-select:focus,
.filter-sidebar-form select.form-control:active,
.filter-sidebar-form .form-select:active {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 7px;
}

.white-bordered {
    background-color: #fff;
    border: 1px solid #0f1e45 !important;
    color: #0f1e45 !important;
}

.page-header.-type-6 {
    margin-top: 10px;
    padding-top: 45px;
}

.page-header.-type-6 .page-header__bg {
    left: 0px;
    right: 0px;
}

.courses-single-info__content {
    height: auto;
    overflow-y: scroll;
}

.header .header-search {
    height: 500px;
}
.page-header.-type-4 {
    position: relative;
    margin-top: 0px;
    padding-top: 100px;
    padding-bottom: 60px;
}
.contact-form-to-top {
    position: relative;
    z-index: 5;
    margin-top: -270px;
}