/* General Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    background-color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Logo */
.navbar-brand img {
    width: 100%;
    height: 50px;
}

/* Navbar Links */
.navbar-nav {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link {
    color: #595959;
    font-size: 16px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: #262626;
}

.navbar-nav .nav-link.active {
    color: #262626;
    font-weight: 700;
}


.contact-info {
    display: none;
}

.card img {
    object-fit: cover;
}

/* Responsive Navbar Menu */

@media(max-width: 1200px) {
    .navbar-nav {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 992px) {

    .navbar {
        padding: 10px 20px;
    }

    .navbar-nav {
        padding-top: 30px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        /* Aligns menu items to the left */
        width: 100%;
    }

    .navbar-nav .nav-link {
        color: #262626;
    }
}

@media(max-width: 768px) {
    .navbar-brand img {
        width: 160px;
        height: auto;

        @media(max-width: 375px) {
            width: 140px;
        }
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .contact-item {
        display: flex;
        align-items: center;
        font-size: 14px;
        color: #262626;
        text-decoration: none;
        margin-bottom: 10px;
        font-weight: 500;
    }

    .contact-item:hover {
        color: #545454
    }

    .contact-item i {
        margin-right: 10px;
        font-size: 18px;
        color: #1E9BD0;
        /* Blue icon */
    }
}

.offcanvas.offcanvas-start {
    width: 70%;
    top: 0;
}

.navbar-toggler {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.hero-section {
    background:
        linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)),
        url('/meinhaus_landing/roofing-company/img/landing-hero.webp') center/cover no-repeat;
    position: relative;
    padding-bottom: 50px;
}

.hero-2 {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.151)),
        url('/meinhaus_landing/roofing-company/img/roof-image.png') center/cover no-repeat;
    position: relative;
    padding-bottom: 50px;
}

.hero-3 {
    background:
        linear-gradient(rgba(0, 0, 0, 0.156), rgba(0, 0, 0, 0.151)),
        url('/meinhaus_landing/roofing-company/img/hero-2.jpg') center/cover no-repeat;
    position: relative;
    padding-bottom: 50px;
}

.hero-section .container-fluid {
    position: relative;
    z-index: 2;
}

.m-hover-underline:hover {
    text-decoration: underline;
}

@media(max-width: 991px) {
    .full-width-text {
        width: 100% !important;
    }

    .hero-section {
        padding-bottom: 0px;
    }

}

select.form-select {
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
    padding-right: 0 !important;
}

.feature-item {
    position: relative;
}

.feature-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -15px;
    /* adjust gap */
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background-color: #dee2e6;
    display: none;
}

@media (min-width: 768px) {
    .feature-item:not(:last-child)::after {
        display: block;
    }
}

.footer {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 40px 10px 40px;
}

.footer-links {
    text-align: center;
    flex: 1;
}

.footer-nav {
    gap: 120px;
}

.footer-nav .nav-link {
    color: #262626;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 0;
    margin-bottom: 8px;
}

.footer-nav .nav-link:hover {
    color: #494848;
}

.app_btns {
    display: flex;
    gap: 15px;
    align-items: center;
}

.app_btns a {
    background: #363636;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    width: auto;
}

small {
    font-size: 9px;
    margin-bottom: -3px;
    font-weight: 400;
}

.apple_icon {
    margin-top: -4px;
    margin-right: 7px;
}

.footer-copyright-section {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    background-color: #1E9BD00F;
    padding: 20px;
}

@media(max-width:1024px) {
    .footer {
        flex-direction: column !important;
        align-items: center;
    }
}

@media(max-width: 768px) {
    .footer {
        flex-direction: column !important;
        padding: 20px 20px 30px 20px;
    }

    .footer-nav {
        gap: 60px;
    }

    .app_btns {
        justify-content: center;
    }

    .footer-logo img {
        width: 240px;
        height: auto;
        max-width: 100%;
    }
}

@media(max-width:375px) {
    .app_btns a {
        /* Prevent excessive width */
        width: 80%;
        justify-content: center;
    }

    .app_btns {
        flex-wrap: wrap;
    }
}