/* Light visual refresh layered on top of the original theme. */
:root {
    --surface-soft: #f6f8fb;
    --surface-border: #e4e9ef;
    --text-main: #18202a;
    --text-soft: #647080;
    --shadow-soft: 0 12px 32px rgba(20, 32, 44, .08);
}

body {
    color: var(--text-main);
    background: #fff;
}

.text {
    color: var(--text-soft);
}

.header-top {
    padding: 10px 0;
    background: #17212b;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-top ul.contact-info li,
.header-top ul.contact-info a,
.header-top .social-icon li a {
    color: rgba(255, 255, 255, .78);
}

.header-top ul.contact-info li {
    font-size: 14px;
}

.header-top ul.contact-info li:before,
.header-top .social-icon {
    border-color: rgba(255, 255, 255, .14);
}

.header-top ul.contact-info a:hover,
.header-top .social-icon li a:hover {
    color: #fff;
}

.main-header .header-upper {
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--surface-border);
}

.main-header .header-upper .inner-container {
    min-height: 86px;
}

.main-header .header-upper .logo-box .logo {
    padding: 15px 0;
}

.main-header .header-upper .logo-box img {
    max-height: 56px;
    object-fit: contain;
}

.main-menu .navigation {
    margin-left: 30px;
}

.main-menu .navigation > li {
    padding: 28px 0;
    margin-right: 26px;
}

.main-menu .navigation > li > a {
    color: #25313d;
    font-size: 16px;
    font-weight: 600;
}

.main-menu .navigation > li > a:after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--brand-primary);
    opacity: 0;
    transform: scaleX(.35);
    transition: .25s ease;
}

.main-menu .navigation > li:hover > a:after,
.main-menu .navigation > li.current > a:after {
    opacity: 1;
    transform: scaleX(1);
}

.main-menu .navigation > li > ul {
    border: 1px solid var(--surface-border);
    border-radius: 6px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.main-header .header-upper .contact-info {
    margin-left: 22px;
    padding-left: 22px;
}

.main-header .header-upper .contact-info .icon {
    width: 48px;
    height: 48px;
    margin-right: 12px;
    color: var(--brand-primary);
    line-height: 48px;
    background: var(--surface-soft);
}

.main-header .header-upper .contact-info h5 {
    color: #778391;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.main-header .header-upper .contact-info h4 {
    font-size: 19px;
}

.sticky-header {
    box-shadow: 0 8px 24px rgba(20, 32, 44, .08);
}

.banner-section .swiper-slide:before {
    background: rgba(13, 22, 32, .54);
}

.banner-section .content-box h1 {
    max-width: 760px;
    font-size: 64px;
    line-height: 1.1;
}

.banner-section .content-box .text {
    max-width: 650px;
    font-size: 19px;
    line-height: 30px;
}

.btn-style-one {
    padding: 14px 28px;
    padding-right: 52px;
    border-radius: 6px;
    font-size: 16px;
    box-shadow: 0 8px 18px rgba(20, 32, 44, .12);
}

.btn-style-one:after {
    top: 14px;
}

.btn-style-one.style-three {
    padding: 12px 25px;
    padding-right: 49px;
    border-color: var(--surface-border);
    border-radius: 6px;
    box-shadow: none;
}

.btn-style-one.style-three:after {
    top: 12px;
}

.sec-title .sub-title {
    color: var(--brand-primary);
    font-size: 15px;
    font-weight: 700;
}

.sec-title h2 {
    color: var(--text-main);
    font-size: 42px;
}

.driving-courses-section.style-two {
    background: var(--surface-soft);
}

.driving-courses-section .outer-box {
    padding: 0;
    background: transparent;
}

.course-block .inner-box,
.news-block .inner-box,
.testimonial-block .inner-box,
.team-block .inner-box {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.course-block .inner-box {
    display: block;
    height: calc(100% - 20px);
}

.course-block .lower-content {
    padding: 28px 24px 25px;
}

.course-block h4 {
    margin-bottom: 12px;
    font-size: 21px;
}

.course-block .text {
    margin-bottom: 24px;
}

.home-services-carousel .owl-stage {
    display: flex;
}

.home-services-carousel .owl-item {
    display: flex;
}

.home-services-carousel .course-block,
.home-services-carousel .course-block .inner-box {
    width: 100%;
}

.driving-courses-section .home-services-carousel.owl-theme .owl-nav {
    position: relative;
    top: auto;
    right: auto;
    justify-content: center;
    margin-top: 16px;
}

.driving-courses-section .home-services-carousel.owl-theme .owl-nav .owl-prev:after,
.driving-courses-section .home-services-carousel.owl-theme .owl-nav .owl-next:after {
    color: var(--text-main);
    background: #fff;
    border-color: var(--surface-border);
    border-radius: 6px;
}

.home-services-carousel.owl-theme .owl-dots {
    margin-top: 14px;
    text-align: center;
}

.home-services-carousel.owl-theme .owl-dots .owl-dot span {
    display: block;
    width: 8px;
    height: 8px;
    margin: 0 5px;
    background: #c5ced8;
    border-radius: 50%;
    transition: .25s ease;
}

.home-services-carousel.owl-theme .owl-dots .owl-dot.active span {
    width: 22px;
    background: var(--brand-primary);
    border-radius: 6px;
}

.news-block .image {
    margin-bottom: 0;
}

.news-block .lower-content {
    padding: 22px 22px 24px;
}

.news-block .post-meta-info {
    margin-bottom: 16px;
}

.news-block .post-meta-info .category {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
}

.news-block h4 {
    margin-bottom: 25px;
    font-size: 21px;
    line-height: 28px;
}

.page-title {
    padding: 82px 0 86px;
    background-position: center;
}

.page-title:before {
    background: rgba(13, 22, 32, .6);
}

.page-title h1 {
    position: relative;
    margin-bottom: 18px;
    padding-bottom: 18px;
    font-size: 44px;
}

.page-title h1:before {
    width: 54px;
    height: 2px;
    background: var(--brand-primary);
}

.page-title .bread-crumb {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 14px;
    margin-top: 12px;
    background: rgba(12, 20, 29, .38);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
}

.page-title .bread-crumb li {
    font-size: 15px;
}

.sidebar-page-container {
    padding: 88px 0 68px;
}

.course-details {
    padding: 0 0 24px;
}

.course-details .image {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.course-details h3 {
    margin-top: 28px;
    color: var(--text-main);
    font-size: 30px;
}

.course-details .text {
    color: var(--text-soft);
    line-height: 1.8;
}

.course-details .text ul,
.course-details .text ol {
    padding-left: 22px;
    margin: 14px 0 20px;
}

.course-details .text ul {
    list-style: disc;
}

.course-details .text ol {
    list-style: decimal;
}

.course-details .text li {
    padding-left: 4px;
    margin-bottom: 7px;
}

.sidebar-style-two .widget {
    padding: 30px;
    background: var(--surface-soft);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
}

.sidebar-style-two .widget .widget-title {
    margin-bottom: 24px;
    font-size: 21px;
}

.sidebar-style-two .widget .widget-title:before {
    width: 42px;
    height: 2px;
    background: var(--brand-primary);
}

.categories-list li {
    padding-bottom: 11px;
    margin-bottom: 11px;
    border-bottom: 1px solid var(--surface-border);
}

.categories-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.categories-list li a {
    color: #344150;
}

.widget_popular_post .post {
    border-bottom-color: var(--surface-border);
}

.sidebar-style-two .widget.banner-widget.style-two {
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.contact-section {
    padding: 88px 0 52px;
    background: var(--surface-soft);
}

.contact-info-block .inner-box {
    height: 100%;
    padding: 24px 18px 28px;
    background: #fff;
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.team-section .team-block .image {
    width: 210px;
    height: 210px;
}

.team-section .team-block .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.contact-info-block .inner-box:before {
    display: none;
}

.contact-info-block .icon {
    margin-top: 4px;
    margin-bottom: 24px;
}

.contact-info-block h4 {
    font-size: 21px;
}

.contact-info-block .text,
.contact-info-block ul li {
    font-size: 18px;
    line-height: 30px;
}

.contact-form-section {
    padding: 88px 0 64px;
}

.contact-form .form-group textarea,
.contact-form .form-group input {
    border-color: var(--surface-border);
    border-radius: 6px;
}

.contact-form .form-group textarea:focus,
.contact-form .form-group input:focus {
    border-color: var(--brand-primary);
}

.main-footer {
    padding-top: 82px;
    background-color: #17212b;
    isolation: isolate;
}

.main-footer:before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: rgba(14, 23, 31, .84);
}

.main-footer .widgets-section {
    padding-bottom: 22px;
}

.main-footer .widget .widget-title {
    padding-bottom: 13px;
    margin-bottom: 22px;
    font-size: 20px;
}

.main-footer .widget .widget-title:before {
    width: 42px;
    height: 2px;
    background: var(--brand-primary);
}

.about-widget .logo img {
    max-height: 58px;
}

.about-widget .social-links li a,
.contact-widget .contact-info li .icon {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
}

.about-widget .social-links li a:before {
    border-radius: 6px;
}

.links-widget ul li {
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.links-widget ul li:last-child {
    border-bottom: 0;
}

.links-widget ul li a {
    color: rgba(255, 255, 255, .7);
}

.contact-widget .contact-info li .text,
.contact-widget .contact-info li .text a,
.about-widget .text {
    color: rgba(255, 255, 255, .7);
}

.footer-bottom {
    padding: 24px 0;
    border-top-color: rgba(255, 255, 255, .1);
    background: rgba(0, 0, 0, .12);
}

.footer-bottom .text {
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

@media only screen and (max-width: 1199px) {
    .main-menu .navigation > li {
        margin-right: 18px;
    }

    .main-header .header-upper .navbar-right {
        margin-left: 22px;
    }
}

@media only screen and (max-width: 991px) {
    .main-header .header-upper .inner-container {
        min-height: 74px;
    }

    .main-header .header-upper .logo-box .logo {
        padding: 10px 0;
    }

    .main-header .header-upper .logo-box img {
        max-width: 190px;
        max-height: 50px;
    }

    .banner-section .content-box h1 {
        font-size: 48px;
    }
}

@media only screen and (max-width: 575px) {
    .banner-section .content-box h1 {
        font-size: 34px;
        line-height: 42px;
    }

    .banner-section .content-box .text {
        font-size: 16px;
        line-height: 25px;
    }

    .sec-title h2,
    .page-title h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .driving-courses-section,
    .blog-section,
    .testimonials-section {
        padding-top: 74px;
        padding-bottom: 48px;
    }

    .course-block .lower-content {
        padding: 24px 20px;
    }

    .main-footer {
        padding-top: 64px;
    }

    .sidebar-page-container,
    .contact-form-section {
        padding-top: 68px;
        padding-bottom: 44px;
    }

    .contact-section {
        padding-top: 68px;
        padding-bottom: 32px;
    }

    .page-title {
        padding: 62px 0 66px;
    }

    .page-title h1 {
        width: 100%;
        max-width: 330px;
        margin-right: auto;
        margin-left: auto;
        font-size: 28px;
        line-height: 35px;
        white-space: normal !important;
        overflow-wrap: break-word;
    }

    .page-title .bread-crumb {
        max-width: 330px;
    }

    .page-title .bread-crumb li {
        white-space: normal;
        overflow-wrap: break-word;
    }

    .sidebar-page-container .row {
        margin-right: 0;
        margin-left: 0;
    }

    .sidebar-page-container .col-lg-8,
    .sidebar-page-container .col-lg-4,
    .sidebar-page-container .content-side,
    .sidebar-page-container .sidebar {
        flex: 0 0 100%;
        min-width: 0;
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .course-details .image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .course-details .text {
        overflow-wrap: break-word;
    }
}
