/*
Theme Name: Astra Child
Description: Child Theme for astra
Template: astra
Version: 1.0.1
Text Domain: astra-child
*/

#menu-1-6d7f3c5 {
    flex: none;
}

/* Container Layout */
.join-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
}

/* Email Input Field */
.join-form-wrapper .email-field input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  background-color: #ffffff;
  color: #2b2b2b;
  border: 1px solid #4a4a4a;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s ease;
}

.join-form-wrapper .email-field input[type="email"]::placeholder {
  color: #888888;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.join-form-wrapper .email-field input[type="email"]:focus {
  border-color: #d4af37;
}

/* Submit Button */
.join-form-wrapper .submit-btn input[type="submit"] {
  background-color: #d4af37;
  color: #2b2b2b;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.join-form-wrapper .submit-btn input[type="submit"]:hover {
  background-color: #e5c158;
}

.join-form-wrapper .submit-btn p{
    margin: 0;
}

/* Contact Form 7 Validation Messages */
.wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 4px;
}

.wpcf7-response-output {
  margin: 10px 0 0 0 !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  border-radius: 4px !important;
  border-color: #d4af37 !important;
}

/* Callback Form Container */
/* Base Reset for CF7 Wrapper Elements */
.callback-section-wrapper p {
    margin: 0;
    padding: 0;
    width: 100%;
}

.callback-section-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Outer Wrapper & Typography */
.callback-section-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.callback-section-wrapper .eyebrow-text {
    display: block;
    color: #C59B27;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.callback-section-wrapper .form-heading {
    color: #2B2B2B;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

/* Layout Grid */
.callback-form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

/* Input Controls */
.callback-section-wrapper .form-input,
.callback-section-wrapper .form-select,
.callback-section-wrapper .form-textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    color: #2B2B2B;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.callback-section-wrapper .form-textarea {
    height: 110px;
    resize: vertical;
}

/* Placeholder & Select Customization */
.callback-section-wrapper .form-input::placeholder,
.callback-section-wrapper .form-textarea::placeholder {
    color: #888888;
    font-size: 13px;
}

.callback-section-wrapper .form-select {
    color: #888888;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%232B2B2B" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* Focus States */
.callback-section-wrapper .form-input:focus,
.callback-section-wrapper .form-select:focus,
.callback-section-wrapper .form-textarea:focus {
    border-color: #C59B27;
    outline: none;
    box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

/* Button Styling */
.callback-section-wrapper .btn-submit {
    width: 100%;
    background-color: #C59B27;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.callback-section-wrapper .btn-submit:hover {
    background-color: #2B2B2B;
    color: #C59B27;
}



/* Messages Customization */
.wpcf7-not-valid-tip {
    color: #D9534F;
    font-size: 12px;
    margin-top: 4px;
}

.wpcf7-response-output {
    border-radius: 6px !important;
    font-size: 14px !important;
    text-align: center !important;
    margin-top: 15px !important;
    padding: 12px !important;
}

/* Success Message Styling */
.wpcf7-mail-sent-ok {
    border: 1px solid #C59B27 !important;
    background-color: rgba(197, 155, 39, 0.1) !important;
    color: #2B2B2B !important;
}

/* Error Message Styling */
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    border: 1px solid #D9534F !important;
    background-color: #FDF2F2 !important;
    color: #D9534F !important;
}





/* Form Container */
.quote-form-wrapper p {
    margin: 0;
    padding: 0;
    width: 100%;
}

.quote-form-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Container Base Layout */
.quote-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

/* Input, Select & Textarea Base Styling */
.quote-form-wrapper .form-input,
.quote-form-wrapper .form-select,
.quote-form-wrapper .form-textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    color: #2B2B2B;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.quote-form-wrapper .form-textarea {
    height: 110px;
    resize: vertical;
}

/* Placeholders & Select Styling */
.quote-form-wrapper .form-input::placeholder,
.quote-form-wrapper .form-textarea::placeholder {
    color: #888888;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.quote-form-wrapper .form-select {
    color: #888888;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%232B2B2B" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* Focus States */
.quote-form-wrapper .form-input:focus,
.quote-form-wrapper .form-select:focus,
.quote-form-wrapper .form-textarea:focus {
    border-color: #C59B27;
    outline: none;
    box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

/* Button Base Styling */
.quote-form-wrapper .btn-submit {
    width: 100%;
    background-color: #C59B27;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.quote-form-wrapper .btn-submit:hover {
    background-color: #2B2B2B;
    color: #C59B27;
}

/* Validation Messages */
.wpcf7-not-valid-tip {
    color: #D9534F;
    font-size: 12px;
    margin-top: 4px;
}

.wpcf7-response-output {
    border-radius: 6px !important;
    font-size: 14px !important;
    text-align: center !important;
    margin-top: 15px !important;
    padding: 12px !important;
}

.site-below-footer-wrap {
  background-color: #000000;
  border-top: 1px solid #242424 !important;
}


/* Apply top border-radius to the title when the accordion item is open */
.e-n-accordion .e-n-accordion-item[open] > .e-n-accordion-item-title {
    border-radius: 20px 20px 0 0 !important;
}

/* Optional: Ensure the expanded content area matches the bottom rounded corners */
.e-n-accordion .e-n-accordion-item[open] {
    border-radius: 20px !important;
    overflow: hidden;
}

.elementor-7 .elementor-element.elementor-element-0620c78 .hfe-nav-menu-icon {
    padding: 0;
}

.elementor-479 .elementor-element.elementor-element-f83871f .elementor-icon-list-text {
    word-wrap: anywhere;
}



/* DESKTOP (Above 1024px) - 1 Column Stack */
@media screen and (min-width: 1025px) {
    .quote-form-wrapper .form-field,
    .quote-form-wrapper .form-submit {
        width: 100%;
    }


    .callback-form-grid .form-field,
    .callback-form-grid .form-submit {
        width: 100%;
    }
}

/* TABLET (768px to 1024px) - 2 Columns Layout */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .quote-form-wrapper .form-field {
        width: calc(50% - 8px) !important;
        box-sizing: border-box;
    }

    /* Force Full Width for Loan Amount, Message, and Submit Button */
    .quote-form-wrapper .form-field:nth-child(5),
    .quote-form-wrapper .form-field:nth-child(6),
    .quote-form-wrapper .form-submit {
        width: 100% !important;
    }

    .callback-form-grid .form-field {
        width: 100% !important;
        box-sizing: border-box;
    }

    .callback-form-grid .full-width,
    .callback-form-grid .form-submit {
        width: 100% !important;
    }
}



/* MOBILE (767px and below) - 1 Column Full Width Stack */
@media screen and (max-width: 767px) {
    .quote-form-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .quote-form-wrapper .form-field,
    .quote-form-wrapper .form-submit {
        width: 100% !important;
    }

     .callback-form-grid {
        flex-direction: column;
        gap: 12px;
    }

    .callback-form-grid .form-field,
    .callback-form-grid .form-submit {
        width: 100% !important;
    }
}