/* ================================ Global Styles*/
* {
    --title-font: "Manrope", Helvetica, Arial, sans-serif;
    --body-font-size: 16px;
    --title-font-weight: 500;
    --title-font-color: #0a2540;
    --body-font: "Manrope", Helvetica, Arial, sans-serif;
    --border-default: solid 1px rgba(30, 30, 30, 1);
    --bg-color-even: #E8E8E8;
    --bg-color-odd: #F4F4F4;
    --bg-dark-1: #1D1D1F;
    --bg-dark-2: #232627;
    --bg-dark-3: #303030;
    --bg-grey: #F0F1F3;
    --bg-gradient-1: 0deg, rgba(var(--primary-color-rgb), .1) 0%, rgba(var(--secondary-color-rgb), .2) 100%;
    --body-font-color: #7b8893;
    --dark-body-font-color: #F5F5F7;
    --swiper-theme-color: var(--secondary-color);
    --rounded-1: 12px;
}

:root {
    --primary-color: #234982;
    --primary-color-rgb: 35, 73, 130;
    --secondary-color: #678fd5;
    --secondary-color-rgb: 103, 143, 213;
    --tertiary-color: #F4F7FB;
    --tertiary-color-rgb: 244, 247, 251;
}

h1,
h2,
h4,
h3,
h5,
h6,
.h1_big,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
footer.footer-light h5 {
    margin-top: 0;
    font-family: var(--title-font);
    font-weight: var(--title-font-weight);
    color: var(--title-font-color);
}

h1 {
    font-size: 64px;
    margin-bottom: 20px;
    line-height: 1.1em;
    letter-spacing: -4px;
}

.bg-color {
    background: var(--primary-color);
}

.bg-color-2 {
    background: var(--secondary-color);
}

.bg-color-3 {
    background: var(--tertiary-color);
}

.btn-primary {
    background-color: var(--primary-color);
}

/* ================================ Header */
header {
    top: 0;
    width: 100%;
    position: sticky; /* This should apply globally to all screen sizes */
    left: 0;
    z-index: 1000;
    margin: 0;
    border-bottom: solid 1px rgba(255, 255, 255, 0);
    background: var(--tertiary-color); /* Ensure it has a background color to be visible */
}

    header.transparent {
        background: none;
    }

/*Topbar (Phone, Email, Hours)*/
#topbar {
    z-index: 1000;
    width: 100%;
    overflow: hidden;
    top: 0;
    background: var(--primary-color) !important;
}

.topbar-left {
    float: left;
    display: flex;
}

.topbar-widget {
    font-size: 14px;
    font-weight: 400;
    display: flex;
    padding: 3px 15px 7px 15px;
    color: rgba(255, 255, 255, .5);
}

#topbar a {
    color: #ffffff;
    text-decoration: none;
}

#topbar:not(.topbar-noborder) .topbar-left .topbar-widget {
    border-right: solid 1px rgba(255, 255, 255, .1);
}

@media only screen and (max-width: 767px) {
    #topbar {
        display: none;
    }
}

.topbar-widget i {
    font-size: 16px;
    margin-top: 8px;
    margin-right: 10px;
}

/*Navigation*/
#navigation {
    transition: background-color 0.9s ease; /* Smooth transition for background color */
}

    /* Apply styles to all nav-links */
    #navigation .navbar-nav .nav-link {
        color: white; /* White text color */
        font-weight: 600; /* Bold font weight */
    }

        /* Ensure active link is also white and bold */
        #navigation .navbar-nav .nav-link.active {
            color: white;
            font-weight: 600;
        }


.schedule-btn {
    background-color: var(--primary-color); /* Button background color */
    display: inline-block;
    font-family: var(--title-font);
    text-align: center;
    color: #fff;
    outline: 0;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 25px;
    font-size: 15px;
    border: none;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    margin-left: 20px;
    max-width: 200px;
}

    .schedule-btn:hover {
        background-color: var(--primary-color);
        -webkit-box-shadow: 2px 2px 20px 0px rgba(29, 29, 31, 0.5);
        -moz-box-shadow: 2px 2px 20px 0px rgba(29, 29, 31, 0.5);
        box-shadow: 2px 2px 20px 0px rgba(29, 29, 31, 0.5);
    }

.schedule-btn-right {
    display: none; /* Hide by default */
}

/*Navigation mobile menu styles*/
@media only screen and (max-width: 767px) {

    #navigation {
        background-color: var(--title-font-color);
        width: 100vw;
        left: 0; /* Align to the left edge of the screen */
        margin: 0; /* Remove any margins around it */
        padding: 0; /* Remove any padding */
        position: fixed; /* Make sure it remains visible at the top */
    }

        #navigation div {
            padding: 0;
            margin: 0;
        }

    .navbar {
        padding: 0 15px; /* Optional: Add some padding to the contents */
    }

    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5); /* Add a border color to make it visible */
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); /* SVG for the hamburger icon */
        background-repeat: no-repeat;
        background-position: center;
        margin: 10px;
    }

    .navbar-toggler-icon {
        background-color: transparent; /* Ensure no background color to interfere */
    }

    .navbar-toggler:focus, .navbar-toggler:active {
        outline: none; /* Remove focus outline to clean up interaction */
    }

    .nav-link {
        margin-left: 50px
    }

    .schedule-btn {
        display: none;
    }

    .schedule-btn-right {
        display: block; /* Show on small screens */
        position: fixed; /* Fixed positioning */
        right: 15px; /* 10px from the right */
        top: 12px; /* 10px from the bottom */
        z-index: 1050; /* Ensure it's on top of other content */
        font-weight: 500;
        padding: 7px;
        border-radius: 10px;
        background-color: var(--secondary-color);
    }
}

/*Navigation Scrolling Logic (also see ScrollingUtil.js) */
@media only screen and (min-width: 767px) {
    #navigation.scrolled {
        width: 100%;
        padding-right: var(--bs-gutter-x, .75rem);
        padding-left: var(--bs-gutter-x, .75rem);
        margin-right: auto;
        margin-left: auto;
        background-color: #fff; /* Change to black when scrolled */
        border-bottom: inset 2px black;
        box-shadow: 0 8px 6px -6px black;
    }

        #navigation.scrolled .nav-link {
            color: black;
        }

            #navigation.scrolled .nav-link.active {
                color: black;
            }
}



/* ================================ Footer*/
footer {
    color: var(--dark-body-font-color);
    background: var(--title-font-color);
    padding: 100px 0 0 0;
}

    footer a {
        color: var(--dark-body-font-color);
    }

    footer .widget h5 {
        margin-bottom: 20px;
        color: var(--secondary-color);
    }

.subfooter {
    margin-top: 50px;
    border-top: solid 1px rgba(255, 255, 255, .1);
    padding: 20px 0 20px 0;
}

.footer-phone {
    margin-top: 0px;
    margin-bottom: 20px
}

    .footer-phone i {
        height: 20px;
    }

.id-color-2 {
    color: var(--secondary-color);
}

/*Home Page*/



.home-main {
    position: absolute;
    z-index: 999;
    background-size: cover;
    background-repeat: no-repeat;
    top: 10%;
    left: 5%;
}

.de-overlay-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(var(--primary-color-rgb),.8), rgba(var(--secondary-color-rgb),.8));
}

.de-rating-ext i {
    color: #F2B827;
}

.rounded-10 {
    overflow: hidden;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

.ms-30 {
    margin-left: 30%;
}

.w-70 {
    width: 70%;
}

.spacer-single {
    width: 100%;
    height: 30px;
    display: block;
    clear: both;
}

.jarallax {
    position: relative;
    top: -57px;
}

.image-container {
    width: 100%; /* Full width of the parent container */
    height: 700px; /* Fixed height of 700px */
    overflow: hidden; /* Hide anything beyond the 700px height */
    position: relative;
    display: block; /* Makes sure the container uses the full width */
}

    .image-container img {
        width: auto; /* Full width of the container */
        height: auto; /* Maintain the aspect ratio */
        position: absolute;
        top: 10px;
        left: 0;
    }

@media (max-width: 1400px) {
    .image-container {
        height: 600px;
    }
}

@media (max-width: 1200px) {
    .image-container {
        height: 500px;
    }
}

@media (max-width: 1024px) {
    .home-main {
        left: 1%;
    }
}

@media (max-width: 992px) {
    .image-container {
        height: 1100px;
    }

        .image-container img {
            transform: translateX(-200px);
        }
}

@media (max-width: 768px) {
    .home-main {
        top: 15%;
        left: 0%;
    }

    .image-container {
        height: 1000px;
    }

        .image-container img {
            transform: translateX(-300px);
        }
}

@media (max-width: 576px) {
    .home-main {
        top: 15%;
        left: 0%;
    }

    .image-container {
        height: 990px;
    }

        .image-container img {
            transform: translateX(-400px);
        }
}

.vertical-center {
    display: flex;
    align-items: center; /* Centers the content vertically */
}

.rounded-20px {
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}

.padding40 {
    padding: 40px;
}

.logo-and-title {
    display: flex;
    align-items: center;
}

    .logo-and-title img {
        margin-right: 15px; /* Adjust the spacing as needed */
    }

    .logo-and-title h1 {
        margin: 0; /* Remove any default margin */
    }

@media (max-width: 576px) {
    .logo-and-title h1 {
        font-size: 55px;
    }
}

.rated-excellent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}


/*Service Section*/

.icon-box {
    color: white;
    border-radius: 10px; /* Rounded corners */
    padding: 10px;
    width: 64px; /* Fixed width for a square appearance */
    height: 64px; /* Fixed height for a square appearance */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px; /* Space between icon and text */
    font-size: 40px;
}


.service-item {
    display: flex;
}

/*Emergency Section*/

.emergency-banner {
    color: white;
    border-radius: 20px;
}


.emergency-img-wrapper {
    height: 200px;
    top: 0px;
}

.emergency-contact {
    margin-top: 20px;
    font-size: 20px;
    padding: 10px 20px;
    background-color: #0056b3; /* A darker shade of blue for contrast */
    border-radius: 50rem; /* Pill shape */
    display: inline-block; /* Necessary to wrap the content */
}

.emergency-number {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 20px;
}

    .emergency-number a {
        color: white;
    }


.icofont-phone-circle {
    margin-right: 10px; /* Spacing between the icon and the number */
}

/*Schedule Section*/
.bottom-schedule-btn {
    font-weight: 500;
    padding: 15px;
    border-radius: 15px;
    background-color: var(--secondary-color);
}

/*About Us Page*/
.about-hero {
    height: 500px;
}

    .about-hero h1 {
        margin-top: 100px;
    }

    .about-hero h2 {
        margin-top: 100px;
    }

@media (max-width: 767px) {

    .about-hero {
        height: 400px;
    }

        .about-hero h1 {
            margin-top: 150px;
        }

        .about-hero h2 {
            margin-top: 0px;
        }
}

/*Testimonials Page*/
.testimonials-hero {
    height: 500px;
}

    .testimonials-hero h1 {
        margin-top: 100px;
    }

    .testimonials-hero h2 {
        margin-top: 100px;
    }

@media (max-width: 767px) {

    .testimonials-hero {
        height: 400px;
    }

        .testimonials-hero h1 {
            margin-top: 150px;
        }

        .testimonials-hero h2 {
            margin-top: 0px;
        }
}

@media (min-width: 992px) {

    .testimonials-hero img {
        top: 29px !important;
    }
}

@media (min-width: 1200px) {

    .testimonials-hero {
        height: 600px;
    }
}

@media (min-width: 1400px) {

    .testimonials-hero {
        height: 700px;
    }
}

.testimonial {
    margin: 20px;
    padding: 10px;
    background: var(--tertiary-color);
    border-radius: 20px;
}

.testimonial h3 {
    text-align:center;
}

    .testimonial .de-rating-ext
    {
        text-align:center;
    }

/*************** Contact Us Page*/

.contact-us-hero {
    height: 350px;
}

    .contact-us-hero h1 {
        margin-top: 160px;
    }

    .contact-us-hero h2 {
        margin-top: 160px;
    }

.contact-message-box {
    height:273px;
}

@media (max-width: 767px) {

    .contact-us-hero {
        height: 450px;
    }

        .contact-us-hero h1 {
            margin-top: 170px;
        }

        .contact-us-hero h2 {
            margin-top: 30px;
        }

    .contact-message-box {
        height: 100px;
        margin-bottom: 30px;
    }
}

/*Admin Dashboard*/
.admin-dashboard li {
    font-size: 24px;
    list-style-type: none;
}

.admin-dashboard i {
    min-width:40px;    
}

.admin-nav {
    background-color: var(--primary-color);
    color: white;
}

    .admin-nav .nav-link {
        color: white;
    }

        .admin-nav .nav-link:hover {
            color: lightgray;
        }

        .admin-nav i {
            width: 20px;
        }
    .admin-nav .navbar-brand {
        color: white;
    }

        .admin-nav .navbar-brand:hover {
            color: lightgray;
        }