/*======================================================================
    Footer (form plus 2 column grid)
========================================================================*/
/* Footer form */
.form-footer {
    max-width: 1000px;
    margin: 5rem auto;
    position: relative;
    display: inline-flex;
    padding: 4rem;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    border-radius: 16px;
    color: var(--neutral-white);
    box-shadow: var(--shadow-md);
    background: var(--blue-gradient, linear-gradient(213deg, #0069CC 12.02%, #053B9E 82.05%));
}

.form-content {
    /* display: flex; */
    width: 400px;
    flex-direction: column;
    align-items: flex-start;
    /* gap: 24px; */
    /* align-self: stretch; */
}

.form-content p {
    color: var(--neutral-white);
}

.form-fields {
    display: flex;
    width: 500px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 20px;
}

input,
textarea {
    border: none;
    outline: none;
    width: 100%;
    background-color: transparent;
    color: var(--text-500);
    resize: none;
    font-family: Manrope;
    font-size: 16px;
}

input::placeholder,
textarea::placeholder {
    color: var(--neutral-200);

}


.field-item {
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    background-color: var(--neutral-white);
    padding: 0 1rem;
    border-radius: 4px;
}

.field-container {
    width: 100%;
}

.textarea {
    height: 100px;
}

.form-contact {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    width: 100%;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* form button */
button[type="submit"] {
    width: 100%;
    color: var(--blue-800);
    background-color: var(--accent-yellow);
    height: 44px;
    border-radius: 4px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* cross svg */
.cross {
    position: absolute;
    left: 3rem;
    bottom: -4rem;
    stroke-width: 4px;
    stroke: #CFDFFC;
    filter: drop-shadow(0 5px 10px rgba(37, 40, 45, 0.10)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.10));
    cursor: grab;
    user-select: none;
    transition: filter 0.3s ease;
}

.cross:active {
    cursor: grabbing;
    filter: brightness(1.3);
}

.cross-tooltip {
    position: fixed;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transform: scale(0.9);
}

/* circular wave svg */
.circular-wave {
    z-index: -5;
    opacity: 80%;
    position: absolute;
    right: -18rem;
    top: -1rem;
    width: 160px;
    height: 160px;
}




/* Footer menu */

/* Footer menu - Default styles (for index and other pages) */
.site-footer {
    display: flex;
    width: 1440px;
    padding-top: 24px;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background-color: #ffffff;
    /* Default white background */
    color: #25282d;
    /* Default dark text */
}

/* Contact Us page footer - Blue gradient background */
body.contact-us .site-footer {
    background: linear-gradient(213deg, #0069CC 12.02%, #053B9E 82.05%);
    color: #ffffff;
}


.site-footer-color {
    display: flex;
    width: 1440px;
    padding-top: 24px;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background-color: var(--blue-gradient, linear-gradient(213deg, #0069CC 12.02%, #053B9E 82.05%));
}


.site-footer>img {
    width: 100%;
    height: auto;
}

.site-footer a:hover {
    color: var(--blue-800);
}



.top-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Left column (About) stays on the left */
.footer-about {
    flex: 1;
    max-width: 350px;
}

/* Group the right-side columns */
.footer-right-group {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 4rem;
    /* spacing between Quick Links and Get in touch */
    flex: 1;
}

/* Each footer item still vertically stacked */
.footer-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Make sure right group collapses nicely on mobile */
@media (max-width: 768px) {
    .top-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-right-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        width: 100%;
    }
}

.top-footer p {
    color: var(--text-black)
}

.contact-footer p {
    color: var(--neutral-white);
}

.top-footer .brand {
    color: var(--blue-800);
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    height: auto;
    width: 200px;
}

.footer-about,
.footer-address {
    max-width: 304px;
}

.quick-links>div,
.policies>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
}

.policies.footer-item {
    display: none;
}

.bottom-footer {
    border-top: 1px solid var(--Neutral-50, #E0E4EB);
    width: 100%;
}

.bottom-footer .container {
    display: flex;
    padding: 1rem 0;
    justify-content: space-between;
    align-items: flex-start;
}

.bottom-footer p {
    width: 304px;
    text-align: left;
}

.social-icons {
    display: flex;
    width: 144px;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}

.bbb-accreditation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.bbb-logo {
    width: 180px;
    /* Adjust as needed */
    height: auto;
    display: block;
}

.footer-address.footer-item p:nth-child(1) {
    /* border: red solid 1px; */
    margin-top: 0px;
}



/* ==========================================================================
   Breakpoint: ≤1200px (large tablets / small desktops)
   - Hero: reduce gaps
   - Brands: 3 → 2 columns
   ========================================================================== */
@media (max-width:1200px) {

    /* cross svg */
    .cross {
        left: 3.5rem;
        bottom: -4rem;
    }

    /* circular wave svg */
    .circular-wave {
        right: -27rem;
        top: -1rem;
    }

}

/* ==========================================================================
   Breakpoint: ≤992px (tablets)
   - Hero: stack title/copy above image
   - Center actions/copy
   - Brands: 2 → 1 column
   ========================================================================== */
@media (max-width:992px) {

    /* circular wave svg */
    .circular-wave {
        right: -5rem;
        top: -4rem;
    }

    .top-footer {
        gap: 3rem;
    }

    .bottom-footer p {
        width: auto;
    }
}

/* ==========================================================================
   Breakpoint: ≤768px (large phones / phablets)
   - Slightly smaller hero image
   - Card spacing tighter
   ========================================================================== */
@media (max-width:768px) {

    .form-footer {
        flex-direction: column;
        padding: 2rem;
    }

    .form-content,
    .form-fields {
        width: auto;
    }

    .cross {
        width: 80px;
        left: 3rem;
        bottom: -3.4rem;
    }

    .top-footer,
    .bottom-footer>.container {
        flex-direction: column;
    }

    .footer-about,
    .footer-address {
        max-width: 100%;
    }
}

/* ==========================================================================
   Breakpoint: ≤576px (phones)
   - Smaller padding
   - Reduce card + hero image height
   ========================================================================== */
@media (max-width:576px) {

    .circular-wave {
        right: -6.4rem;
        top: -4rem;
    }

}