/* Footer Contact Section Block Styles */
.footer-contact-section,
.editor-styles-wrapper .footer-contact-section,
.block-editor-block-list__layout .footer-contact-section,
.footer-contact-list-section,
.editor-styles-wrapper .footer-contact-list-section,
.block-editor-block-list__layout .footer-contact-list-section {
    background-size: cover;
    background-position: center;
    padding-top: 50px !important;
    padding-bottom: 20px !important;
    padding-left: clamp(1.5rem, 4vw, 30px) !important;
    padding-right: clamp(1.5rem, 4vw, 30px) !important;
    position: relative !important;
}


.footer-contact-container,
.editor-styles-wrapper .footer-contact-container,
.block-editor-block-list__layout .footer-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Column - Contact Form */
.footer-contact-left,
.editor-styles-wrapper .footer-contact-left,
.block-editor-block-list__layout .footer-contact-left {
    color: white !important;
}

.footer-contact-heading,
.editor-styles-wrapper .footer-contact-heading {
    color: rgba(255, 255, 255, 0.70) !important;
    font-family: Lexend !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    text-transform: uppercase !important;
    margin-bottom: 1rem !important;
}

.footer-contact-title,
.editor-styles-wrapper .footer-contact-title {
    color: #FFF !important;
    font-family: Lexend !important;
    font-size: 36px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    margin-bottom: 1rem !important;
}

.footer-contact-subtitle,
.editor-styles-wrapper .footer-contact-subtitle {
    color: #FFF !important;
    font-family: Lexend !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 300 !important;
    line-height: 26px !important;
    margin-bottom: 2rem !important;
}

/* WPForms styling */
.footer-contact-left .wpforms-container {
    margin-bottom: 1.5rem;
}

.footer-contact-left div.wpforms-container-full:not(:empty) {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

.footer-contact-left .wpforms-form {
    display: flex !important;
    flex-direction: column !important;
}

.footer-contact-left .wpforms-field {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
}

.footer-contact-left .wpforms-submit-container {
    margin-top: 30px !important;
    display: flex !important;
    gap: 10px !important;
}

.footer-contact-left input[type="text"],
.footer-contact-left input[type="email"],
.footer-contact-left input[type="tel"] {
    display: flex !important;
    height: 30px !important;
    padding: 0 20px !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 500px !important;
    background: rgba(255, 255, 255, 0.20) !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.80) !important;
    font-family: Lexend !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 300 !important;
    line-height: 100% !important;
    letter-spacing: 0% !important;
    margin-bottom: 10px !important;
    box-sizing: border-box !important;
}

.footer-contact-left input::placeholder {
    color: rgba(255, 255, 255, 0.80) !important;
}

.footer-contact-left .wpforms-submit {
    display: flex !important;
    padding: 10px 30px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 500px !important;
    background: linear-gradient(82deg, #2ECC71 -35.61%, #00A69C 6.04%, #BF4698 95.34%) !important;
    box-shadow: -3px 0 9px 0 rgba(0, 0, 0, 0.25) !important;
    color: #FFF !important;
    font-family: Lexend !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    border: none !important;
    cursor: pointer !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    width: auto !important;
    margin-top: 0 !important;
}

.footer-contact-left .wpforms-submit:hover {
    transform: scale(1.02) !important;
    box-shadow: -5px 0 15px 0 rgba(0, 0, 0, 0.35) !important;
}

.footer-privacy-text,
.editor-styles-wrapper .footer-privacy-text {
    color: #FFF !important;
    font-family: Lexend !important;
    font-size: 10px !important;
    font-style: normal !important;
    font-weight: 300 !important;
    line-height: 100% !important;
    letter-spacing: 0% !important;
    margin-top: 1.5rem !important;
}

/* Privacy text paragraphs and elements */
.footer-privacy-text p,
.editor-styles-wrapper .footer-privacy-text p {
    font-family: Lexend !important;
    font-weight: 300 !important;
    font-style: normal !important;
    font-size: 10px !important;
    line-height: 100% !important;
    letter-spacing: 0% !important;
    margin: 0 !important;
}

.footer-privacy-text a,
.editor-styles-wrapper .footer-privacy-text a {
    color: #FFF !important;
    font-family: Lexend !important;
    font-size: 10px !important;
    font-style: normal !important;
    font-weight: 300 !important;
    line-height: normal !important;
    text-decoration-line: underline !important;
    text-decoration-style: solid !important;
}

/* Footer Copyright */
.footer-copyright,
.editor-styles-wrapper .footer-copyright {
    font-family: Lexend !important;
    font-weight: 300 !important;
    font-style: normal !important;
    font-size: 10px !important;
    line-height: 100% !important;
    letter-spacing: 0% !important;
    margin-top: 30px !important;
    color: rgba(255, 255, 255, 0.80) !important;
}

/* Right Column - Footer Menu & Socials */
.footer-contact-right,
.editor-styles-wrapper .footer-contact-right,
.block-editor-block-list__layout .footer-contact-right {
    color: white !important;
    max-width: 500px !important;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Footer Menu */
.footer-menu,
.editor-styles-wrapper .footer-menu,
.block-editor-block-list__layout .footer-menu {
    width: 100%;
}

.footer-menu__list,
.editor-styles-wrapper .footer-menu__list,
.block-editor-block-list__layout .footer-menu__list {
    display: grid;
    grid-template-columns: 177px 136px 118px;
    column-gap: 38px;
    row-gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: start;
}

.footer-menu__list li,
.editor-styles-wrapper .footer-menu__list li,
.block-editor-block-list__layout .footer-menu__list li {
    margin: 0;
    padding: 0;
}


.footer-menu__list a,
.editor-styles-wrapper .footer-menu__list a,
.block-editor-block-list__layout .footer-menu__list a {
    color: #FFF !important;
    font-family: Lexend !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 300 !important;
    line-height: 24px !important;
    text-decoration: none !important;
    opacity: 0.8 !important;
    transition: opacity 0.2s ease;
    display: block;
}

.footer-menu__list a:hover,
.editor-styles-wrapper .footer-menu__list a:hover,
.block-editor-block-list__layout .footer-menu__list a:hover {
    opacity: 0.8;
}

/* Footer Socials */
.footer-socials,
.editor-styles-wrapper .footer-socials,
.block-editor-block-list__layout .footer-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0;
    height: 24px;
}

.footer-socials__link,
.editor-styles-wrapper .footer-socials__link,
.block-editor-block-list__layout .footer-socials__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-socials__link:hover,
.editor-styles-wrapper .footer-socials__link:hover,
.block-editor-block-list__layout .footer-socials__link:hover {
    opacity: 0.8;
}

.footer-socials__icon,
.editor-styles-wrapper .footer-socials__icon,
.block-editor-block-list__layout .footer-socials__icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials__icon img,
.editor-styles-wrapper .footer-socials__icon img,
.block-editor-block-list__layout .footer-socials__icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-socials__icon--linkedin,
.editor-styles-wrapper .footer-socials__icon--linkedin,
.block-editor-block-list__layout .footer-socials__icon--linkedin {
    background: white;
    border-radius: 4px;
}

.footer-socials__icon--linkedin svg,
.editor-styles-wrapper .footer-socials__icon--linkedin svg,
.block-editor-block-list__layout .footer-socials__icon--linkedin svg {
    width: 20px;
    height: 20px;
}

.footer-brands,
.editor-styles-wrapper .footer-brands {
    margin-top: 30px !important;
}

.footer-brands-heading,
.editor-styles-wrapper .footer-brands-heading {
    color: rgba(255, 255, 255, 0.70) !important;
    font-family: Lexend !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
}

.footer-brands-grid,
.editor-styles-wrapper .footer-brands-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

.footer-brand-logo,
.editor-styles-wrapper .footer-brand-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.footer-brand-logo img,
.editor-styles-wrapper .footer-brand-logo img {
    max-width: 100px !important;
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
    filter: brightness(0) invert(1) !important;
    opacity: 0.85 !important;
    transition: opacity 0.3s ease !important;
}

.footer-brand-logo img:hover {
    opacity: 1 !important;
}

/* First row - full width */
.footer-brands-grid--row-1 {
    margin-bottom: 12px;
}

/* Second row - narrower with padding on sides */
.footer-brands-grid--row-2 {
    padding-left: 5% !important;
    padding-right: 10% !important;
    box-sizing: border-box !important;
}

/* Responsive */
@media (max-width: 1060px) {
    .footer-contact-section,
    .editor-styles-wrapper .footer-contact-section,
    .block-editor-block-list__layout .footer-contact-section,
    .footer-contact-list-section,
    .editor-styles-wrapper .footer-contact-list-section,
    .block-editor-block-list__layout .footer-contact-list-section {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    
    .footer-contact-container,
    .editor-styles-wrapper .footer-contact-container {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .footer-menu__list {
        grid-template-columns: 177px 136px 118px !important;
        column-gap: 38px !important;
        row-gap: 12px !important;
    }
    
    .footer-contact-title,
    .editor-styles-wrapper .footer-contact-title {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .footer-contact-container,
    .editor-styles-wrapper .footer-contact-container {
        padding-left: 0;
        padding-right: 0;
    }
    
    .footer-contact-left .wpforms-field-container {
        grid-template-columns: 1fr !important;
    }
    
    .footer-contact-left .wpforms-field {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    .footer-contact-left input[type="text"],
    .footer-contact-left input[type="email"],
    .footer-contact-left input[type="tel"] {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .footer-menu .footer-menu__list,
    .footer-contact-right .footer-menu__list,
    .editor-styles-wrapper .footer-menu__list,
    .block-editor-block-list__layout .footer-menu__list {
        grid-template-columns: repeat(2, 1fr) !important;
        column-gap: 38px !important;
        row-gap: 12px !important;
    }
    
    .footer-menu__list a {
        font-size: 14px !important;
        line-height: 20px !important;
    }
    
    .footer-socials {
        gap: 0.75rem;
    }
    
    .footer-socials__link {
        width: 20px;
        height: 20px;
    }
    
    .footer-contact-title,
    .editor-styles-wrapper .footer-contact-title {
        font-size: 2rem !important;
    }

    .footer-contact-right,
    .editor-styles-wrapper .footer-contact-right,
    .block-editor-block-list__layout .footer-contact-right {
        min-width: 0 !important;
        width: 100% !important;
    }

    .footer-brands-grid,
    .editor-styles-wrapper .footer-brands-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .footer-brand-logo img,
    .editor-styles-wrapper .footer-brand-logo img {
        max-width: 70px !important;
        max-height: 35px !important;
    }
}

@media (max-width: 480px) {
    .footer-brand-logo img,
    .editor-styles-wrapper .footer-brand-logo img {
        max-width: 60px !important;
        max-height: 30px !important;
    }
}

/* WPForms Confirmation Messages */
.footer-contact-left .wpforms-confirmation-container-full,
.footer-contact-left .wpforms-confirmation-scroll {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #ffffff !important;
}

.footer-contact-left .wpforms-confirmation-container-full p,
.footer-contact-left .wpforms-confirmation-scroll p {
    color: #ffffff !important;
    font-family: Lexend, sans-serif !important;
}

/* Mailcheck suggestion styling */
.footer-contact-left .mailcheck-suggestion {
    color: #D63637 !important;
}
