/* New Footer Design Styles */

.footer_bar {
    min-height: auto !important;
    height: auto !important;
    padding: 50px 20px !important;
    overflow: visible !important;
}

.landing-linkfooter .inset {
    max-width: 1200px;
}

.new-footer-design {
    width: 100%;
}

.new-footer-design .footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.new-footer-design .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.new-footer-design .footer-content > * {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Left Column - Social Media Section */
.new-footer-design .footer-section {
    text-align: center;
    gap: 35px;
}

.new-footer-design .footer-section h3 {
    font-size: 1.45em;
    margin-bottom: 18px;
    color: #333;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.3px;
    font-family: 'Roboto', Arial, sans-serif;
}

/* Center Column - Links Section */
.new-footer-design .footer-links-section {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.new-footer-design .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
    max-width: 240px;
    margin: 0 auto;
}

.new-footer-design .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    flex: 0 0 60px;
}

.new-footer-design .social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    background-color: #333;
    color: #9AEEDA;
}

.new-footer-design .social-links i {
    font-size: 24px;
}

.new-footer-design .social-links svg {
    width: 24px;
    height: 24px;
}

/* Footer Links */
.new-footer-design .footer-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    width: auto;
    margin: 0 auto;
}

.new-footer-design .footer-links a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', Arial, sans-serif;
}

.new-footer-design .footer-links a:hover {
    color: #555;
    text-decoration: underline;
}

.new-footer-design .footer-links i {
    font-size: 16px;
}

.new-footer-design .subscription-form {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 10px 20px 0px 20px;
    justify-content: center;
}

.new-footer-design .subscription-form h4 {
    font-size: 1.35em;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.3px;
    font-family: 'Roboto', Arial, sans-serif;
}

.new-footer-design .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}

.new-footer-design .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Override all WordPress input styles */
.new-footer-design .form-group input[type="email"],
.new-footer-design .form-group input[type="text"],
.new-footer-design input[type="email"],
.new-footer-design input[type="text"] {
    padding: 12px 14px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    transition: all 0.3s ease !important;
    background-color: white !important;
    margin-bottom: 0 !important;
    height: 48px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    line-height: normal !important;
}

.new-footer-design .form-group input[type="email"]:focus,
.new-footer-design .form-group input[type="text"]:focus,
.new-footer-design input[type="email"]:focus,
.new-footer-design input[type="text"]:focus {
    outline: none !important;
    border-color: #333 !important;
    box-shadow: 0 0 0 1px #333 !important;
}

.new-footer-design .captcha-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.new-footer-design .captcha-image {
    background-color: white;
    padding: 0;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 48px;
    border: 1px solid #ddd;
}

.new-footer-design .captcha-image img {
    display: block;
    height: 44px;
    width: auto;
}

.new-footer-design .form-group input[type="text"].captcha-input {
    flex: 1;
    max-width: none;
    width: 100%;
    height: 48px;
    padding: 10px 14px;
    box-sizing: border-box;
    margin-bottom: 0 !important;
    vertical-align: middle;
}

.new-footer-design .captcha-image {
    line-height: 0;
    vertical-align: middle;
}

.new-footer-design .subscribe-btn {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Roboto', Arial, sans-serif;
    margin-top: 0;
}

.new-footer-design .subscribe-btn:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#footerSubscriptionForm {
    margin-bottom: 0 !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .new-footer-design .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .new-footer-design .footer-links-section {
        gap: 18px;
    }

    .new-footer-design .footer-links {
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .footer_bar {
        padding: 40px 15px !important;
    }

    .new-footer-design .form-row {
        grid-template-columns: 1fr;
    }

    .new-footer-design .social-links {
        gap: 15px;
        max-width: 180px;
        justify-content: center;
    }

    .new-footer-design .social-links a {
        width: 45px;
        height: 45px;
        flex: 0 0 45px;
    }

    .new-footer-design .social-links i {
        font-size: 20px;
    }

    .new-footer-design .subscription-form {
        padding: 10px 20px 0px 20px;
    }

    .new-footer-design .footer-section h3 {
        font-size: 1.2em;
    }

    .new-footer-design .subscription-form h4 {
        font-size: 1.1em;
    }

    .new-footer-design .captcha-container {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .new-footer-design .form-group input[type="text"].captcha-input {
        max-width: none;
        width: 100%;
        flex: 1;
        font-size: 14px;
        height: 46px;
        padding: 10px 14px;
        box-sizing: border-box;
        margin-bottom: 0 !important;
        vertical-align: middle;
    }

    .new-footer-design .captcha-image {
        height: 46px;
        line-height: 0;
        vertical-align: middle;
        max-width: 60%;
        flex-shrink: 0;
    }

    .new-footer-design .captcha-image img {
        height: 42px;
        width: 100%;
        object-fit: cover;
    }

    .new-footer-design .footer-links {
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .new-footer-design .social-links {
        justify-content: center;
        gap: 12px;
    }

    .new-footer-design .captcha-container {
        justify-content: center;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .new-footer-design .form-group input[type="text"].captcha-input {
        max-width: none;
        width: 100%;
        flex: 1;
        font-size: 13px;
        height: 40px;
        padding: 8px 12px;
        box-sizing: border-box;
        margin-bottom: 0 !important;
        vertical-align: middle;
    }

    .new-footer-design .captcha-image {
        height: 40px;
        padding: 0;
        line-height: 0;
        vertical-align: middle;
        max-width: 60%;
        flex-shrink: 0;
    }

    .new-footer-design .captcha-image img {
        height: 36px;
        width: 100%;
        object-fit: cover;
    }
}
