﻿img {
    pointer-events: none;
}

.r {
    vertical-align: top;
    height: 24px;
    font-weight: 600;
    display: inline-block;
    font-size: 16px;
    color: black;
    line-height: 32px;
}

.promo {
    position: absolute;
    top: 0;
    width: 35%;
    left: 0;
    height: 100%;
    padding: 64px;
    text-align: center;
}

    .promo a {
        //display: inline-block;
        height: calc(100% - 130px);
    }


.image-box {
    display: inline-block
}

.mobile-image-box {
    display: none
}

.promo img {
    //width:100%;
    height: 100%;
}

@media screen and (max-width: 1200px) {
    .promo {
        top: 30%;
        width: 100%;
        left: 0;
        height: 70%;
        padding: 8px;
        text-align: center;
        background-color: #fff8d9;
    }

    .image-box {
        display: none
    }

    .mobile-image-box {
        display: inline-block
    }

    .promo a {
        //display: inline-block;
        height: calc(100% - 175px);
    }

    .carousel1 {
        height: 800px;
    }
}

.mobile-top-phone {
    font-size: 29px;
    font-weight: 700;
    line-height: 26px;
    color: white;
    display: none
}

.top-phone {
    display: inline-block;
}


.required-star {
    color: red;
}


@media screen and (max-width: 1200px) {
    .mobile-top-phone {
        display: inline-block;
    }

    .top-phone {
        display: none
    }
}

/* Base reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Container layout */
.formcontainer {
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
    gap: 40px;
}

/* Left side */
.left {
    flex: 1 1 52%;
    min-width: 300px;
    text-align: center;
}

.brochure {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

    .badges img {
        height: 70px;
        object-fit: contain;
    }

/* Right side */
.right {
    flex: 1 1 48%;
    min-width: 300px;
}

.formcontainer .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px; /* match your design width */
    margin: 0 auto;
}

    .formcontainer .content > p {
        flex-basis: 100%; /* makes p full width below both columns */
        max-width: 100%; /* ensures no overflow */
        text-align: center;
        padding: 0 50px; /* left and right padding only */
        margin-top: 20px;
        box-sizing: border-box;
    }

/* Heading */
h2 {
    font-size: 22px;
    font-weight: bold;
    color: #8A161A;
    margin-bottom: 20px;
}

/* ---------- FORM STYLING ---------- */
.userform {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.form-field {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
}

/* Full-width rows (phone, email) */
.full-width {
    flex-direction: column;
    margin-top: 10px;
    gap: 2px;
}

/* Labels */
label {
    font-weight: 600;
    color: #333;
    font-size: 13px;
    margin-bottom: 4px;
}

/* Inputs & Selects — compact like LifeAlert */
input,
select {
    padding: 8px 10px; /* smaller height */
    font-size: 13px;
    border: 1px solid #bbb;
    border-radius: 4px;
    transition: border-color 0.2s ease;
}

    input:focus,
    select:focus {
        border-color: #AC1E23;
        outline: none;
    }

/* Button styling */
#brochure-btn {
    background-color: #AC1E23;
    color: white;
    font-size: 15px;
    font-weight: bold;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 15px;
    width: 100%;
}

    #brochure-btn:hover {
        background-color: #91181D;
    }


/* Disclaimer text */
.formcontainer .content p.text-center {
    font-size: 14px;
    /*color: #555;*/
    line-height: 1.4;
    margin-top: 15px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .formcontainer {
        flex-direction: column;
        padding: 20px;
    }

    .form-group {
        flex-direction: column;
        gap: 10px;
    }

    .form-field {
        width: 100%;
    }

    .brochure {
        max-width: 300px;
    }

    #brochure-btn {
        font-size: 14px;
        padding: 9px;
    }
}

/* Base (Mobile-First) Styles */
.floating-call-tab {
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
    width: 97%;
    left: 4%;
    max-width: none;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 2px 2px 10px 4px rgba(0, 0, 0, 0.20);
    padding: 4px 20px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    z-index: 99999;
    **position: relative; /* ADD THIS */
    **
}

@media (max-width: 600px) {
    .call-content p {
        margin-top: 5px;
        font-size: 14px; /* smaller than default 16px */
        line-height: 1.5;
    }
}


/* Phone number text */
.call-number {
    display: block;
    margin-top: 6px;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #640000;
    text-decoration: none;
}

/* Call icon */
.call-icon {
    width: 55px;
    height: 55px;
    background: #AD1E21;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

    .call-icon svg {
        width: 26px;
        height: 26px;
    }

    .call-icon:hover {
        background: #a62d1f;
        transform: scale(1.06);
    }

.floating-call-tab .close-btn {
    position: absolute;
    top: 1px;
    right: 10px;
    background: none;
    border: none;
    font-size: 25px;
    color: #555;
    cursor: pointer;
}


/* Desktop (600px and up) */
@media (min-width: 600px) {
    .floating-call-tab {
        right: 20px;
        left: auto; /* Make sure it's not centered */
        width: 420px; /* Smaller width */
        max-width: 428px; /* Keep it fixed */
        box-shadow: 2px 2px 10px 4px rgba(0, 0, 0, 0.20);
        padding: 22px 30px; /* More right padding → pushes content right */
        gap: 20px;
    }

    .call-number {
        font-size: 28px;
        margin-bottom: 6px; /* Add gap below number */
    }

    .call-icon {
        width: 60px;
        height: 60px;
        margin-right: 5px; /* Move red icon slightly to the right */
    }

        .call-icon svg {
            width: 29px;
            height: 29px;
        }
}


html, body {
    overflow-x: hidden !important;
}

.main-fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

    .main-fixed-header + form {
        margin-top: 140px; /* header height */
    }

@media (max-width: 768px) {
    .main-fixed-header + form {
        margin-top: 110px;
    }
}


