/* Footer Section Container */
.footer-section {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-section p,
.footer-section h3 {
    margin-bottom: 0px;
}

/* Customer Support Title */
.footer-section h3 {
    color: var(--Power-Lime, #ADFF60);
    font-family: Biryani;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

/* Working Hours */
.footer-section p:first-of-type {
    color: var(--new-light-green, #D8FFB4);
    font-family: Biryani;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
    letter-spacing: 0.28px;
}

/* Phone Number and Email */
.footer-section a[href^="tel"],
.footer-section a[href^="mailto"] {
    color: var(--new-light-green, #D8FFB4);
    font-family: Biryani;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
    letter-spacing: 0.28px;
    text-decoration-line: underline;
    display: block;
}

/* Domain Name */
.footer-section .domain,
.footer-section a[href^="https"] {
    color: var(--Power-Lime, #ADFF60);
    font-family: Biryani;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    margin: 2px 0;
    display: block;
}

/* Copyright Text */
.copyright p {
    color: var(--new-light-green, #D8FFB4);
    font-family: Biryani;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
    letter-spacing: 0.28px;
}

.footer-section p,
.volt-footer-wedo p {
    color: var(--new-light-green, #D8FFB4);
    font-family: Biryani;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
    letter-spacing: 0.28px;
}

.volt-footer-wedo p {
    padding: 20.741px 0.702px 20.741px 0px;
    margin-bottom: 0px;
}

.footer-c-custom-space {
    height: 90px;
}

.footer-x-custom-space {
    height: 44px;
}

div#custom_html-4 {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0px;
}

/* Footer Links */
.footer-links {
    display: flex;
    column-gap: 20px;
    row-gap: 4px;
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 6px;
}

.footer-links a {
    color: var(--new-light-green, #D8FFB4);
    font-family: Biryani;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
    letter-spacing: 0.28px;
    text-decoration-line: underline;
}

.volt-valge-logo {
    display: flex;
    width: 188px;
    height: 80px;
    padding: 20.741px 0.702px 20.741px 0px;
    margin-left: 6px;
    justify-content: center;
    align-items: center;
}


/* footer menu */
.wd-footer .widget_nav_menu .menu a {
    font-family: Biryani;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    color: var(--new-light-green, #D8FFB4);
}

.wd-footer .widget_nav_menu .menu :is(.current-menu-item, .current_page_item, .current-menu-ancestor, .current-page-ancestor) > a,
.wd-footer .widget_nav_menu .menu a[aria-current="page"] {
    color: var(--power-lime, #ADFF60);
}

/*sub form*/
.subscribe-form {
    max-width: 600px;
    margin: 0 auto;
    color: #ffffff;
}

.subscribe-input-group {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    height: var(--48, 48px);
    padding-left: 16px;
    justify-content: flex-end;
    align-items: center;
    gap: 56px;
    align-self: stretch;
}

.subscribe-input-group input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.75rem 1rem;
    font-family: Biryani;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
    color: var(--new-green);
}

.subscribe-button {
    background-color: var(--Power-Lime, #ADFF60);
    border: none;
    padding: 0 1.5rem;
    cursor: pointer;
    font-size: 1.25rem;
    color: #1b3f36;
    height: 60px;
}

.subscribe-checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    color: var(--Power-Lime, #ADFF60);
}

.subscribe-checkbox-group input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #b1f535;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.subscribe-checkbox-group input[type="checkbox"]:checked {
    background-color: #b1f535;
}

.subscribe-checkbox-group input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    width: 14px;
    height: 12px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="12" viewBox="0 0 14 12" fill="none"><path d="M1.58398 7.29183L3.85898 10.2168C3.93575 10.3165 4.03412 10.3976 4.14669 10.454C4.25927 10.5102 4.38313 10.5403 4.50898 10.5418C4.63281 10.5433 4.7554 10.517 4.86784 10.4652C4.98028 10.4133 5.07973 10.337 5.15898 10.2418L12.4173 1.4585" stroke="%230F3F36" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-size: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.subscribe-checkbox-group label {
    font-family: Biryani;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
    letter-spacing: 0.28px;
    margin-bottom: 0px;
    color: var(--new-light-green, #D8FFB4);
}

input[name="signup"] {
    font-size: larger;
    font-family: Biryani;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
    letter-spacing: 0.28px;
    color: var(--new-green);
}

.subscribe-checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: var(--Power-Lime, #ADFF60);
}



/* Mobile Responsiveness */
@media (max-width: 768px) {
    .site-footer {
        padding: 12px 16px;
    }

    .footer-links {
        flex-direction: column;
        gap: 2px;
    }

    .footer-section {
        gap: 0px;
    }

    .footer-section h3 {
        color: var(--Power-Lime, #ADFF60);
        font-family: Biryani;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 110%;
        margin: 2px 0;
        display: block;
    }

    .textwidget.custom-html-widget {
        text-align: center;
    }

    .volt-valge-logo {
        width: auto;
    }
}

/* Gravity Forms ID 8 - Footer Newsletter Subscription Styling */
#gform_wrapper_8 {
    max-width: 600px;
    margin: 0 auto;
}

/* Form Container - Position Relative for Button Placement */
#gform_8 {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

/* Reset inner containers */
#gform_8 .gform_body,
#gform_8 .gform_fields {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    width: 100%;
}

#gform_8 .gform_fields {
    display: block !important;
    /* Ensure fields stack vertically */
}

/* -----------------------------------------------------------
   Field 1: Email Input -> The "White Box" Container
   ----------------------------------------------------------- */
#gform_8 .newsletter-footer-email {
    position: relative !important;
    background-color: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    height: 48px !important;
    padding: 0 60px 0 16px !important;
    /* Right padding reserved for button */
    margin: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Hide label */
#gform_8 .newsletter-footer-email .gfield_label {
    display: none !important;
}

/* Input styling */
#gform_8 .newsletter-footer-email input[type="email"] {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 4 !important;
    color: var(--new-green) !important;
}

/* Mobile font size */
@media (max-width: 768px) {
    #gform_8 .newsletter-footer-email input[type="email"] {
        font-size: 14px !important;
    }
}

#gform_8 .newsletter-footer-email input[type="email"]::placeholder {
    color: rgba(15, 63, 54, 0.5);
    line-height: normal !important;
}

/* Container fix */
#gform_8 .newsletter-footer-email .ginput_container {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    flex: 1 !important;
}

/* -----------------------------------------------------------
   Submit Button -> Absolutely Positioned Top-Right
   ----------------------------------------------------------- */
#gform_8 .gform_footer {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 60px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10 !important;
    display: block !important;
    background: transparent !important;
}

#gform_8 .gform_button {
    width: 100% !important;
    height: 100% !important;
    background-color: var(--Power-Lime, #ADFF60) !important;
    border-radius: 0 12px 12px 0 !important;
    /* Rounded corners right only */
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    font-size: 0 !important;
    color: transparent !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

#gform_8 .gform_button:hover {
    background-color: #9FED50 !important;
}

/* Arrow Icon - using background-image since input[type="submit"] doesn't support pseudo-elements (Updated Fix) */
#gform_8 .gform_button {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%231b3f36" d="M2,21L23,12L2,3V21Z"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 18px !important;
}

/* Remove the pseudo-element if it exists (it won't render on input anyway, but for cleanliness) */
#gform_8 .gform_button::before {
    display: none !important;
    content: none !important;
}

/* -----------------------------------------------------------
   Field 3: Checkbox/Consent -> Natural Flow Below
   ----------------------------------------------------------- */
#gform_8 .consent-newsletter-footer-css {
    margin-top: 12px !important;
    /* Space between white box and checkbox */
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    width: 100% !important;
}

/* Checkbox Container */
#gform_8 .consent-newsletter-footer-css .ginput_container_consent {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 8px !important;
}

/* Checkbox Input */
#gform_8 .consent-newsletter-footer-css input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-width: 20px !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #b1f535 !important;
    border-radius: 50% !important;
    cursor: pointer;
    position: relative;
    margin: 0 !important;
    background-color: transparent !important;
    flex-shrink: 0 !important;
}

#gform_8 .consent-newsletter-footer-css input[type="checkbox"]:checked {
    background-color: #b1f535 !important;
}

/* Checkmark Icon */
#gform_8 .consent-newsletter-footer-css input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    width: 14px;
    height: 12px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="12" viewBox="0 0 14 12" fill="none"><path d="M1.58398 7.29183L3.85898 10.2168C3.93575 10.3165 4.03412 10.3976 4.14669 10.454C4.25927 10.5102 4.38313 10.5403 4.50898 10.5418C4.63281 10.5433 4.7554 10.517 4.86784 10.4652C4.98028 10.4133 5.07973 10.337 5.15898 10.2418L12.4173 1.4585" stroke="%230F3F36" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Checkbox Label */
#gform_8 .consent-newsletter-footer-css .gfield_consent_label {
    font-family: Biryani !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.4 !important;
    color: var(--new-light-green, #D8FFB4) !important;
    margin: 0 !important;
}

/* Hide legend and required items */
#gform_8 .consent-newsletter-footer-css legend,
#gform_8 .consent-newsletter-footer-css .gfield_required,
#gform_8 .consent-newsletter-footer-css .gfield_required_text {
    display: none !important;
}

/* General Cleanup */
#gform_8 .validation_message {
    color: var(--Power-Lime, #ADFF60) !important;
    font-family: Biryani !important;
    font-size: 12px !important;
    margin-top: 4px !important;
}

#gform_8 .gfield_description {
    display: none !important;
}

/* -----------------------------------------------------------
   Social Icons Styling
   ----------------------------------------------------------- */
.footer-social h4 {
    color: var(--power-lime);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.footer-widget .wd-social-icons.footer-social-btn {
    display: flex !important;
    gap: 16px !important;
    flex-wrap: wrap;
}

.footer-widget .wd-social-icons.footer-social-btn>a {
    background-color: var(--new-light-green) !important;
    color: var(--new-green) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.footer-widget .wd-social-icons.footer-social-btn>a:hover {
    background-color: var(--power-lime, #ADFF60) !important;
}

.footer-widget .wd-social-icons.footer-social-btn>a .wd-icon {
    color: inherit !important;
}

div#custom_html-3 {
    border-bottom: 0px solid;
    margin-bottom: 0px;
    padding-bottom: 30px;
}
