html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.contact-us {
    background-image: url("../images/home/contact-us.jpg");
    height: 75vh;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (height / width * 100) */
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.social-link {
    text-decoration: none!important;
    color: inherit;
}

.social-link:hover {
    color: inherit;
}

.navbar-brand {
    padding: 0px;
}

.nav-link.active {
    color: #8bcc2e!important;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 10px;
}

.assistance-chat {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 280px;
    height: auto;
    z-index: 9999;
    cursor: pointer;
}

@media (max-width: 576px) {
    .assistance-chat {
        left: 14px;
        bottom: 14px;
        width: 220px;
    }
}

.assistance-chat:hover {
    transform: scale(1.15);
    transition: transform 0.15s ease;
}

/* Product card overlay: keep inside the image bounds */
.product-overlay {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 8%;
    width: calc(100% - 24px);
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.product-overlay .btn {
    pointer-events: auto;
}

.btn-pill {
    border-radius: 50px;
    font-weight: 500;
}

.btn-icon-big {
    font-size: 1.8em;
    line-height: 1;
    margin-left: 6px;
}

/* Responsive button group—wrap on very small screens to avoid overflow */
.btn-row {
    display: flex;
    justify-content: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.btn-row .btn {
    min-width: 140px;
}

/* Responsive video area */
.video-frame {
    width: 100%;
    max-height: 75vh;
    display: grid;
    place-items: center;
}

/* Keep video fully visible for both portrait/landscape */
.video-el {
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: contain; /* important: no cropping */
    background: #000;
    border-radius: 16px;
}

/* Better on very small screens */
@media (max-width: 576px) {
    .video-el {
        max-height: 70vh;
    }
}

@media (max-width: 1399.5px) {
    .btn-row {
        gap: 0.6rem!important;
    }
    .product-overlay-special > .btn-row > .px-4 {
        padding-right: 1rem!important;
        padding-left: 1rem!important;
    }
}

@media (max-width: 1199.5px) {
    .btn-row {
        gap: 0.3rem!important;
    }
    .btn-row .btn {
        min-width: 120px;
    }
    .product-overlay-special > .btn-row > .px-4 {
        padding-right: 0.3rem!important;
        padding-left: 0.3rem!important;
    }
}

@media (max-width: 991.5px) {
    .product-overlay-special > .btn-row > .px-4 {
        padding-right: 0.5rem!important;
        padding-left: 0.5rem!important;
    }
}

@media (max-width: 767.5px) {
    .btn-row .btn {
        min-width: 140px;
    }
    .product-overlay-special > .btn-row > .px-4 {
        padding-right: 1rem!important;
        padding-left: 1rem!important;
    }
}

@media (max-width: 400px) {
    .btn-row .btn {
        min-width: 120px;
    }
    .btn-row {
        gap: 0.2rem!important;
    }
}

@media (max-width: 390px) {
    .product-overlay-special {
        bottom: 6%;
    }
    .product-overlay-special > .btn-row > .px-4 {
        padding-right: 0.38rem!important;
        padding-left: 0.38rem!important;
    }
}

.card-img-top {
    display: block;
    width: 100%;
    height: auto;
}

img.ap-img {
    margin: 10px 0px;
}

p.mt-3 {
    font-size: 1.3rem;
    margin: 10px 0px;
}

.just-justified {
    text-align: justify;
}

.center-justified {
    text-align: justify;
    text-align-last: center;
}

/* Join Our Team Webpage */
.jointeam-accent {
    color: #1b7afc;
}

.jointeam-dot {
    width: 14px; height: 14px;
    border-radius: 999px;
    display: inline-block;
    flex: 0 0 auto;
}

#join-our-team .form-control {
    background: #f3f4f6;
    border: 1px solid #eef0f3;
}

#join-our-team .form-control:focus {
    background: #fff;
    border-color: rgba(28,121,250,.35);
    box-shadow: 0 0 0 .25rem rgba(28,121,250,.12);
}

/* Attachment link style */
.jointeam-attach {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    color: #1b7afc;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
}

/* Submit button to match screenshot */
.jointeam-btn {
    border-radius: 10px;
}

.jointeam-btn:hover {
    background: #1668d8;
    border-color: #1668d8;
}

.job-details h3 {
    letter-spacing: 0.5px;
}

.job-list {
    padding-left: 1.2rem;
}

.job-list li {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.how-to-apply {
    font-size: 1.3rem;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
    .ms-3 {
        margin-left: 0px!important;
    }
}

@media (min-width: 1200px) {
    .h1, h1 {
        font-size: 3rem;
        letter-spacing: 2px;
    }
}

.hours-widget .row-line {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0.5rem;
    padding: 0.35rem 0;
    align-items: baseline;
}

.hours-widget .row-line[aria-current="date"] strong {
    color: #000;
}

@media (max-width: 400px) {
    .hours-widget {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .navbar-nav .nav-link {
        padding-right: 1rem!important;
        padding-left: 1rem!important;
    }
    .nav-link {
        font-size: 1.25rem;
    }
}