/* ==================================================
   CONTACT PAGE CSS
   ================================================== */

.contact-hero {
    position: relative;
    background-color: #ffffff;
    padding-top: 150px;
    padding-bottom: 50px;
    z-index: 1;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: #4F94D2;
    z-index: -1;
}

.contact-title {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(2.2rem, 8vw, 5rem);
    letter-spacing: -2px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.contact-title::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    z-index: -1;
    pointer-events: none;
}

.contact-info-cards {
    position: relative;
    z-index: 2;
}

.contact-card {
    border: none;
    border-radius: 20px !important;
    padding: 30px !important;
    text-align: left;
    background: transparent;
    /* White bg moved to ::after */
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    cursor: pointer; /* Allows hover effects to trigger on mobile tap */
}

/* White background layer to fix stacking context */
.contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    z-index: -1;
}

/* Blue hover layer */
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4F94D2;
    border-radius: 20px;
    z-index: -2;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    box-shadow: 0 10px 20px #ffffff;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card:hover::before {
    opacity: 1;
    transform: rotate(-3deg) scale(1.02);
}

.contact-card .icon-box {
    width: 60px;
    height: 60px;
    background: #f4f5f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px !important;
}

.contact-card .icon-box i {
    font-size: 1.2rem;
    color: var(--primary-black);
}

.contact-card h5 {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    margin-bottom: 15px !important;
    color: var(--primary-black);
}

.contact-card p {
    font-family: "DM Sans", sans-serif;
    color: var(--primary-black);
    margin-bottom: 8px !important;
    font-size: 15px;
    line-height: 1.5;
}

.contact-card p.text-muted {
    color: #777777 !important;
}

.contact-card p.fw-semibold {
    font-weight: 600;
}


/* Form Section */
.contact-form-section {
    padding: 100px 0;
    background-image: url('../assets/startcleaing.webp');
    /* Placeholder if actual washing machine img is different */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

.contact-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(200, 200, 200, 0.1);
    z-index: 0;
}

.contact-form-card {
    border-radius: 20px !important;
    padding: 50px !important;
    background: #ffffff;
    border: none;
    position: relative;
    z-index: 2;
}

.contact-form-card h3 {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    margin-bottom: 30px !important;
    text-transform: uppercase;
}

.contact-form-card .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 30px !important;
    padding: 15px 25px !important;
    font-family: "DM Sans", sans-serif;
    font-size: 0.95rem;
}

.contact-form-card textarea.form-control {
    border-radius: 20px !important;
    resize: none;
}

.contact-form-card .form-control:focus {
    box-shadow: none;
    border-color: #4F94D2;
}

.contact-form-card .submit-btn {
    background-color: #4F94D2;
    color: #ffffff;
    border: none;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    padding: 15px 30px !important;
    border-radius: 30px !important;
}

.contact-form-card .submit-btn:hover {
    background-color: #ffffff;
    color: #4F94D2;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px #4F94D2;
}

/* Trusted partner yellow bar specifically for this page if needed */
/* The page image shows a bright yellow partner banner. */
/* We will override the trusted-partner background for the contact page in HTML */

@media (max-width: 991px) {
    .contact-hero::before {
        height: 50%;
    }
}

@media (max-width: 767px) {
    .contact-title {
        letter-spacing: -1px;
    }

    .contact-hero::before {
        height: 45%;
    }

    .contact-form-card {
        padding: 30px !important;
    }

    .contact-card {
        padding: 28px !important;
    }
}