:root {
    --primary: #dc1f26;
    --secondary: #ae1e24;
    --brand: #247496;
    --bg-deep: #225779;
}

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

.text-secondary {
    color: var(--secondary);
}
.primary {
    color: var(--primary);
}

.secondary {
    color: var(--secondary);
}

.primary-bg {
    background-color: var(--primary);
}

.secondary-bg {
    background-color: var(--secondary);
}

.container {
    max-width: 1325px;
}

.bg-light {
    background-color: #f1f1f1 !important;
}

.cus_hr {
    content: "";
    background-color: #000;
    width: 100px;
    height: 2px;
}

b,
strong {
    font-weight: bolder;
    color: #000;
}
a.headercall {
    font-size: 35px;
    color: #0677a1;
    font-weight: bold;
}
a.headercall i {
    margin-right: 0 !important;
}

/* header */

.slide img {
	min-height: 300px;
	object-fit: cover;
}

.navbar a,
.navbar a:focus {
    text-transform: uppercase;
    font-weight: 700;
}
.header .navbar-nav .nav-item a {
    position: relative;
}
.header .navbar-nav .nav-item a::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 15px;
    right: -3px;
    top: 50%;
    margin-top: -8px;
    background: rgba(0, 0, 0, 0.08);
}
/* @media screen and (min-width: 992px) {
} */

/* header */
.social .fa-brands {
    background-color: transparent;
    color: #fff;
    width: 40px;
    line-height: 40px;
    text-align: center;
    margin-right: 10px;
    border-radius: 100%;
    font-size: 22px;
}
.slide-container {
    top: 50% !important;
    height: 101%;
}
.slide-container .container {
    width: 100% !important;
    max-width: 100% !important;
}

.slide .slide-text {
    position: absolute;
    width: 40%;
    top: 50% !important;
    /* left: 40% !important; */
    left: 0%;
    transform: translate(0%, -50%) !important;
    color: #fff;
    font-weight: 700;
    text-align: left;
    background-color: transparent;
    bottom: auto;
    background-color: rgb(34 87 121 / 80%);
    height: 100%;

    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-banner h1 {
    /* 
    width: fit-content !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #fff;
    font-weight: 700;
    position: absolute;
    text-align: center;
    background-color: transparent;
    bottom: auto; */
}

.page-banner h1 {
    /* color: #fff; */
}
.slide .slide-text h1 {
    color: #fff;
    font-size: 45px;
    padding-bottom: 15px;
    line-height: 55px;
}
.slide .slide-text h5 a {
    color: #fff;
}
.slide .slide-text h5 {
    color: #fff;
    font-size: 25px;
    letter-spacing: 1.4px;
}

.section-hero {
    background: #225779;
    color: #fff;
    padding: 64px 0 80px;
    text-align: center;
}

/* Round icon + text container */
.feature-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #fb3640;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    padding: 15px;
    text-align: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}
.feature-circle i {
    font-size: 36px;
    margin-bottom: 8px;
}

.lead-title {
    color: #fff;
    font-weight: 800;
    margin: 20px 0 12px;
}
.lead-copy {
    /* max-width: 900px;
      margin: 0 auto 30px; */
}

hr.section-divider {
    /* max-width: 70%; */
    margin: 40px auto;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.sub-title {
    color: #fff;
    font-weight: 800;
    margin-bottom: 12px;
}
.sub-copy {
    /* max-width: 900px;
      margin: 0 auto 30px; */
}

.section-hero .btn-cta {
    background: #fff;
    color: #225779;
    font-weight: 700;
    border-radius: 0.6rem;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.section-hero .btn-cta:hover {
    background: #f3f3f3;
    color: var(--bg-deep);
}

.hero-wrap {
    background: #25333a url("../img/hero-wrap.jpg") center/cover no-repeat;
    padding: 50px 0 40px;
    position: relative;
}
.hero-callout {
    background: #225779;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 0.25rem;
    padding: 22px 26px;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}
.hero-callout h3 {
    font-weight: 800;
    margin: 0 0 6px;
}
.hero-callout p {
    margin: 0;
    opacity: 0.95;
}

section.home_form.bg-light.section-py {
    background: #fb3640 !important;
    padding: 50px 0;
    text-align: center;
}

/* ===== PHONE STRIP ===== */
.phone-strip {
    background: #225779;
    color: #fff;
    text-align: center;
    padding: 18px 0 26px;
}
section.phone-strip:hover {
    background: #fb3640;
}

.phone-strip .eyebrow {
    font-weight: normal;
    opacity: 0.95;
    font-size: 2em;
}
.phone-strip .phone {
    font-size: clamp(1.6rem, 3.5vw + 0.6rem, 6rem);
    font-weight: 800;
    margin-top: 4px;
    line-height: 75px;
}

/* ===== SERVICES ROW ===== */
.services {
    background: #f6f7f8;
    padding: 32px 0 48px;
}
.services h4 {
    color: var(--brand);
    text-align: center;
    font-weight: bold;
    margin-bottom: 22px;
    font-size: 35px;
    margin-bottom: 25px;
    margin-top: 20px;
}
.service-card {
    border: 1px solid #e2e3e6;
    background: #fff;
    height: 100%;
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}
.service-card img {
    width: 100%;
    height: 150px; /* adjust to your image ratio */
    object-fit: cover;
    display: block;
}
.service-title {
    background: #0677a1;
    color: #fff;
    text-align: center;
    padding: 10px 8px;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* ===== GREY CONTENT BLOCK ===== */
.about-block {
    background: var(--bg-deep);
    color: #fff;
    padding: 56px 0 64px;
    text-align: center;
}
.about-block h2 {
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}
.about-block .lead-copy,
.about-block .sub-copy {
    /* max-width: 1000px; */
    margin: 0 auto;
    opacity: 0.92;
}
.about-divider {
    max-width: 720px;
    margin: 28px auto 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}
.about-block h3 {
    font-weight: bold;
    margin-bottom: 8px;
    color: #fff;
}

/* ===== CTA BUTTON ===== */
.cta-wrap {
    margin-top: 18px;
}
.btn-cta {
    background: #fff;
    color: var(--brand);
    font-weight: bold;
    border: 0;
    border-radius: 0.6rem;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-cta:hover {
    background: #f3f3f3;
    color: var(--brand);
}

.section-2184 .card_services {
    border: 0;
    padding: 30px;
}

.home.contact_form {
    /* background: var(--secondary); */
    /* padding: 35px; */
}

.home.contact_form .form-control,
.contact_form .form-control {
    border-radius: 5px;
    color: #000;
    /* margin-bottom: 20px; */
    border: 0;
    height: 50px;
}
.home.contact_form .form-group {
    margin-bottom: 25px;
}
.home.contact_form textarea#msg {
    height: 100px;
}
.home.contact_form h3,
.contact_form h3 {
    color: #fff;
    font-weight: 400;
    font-size: 35px;
}

.section-py {
    padding: 100px 0;
}

.no_call {
    font-size: 50px;
}

.the_fast {
    font-size: 40px;
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: var(--color-primary) !important;
}

.full_width.py-5 {
    background: var(--secondary);
    color: #fff !important;
}

.section-2187 .card {
    border-radius: 0;
    overflow: hidden;
}

.section-2187 .card-body {
    border-top: 0;
    background-color: var(--color-secondary);
}

.section-2187 .card-body a {
    color: #fff;
    font-weight: 500;
    font-size: 20px;
}

.section-2187 .card-body:hover {
    background-color: var(--color-primary);
}

.section-2187 .card-body:hover a {
    color: #fff;
}

.center_text {
    position: absolute;
    width: fit-content;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    font-weight: 700;
    text-align: center;
    background-color: transparent;
}

.top-bar a {
    color: var(--topbar-link-color);
    letter-spacing: 0.5px;
    font-family: "Outfit", sans-serif;
}

.center_text h2 {
    color: #fff !important;
    text-shadow: 3px 3px 3px black;
}

.form-control {
    border-radius: 0;
}

.border-top {
    border-top: 1px solid #4e4e4e !important;
}

.border-end {
    border-right: 1px solid #4e4e4e !important;
}

.footer-top ul.navbar-nav li {
    padding: 20px;
}

.social .fa-brands {
    background-color: #fff;
    color: #000;
    width: 40px;
    line-height: 40px;
    text-align: center;
    margin-right: 10px;
    border-radius: 100%;
    font-size: 22px;
}

.about_section p {
    text-align: justify;
}

.fw-medium {
    font-weight: 500;
}

.section-2028 {
    color: #000;
    font-size: 20px;
    font-weight: 400;
}

.section-2028 a {
    color: #000;
    font-weight: 500;
}

.section-2028 a:hover {
    color: var(--color-primary);
}

.section-2028 .form-control {
    min-height: 50px;
    margin-bottom: 20px;
}

.homeservices-section .card-body.p-0 {
    background-color: #f1f1f1;
    padding: 15px 15px 15px 15px !important;
}

.header-main a.btn.btn-primary {
    margin-top: 0;
}

.services .about_section.bg-light:nth-child(odd) {
    background-color: #fff !important;
}

section#faq {
    background: #fb3640;
    color: #fff;
}
section#faq h2 {
    color: #fff;
}
h2.accordion-header {
    font-size: 1rem;
    color: #fff;
}
.accordion-item button.accordion-button {
    background: #305679;
    color: #fff;
    /* margin-bottom: 10px; */
    font-size: 1.5rem !important;
}
.accordion-button::after {
    filter: brightness(0) invert(1) !important; /* makes icon white */
}

.accordion-item button.accordion-button:focus {
    box-shadow: none;
    border: 0;
    outline: 0;
}

.full_width .btn.btn-secondary:hover {
    background-color: #fff;
    color: var(--primary);
}

.full_width .btn.btn-secondary {
    background-color: #fff;
    color: #000;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: unset;
    border-color: #ca8585;
    border-style: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    margin-left: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 5px;
    padding-left: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 30px;
}

.contact-us #ContactForm02 .col-lg-3 {
    flex: 0 0 auto;
    width: 50%;
}
.contact-us .section-2028 .form-group {
    margin-bottom: 25px;
}
.contact-us .section-2028 .form-control {
    margin-bottom: 0 !important;
}

@media screen and (max-width: 1440px) {
    .section-py {
        padding: 50px 0;
    }

    .slide .slide-text h1 {
        color: #fff;
        font-size: 40px !important;
    }

    .slide .slide-text h5 {
        color: #fff;
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }
    .header .navbar-nav .nav-item a {
        padding-left: 11px;
        padding-right: 11px;
        font-size: 14px;
    }
    .btn.btn-primary {
        padding-left: 30px;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-right: 30px;
    }
}

@media screen and (min-width: 1200px) {
    .footer-middle .border-xl-end {
        border-right: 1px solid #4e4e4e;
    }
}

@media screen and (max-width: 1199px) {
    .header-main p {
        margin-bottom: 0;
    }
    a.headercall {
        font-size: 30px;
        align-items: center;
    }
    .navbar-toggler-icon {
        /* Add this line to make it white */
        filter: invert(1) brightness(2);
    }

    button.navbar-toggler {
        border: 0;
        padding: 5px;
    }
    nav.edit.navbar.p-0.navbar-expand-xl {
        display: flex;
        justify-content: flex-end;
    }
    .the_fast {
        font-size: 30px;
    }
    .navbar a,
    .navbar a:focus {
        color: #fff;
        line-height: 30px;
    }

    .slide .slide-text h1 {
        color: #fff;
        font-size: 60px;
    }

    .navbar li :hover {
        background: #fff;
    }
}

@media screen and (min-width: 992px) {
    .w-lg-auto {
        width: auto !important;
    }

    .bg-lg-light {
        background-color: #f1f1f1;
    }
}
@media screen and (min-width: 991px) and (max-width: 1200px) {
    .slide .slide-text {
        position: absolute;
        width: 50%;
        transform: translate(0%, -50%) !important;
        padding: 40px 30px;
    }
    .slide .slide-text h1 {
        color: #fff;
        font-size: 33px !important;
        line-height: 32px;
        padding-bottom: 0;
    }
    .feature-circle {
        width: 135px;
        height: 135px;
        border-radius: 50%;
        background: #ae1e24;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        padding: 15px;
        text-align: center;
        color: #fff;
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.2;
    }
    .services .row-cols-lg-6 > * {
        width: 33.33%;
    }
}
@media screen and (max-width: 991px) {
    .center_text h2 {
        color: #fff !important;
        font-size: 30px;
    }

    .slide .slide-text h1 {
        color: #fff;
        font-size: 40px;
    }

    .slide .slide-text {
        position: inherit !important;
        width: fit-content !important;
        transform: translate(0) !important;
        color: #fff;
        font-weight: 700;
        text-align: center;
        margin: 0 auto;
        /*background-color: #2a2a2a;*/
        padding: 30px 0 !important;
    }

    .the_fast {
        font-size: 25px;
    }

    .slide .container {
        padding: 0;
        background-color: #f1f1f1;
    }

    .slide-container {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }
}

@media screen and (min-width: 767px) {
    .no_call {
        font-size: 50px;
        margin-right: 100px;
    }
}

@media screen and (max-width: 767px) {
    a.headercall {
        font-size: 20px;
        align-items: center;
    }
    a.headercall {
        font-size: 16px;
        align-items: center;
    }

    .the_fast {
        font-size: 20px;
    }

    .col-lg-6.p-lg-5.p-3.bg-lg-light.contactphonesec {
        padding: 0 !important;
    }

    .home.contact_form {
        padding: 20px;
    }

    .header-main .btn-primary {
        padding: 8px 30px;
    }

    .banner-text h1 {
        font-size: 30px;
    }

    .no_call {
        font-size: 30px;
    }
    .feature-circle {
        width: 125px;
        height: 125px;

        font-size: 0.8rem;
    }
    .phone-strip .eyebrow {
        font-size: 1em;
    }
    .footer-main a,
    .footerconatctnew {
        font-size: 15px;
    }
    /*--------------*/

    #cookie_bar {
        left: 5px !important;
    }
    #cookie_bar p {
        font-size: 14px !important;
    }
    #cookie_bar .cookie-btn {
        padding: 5px 10px !important;
        font-size: 14px !important;
    }
}

@media screen and (max-width: 575px) {
    .contactphonesec .d-flex.flex-row {
        font-size: 15px;
    }
    .services .col {
        width: 100%;
    }
    .home.contact_form h3,
    .contact_form h3 {
        color: #fff;
        font-weight: 400;
        font-size: 30px;
    }

    .header-main {
        /* padding-top: 30px;
        padding-bottom: 30px; */
    }

    .footer-top a {
        color: var(--ft-link-color);
    }

    .footer-top ul.navbar-nav li {
        padding: 5px;
    }

    .section-2028 {
        color: #000;
        font-size: 16px;
        font-weight: 400;
    }

    .slide .slide-text h1 {
        font-size: 30px !important;
    }

    .center_text {
        display: none;
    }

    .container {
        max-width: 1325px;
        padding: 0 20px;
    }

    .top-bar a {
        font-size: 15px;
    }

    .page-banner h1 {
        color: #fff;
        font-size: 30px;
    }

    figure.image.image-style-side {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .page-content h2 {
        margin-top: 20px;
    }
}

@media screen and (max-width: 360px) {
    .top-bar i {
        display: none;
    }

    .top-bar a {
        font-size: 15px;
    }
}

.faq-search-wrap.position-relative i.fa.fa-search.text-danger {
    visibility: hidden;
}

.social .fa-brands {
    background-color: #fff;
    color: #000;
    box-shadow: 0px 5px 6px 1px #6c757d;
}
