/*
Theme Name: GeneratePress Child
Theme URI: https://example.com
Description: Child theme for GeneratePress
Author: Your Name
Template: generatepress
Version: 1.0
*/



/*contact us */
.gb-element-33512fda{
    height: 452px !important;
}
/*End*/
/* Mobile field wrapper */
.home_contactus .iti {
    width: 100%;
}

/* Mobile input */
.home_contactus .iti input {
    width: 100% !important;
    padding: 10px 10px 10px 90px !important;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
    transition: 0.3s;
}

/* Focus effect */
.home_contactus .iti input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76,175,80,0.3);
}

/* Remove hover effect from country selector */
.home_contactus .iti__selected-country,
.home_contactus .iti__selected-country:hover,
.home_contactus .iti__selected-country:focus {
    background: transparent !important;
}

/* Remove hover effect from country list items */
.home_contactus .iti__country:hover {
    background: #fff !important;
}

/* Remove blue highlight on selected country */
.home_contactus .iti__country.iti__highlight {
    background: #fff !important;
}






.home_contactus form {
    max-width: 500px;
    margin: auto;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

.home_contactus form p {
    margin-bottom: 15px;
}

.home_contactus label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.home_contactus input,
.home_contactus select,
.home_contactus textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: 0.3s;
    font-size: 14px;
    box-sizing: border-box;
}

.home_contactus input:focus,
.home_contactus select:focus,
.home_contactus textarea:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76,175,80,0.3);
}

.home_contactus .error {
    border: 2px solid red !important;
    background-color: #fff5f5;
}



.home_contactus .form-buttons {
    display: flex;
    gap: 10px;
}

.home_contactus .form-buttons button {
    flex: 1;
    
    padding: 12px;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}


.home_contactus .reset-btn {
    background: #dc3545;
}

.home_contactus .reset-btn:hover {
    background: #c82333;
}

/*newletter css start*/
.email-success-message{
    color: green;
    margin-top: 15px;
    text-align: center;
    font-size: 16px;
}

.email-error-message{
    color: red;
    margin-top: 15px;
    text-align: center;
    font-size: 16px;
}
.email-download-form {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.email-download-form input[type="email"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.email-download-form button {
    width: auto;
    min-width: 120px;
    padding: 12px 20px;
    background: #f4f8fa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.email-download-form button:hover {
    background: #218838;
}

.newsletter_submit {
    background-color: #ffc300 !important;
    color: black !important;
   
    padding: 12px 35px !important;
    
}
/*end */


/* Sponsor Form Container */
/* Submit Button */
.sponsor-submit-btn,
button[type="submit"] {
    background: #162d4a;
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 8px; /* radius */
    cursor: pointer;
    transition: 0.3s;
}

.sponsor-submit-btn:hover,
button[type="submit"]:hover {
    background: #0a1c33;
}
button[type="reset"] {
    background: #dc3545 !important;
    color: #fff !important;
    border: none;
    padding: 14px 35px;
    border-radius: 8px; /* radius */
    cursor: pointer;
    transition: 0.3s;
}

.sponsor-reset-btn:hover,
button[type="reset"]:hover {
    background: #bb2d3b !important;
}

.sponsor-form-wrapper {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Form Fields */
.sponsor-form-wrapper input,
.sponsor-form-wrapper select,
.sponsor-form-wrapper textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 15px;
    margin-top: 5px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Focus Effect */
.sponsor-form-wrapper input:focus,
.sponsor-form-wrapper select:focus,
.sponsor-form-wrapper textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 8px rgba(0,115,170,0.2);
}

/* Textarea */
.sponsor-form-wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

/* Labels */
.sponsor-form-wrapper label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

/* Form Groups */
.sponsor-form-wrapper p {
    margin-bottom: 18px;
}

/* Buttons Container */
.sponsor-btn-group {
    display: flex;
    gap: 10px;
}

/* Submit Button */
.sponsor-submit-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.sponsor-submit-btn:hover {
    background: #005f8d;
}

/* Reset Button */
.sponsor-reset-btn {
    background: #dc3545 !important;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.sponsor-reset-btn:hover {
    background: #c82333 !important;
}

/* Success Message */
.sponsor-success {
    background: #e8f8ed;
    color: #198754;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #198754;
}

/* Error Message */
.sponsor-error {
    background: #fdeaea;
    color: #dc3545;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #dc3545;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sponsor-form-wrapper {
        padding: 20px;
        margin: 20px;
    }

    .sponsor-btn-group {
        flex-direction: column;
    }

    .sponsor-submit-btn,
    
    .sponsor-reset-btn {
        width: 100%;
    }
}

/* Phone field wrapper */
.iti {
    width: 100% !important;
    display: block;
    margin-top: 15px; /* top margin */
}

/* All form fields spacing */
.sponsor-form-wrapper input,
.sponsor-form-wrapper select,
.sponsor-form-wrapper textarea,
.sponsor-form-wrapper .iti {
    margin-top: 15px;
}

/* Phone input */
.iti input[type="tel"],
#sponsor_mobile {
    width: 100% !important;
    height: 56px;
    padding-left: 90px !important;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Remove black hover/focus from country selector */
.iti__selected-country,
.iti__selected-country:hover,
.iti__selected-country:focus,
.iti__selected-country:active {
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Remove hover color from dropdown countries */
.iti__country:hover,
.iti__country.iti__highlight {
    background: #f5f5f5 !important;
    color: #333 !important;
}

/* Flag container */
.iti__selected-country-primary {
    display: flex;
    align-items: center;
    height: 56px;
}

/* Dropdown z-index */
.iti__dropdown-content {
    z-index: 9999 !important;
}