/* ===========================
   HERO BANNER
=========================== */
.contact-hero {
    width: 100%;
    margin: 0;
    padding: 0;
}

.contact-right {
    width: 100%;
}

.contact-right img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile fix */
@media (max-width: 576px) {
    .contact-right img {
        object-fit: contain;
        height: auto;
    }
}
.contact-section {
    text-align: center;
    padding: 60px 20px;
}

.contact-section h2 {
    font-size: 36px;
    font-weight: 700;
    
}

.sub-text {
    font-size: 26px;
    color: #444;
    margin-bottom: 50px;
   
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
/* BASE CARD SIZE (Same for all devices) */
.contact-card {
    position: relative;
    width: 380px;
    height: 360px;
    border-radius: 18px;
    overflow: hidden;
    text-align: center;
}

/* Background image perfect fit */
.bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 97%;
    background-size: contain;   /* IMPORTANT — shows full image */
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0.6);
    border-radius:36px;
}

/* WRAPPER */
.contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* TABLET (Same size as desktop) */
@media (max-width: 992px) {
    .contact-card {
        width: 380px;
        height: 360px;
    }
}

/* MOBILE (Same size — centered) */
@media (max-width: 768px) {
    .contact-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contact-card {
        width: 90%;
        max-width: 380px;
        height: 360px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .contact-card {
        width: 95%;
        height: 360px;
    }
}

/* ===========================
   CONTACT FORM + IMAGE
=========================== */
.contact-form-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 20px 70px 20px;
    flex-wrap: wrap;
}

/* Form Box */
.contact-form-box {
    background: #efffe8;
    padding: 40px;
    border-radius: 25px;
    width: 45%;
    min-width: 330px;
    position: relative;
}

/* Logo above box */
.contact-logo {
    width: 90px;
    position: absolute;
    top: -40px;
    left: 95%;
    transform: translateX(-50%);
}

/* Form Title */
.contact-form-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* ------ FIXED: NO MORE row/col CONFLICT ------ */
/* Custom row + column for the form ONLY */
.form-row {
    display: flex;
    gap: 20px;
}

.form-col {
    width: 100%;
}

/* Inputs */
.contact-form-box input,
.contact-form-box textarea {
    width: 100%;
    border: none;
    background: white;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
    outline: 2px solid #4cd77f;
}

.contact-form-box label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

/* Button */
.submit-btn {
    background: #000;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

/* Right Image */
.contact-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 25px;
    object-fit: cover;
}

/* ===========================
   RESPONSIVE FIX (TABLET)
=========================== */
@media (max-width: 992px) {

    .contact-form-section {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .contact-form-box {
        width: 100% !important;
        min-width: auto !important;
        margin-bottom: 20px;
    }

    .form-row {
        flex-direction: column;
    }

    .contact-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .contact-image img {
        width: 100% !important;
        max-width: 500px;
        height: auto;
    }
}

/* ===========================
   MOBILE RESPONSIVE
=========================== */
@media (max-width: 576px) {

    .contact-form-box {
        padding: 25px 20px;
    }

    .contact-logo {
        width: 70px;
        top: -30px;
    }

    .contact-form-box h3 {
        font-size: 18px;
    }

    .submit-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
}
