/*
Theme Name: Gofly Child
Theme URI: https://www.gofly-wp.egenstheme.com/
Template: gofly
Author: Egenslab
Author URI: https://themeforest.net/user/egenslab/
Description: GoFly is a modern, responsive, and feature-rich WordPress theme designed for travel agencies, tour operators, and online booking platforms. Whether you’re offering tours, hotels, visa services, or unique travel experiences, GoFly provides a powerful all-in-one solution to manage your business online. With advanced booking functionality, customizable layouts, multilingual support, and seamless payment integration, GoFly helps you attract global travelers, showcase destinations, and increase bookings effortlessly.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:  blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready,This theme, like WordPress, is licensed under the GPL.Use it to make something cool, have fun, and share what you've learned with others.

*/


/* ===== GRAVITY FORM MODERN CARD DESIGN ===== */

body .gform_wrapper {
    max-width: 850px;
    margin: 0px auto 60px;
}
.gform_title {
	display: none;
}
/* Contact Form Inner Container Card Style */

.contact-form .e-con-inner {
    background: #EDEAF7;  /* same soft purple */
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
    position: relative;
}

/* Soft premium overlay effect */
.contact-form .e-con-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.35),
        rgba(255,255,255,0)
    );
    pointer-events: none;
}
body .gform_wrapper form {
	background: transparent;
	padding: 30px 0 0;
	border-radius: 0;
	box-shadow: none;
}

/* Title */
body .gform_wrapper .gform_title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

body .gform_wrapper .gform_description {
    text-align: center;
    font-size: 15px;
    margin-bottom: 40px;
    color: #666;
}

/* Two column layout */
body .gform_wrapper .gform_fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 25px;
}

/* Full width fields (message etc) */
body .gform_wrapper .gfield--type-textarea,
body .gform_wrapper .gfield.full-width {
    grid-column: 1 / -1;
}

/* Labels */
body .gform_wrapper label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

/* Inputs */
body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper input[type="tel"],
body .gform_wrapper select,
body .gform_wrapper textarea {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 14px 16px !important;
    font-size: 14px;
    width: 100%;
    transition: all 0.3s ease;
}

/* Focus Effect */
body .gform_wrapper input:focus,
body .gform_wrapper select:focus,
body .gform_wrapper textarea:focus {
    border-color: #4B7FA4;
    box-shadow: 0 0 0 3px rgba(75,127,164,0.15);
    outline: none;
}

/* Textarea height */
body .gform_wrapper textarea {
    min-height: 130px;
    resize: none;
}

/* Checkbox */
body .gform_wrapper .gfield_checkbox {
    grid-column: 1 / -1;
    margin-top: 10px;
}

/* Submit Button */
body .gform_wrapper .gform_button {
	background: #4B7FA4;
	color: #fff;
	border: none;
	padding: 14px 28px;
	font-size: 15px;
	border-radius: 8px;
	cursor: pointer;
	transition: 0.3s ease;
	margin-top: 15px;
	line-height: 1.3 !important;
}

body .gform_wrapper .gform_button:hover {
    background: #3a6787;
}

/* Center button */
body .gform_wrapper .gform_footer {
    grid-column: 1 / -1;
    text-align: left;
    margin-top: 10px;
}
/* Gravity Form Success Message Design */

.contact-form .gform_confirmation_message {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: #ffffff;
    padding: 25px 30px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.25);
    animation: fadeSlideUp 0.6s ease;
    position: relative;
}

/* Add check icon automatically */
.contact-form .gform_confirmation_message::before {
    content: "✔";
    display: block;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Smooth animation */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===== Responsive ===== */
@media(max-width: 768px){
    body .gform_wrapper form{
        padding: 30px 25px;
		margin: 10px;
    }
    body .gform_wrapper .gform_fields{
        grid-template-columns: 1fr;
    }
}