#header i {
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
}

.swiper-pagination {
    top: unset !important;
    bottom: -60px !important;
}

.map_flags {
    margin-bottom: 30px;
    justify-content: space-around;
}

.map_flags i {
    font-size: 31px;
    margin-left: 5px;
}


/*mobile media screen*/
@media (max-width: 991px) {
    .map_flags a {
        margin: 5px;
    }
}

.floating-icons {
    position: fixed;
    bottom: 80px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.floating-icon.whatsapp {
    background-color: #25D366;
}

.floating-icon.telegram {
    background-color: #0088cc;
}

.floating-icon.faq {
    background-color: #cf7c00;
}

.floating-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

#stats .col {
    background-color: #000;
    color: #fff;
    padding: 5px;
    border-radius: 10px;
    margin-right: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

#stats .col:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background-color: #b20000;
}

#stats .col i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

#stats .col strong {
    font-size: 18px;
    font-weight: bold;
}

#stats .col span {
    font-size: 14px;
    display: block;
}

.preview-card {
    position: relative;
    margin: 15px;
    background: #fff;
    box-shadow: 0px 3px 10px rgba(34, 35, 58, 0.2);
    padding: 30px 25px 30px;
    border-radius: 25px;
    transition: all 0.3s;
}

@media screen and (max-width: 992px) {
    .preview-card {
        height: auto;
    }
}

@media screen and (max-width: 768px) {
    .preview-card {
        min-height: 500px;
        height: auto;
        margin: 120px auto;
    }
}

@media screen and (max-height: 500px) and (min-width: 992px) {
    .preview-card {
        height: auto;
    }
}

.preview-card__item {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .preview-card__item {
        flex-direction: column;
    }
}

.preview-card__item.swiper-slide-active .blog-slider__img img {
    opacity: 1;
    transition-delay: 0.3s;
}

.preview-card__item.swiper-slide-active .blog-slider__content>* {
    opacity: 1;
    transform: none;
}

.preview-card__item.swiper-slide-active .blog-slider__content>*:nth-child(1) {
    transition-delay: 0.3s;
}

.preview-card__item.swiper-slide-active .blog-slider__content>*:nth-child(2) {
    transition-delay: 0.4s;
}

.preview-card__item.swiper-slide-active .blog-slider__content>*:nth-child(3) {
    transition-delay: 0.5s;
}

.preview-card__item.swiper-slide-active .blog-slider__content>*:nth-child(4) {
    transition-delay: 0.6s;
}

.preview-card__item.swiper-slide-active .blog-slider__content>*:nth-child(5) {
    transition-delay: 0.7s;
}

.preview-card__item.swiper-slide-active .blog-slider__content>*:nth-child(6) {
    transition-delay: 0.8s;
}

.preview-card__item.swiper-slide-active .blog-slider__content>*:nth-child(7) {
    transition-delay: 0.9s;
}

.preview-card__item.swiper-slide-active .blog-slider__content>*:nth-child(8) {
    transition-delay: 1s;
}

.preview-card__item.swiper-slide-active .blog-slider__content>*:nth-child(9) {
    transition-delay: 1.1s;
}

.preview-card__item.swiper-slide-active .blog-slider__content>*:nth-child(10) {
    transition-delay: 1.2s;
}

.preview-card__item.swiper-slide-active .blog-slider__content>*:nth-child(11) {
    transition-delay: 1.3s;
}

.preview-card__item.swiper-slide-active .blog-slider__content>*:nth-child(12) {
    transition-delay: 1.4s;
}

.preview-card__item.swiper-slide-active .blog-slider__content>*:nth-child(13) {
    transition-delay: 1.5s;
}

.preview-card__item.swiper-slide-active .blog-slider__content>*:nth-child(14) {
    transition-delay: 1.6s;
}

.preview-card__item.swiper-slide-active .blog-slider__content>*:nth-child(15) {
    transition-delay: 1.7s;
}

.preview-card__img {
    position: relative;
    width: 300px;
    flex-shrink: 0;
    height: 300px;
    border-radius: 20px;
    transform: translateX(-20px);
    overflow: hidden;
}


.preview-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    border-radius: 20px;
    transition: all 0.3s;
}

@media screen and (max-width: 768px) {
    .preview-card__img {
        transform: translateY(-50%);
        width: 90%;
    }
}

@media screen and (max-width: 576px) {
    .preview-card__img {
        width: 95%;
    }
}

@media screen and (max-height: 500px) and (min-width: 992px) {
    .preview-card__img {
        height: 270px;
    }
}

.preview-card__content {
    padding-right: 25px;
}

@media screen and (max-width: 768px) {
    .preview-card__content {
        margin-top: -80px;
        text-align: center;
        padding: 0 30px;
    }
}

@media screen and (max-width: 576px) {
    .preview-card__content {
        padding: 0;
    }
}

.preview-card__content>* {
    transform: translateY(25px);
    transition: all 0.4s;
}

.preview-card__code {
    color: #7b7992;
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
}

.preview-card__title {
    font-size: 24px;
    font-weight: 700;
    color: #0d0925;
    margin-bottom: 20px;
}

.preview-card__text {
    color: #4e4a67;
    margin-bottom: 30px;
    line-height: 1.5em;
}

.preview-card__button {
    display: inline-flex;
    background-image: linear-gradient(147deg, #000 0%, #000 74%);
    padding: 15px 35px;
    margin-bottom: 30px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    text-align: center;
    letter-spacing: 1px;
}

.preview-card__button:hover {
    color: #989898;
    text-decoration: none;
}

@media screen and (max-width: 576px) {
    .preview-card__button {
        width: 100%;
    }
}

.office-box-row {
    width: 100%;
    text-align: center;
}

.office-time-box {
    border-radius: 4px;
    display: inline-block;
    color: #fff;
    background-color: #101010;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    width: 17%;
    height: 72px;
    margin: 2px;
    padding: 10px;
}

.office-time-box:hover {
    background-color: #900;
    cursor: pointer;
}

.office-time-box-icon {
    display: inline;
    float: left;
    width: 32px;
    color: #fff;
}

.office-time-box-content {
    display: inline;
    float: left;
    text-align: left;
    margin-left: 10px;
}

.office-time-box-icon img {
    width: 32px;
    margin-top: 5px;
    margin-bottom: 0;
}

.office-time-box-content p {
    color: #fff;
    font-size: 14px;
    margin-bottom: 3px;
}

.office-time-box-content span {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
}

.office-time-box-content span.suport-box {
    font-size: 13px;
}

/*mobile media screen*/
@media (max-width: 991px) {
    .office-time-box {
        width: 48%;
        margin-bottom: 10px;
    }

    .office-time-box-icon {
        float: unset;
        text-align: center;
    }

    .office-time-box {
        height: 100%;
    }
}

.counter {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
}


.counter .time {
    background-color: #b90d0d;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 6px 10px;
    font-size: 20px;
    border-radius: 5px;
}

@media (max-width: 991px) {
    .counter {
        display: none;
    }
}

.counter span {
    font-size: 48px;
    color: #3d3535;
    font-weight: bold;
    line-height: 1.2;
}

.counter.counter-expired {
    color: #dc3545;
    font-weight: bold;
}

.custom-tabs .nav-link {
    color: #495057;
    font-weight: bold;
    border: 2px solid transparent;
    border-radius: 5px;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
}

.custom-tabs .nav-link.active {
    background-color: #cc1616;
    color: #fff;
    border-color: #cc1616;
}

.custom-tabs .nav-link:hover {
    background-color: #f8f9fa;
    color: #cc1616 !important;
    border-color: #cc1616;
}


.showcase {
    width: 100%;
    height: 300px;
    position: relative;
    color: white;
}

.showcase img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99
}

.showcase .overlay {
    width: 100%;
    height: 500px;
    background-color: rgba(0, 35, 82, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 15px;
}

.showcase h2 {
    margin-top: 30px;
    font-size: 2.3em;
    color: #fff;
}

.showcase p {
    margin-top: 8px;
    font-size: 1.2em;
}


.btn-custom-danger {
    background: var(--accent-color);
    color: var(--contrast-color);
    font-family: var(--heading-font);
}

.btn-custom-danger:hover {
    background-color: #000 !important;
    color: #fff !important;
}

.btn-custom-dark {
    background: #000;
    color: #fff;
}

.btn-custom-dark:hover {
    background-color: var(--accent-color);
    color: #fff;
}



.btn-custom-outline-dark {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-custom-outline-dark:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.btn-custom-outline-dark-new {
    background: transparent;
    color: #ffffff;
    border: 2px solid var(--accent-color);
    padding: 10px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    z-index: 2;
}

.btn-custom-outline-dark-new:hover {
    background-color: var(--accent-color);
    color: #fff !important;
    border-color: var(--accent-color);
    text-decoration: none;
}


/*********************8*/


.join-section {
    position: relative;
    padding: 120px 0 70px;
}

.join-section .sec-title {
    margin-bottom: 45px;
}

.join-section .content-column {
    position: relative;
    margin-bottom: 50px;
}

.join-section .content-column .inner-column {
    position: relative;
    padding-left: 30px;
}

.join-section .text {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 26px;
    color: #848484;
    font-weight: 400;
}

.join-section .list-style-one {
    margin-bottom: 45px;
}

.join-section .btn-box {
    position: relative;
}

.join-section .btn-box a {
    padding: 15px 50px;
}

.join-section .image-column {
    position: relative;
}

.join-section .image-column .text-layer {
    position: absolute;
    right: -110px;
    top: 50%;
    font-size: 325px;
    line-height: 1em;
    color: #ffffff;
    margin-top: -175px;
    font-weight: 500;
}

.join-section .image-column .inner-column {
    position: relative;
    padding-left: 80px;
    padding-bottom: 0px;
}

.join-section .image-column .inner-column .author-desc {
    position: absolute;
    bottom: 16px;
    z-index: 1;
    background: orange;
    padding: 10px 15px;
    left: 96px;
    width: calc(100% - 152px);
    border-radius: 50px;
}

.join-section .image-column .inner-column .author-desc h2 {
    font-size: 21px;
    letter-spacing: 1px;
    text-align: center;
    color: #fff;
    margin: 0;
}

.join-section .image-column .inner-column .author-desc span {
    font-size: 16px;
    letter-spacing: 6px;
    text-align: center;
    color: #fff;
    display: block;
    font-weight: 400;
}

.join-section .image-column .inner-column:before {
    content: '';
    position: absolute;
    width: calc(50% + 80px);
    height: calc(100% + 160px);
    top: -80px;
    left: -3px;
    background: transparent;
    z-index: 0;
    border: 44px solid #515151;
}

.join-section .image-column .image-1 {
    position: relative;
}

.join-section .image-column .image-2 {
    position: absolute;
    left: 0;
    bottom: 0;
}

.join-section .image-column .image-2 img,
.join-section .image-column .image-1 img {
    box-shadow: 0 30px 50px rgba(8, 13, 62, .15);
    border-radius: 46px;
}

.join-section .image-column .video-link {
    position: absolute;
    left: 70px;
    top: 170px;
}

.join-section .image-column .video-link .link {
    position: relative;
    display: block;
    font-size: 22px;
    color: #191e34;
    font-weight: 400;
    text-align: center;
    height: 100px;
    width: 100px;
    line-height: 100px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 30px 50px rgba(8, 13, 62, .15);
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.join-section .image-column .video-link .link:hover {
    background-color: #191e34;
    color: #fff
}


.s-soft {
    position: fixed;
    top: 60px;
    right: 10px;
    z-index: 10000000000;
    transition: all linear 0.2s;
}

/* Hide social bar when mobile menu is open so it doesn't overlap the menu */
@media (max-width: 1199px) {
    body.mobile-nav-active .s-soft {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
}

.s-soft a:first-child {
    border-radius: 0 5px 0 0;
}

.s-soft a:last-child {
    border-radius: 0 0 5px 0;
}

.s-item {
    width: 40px;
    height: 50px;
    color: white;
    font-size: 25px;
    line-height: 60px;
    text-align: center;
    transition: all linear 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.s-item:hover {
    width: 110px;
    border-radius: 0px 20px 20px 0px;
}

#so-open {
    position: fixed;
    top: 100px;
    right: -90px;
    border-radius: 0 30px 30px 0;
    transition: all linear 0.2s;
}

a:hover.s-item {
    color: #fff !important;
}

.facebook {
    background-color: #3b5999;
}

.twitter {
    background-color: #000;
}

.tiktok {
    background-color: #000;
}

.print {
    background-color: #de3c7d;
}

.pinterest {
    background-color: #BD081C;
}

.linkedin {
    background-color: #0e76a8;
}

.instagram {
    background-color: #c32aa3;
}

.vk {
    background: #4c75a3;
}

.youtube {
    background: #ff0000;
}

.so-collapse {
    right: -60px;
    cursor: pointer;
}

.f-p {
    font-size: 20px;
}

.text-justify {
    text-align: justify;
}

.subtitle {
    font-size: 18px;
}


/*--------------------------------------------------------------
# Partners Section
--------------------------------------------------------------*/
.clients .swiper-slide img {
    opacity: 0.5;
    transition: 0.3s;
    filter: grayscale(100);
    width: 100px;
}

.clients .swiper-slide img:hover {
    filter: none;
    opacity: 1;
}

.swiper-wrapper {
    height: auto !important;
}


.swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 1;
    background-color: #ccc;
}

.swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}


/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs .nav-tabs {
    border: 0;
}

.tabs .nav-link {
    color: var(--heading-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    padding: 15px 20px;
    transition: 0.3s;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100%;
}

.tabs .nav-link i {
    padding-right: 15px;
    font-size: 48px;
}

.tabs .nav-link h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.tabs .nav-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.tabs .nav-link.active {
    background: var(--accent-color);
    color: var(--contrast-color);
    border-color: var(--accent-color);
}

.tabs .nav-link.active h4 {
    color: var(--contrast-color);
}

@media (max-width: 768px) {
    .tabs .nav-link i {
        padding: 0;
        line-height: 1;
        font-size: 36px;
    }
}

@media (max-width: 575px) {
    .tabs .nav-link {
        padding: 15px;
    }

    .tabs .nav-link i {
        font-size: 24px;
    }
}

.tabs .tab-content {
    margin-top: 30px;
}

.tabs .tab-pane h3 {
    color: var(--heading-color);
    font-weight: 700;
    font-size: 26px;
}

.tabs .tab-pane ul {
    list-style: none;
    padding: 0;
}

.tabs .tab-pane ul li {
    padding-bottom: 10px;
}

.tabs .tab-pane ul i {
    font-size: 20px;
    padding-right: 4px;
    color: var(--accent-color);
}

.tabs .tab-pane p:last-child {
    margin-bottom: 0;
}


.dark-background {
    --background-color: #1b1b1b;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #353535;
    --contrast-color: #ffffff;
}

.section-bg {
    background-color: transparent;
    padding: 160px 0;
    position: relative;
}

.section-bg:before {
    content: "";
    background-color: var(--background-color);
    position: absolute;
    bottom: 60px;
    top: 60px;
    left: 0;
    right: 0;
    transform: skewY(-3deg);
}

.section-bg .container {
    position: relative;
}


/** Section **/


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.test_about_day .content h3 {
    font-weight: 700;
    font-size: 34px;
    margin-bottom: 30px;
}

.test_about_day .content p {
    margin-bottom: 30px;
}

.test_about_day .content .about-btn {
    padding: 8px 30px 9px 30px;
    color: var(--default-color);
    border-radius: 50px;
    transition: 0.3s;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--accent-color);
}

.test_about_day .content .about-btn i {
    font-size: 16px;
    padding-left: 5px;
}

.test_about_day .content .about-btn:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.test_about_day .icon-box i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.test_about_day .icon-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.test_about_day .icon-box h4 a {
    color: var(--heading-color);
    transition: 0.3s;
}

.test_about_day .icon-box p {
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 0;
}

.test_about_day .icon-box:hover h4 a {
    color: var(--accent-color);
}


/**/

#networkTabs {
    border: 0
}

#networkTabs .nav-link {
    color: #fff !important;
}

#networkTabs .nav-link:hover {
    color: #cc1616 !important;
}

.offers-swiper img {
    height: 420px !important;
    width: 100%;
}

.events-swiper img {
    height: 420px !important;
    width: 100%;
}

@media (max-width: 991px) {
    .offers-swiper img {
        height: 320px !important;
    }

    .events-swiper img {
        height: 320px !important;
    }
}

/**/

.stats-container {
    background: linear-gradient(135deg, #343a40, #212529);
    color: #ffffff;
    padding: 3px;
    border-radius: 20px;
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    height: 124px;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 auto;
    min-width: 120px;
    padding: 2px;
}

.stat-item .icon {
    font-size: 25px;
    color: #ced4da;
}

.stat-item .title {
    font-size: .8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.stat-item .value {
    font-size: 23px;
    font-weight: 700;
    color: #e9ecef;
}

@media (max-width: 768px) {
    .stats-container {
        padding: 20px;
    }

    .stat-item {
        min-width: 100px;
        padding: 10px 0;
    }

    .stat-item .icon {
        font-size: 3rem;
        margin-bottom: 10px;
    }

    .stat-item .title {
        font-size: 0.9rem;
    }

    .stat-item .value {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .stats-container {
        flex-direction: column;
        gap: 15px;
        height: auto;
        padding: 10px 15px;
    }

    .stat-item {
        width: 100%;
        min-width: unset;
    }
}

/* General styling for the CEFR container and items */
.cefr-container {
    max-width: 800px;
    /* Adjust as needed */
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    /* Ensures borders/shadows are contained */
}

.cefr-item {
    border-bottom: 1px solid #eee;
    background-color: #fff;
    position: relative;
    /* For positioning the toggle icon */
}

.cefr-item:last-child {
    border-bottom: none;
    /* No border on the last item */
}

.cefr-item h3 {
    padding: 15px 40px 15px 20px;
    /* Adjust padding for icon */
    margin-bottom: 0;
    cursor: pointer;
    background-color: #f8f9fa;
    /* Light background for headers */
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    color: #333;
    font-size: 1.25rem;
    /* Adjust font size */
}

.cefr-item h3:hover {
    background-color: #e2e6ea;
}

.cefr-item.cefr-active h3 {
    background-color: #e9ecef;
    /* Slightly darker when active */
}


.cefr-item h3 .num {
    background-color: #728FCE;
    /* Blue background for number */
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9em;
    margin-right: 15px;
    flex-shrink: 0;
    /* Prevent number from shrinking */
}

.cefr-content {
    padding: 20px;
    display: none;
    /* Hidden by default, JavaScript will show */
    background-color: #fdfdfe;
}

.cefr-content p {
    margin-bottom: 1em;
    line-height: 1.6;
}

.cefr-content p:last-child {
    margin-bottom: 0;
}

.cefr-content span {
    display: block;
    /* Ensures it takes full width */
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #555;
}

/* Toggle Icon Styling */
.cefr-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    transition: transform 0.3s ease;
    color: #6c757d;
}

.cefr-item.cefr-active .cefr-toggle {
    transform: translateY(-50%) rotate(90deg);
    /* Rotate when active */
}

.cefr-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    /* Adjust font if needed */
}

.cefr-table th {
    background-color: #728FCE;
    /* Darker blue for header */
    color: white;
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
}

.cefr-table td {
    text-align: center;
    padding: 8px;
    border: 1px solid #ddd;
}

.cefr-table tbody tr:nth-child(even) {
    background-color: #D9E2F3;
    /* Lighter blue for even rows */
}

.cefr-table tbody tr:nth-child(odd) {
    background-color: #EBF1DE;
    /* Very light blue/off-white for odd rows */
}

.cefr-table tbody td:first-child {
    font-weight: bold;
}

.btn-play {
    font-size: 4rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 10;
}

.btn-play:hover {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.links-after-network a {
    font-size: 18px;
    color: #fff !important;
}

.links-after-network a:hover {
    color: #ccc !important;
    text-decoration: underline;
}

@media (min-width: 1200px) {
    .navmenu .dropdown ul {
        right: 2px;
        left: auto;
    }
}

#footer a {
    color: #fff !important;
}

#footer a:hover {
    color: #777 !important;
}

.footer-wrap {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 1050;
}

.ets-flags {
    margin-top: 30px;
    justify-content: space-around;
    gap: 30px;
}

.ets-flags i {
    font-size: 31px;
    margin-left: 5px;
}

.decs-html {
    word-break: break-word !important;
    width: 100% !important;
}

.decs-html div,
.decs-html p,
.decs-html span {
    word-break: break-word !important;
    width: 100% !important;
}

#library a {
    color: #fff !important;
}

#library a:hover {
    color: #cc1616 !important;
    text-decoration: underline;
}

.scroll_text {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

.map-legend {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-marker {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
}

.legend-marker.main-office {
    background: #cc1616;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.legend-marker.authorized-office {
    background: #007bff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.legend-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Offer media (special slider + detail modal): photo / video / PDF tabs */
.offer-site-media {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #f4f4f5;
}

.offer-site-media--empty {
    background: #f4f4f5 linear-gradient(135deg, #ececef 0%, #f8f8f9 100%);
}

/* Bottom-centered strip: keeps the hero unobstructed; gradient aids contrast on busy photos */
.offer-site-media__tabs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0.5rem 0.6rem;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.12) 70%, transparent 100%);
}

.offer-site-media__tab {
    border: 0;
    padding: 0.2rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #495057;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    line-height: 1.2;
}

.offer-site-media__tab:hover {
    background: #fff;
    color: #212529;
}

.offer-site-media__tab.active {
    background: #212529;
    color: #fff;
}

.offer-site-media__lightbox-img {
    cursor: zoom-in;
}

.offer-site-media__pane--video {
    position: absolute;
    inset: 0;
}

.offer-site-media__video-expand {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    line-height: 1;
}

.offer-site-media__video-expand:hover {
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
}

.offer-site-media__video-expand:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.offer-site-media__panes {
    position: absolute;
    inset: 0;
}

.offer-site-media__pane {
    display: none;
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
}

.offer-site-media__pane.is-active:not(.offer-site-media__pane--pdf) {
    display: block;
}

.offer-site-media__pane--pdf.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #f4f4f5;
}

.offer-site-media__pane--pdf .offer-site-media__pdf-panel {
    text-align: center;
    max-width: 22rem;
}

.offer-site-media__pdf-icon {
    font-size: 2.5rem;
    color: #c92a2a;
}

.offer-site-media__pdf-title {
    font-weight: 600;
    margin: 0.5rem 0 0;
    color: #212529;
}

.offer-site-media__pane img,
.offer-site-media__pane video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #000;
}

/* Offer share row (special cards + detail modal) */
.offer-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    margin-bottom: 0.75rem;
}

.offer-share__label {
    font-size: 0.75rem;
    color: #868e96;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 0.15rem;
}

.offer-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    line-height: 1;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.offer-share__btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    color: #fff;
}

.offer-share__btn--fb {
    background: #1877f2;
}

.offer-share__btn--tw {
    background: #000;
}

.offer-share__btn--li {
    background: #0a66c2;
}

.offer-share__btn--wa {
    background: #25d366;
}

/* Special offer card: offers slider + offer detail modal (same layout) */
.special-offer-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-height: 220px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.special-offer-card__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
}

.offer-details-modal .special-offer-card--modal-detail {
    max-width: 100%;
    margin: 0;
    box-shadow: none;
}

.special-offer-card__media {
    flex: 0 0 40%;
    max-width: 40%;
    min-width: 180px;
    min-height: 220px;
    align-self: stretch;
    position: relative;
    background: #f4f4f5;
    overflow: hidden;
    border-radius: 1.25rem 0 0 1.25rem;
}

.special-offer-card__media .offer-site-media__pane img,
.special-offer-card__media .offer-site-media__pane video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.special-offer-card__body {
    flex: 1 1 55%;
    min-width: 0;
    padding: 1.75rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

.special-offer-card__title,
.special-offer-card__desc {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.special-offer-card__desc-wrap {
    flex-shrink: 0;
    min-width: 0;
    width: 100%;
    height: 6.75rem;
    max-height: 6.75rem;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 1rem;
    padding-right: 0.35rem;
    -webkit-overflow-scrolling: touch;
}

.special-offer-card__desc-wrap--empty {
    overflow: hidden;
    pointer-events: none;
}

.special-offer-card__desc {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.5;
    margin-bottom: 0;
    white-space: pre-wrap;
}

.special-offer-card__label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.special-offer-card__date {
    font-size: 0.95rem;
    color: #868e96;
    margin-bottom: 0.75rem;
}

.special-offer-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.special-offer-card__btn {
    align-self: flex-start;
    border-radius: 999px;
    padding: 0.55rem 1.75rem;
    font-weight: 600;
}

.special-offer-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
    margin-top: auto;
    padding-top: 1rem;
}

.special-offer-card__actions .special-offer-card__btn.btn-outline-dark {
    color: #1a1a2e;
    border-width: 2px;
    background: #fff;
}

.special-offer-card__actions .special-offer-card__btn.btn-outline-dark:hover {
    color: #fff;
    background: #1a1a2e;
    border-color: #1a1a2e;
}

.special-offer-card__actions .dropdown .special-offer-card__btn.dropdown-toggle {
    display: inline-flex;
    align-items: center;
}

/* Photo / Video / PDF tabs below Book now + More details (offers slider only) */
.special-offer-card__body .offer-site-media__tabs--in-body {
    position: static;
    inset: auto;
    z-index: auto;
    justify-content: flex-start;
    gap: 0.35rem;
    margin-top: 0.85rem;
    margin-bottom: 0;
    padding: 0;
    background: none;
    flex-shrink: 0;
}

.services.section .special-offer-card__body .counter,
.offer-details-modal .special-offer-card__body .counter {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    margin: 0.25rem 0 0.75rem;
    padding-top: 0.35rem;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .services.section .special-offer-card__body .counter .time,
    .offer-details-modal .special-offer-card__body .counter .time {
        font-size: 16px;
        padding: 5px 8px;
    }

    .services.section .special-offer-card__body .counter span,
    .offer-details-modal .special-offer-card__body .counter span {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .special-offer-card__inner {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .special-offer-card {
        max-width: 100%;
    }

    .special-offer-card__media {
        flex: none;
        width: 100%;
        max-width: none;
        min-height: 200px;
        /* Tall enough that object-fit: contain can show full-width promos without tiny thumbnails */
        height: min(52vw, 320px);
        align-self: auto;
        border-radius: 1.25rem 1.25rem 0 0;
    }

    /* Show the full asset on small screens (cover was cropping wide banners) */
    .special-offer-card__media .offer-site-media__pane img,
    .special-offer-card__media .offer-site-media__pane video {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        background: #f4f4f5;
    }

    /* Description uses the same fixed height + scroll as desktop (see .special-offer-card__desc-wrap) */
}

/* HTML5 offer video modal: bounded box so tall/wide assets do not overflow the viewport */
.offer-html5-video-modal__dialog {
    --offer-video-modal-max-h: min(82vh, 720px);
    --offer-video-modal-max-w: min(960px, 94vw);
    width: var(--offer-video-modal-max-w);
    max-width: var(--offer-video-modal-max-w);
    max-height: var(--offer-video-modal-max-h);
    margin: 0.75rem auto;
}

.offer-html5-video-modal__dialog .modal-content {
    max-height: var(--offer-video-modal-max-h);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.offer-html5-video-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-html5-video-modal__dialog #offerHtml5VideoModalPlayer {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: calc(var(--offer-video-modal-max-h) - 3.5rem);
    object-fit: contain;
}

/* Lightbox: fullscreen on small viewports leaves no backdrop to tap — need an explicit close control */
#imageModal .image-modal__close {
    position: absolute;
    top: max(0.5rem, env(safe-area-inset-top, 0px));
    right: max(0.5rem, env(safe-area-inset-right, 0px));
    z-index: 1060;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(33, 37, 41, 0.88);
    color: #fff;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

#imageModal .image-modal__close:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.9);
}

#imageModal .image-modal__close:focus-visible {
    color: #fff;
    outline: 2px solid #fff;
    outline-offset: 2px;
}