.card{
    background-color: #ffffff;
}

.send-btn{
    border: 0;
    color: #ffffff;
    border-radius: 16px;
    font-size: clamp(1rem, 0.92rem + 0.4vw, 1.25rem);
    font-weight: 600;
    transition: transform .2s ease, opacity .2s ease;
}

.send-btn:hover{
    transform: translateY(-2px);
    opacity: 0.95;
}

.form-control:focus, .form-select:focus {
  box-shadow: none;   /* removes the glow */
  outline: none;      /* removes the outline */
}

.contact-icon-container {
    background-color: #FDD1DB;
}

.contact-info{
    max-height: 100%;
    border-radius: 16px;
}

/* =========================================
   SECTION ONE - hero + blob visual
   (contact.css loads after safety.css, so these win)
========================================= */
.contact-section-one{
    overflow: hidden;
}

.contact-blob{
    position: relative;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
}

.contact-blob .blob{
    width: 100%;
    max-width: 440px;
    height: auto;
    display: block;
}

/* Square contact art (484x486): overflows blob, bottom-anchored */
.safety-blob.contact-blob .contact-img{
    position: absolute;
    left: 50%;
    top: auto;
    bottom: -4%;
    transform: translateX(-50%);
    width: 78%;
    max-width: 340px;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

/* =========================================
   SECTION TWO - form + info panel
========================================= */
.contact-section-two{
    overflow: hidden;
}

.contact-form-body{
    padding: 1.75rem;
}

.contact-divider{
    border: 0;
    border-top: 1px solid #F3B9C7;
    opacity: 1;
    margin: 1.25rem 0;
}

.contact-social-item p{
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

.contact-social-item img{
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.contact-email-btn{
    border: 0;
    color: #FFFFFF;
    border-radius: 16px;
    width: fit-content;
    font-size: clamp(1rem, 0.92rem + 0.4vw, 1.25rem);
    font-weight: 600;
}

/* =========================================
   LARGE DESKTOP 1200px+ (desktop structure unchanged)
========================================= */
@media (min-width: 1200px){
    .contact-blob{
        max-width: 480px;
    }
    .contact-blob .blob{
        max-width: 480px;
    }
    .safety-blob.contact-blob .contact-img{
        width: 78%;
        max-width: 370px;
    }
}

/* =========================================
   TABLET 768px - 991.98px
   - hero stacks + centers
   - info panel drops BELOW form, inner content in flex row
========================================= */
@media (max-width: 991.98px){
    .contact-hero-content{
        text-align: center;
        align-items: center !important;
    }
    .contact-blob{
        max-width: 400px;
        margin-top: 0.5rem;
    }
    .contact-blob .blob{
        max-width: 400px;
    }
    .safety-blob.contact-blob .contact-img{
        width: 78%;
        max-width: 315px;
    }
    .contact-form-body{
        padding: 1.5rem 1.35rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px){
    /* info panel: email + follow side-by-side, social full row below */
    .contact-info{
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
        text-align: center;
    }
    .contact-block{
        flex: 1 1 0;
        min-width: 220px;
    }
    .contact-info .icon-container{
        width: 72px;
        height: 72px;
        margin-inline: auto;
    }
    .contact-divider{
        display: none;
    }
    .contact-social{
        flex: 1 1 100%;
        justify-content: space-around !important;
        margin-top: 0 !important;
    }
    .contact-social-item{
        flex: 0 1 auto;
    }
}

/* =========================================
   MOBILE < 768px
   - everything stacks: hero, form fields, info blocks
========================================= */
@media (max-width: 767.98px){
    .contact-section-one{
        padding-top: 2rem !important;
        padding-bottom: 2.5rem !important;
    }
    .contact-blob{
        max-width: 320px;
    }
    .contact-blob .blob{
        max-width: 320px;
    }
    .safety-blob.contact-blob .contact-img{
        width: 80%;
        max-width: 260px;
    }
    .contact-section-two{
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .contact-form-body{
        padding: 1.25rem 1.1rem;
    }
    /* bare .col pairs (name/email, phone/country) stack full-width */
    .contact-section-two form .row.g-3 > .col{
        flex: 1 0 100%;
        width: 100%;
        max-width: 100%;
    }
    .contact-info{
        text-align: center;
        padding: 1.5rem 1.25rem !important;
    }
    .contact-info .icon-container{
        width: 64px;
        height: 64px;
        margin-inline: auto;
    }
    .contact-social{
        justify-content: center !important;
    }
    .contact-social-item{
        flex: 1 1 40%;
        max-width: 45%;
    }
}

/* =========================================
   VERY SMALL MOBILE < 400px
========================================= */
@media (max-width: 399.98px){
    .contact-blob{
        max-width: 260px;
    }
    .contact-blob .blob{
        max-width: 260px;
    }
    .safety-blob.contact-blob .contact-img{
        width: 82%;
        max-width: 215px;
    }
    .contact-form-body{
        padding: 1.1rem 1rem;
    }
    .contact-social-item{
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* =========================================
   SECTION THREE - partner banner (image + text)
   Desktop: side-by-side. Tab/mobile: stacks + centers.
========================================= */
.contact-section-three{
    overflow: hidden;
    border-radius: 16px;
}

.contact-sec3-img{
    min-width: 0;
}

.contact-sec3-couple{
    width: 100%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 1200px){
    .contact-sec3-couple{
        max-width: 410px;
    }
}

@media (max-width: 991.98px){
    .contact-sec3-couple{
        max-width: 320px;
    }
    /* email button: horizontally centered on tab + mobile
       (desktop keeps its left position) */
    .contact-email-btn{
        margin-inline: auto;
    }
}

@media (max-width: 767.98px){
    .contact-sec3-couple{
        max-width: 280px;
    }
}

@media (max-width: 399.98px){
    .contact-sec3-couple{
        max-width: 240px;
    }
}


#contactForm label.error {
    display: block;
    width: 100%;
    color: #dc3545;
    font-size: 13px;
    font-weight: 400;
    margin-top: -8px;
    margin-bottom: 10px;
}

.contact-form-message {
    display: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    margin-top: 12px;
    margin-bottom: 10px;
}

.contact-form-message.success {
    color: #198754;
}

.contact-form-message.error {
    color: #dc3545;
}


#contactForm button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}