/* --- Footer Newsletter Widget --- */
.footer-newsletter-wrapper {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff; /* Safari: prevent system colour override */
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 35px;
}

/* Logo Area */
.fn-logo {
    margin-bottom: 17px;
    width: 50px; /* Adjust based on actual logo SVG size */
	height:50px;
}
.fn-logo img {
    width: 100%;
    height: auto;
    filter: invert(1); /* Ensures logo is white if it's black */
}

/* Text Content */
.fn-title {
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 7px;
    line-height: 26.4px;
	letter-spacing:.32px;
}

.fn-desc {
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: 16px;
    line-height: 19.2px;
    text-transform: uppercase;
	letter-spacing:.32px;
    max-width: 375px;
	
}

/* The Custom Form */
.fn-form {
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    display: flex;
    border-bottom: 1px solid #ffffff;
    align-items: flex-end; /* Align to bottom border */
    padding-bottom: 2px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 358px;
}
.fn-input {
    -webkit-appearance: none; /* Safari: removes default input border/chrome */
    appearance: none;
    background: transparent;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    outline: none !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 16px;
    line-height: 19.2px;
    letter-spacing: .32px;
    text-transform: uppercase;
    width: 100%;
    padding: 0;
    font-family: inherit;
}

.fn-input:focus,
.fn-input:focus-visible,
.fn-input:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.fn-input::placeholder {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1;
}

/* Safari autofill override — prevents yellow/white background & black text */
.fn-input:-webkit-autofill,
.fn-input:-webkit-autofill:hover,
.fn-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    transition: background-color 5000s ease-in-out 0s;
}
.fn-submit {
    background: transparent;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    outline: none !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 16px;
    text-transform: uppercase;
    padding: 0;
    cursor: pointer;
    font-weight: 500;
    margin-left: 20px;
    white-space: nowrap;
    text-decoration: none;
    font-family: inherit;
}

.fn-submit:hover {
    text-decoration: underline;
}

/* --- Global Footer Menu Styles (Helper) --- */
.site-footer-section {
    -webkit-text-fill-color: #ffffff; /* Safari: prevent system colour override */
}
.site-footer-section p,
.site-footer-section span,
.site-footer-section li,
.site-footer-section div:not([class*="elementor"]) {
    -webkit-text-fill-color: #ffffff;
}
.site-footer-section a {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-transform: uppercase;
    font-size: 16px;
    text-decoration: none;
    line-height: 2;
    transition: opacity 0.3s;
}
.site-footer-section a:hover,
.site-footer-section .current-menu-item > a,
.site-footer-section .current_page_item > a,
.site-footer-section a.elementor-item-active {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    text-decoration: underline;
}


.site-footer-section li {
    list-style: none !important;
    padding: 0 !important;
}

.elementor-nav-menu--dropdown .elementor-item.elementor-item-active,
.elementor-nav-menu--dropdown .elementor-item.highlighted,
.elementor-nav-menu--dropdown .elementor-item:focus,
.elementor-nav-menu--dropdown .elementor-item:hover,
.elementor-sub-item.elementor-item-active,
.elementor-sub-item.highlighted,
.elementor-sub-item:focus,
.elementor-sub-item:hover {
    background: none !important;
}

/* Bottom Bar */
.footer-credits {
    font-size: 12px;
    text-transform: uppercase;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 10px;
}


@media (max-width: 767px) {
    .fn-form {
        max-width: 100%;
    }
	.footer-newsletter-wrapper {margin-top:25px;}
    /* 1. Force Left Alignment to kill Elementor's auto-centering */
    .site-footer-section, 
    .site-footer-section .elementor-widget-wrap {
        text-align: left !important;
        align-items: flex-start !important;
    }

    /* 2. Force the 2-Column Split for the Menus */
    .site-footer-section .elementor-inner-section .elementor-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
    }
    
    /* Lock the columns to 50% width side-by-side */
    .site-footer-section .elementor-inner-section .elementor-column {
        width: 50% !important;
    }

    /* Prevent Icon Lists from centering */
    .site-footer-section .elementor-icon-list-items {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    .site-footer-section .elementor-icon-list-item {
        justify-content: flex-start !important;
    }

    /* 3. Align the bottom credits to the left */
    .footer-credits {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start !important; 
        text-align: left !important;
    }
}