@font-face {
    font-family: 'Crimson Pro';
    src: url('fonts/CrimsonPro-Regular.woff2') format('woff2'),
        url('fonts/CrimsonPro-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}


body,
html {
    font-family: 'DM Sans', sans-serif !important;
    font-style: normal;
    font-optical-sizing: auto;
    overflow-x: hidden;
    position: relative;
}

/* header start */
.header-facebook {
    height: 30px;
    width: 30px;
    object-fit: cover;
}

.top-bar {
    background-color: #e71729;
    color: #fff;
    padding: 5px 0;
    font-size: 1rem;
    position: relative;
}

.top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.top-bar a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.logo {
    max-height: 90px;
}

.call-icon {
    height: 17px;
    width: 17px;
}

.text-blue {
    color: #16377e;
}

.text-red {
    color: #e71729;
}

.tel-link {
    text-decoration: none;
    color: #e71729;
}

.tel-link:hover {
    color: #000;
}

.navbar {
    background-color: #16377e;
}

.navbar-nav .nav-link {
    color: #fff !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.nav-item:hover {
    background-color: #e71729 !important;
    color: #fff !important;
}

#mobileMenu {
    width: 100% !important;
    max-width: 100%;
}

.navbar-toggler-icon {
    background-image: url("../images/navbar-toggler-icon.png") !important;
}

.about-us-links {
    display: none;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff !important;
    text-decoration: none !important;
    background-color: #e71729 !important;
}

/* header end */


/* footer start */
.main-footer {
    background-color: #ffffff;
    color: #181818;
    padding: 40px 0;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links-col h5 {
    font-size: 20px;
    font-weight: 400;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


.footer-links-col ul li a {
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    color: #181818;
    transition: color 0.3s ease;
}

.footer-links-col ul li a:hover {
    color: #e71729;
}

.footer-bottom-bar {
    background-color: #16377e;
    color: #fff;
    padding: 15px 0;
    font-size: 0.85rem;
    text-align: center;
}

.footer-bottom-bar a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-bar a:hover {
    color: #e71729;
}

/* footer end */

/* index page hero section start */
.hero-section {
    background: url('../images/background-image.jpg') no-repeat center center/cover;
    /* height: 110vh; */
    height: 80vh;
    min-height: 400px;
    color: #fff;
    display: flex;
    align-items: center;
    position: relative;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-heading-main {
    font-size: 4rem;
    line-height: 1.2;
}

.hero-button {
    background-color: #e71729;
    color: #fff;
    border: none;
    padding: 5px 40px;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: transparent;
    border: 1px solid #e71729;
}

/* index page hero section end */


/* index page second hero section start */
.hero-second-section {
    background-color: #e71729;
    color: #ffffff;
    position: relative;
}

/* index page second hero section end */


/* index page house with garage section start */
.house-with-garage {
    padding-left: 165px !important;
}

.house-with-garage-title {
    font-size: 35px;
    font-weight: 400;
    color: #ea141f;
}

.house-with-garage-second-title {
    font-size: 40px;
    font-weight: 700;
    color: #16377e;
}

.house-with-garage-description-description {
    color: rgb(0 0 0 / 73%);
    margin-bottom: 1.5rem;
    font-size: 14px;
}

.house-with-garage-image img {
    width: 100%;
    border-radius: 0px;
    object-fit: cover;
    height: 600px;
}

.about-grimston-garages:hover {
    color: #e71729;
}

/* index page house with garage section end */


/* index page which trusted trader section start */
.trusted-logo {
    height: 150px !important;
    border-radius: 50%;
    border: 4px solid #e71829;
    padding: 5px;
    max-width: 100%;
}

.trusted-text {
    font-size: 1rem;
    color: #000;
    opacity: 0.8;
    line-height: 1.6;
}

/* index page which trusted trader section end */


/* index page service section start */
.our-services-section {
    background-color: #ffffff;
}

.service-title,
.customers-say-title {
    font-size: 35px;
    color: #16377e;
    font-weight: 500;

}

.underline {
    width: 50px;
    height: 3px;
    background-color: #e71829;
}

.service-card,
.customers-say-card {
    background-color: transparent;
    border-radius: 0;
    overflow: hidden;
}

.customers-say-card {
    /* box-shadow: -1px 0px 6px 1px rgba(0, 0, 0, 0.1); */
    box-shadow: inset 0px 0px 0px 1px rgb(0 0 0 / 10%);
    height: 280px;
    display: flex;
}

.customers-say-content {
    padding: 30px 30px;
    align-self: anchor-center;
}

.service-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 40px 0px !important;
}

.split-bg {
    background: linear-gradient(to bottom, #ffffff 30%, #16377e 30%);
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

.split-bg-red {
    background: #e71829;
}

/* index page service section end */


/* index page our garage doors section start */
.our-garage-doors-bg {
    background-color: #eeeeee;
}

.our-garage-doors-bg .card {
    box-shadow: 0 0px 10px rgb(0 0 0 / 35%);
}

.our-garage-doors-bg .card-title {
    color: #16377e;
    font-weight: 500;
}

.our-garage-doors-bg .btn-info-red,
.timber-doors-section .btn-info-red {
    background-color: #e71829;
    border: none;
    border-radius: 0px;
    color: #ffffff;
    padding: 5px 30px;
}

.our-garage-doors-bg .btn-info-red:hover,
.timber-doors-section .btn-info-red:hover {
    background-color: #ffffff;
    border: 1px #b0101b solid;
    color: #b0101b;
}

.our-garage-doors-bg .card-img-top,
.timber-doors-section .card-img-top {
    height: 250px;
    object-fit: cover;
}

.our-garage-doors-p {
    width: 50%;
}

/* index page our garage doors section end */

/* contact us page start */

.form-control {
    background-color: #fff !important;
    padding: .375rem .75rem !important;
    font-size: 14px !important;
}

.contact-us-form-control,
.contact-us-textarea-form-control {
    background-color: #fff !important;
    padding: .375rem .75rem !important;
    font-size: 14px !important;
}

.contact-us-textarea-form-control {
    resize: none;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(253, 126, 20, 0.25);
}

.btn-submit {
    background-color: #16377e !important;
    color: #fff !important;
    padding: 5px 50px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    letter-spacing: 1px !important;
    border-radius: 0% !important;
}

.btn-submit:hover {
    background-color: transparent !important;
    border: 1px solid #16377e !important;
    color: #16377e !important;
}

.grecaptcha-badge {
    position: absolute !important;
    bottom: 10px !important;
    right: 0px !important;
}

/* contact us page end */

/* timber doors page start*/
.timber-doors-section {
    position: relative;
    padding: 50px 0;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.static-font-color {
    color: #000000 !important;
    line-height: 1.7 !important;
}

.default-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    height: 200px;
}

/* timber doors page end*/

/* garage-history table start */
.dataTables_filter {
    display: none;
}

.custom-search-box {
    display: flex;
    justify-content: center;
}

.custom-search-box input {
    width: 500px;
    min-width: 299px;
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid #e71729;
    font-size: 14px;
    transition: border-color 0.3s;

}

.custom-search-box input:focus {
    border-color: #e71729;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

table#garage-history,
.table>:not(caption)>*>* {
    color: #16377e !important;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
    color: #16377e !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 1px solid #16377e;
    border-radius: 2px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background-color: #16377e;
    border: none !important;
    color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #e71729 !important;
    border: none !important;
    color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    color: #fff !important;
}

#garage-history,
#garage-history th,
#garage-history td,
#garage-history tr {
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    box-shadow: none !important;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    white-space: nowrap;
}

.mw-430 {
    max-width: 430px;
}

.h-380 {
    height: 380px;
}

.bg-light-gray {
    background-color: #f4f4f4;
}

/* garage-history table end */


/* swiper start */
.swiper-wrapper {
    display: flex;
    justify-content: space-between;
}

.swiper-slide {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    align-self: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: #007aff !important;
    background-color: #ffffff !important;
    border-radius: 50% !important;
    padding: 5px !important;
    z-index: 10 !important;
    position: absolute !important;
    top: 45% !important;
    width: 40px !important;
    height: 40px !important;
    margin-top: -22px !important;
    background-size: 20px 20px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.swiper-button-next {
    right: -40px;
}

.swiper-button-prev {
    left: -40px;
}

.swiper-button-prev {
    background-image: url('../images/back-icon.png') !important;
}

.swiper-button-next {
    background-image: url('../images/next-icon.png') !important;
}

.swiper-pagination {
    position: relative !important;
    bottom: 0px !important;
    transform: translateX(-50%);
    z-index: 10;
}

.swiper-pagination-bullet {
    background-color: #16377e !important;
}

.swiper-pagination-bullet-active {
    background-color: #16377e !important;
}

/* swiper end */












@media (max-width: 1399px) {
    .navbar-nav .nav-link {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .hero-section {
        height: 100vh;
    }

    .hero-heading-main {
        font-size: 3rem;
    }

    .house-with-garage {
        padding-left: 65px !important;
    }

    .mw-430 {
        max-width: 350px;
    }

    .h-380 {
        height: 300px;
    }
}


@media (max-width: 1199px) {
    .navbar-nav .nav-link {
        color: #0b1b3f !important;
    }

    #mobileMenu {
        max-width: 290px;
    }

    .main-footer {
        padding: 40px 0;
    }

    .hero-section {
        height: 80vh;
    }

    .house-with-garage {
        padding-left: 85px !important;
    }

    .house-with-garage-image img {
        height: 500px;
    }

    .service-img {
        height: 250px;
    }

    .service-content {
        padding: 20px 0px !important;
    }

    .mw-430 {
        max-width: 300px;
    }

    .h-380 {
        height: 250px;
    }
}


@media (max-width: 991px) {
    .footer-links-col {
        text-align: left;
    }

    .navbar-nav {
        gap: 0px;
    }

    .main-footer {
        padding: 20px 0;
    }

    .house-with-garage-title {
        font-size: 30px;
    }

    .house-with-garage-second-title {
        font-size: 35px;
    }

    .house-with-garage-image img {
        height: 400px;
    }

    .house-with-double-garage-image img {
        height: 500px !important;
    }

    .house-with-garage {
        padding-left: 45px !important;
    }

    .service-img {
        height: 200px;
    }

    .service-content {
        padding: 10px 0px !important;
    }

    .our-garage-doors-p {
        width: 75%;
    }

    .our-recent-work-hr {
        justify-self: center !important;
    }

    .mw-430 {
        max-width: 200px;
    }

    .h-380 {
        height: 300px;
    }
}


@media (max-width: 768px) {
    .hero-heading-main {
        font-size: 2rem;
    }

    .house-with-garage {
        padding: 40px !important;
    }

    .trusted-logo {
        height: 100px !important;
    }

    .our-garage-doors-p {
        width: 100%;
    }

    .mw-430 {
        max-width: -webkit-fill-available;
    }
}


@media (max-width: 499px) {
    .hero-heading-main {
        font-size: 1.5rem;
    }

}