/*
Theme Name: ISarva Theme
Theme URI: https://isarvait.com
Description: ISarva Theme is simple theme mainly used in Elementor based theme
Version: 1.0
*/

* {
  margin:0px;
  padding:0px;
}

body {
  margin: 0;
  box-sizing: border-box;
}

.slide-text{
font-family: 'Playfair Display', serif;
font-style: italic !important;
font-weight: 500;
letter-spacing: 1px;
}

/* Enquiry Form Home Page */

.cf7-book-form {
    max-width: 100%;
    margin: auto;
    width: 100%;
    padding: 40px 40px 0px 40px;
    box-sizing: border-box;
	background: #ffffffc4;
}

.cf7-book-form input,
.cf7-book-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #000;
    padding: 15px 5px;
    font-size: 16px;
    background: transparent;
    margin-bottom: 25px;
    box-sizing: border-box;
}

.cf7-book-form textarea {
    height: 120px;
    resize: none;
}

.cf7-book-form input:focus,
.cf7-book-form textarea:focus {
    outline: none;
    border-bottom: 1px solid #000;
}

.cf7-book-form label{
display:block;
font-size:14px;
font-weight:400;
margin-bottom:5px;
color:#000;
font-family: roboto !important;
}

.cf7-book-form .required{
color:red;
margin-left:3px;
}

.cf7-book-form input[type="submit"] {
    width: 100%;
    background: #EC9C28;
    border: none;
    padding: 16px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
	margin-bottom: 0px;
}

.cf7-book-form input[type="submit"]:hover {
    background: #fff;
	color:#000;
}

/* Tablet */
@media (max-width: 1024px) {
    .cf7-book-form {
        max-width: 100%;
        padding: 15px 15px 0px 15px;
    }

    .cf7-book-form input,
    .cf7-book-form textarea {
        font-size: 15px;
        padding: 12px 5px;
    }

    .cf7-book-form textarea {
        height: 100px;
    }

    .cf7-book-form input[type="submit"] {
        padding: 14px;
        font-size: 13px;
		margin-bottom: 0px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .cf7-book-form {
        max-width: 100%;
        padding: 15px 15px 0px 15px;
    }

    .cf7-book-form input,
    .cf7-book-form textarea {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .cf7-book-form textarea {
        height: 90px;
    }

    .cf7-book-form input[type="submit"] {
        padding: 12px;
        font-size: 12px;
        border-radius: 30px;
		margin-bottom: 0px;
    }
}

.cf7-book-form input::placeholder,
.cf7-book-form textarea::placeholder{
color:#888;
}

/* About Transition */

.wpcf7-response-output {
	/* color: red; */
    /* color: #888; */
	font-family: roboto !important;
	font-weight: 300;
}

.about-image {
    animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-17px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* =========================
   REMOVE EXTRA SPACING
========================= */
.custom-contact-form,
.custom-contact-form form {
    padding: 0 !important;
    margin: 0 !important;
}

/* Elementor spacing fix */
.elementor-section,
.elementor-column,
.elementor-widget,
.elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
}


/* =========================
   FORM LAYOUT
========================= */
.custom-contact-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    width: 100%;
}

.form-group.full {
    width: 100%;
}


/* =========================
   INPUT STYLING
========================= */
.custom-contact-form input,
.custom-contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: 4px;
    font-size: 16px;
}

.custom-contact-form textarea {
    height: 150px;
}


/* =========================
   BUTTON STYLING
========================= */
.custom-contact-form input[type="submit"] {
    width: 200px;
    background: #ec9c28;
    color: #000000;
    border: none;
    padding: 12px;
    border-radius: 30px;
    cursor: pointer;
    margin-bottom: 5px !important;
}


/* =========================
   ERROR MESSAGE STYLING
========================= */

/* Bottom error message */
.custom-contact-form .wpcf7-response-output {
    color: red !important;
    border: 1px solid red !important;
    margin-top: 10px !important;
    padding: 8px 10px;
    font-size: 14px;
}

/* Field error text */
.custom-contact-form .wpcf7-not-valid-tip {
    color: red !important;
    font-size: 13px;
    margin-top: 5px;
}

/* Input error border */
.custom-contact-form .wpcf7-not-valid {
    border: 1px solid red !important;
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .custom-contact-form input[type="submit"] {
        width: 100%;
    }
}