/*
Theme Name: British Study
Theme URI: https://britishstudy.tomiuk.click/
Author: Tomiuk
Author URI: https://tomiuk.click/
Description: British Study landing page theme based on the Eduon HTML template.
Version: 1.0.0
Text Domain: britishstudy
*/

:root {
    --bs-primary: #ff5421;
    --bs-primary-dark: #e94614;
    --bs-navy: #111f4d;
    --bs-text: #4d5870;
    --bs-soft: #f5f6fa;
}

.loader-wrapper,
.switch-box,
.dark-version,
.theme-switch {
    display: none !important;
}

.britishstudy-wordmark,
.britishstudy-wordmark:hover {
    align-items: center;
    color: var(--bs-navy);
    display: inline-flex;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    min-height: 52px;
}

.britishstudy-wordmark span {
    display: inline-block;
    white-space: nowrap;
}

.navbar-area.is-sticky .britishstudy-wordmark {
    color: var(--bs-navy);
}

.mobile-nav .britishstudy-wordmark {
    left: 15px;
    min-height: 50px;
    position: absolute;
    top: 5px;
}

.britishstudy-navbar .navbar-nav .nav-link {
    cursor: pointer;
}

.britishstudy-navbar .main-nav .navbar .navbar-brand.britishstudy-wordmark,
.mobile-nav .logo.britishstudy-wordmark {
    display: inline-flex !important;
    height: auto;
    max-width: none;
    opacity: 1;
    overflow: visible;
    position: relative;
    visibility: visible;
    width: auto;
    z-index: 1000;
}

.britishstudy-navbar .main-nav .navbar .navbar-brand.britishstudy-wordmark {
    color: var(--bs-navy) !important;
    flex: 0 0 auto;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin-right: 36px;
    text-indent: 0 !important;
    text-transform: none;
    transform: none !important;
}

.mobile-nav .logo.britishstudy-wordmark {
    color: var(--bs-navy);
    left: 15px;
    min-height: 50px;
    position: absolute;
    top: 5px;
}

.britishstudy-navbar .main-nav .navbar .navbar-brand.britishstudy-wordmark span,
.mobile-nav .logo.britishstudy-wordmark span {
    color: var(--bs-navy) !important;
    display: inline-block !important;
    font-size: inherit !important;
    opacity: 1 !important;
    text-indent: 0 !important;
    visibility: visible !important;
}

.britishstudy-navbar .others-option .register .default-btn {
    margin-left: 0;
}

.banner-area-two .banner-content .top-title {
    color: var(--bs-primary);
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.banner-area-two .banner-content p {
    max-width: 690px;
}

.britishstudy-hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.britishstudy-outline-btn {
    background: #ffffff;
    border: 1px solid rgba(255, 84, 33, 0.28);
    color: var(--bs-primary);
}

.britishstudy-outline-btn:hover {
    background: var(--bs-primary);
    color: #ffffff;
}

.britishstudy-hero-note {
    color: #5b6478;
    font-size: 15px;
    margin-top: 22px;
}

.britishstudy-hero-points {
    display: grid;
    gap: 10px;
    margin-top: 24px;
    max-width: 720px;
}

.britishstudy-hero-points span,
.britishstudy-check-list li {
    align-items: flex-start;
    color: var(--bs-text);
    display: flex;
    gap: 9px;
    line-height: 1.5;
}

.britishstudy-hero-points i,
.britishstudy-check-list i {
    color: var(--bs-primary);
    font-size: 20px;
    line-height: 1.35;
}

.britishstudy-about-img {
    position: relative;
}

.britishstudy-about-img img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
}

.britishstudy-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(17, 31, 77, 0.08);
    height: 100%;
    padding: 28px;
}

.britishstudy-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.britishstudy-card-image,
.britishstudy-inline-image img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    margin-bottom: 22px;
    object-fit: cover;
    width: 100%;
}

.britishstudy-inline-image {
    margin-top: 26px;
}

.britishstudy-card p:last-child {
    margin-bottom: 0;
}

.britishstudy-check-list {
    display: grid;
    gap: 11px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.britishstudy-callout {
    background: var(--bs-navy);
    border-radius: 8px;
    color: #ffffff;
    margin-top: 28px;
    padding: 26px;
}

.britishstudy-callout p {
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 18px;
}

.britishstudy-category-note {
    color: var(--bs-text);
    margin: 14px auto 30px;
    max-width: 820px;
    text-align: center;
}

.single-categories .categories-content span {
    display: block;
    line-height: 1.45;
}

.single-categories > img,
.single-course > a > img {
    object-fit: cover;
    width: 100%;
}

.single-categories > img {
    height: 245px;
}

.single-course > a > img {
    height: 235px;
}

.feedback-title img {
    object-fit: cover;
}

.britishstudy-persona .single-affordable {
    min-height: 210px;
    padding: 30px 24px;
}

.britishstudy-persona .single-affordable h3 {
    font-size: 21px;
}

.britishstudy-persona .single-affordable p {
    color: #ffffff;
    margin-bottom: 0;
}

.britishstudy-process .single-event {
    align-items: stretch;
    display: flex;
    height: 100%;
}

.britishstudy-step-number {
    align-items: center;
    background: var(--bs-primary);
    border-radius: 8px 0 0 8px;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 78px;
    font-size: 26px;
    font-weight: 800;
    justify-content: center;
}

.britishstudy-process .event-content {
    flex: 1;
}

.britishstudy-finance {
    background: var(--bs-soft);
}

.britishstudy-finance .single-feature {
    background: #ffffff;
    height: 100%;
}

.britishstudy-service-points .single-counter {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(17, 31, 77, 0.08);
    min-height: 220px;
    padding: 34px 24px;
}

.britishstudy-service-points .single-counter i {
    color: var(--bs-primary);
    display: block;
    font-size: 46px;
    margin-bottom: 18px;
}

.britishstudy-service-points .single-counter h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.britishstudy-counter .single-counter p {
    font-weight: 700;
}

.britishstudy-video-event .single-event > a {
    flex: 0 0 170px;
}

.britishstudy-video-event .single-event > a img {
    height: 100%;
    min-height: 170px;
    object-fit: cover;
    width: 100%;
}

.britishstudy-video-event .single-event .event-content p {
    margin-bottom: 0;
}

.britishstudy-video-event .event-img > img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
}

.britishstudy-mid-cta {
    background-image: linear-gradient(90deg, rgba(17, 31, 77, 0.92), rgba(255, 84, 33, 0.82)), url("assets/img/banner-img/banner-bg-3.jpg");
    background-position: center;
    background-size: cover;
    color: #ffffff;
}

.britishstudy-mid-cta h2,
.britishstudy-mid-cta p {
    color: #ffffff;
}

.britishstudy-mid-cta p {
    margin-bottom: 0;
}

.britishstudy-faq .faq-accordion {
    margin: 0 auto;
    max-width: 980px;
}

.britishstudy-contact .contact-form .section-title p {
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
}

.britishstudy-contact .wpcf7 form {
    margin-top: 20px;
}

.britishstudy-contact .wpcf7 p,
.britishstudy-popup .wpcf7 p {
    margin-bottom: 16px;
}

.britishstudy-contact .wpcf7 label,
.britishstudy-popup .wpcf7 label {
    color: var(--bs-navy);
    display: block;
    font-weight: 600;
    width: 100%;
}

.britishstudy-contact .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.britishstudy-contact .wpcf7 select,
.britishstudy-contact .wpcf7 textarea,
.britishstudy-popup .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.britishstudy-popup .wpcf7 select,
.britishstudy-popup .wpcf7 textarea {
    background: #f7f8fb;
    border: 1px solid #e2e6ef;
    border-radius: 4px;
    color: #111f4d;
    min-height: 54px;
    padding: 13px 15px;
    width: 100%;
}

.britishstudy-contact .wpcf7 textarea,
.britishstudy-popup .wpcf7 textarea {
    min-height: 120px;
}

.britishstudy-contact .wpcf7 input[type="submit"],
.britishstudy-popup .wpcf7 input[type="submit"] {
    background: var(--bs-primary);
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    min-height: 54px;
    padding: 12px 30px;
    transition: background 180ms ease;
}

.britishstudy-contact .wpcf7 input[type="submit"]:hover,
.britishstudy-popup .wpcf7 input[type="submit"]:hover {
    background: var(--bs-primary-dark);
}

.britishstudy-contact .wpcf7-spinner,
.britishstudy-popup .wpcf7-spinner {
    vertical-align: middle;
}

.iti {
    width: 100%;
}

.iti__flag-container {
    z-index: 5;
}

.britishstudy-contact .iti input,
.britishstudy-popup .iti input {
    padding-left: 92px !important;
}

.britishstudy-popup {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 24px;
    pointer-events: none;
    position: fixed;
    transition: opacity 180ms ease;
    z-index: 99999;
}

.britishstudy-popup.open {
    opacity: 1;
    pointer-events: auto;
}

.britishstudy-popup-overlay {
    background: rgba(8, 16, 38, 0.74);
    inset: 0;
    position: absolute;
}

.britishstudy-popup-dialog {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
    max-height: calc(100vh - 48px);
    max-width: 720px;
    overflow-y: auto;
    padding: 38px;
    position: relative;
    width: min(720px, 100%);
}

.britishstudy-popup-close {
    align-items: center;
    background: var(--bs-primary);
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    font-size: 28px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 42px;
}

.britishstudy-popup-active {
    overflow: hidden;
}

.footer-widget .footer-description {
    color: rgba(255, 255, 255, 0.75);
}

.footer-widget .footer-disclaimer {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.65;
    margin-top: 16px;
}

@media (max-width: 991px) {
    .britishstudy-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .britishstudy-step-number {
        border-radius: 8px 0 0 8px;
        flex-basis: 64px;
    }

    .britishstudy-video-event .single-event > a {
        flex-basis: 135px;
    }
}

@media (max-width: 767px) {
    .britishstudy-wordmark {
        font-size: 23px;
    }

    .britishstudy-popup-dialog {
        padding: 28px 20px;
    }

    .britishstudy-popup-close {
        right: 10px;
        top: 10px;
    }
}
