﻿
/* ==========================================
   ENQUIRY PAGE - RENTOMOJO STYLE
========================================== */

.enquiry-page {
    width: 100%;
    padding: 0 20px 35px;
    background: #f5f5f5;
}

/* ONE MAIN CONTAINER */

.enquiry-main {
    position: relative;
    width: 100%;
    max-width: 1444px;
    height: 710px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 45px 5%;
    overflow: hidden;
    border-radius: 0 0 3px 3px;
    /* Full background image across the entire container */
    background-image: linear-gradient( 90deg, rgba(42, 27, 17, .48), rgba(42, 27, 17, .18) ), url('/images/hero-ac.jpg');
    background-size: cover;
    background-position: center center;
    /* IMPORTANT: Image will not stay fixed while scrolling */
    background-attachment: scroll;
    background-repeat: no-repeat;
}


/* ==========================================
   LEFT CONTENT
========================================== */

.enquiry-content {
    position: relative;
    z-index: 2;
    width: 52%;
    max-width: 650px;
    color: #fff;
    padding-right: 35px;
}

    .enquiry-content h1 {
        color: #fff;
        font-size: clamp(35px, 3.2vw, 52px);
        font-weight: 800;
        line-height: 1.18;
        margin-bottom: 20px;
    }

        .enquiry-content h1 span {
            color: #ffcf78;
        }

    .enquiry-content p {
        max-width: 480px;
        color: #fff;
        font-size: 17px;
        font-weight: 500;
        line-height: 1.65;
        margin: 0;
    }


/* ==========================================
   RIGHT ENQUIRY CARD
========================================== */

.enquiry-card {
    position: relative;
    z-index: 3;
    width: 48%;
    max-width: 580px;
    padding: 34px 39px 32px;
    background: rgba(255, 255, 255, .93);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    backdrop-filter: blur(5px);
}


    /* FORM HEADING */

    .enquiry-card h2 {
        color: #202a36;
        font-size: 22px;
        font-weight: 800;
        margin: 0 0 27px;
    }


    /* ==========================================
   INPUT FIELDS
========================================== */

    .enquiry-card form {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

.enquiry-input {
    width: 100%;
}

    .enquiry-input input,
    .enquiry-input select,
    .enquiry-input textarea {
        display: block;
        width: 100%;
        height: 49px;
        padding: 0 15px;
        border: 1px solid #bdbdbd;
        border-radius: 9px;
        background: rgba(255,255,255,.35);
        color: #333;
        font-family: inherit;
        font-size: 15px;
        outline: none;
        transition: .25s;
    }

        .enquiry-input input::placeholder,
        .enquiry-input textarea::placeholder {
            color: #8b929a;
        }

    .enquiry-input select {
        color: #8b929a;
        cursor: pointer;
    }

        .enquiry-input select:valid {
            color: #333;
        }

    .enquiry-input textarea {
        height: 75px;
        padding: 12px 15px;
        resize: vertical;
    }

        .enquiry-input input:focus,
        .enquiry-input select:focus,
        .enquiry-input textarea:focus {
            border-color: #e63225;
            background: #fff;
            box-shadow: 0 0 0 3px rgba(230,50,37,.08);
        }


/* ==========================================
   SUBMIT BUTTON
========================================== */

.enquiry-submit {
    width: 100%;
    height: 56px;
    margin-top: 3px;
    border: none;
    border-radius: 35px;
    background: #e63225;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

    .enquiry-submit:hover {
        background: #c9271c;
        box-shadow: 0 6px 18px rgba(230,50,37,.20);
    }


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 991px) {

    .enquiry-page {
        padding: 0 15px 25px;
    }

    .enquiry-main {
        height: auto;
        min-height: 650px;
        padding: 45px 30px;
        gap: 25px;
    }

    .enquiry-content {
        width: 45%;
    }

        .enquiry-content h1 {
            font-size: 34px;
        }

        .enquiry-content p {
            font-size: 14px;
        }

    .enquiry-card {
        width: 55%;
        padding: 28px;
    }
}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 650px) {

    .enquiry-page {
        padding: 0 10px 20px;
    }

    .enquiry-main {
        min-height: auto;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 45px 18px 25px;
        gap: 30px;
        background-position: center;
    }

    .enquiry-content {
        width: 100%;
        padding: 0;
    }

        .enquiry-content h1 {
            font-size: 32px;
            margin-bottom: 12px;
        }

        .enquiry-content p {
            font-size: 14px;
            line-height: 1.6;
        }

    .enquiry-card {
        width: 100%;
        max-width: none;
        padding: 25px 18px;
        border-radius: 10px;
    }

        .enquiry-card h2 {
            font-size: 20px;
            margin-bottom: 22px;
        }

        .enquiry-card form {
            gap: 13px;
        }

    .enquiry-input input,
    .enquiry-input select {
        height: 47px;
        font-size: 14px;
    }

    .enquiry-submit {
        height: 51px;
        font-size: 15px;
    }
}
