.widget.widget_block>p {
    display: none;
}

.footer-menu-block {
    display: flex;
    gap: var(--teflie-space-2xl);
}

.footer-menu-container {
    flex: 70%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 30px;
}

.footer-cta-column {
    flex: 30%;
}

.footer-menu-column h3 {
    /* font-size: 16px !important; */
    /* font-weight: 700; */
    letter-spacing: 0;
}

.footer-menu-column {
    min-width: 160px;
}

.footer-menu-title {
    font-size: 18px !important;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    font-family: 'Figtree' !important;
    color: #ffffff !important;
}

.footer-menu-title::after {
    content: '';
    display: none;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    transition: max-height 0.3s ease;
}

.footer-menu-list li {
    margin-bottom: 12px;
    line-height: 1.4;
}

.footer-menu-list li a {
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    display: block;
    color: #FFFFFFCC;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0;
    text-align: left;
    padding: 0 !important;
}

.footer-menu-list li a:hover {
    color: #FFFFFFCC !important;
}

.get-in-touch .contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: max-height 0.3s ease;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    text-align: left;
    line-height: 1.4;
}

.contact-icon {
    font-size: 16px;
    min-width: 20px;
    opacity: 0.8;
}

.contact-item a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item.address span:not(.contact-icon) {
    line-height: 1.5;
}

/* Mobile Collapsible Menu */
@media (max-width: 768px) {
    .footer-menu-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .footer-menu-title {
        font-size: 18px !important;
        font-weight: 500;
        margin-bottom: 20px;
        text-transform: capitalize;
        letter-spacing: 0;
        cursor: pointer;
        position: relative;
        font-family: 'Figtree' !important;
        line-height: 24px;
        margin-bottom: var(--teflie-space-sm);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .footer-menu-title::after {
        content: '+';
        display: block;
        font-size: 20px;
        font-weight: 300;
        transition: transform 0.3s ease;
    }

    .footer-menu-title.active::after {
        transform: rotate(45deg);
    }

    .footer-menu-list,
    .get-in-touch .contact-info {
        max-height: 0;
        overflow: hidden;
        margin-bottom: 0;
    }

    .footer-menu-list.active,
    .get-in-touch .contact-info.active {
        max-height: 500px;
    }

    .footer-menu-list li:last-child {
        margin-bottom: 0;
    }

    .footer-menu-column {
        border-bottom: 1px solid var(--teflie-gray-800);
        padding-bottom: 20px;
    }
}


/* Footer CTA Card Styles */
.footer-cta-card {
    position: relative;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-cta-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 18px;
}

.footer-cta-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.footer-cta-card .footer-cta-title {
    font-size: 24px !important;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 130%;
    letter-spacing: 0;
    color: #ffffff !important;
}

.footer-cta-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--teflie-navy-blue) !IMPORTANT;
    padding: 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    justify-content: space-between;
    backdrop-filter: blur(40px);
}

.footer-cta-button>span {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 140%;
}

.footer-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #333;
    text-decoration: none;
}

.footer-cta-button .cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.footer-cta-button .cta-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.footer-cta-button .cta-text {
    font-weight: 600;
}

.footer-cta-card-error {
    padding: 20px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 5px;
    text-align: center;
}

.footer-logo-with-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--teflie-space-xl);
}

.footer-accred-links,
.footer-app-links {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.footer-accred-links {
    align-items: end;
}

.footer-accred-links img {
    height: 60px;
    object-fit: contain;
}

.footer-accred-links {
    gap: 1.5rem;
}

.eqf-logo img, .waterford-Logo img {
    height: 100px;
    width: 100px;
}

.hope-logo img {
    width: 150px;
    /* height: 120px; */
    /* object-fit: contain; */
    margin-top: -1rem;
}

.footer-app-links img {
    width: 150px;
    object-fit: contain;
    height: 45px;
}

.site-below-footer-wrap .site-below-footer-inner-wrap {
    border-top: 1px solid #FFFFFF29;
    padding-top: var(--teflie-space-md);
    /* border: 1px solid #FFFFFF29; */
}

@media (max-width: 768px) {

    .footer-logo-with-links {
        flex-direction: column;
        align-items: center;
        gap: var(--teflie-space-md);
    }

    .footer-menu-block {
        flex-direction: column;
    }

    .footer-cta-card {
        min-height: 350px;
    }

    .footer-cta-card-overlay {
        padding: 30px 15px;
    }

    .footer-cta-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .footer-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-cta-button {
        width: 100%;
        padding: 12px 20px;
    }

    .footer-accred-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-accred-links a.gaisice-logo {
        order: 5;
    }
}

@media (max-width: 480px) {
    .footer-cta-title {
        font-size: 1.75rem;
    }

    .footer-cta-button {
        font-size: 0.9rem;
        padding: 10px 18px;
    }
}

.footer-newsletter-column {
    min-width: 200px;
}

.footer-newsletter-column .footer-newsletter {
    margin-top: 0;
}

footer .footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

footer .footer-newsletter-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

footer .footer-newsletter-form input[type="email"] {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Figtree', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

footer .footer-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

footer .footer-newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

footer .newsletter-submit-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    background: #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

footer .newsletter-submit-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
footer .footer-newsletter-form .wpcf7-response-output {
    margin: 10px 0 0 0 !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}

footer .footer-newsletter-form input[type="submit"].newsletter-submit {
    background: transparent;
    border: none;
    color: var(--teflie-navy-blue);
    font-size: 16px;
    font-weight: 600;
    font-family: 'Figtree', sans-serif;
    cursor: pointer;
    padding: 5px 0;
    margin: 0;
    flex: 1;
    text-align: left;
}

footer .newsletter-submit-wrapper .submit-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

footer .newsletter-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

footer .newsletter-disclaimer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    transition: color 0.3s ease;
}

footer .newsletter-disclaimer a:hover {
    color: #fff;
}

footer .footer-newsletter-form .wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 4px;
}

footer .footer-newsletter-form .wpcf7-response-output {
    margin: 10px 0 0 0;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
}

footer .footer-newsletter-form .wpcf7-list-item {
    margin: 0;
}

footer .footer-newsletter-form .wpcf7-acceptance {
    margin: 12px 0;
}

footer .footer-newsletter-form .wpcf7-list-item-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    /* display: flex;
    align-items: flex-start;
    gap: 8px; */
    cursor: pointer;
}

footer .footer-newsletter-form .wpcf7-list-item input[type="checkbox"] {
    margin: 2px 0 0 0;
    cursor: pointer;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    background-color: transparent;
    position: relative;
    transition: all 0.3s ease;
}

footer .footer-newsletter-form .wpcf7-list-item input[type="checkbox"]:checked {
    background-color: #fff;
    border-color: #fff;
}

footer .footer-newsletter-form .wpcf7-list-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--teflie-navy-blue);
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

footer .footer-newsletter-form .wpcf7-acceptance a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.3s ease;
}

footer .footer-newsletter-form .wpcf7-acceptance a:hover {
    color: #fff;
}

footer .footer-newsletter-form .wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 4px;
}

footer .newsletter-submit-wrapper.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed !important;
}

footer .newsletter-submit-wrapper.disabled:hover {
    transform: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 768px) {
    .footer-newsletter-column {
        border-bottom: 1px solid var(--teflie-gray-800);
        padding-bottom: 20px;
    }
    
    .footer-newsletter-column .footer-menu-title::after {
        display: none;
    }
    
    .footer-newsletter-column .footer-menu-title {
        cursor: default;
    }
    
    footer .footer-newsletter,
    footer .footer-newsletter-form {
        max-height: none !important;
        overflow: visible !important;
    }

    footer .footer-newsletter-form .wpcf7-list-item input[type="checkbox"] {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
    }
    
    footer .footer-newsletter-form .wpcf7-list-item input[type="checkbox"]:checked::after {
        font-size: 15px;
    }

    .footer-accred-links>* {
        flex: 0 0 45%;
    }
}

