/* =========================================================
   WORDPRESS FOOTER - NEW DESIGN
   New layout/design
   Old footer links + old footer logo image
   ========================================================= */

.main-footer {
    position: relative;
    overflow: hidden;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #0c4a6e 50%, #14532d 100%);
    color: #ffffff;
}

.main-footer * {
    box-sizing: border-box;
}

.main-footer .footer-tech-grid {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
}

.main-footer .footer-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.main-footer .foot-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.1;
}

.main-footer .foot-orb-tr {
    top: 5%;
    right: 5%;
    width: 288px;
    height: 288px;
    background-color: #3b82f6;
    animation: foot-orb-tr-anim 8s ease-in-out infinite;
}

.main-footer .foot-orb-bl {
    bottom: 5%;
    left: 5%;
    width: 320px;
    height: 320px;
    background-color: #8b5cf6;
    animation: foot-orb-bl-anim 10s ease-in-out infinite;
}

@keyframes foot-orb-tr-anim {
    0%, 100% {
        transform: scale(1) translateX(0);
    }
    50% {
        transform: scale(1.2) translateX(30px);
    }
}

@keyframes foot-orb-bl-anim {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.3) translateY(-30px);
    }
}

.main-footer .footer-inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 16px;
    z-index: 2;
}

@media (min-width: 640px) {
    .main-footer .footer-inner {
        padding: 64px 24px;
    }
}

@media (min-width: 1440px) {
    .main-footer .footer-inner {
        max-width: 1400px;
        padding-left: 32px;
        padding-right: 32px;
    }
}

.main-footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (min-width: 1024px) {
    .main-footer .footer-grid {
        grid-template-columns: 1.5fr 2.5fr;
        align-items: start;
        gap: 80px;
    }
}

.main-footer .footer-left,
.main-footer .footer-right {
    min-width: 0;
}

/* Logo */
.main-footer .footer-logo {
    margin-bottom: 24px;
}

.main-footer .footer-logo-link {
    display: inline-block;
    text-decoration: none;
}

.main-footer .footer-logo-img {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Newsletter */
.main-footer .newsletter-box {
    width: 100%;
    max-width: 460px;
}

.main-footer .news-h1 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
    line-height: 1.5;
}

.main-footer .news-h2 {
    font-size: 15px;
    font-weight: 500;
    color: #dcfce7;
    margin: 0 0 16px;
    line-height: 1.5;
}

.main-footer .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 640px) {
    .main-footer .newsletter-form {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px;
        align-items: center;
    }
}

.main-footer .newsletter-form > * {
    min-width: 0;
}

.main-footer .news-input {
    width: 100%;
    height: 48px;
    padding: 0 20px;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    outline: none;
    box-shadow: none;
    font-size: 14px;
}

.main-footer .news-input::placeholder {
    color: #bbf7d0;
    opacity: 1;
}

.main-footer .news-input:focus {
    border-color: #ffffff;
}

.main-footer .news-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 18px;
    border: none;
    border-radius: 9999px;
    background-color: #ffffff;
    color: #16a34a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.main-footer .news-btn:hover {
    background-color: #f0fdf4;
    transform: translateY(-1px);
}

.main-footer .news-btn i {
    font-size: 14px;
    line-height: 1;
}

/* Links grid */
.main-footer .footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
}

@media (min-width: 768px) {
    .main-footer .footer-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .main-footer .footer-links-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 32px 28px;
    }
}

.main-footer .foot-col {
    min-width: 0;
}

.main-footer .foot-col-title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.3;
}

.main-footer .foot-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-footer .foot-links li {
    margin-bottom: 8px;
}

.main-footer .foot-links li:last-child {
    margin-bottom: 0;
}

.main-footer .foot-links a {
    text-decoration: none;
    color: #dcfce7;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    transition: color 0.3s ease;
    word-break: break-word;
}

.main-footer .foot-links a:hover {
    color: #ffffff;
}

/* Contact */
.main-footer .quick-contact {
    margin-top: 24px;
}

.main-footer .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.main-footer .contact-item:last-child {
    margin-bottom: 0;
}

.main-footer .contact-item i {
    width: 16px;
    min-width: 16px;
    font-size: 15px;
    color: #bbf7d0;
    margin-top: 3px;
}

.main-footer .contact-item a,
.main-footer .contact-item span {
    color: #dcfce7;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.5;
    word-break: break-word;
}

.main-footer .contact-item a:hover {
    color: #ffffff;
}

/* Partners */
.main-footer .partners {
    margin-top: 24px;
}

.main-footer .partner-link {
    display: inline-block;
    color: #dcfce7;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-footer .partner-link:hover {
    color: #ffffff;
}

.main-footer .mt-6 {
    margin-top: 24px;
}

/* Divider */
.main-footer .footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 32px;
}

/* Bottom */
.main-footer .footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

@media (min-width: 768px) {
    .main-footer .footer-bottom {
        flex-direction: row;
    }
}

.main-footer .footer-all-legal {
    text-align: center;
}

@media (min-width: 768px) {
    .main-footer .footer-all-legal {
        text-align: left;
    }
}

.main-footer .copyright {
    color: #dcfce7;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 8px;
    line-height: 1.5;
}

.main-footer .legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

@media (min-width: 768px) {
    .main-footer .legal-links {
        justify-content: flex-start;
    }
}

.main-footer .legal-links a {
    text-decoration: none;
    color: #dcfce7;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-footer .legal-links a:hover {
    color: #ffffff;
}

.main-footer .legal-links .divider {
    color: #dcfce7;
    font-size: 14px;
    pointer-events: none;
}

/* Social */
.main-footer .footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.main-footer .social-icon-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.main-footer .social-icon-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.main-footer .social-icon-link i {
    font-size: 17px;
    color: #ffffff;
    line-height: 1;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .main-footer .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 36px;
    }

    .main-footer .footer-links-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 24px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .main-footer .footer-inner {
        padding: 40px 16px;
    }

    .main-footer .footer-grid {
        gap: 32px;
        margin-bottom: 40px;
    }

    .main-footer .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .main-footer .foot-col-title {
        font-size: 14px;
    }

    .main-footer .foot-links a,
    .main-footer .contact-item a,
    .main-footer .contact-item span,
    .main-footer .partner-link,
    .main-footer .copyright,
    .main-footer .legal-links a,
    .main-footer .legal-links .divider {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .main-footer .newsletter-form {
        display: flex;
        flex-direction: column;
    }

    .main-footer .news-btn {
        width: 100%;
        padding: 0 20px;
        justify-content: center;
    }

    .main-footer .footer-links-grid {
        grid-template-columns: 1fr 1fr;
    }

    .main-footer .news-btn span {
        display: none;
    }

    .main-footer .footer-logo-img {
        max-width: 180px;
    }
}

@media (max-width: 380px) {
    .main-footer .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .main-footer .foot-links a,
    .main-footer .contact-item a,
    .main-footer .contact-item span,
    .main-footer .partner-link,
    .main-footer .copyright,
    .main-footer .legal-links a,
    .main-footer .legal-links .divider {
        font-size: 12px;
    }
}



/*EVEREST FORM DESIGNS */

/* Main form layout */
#evf-form-5228 {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
    max-width: 760px;
    width: 100%;
}

/* Remove default Everest Forms spacing */
#evf-form-5228 .evf-field-container,
#evf-form-5228 .evf-frontend-row,
#evf-form-5228 .evf-frontend-grid,
#evf-form-5228 .evf-submit-container {
    margin: 0 !important;
    padding: 0 !important;
}

#evf-form-5228 .evf-field-container {
    flex: 1;
}

#evf-form-5228 .evf-frontend-row,
#evf-form-5228 .evf-frontend-grid {
    display: block !important;
}

/* Hide label */
#evf-form-5228 .evf-field-label,
#evf-form-5228 .required {
    display: none !important;
}

#evf-form-5228 .evf-field {
    margin: 0 !important;
}

/* Email input */
#evf-form-5228 input[type="email"] {
    width: 100%;
    height: 62px;
    background: #4c6883;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 40px;
    padding: 0 26px;
    font-size: 16px;
    font-weight: 500;
    color: #b9f3cc;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    outline: none;
}

/* Placeholder */
#evf-form-5228 input[type="email"]::placeholder {
    color: #b9f3cc;
    opacity: 1;
}

/* Submit wrapper */
#evf-form-5228 .evf-submit-container {
    flex-shrink: 0;
}

/* Submit button */
#evf-form-5228 .everest-forms-submit-button {
    height: 62px;
    min-width: 210px;
    padding: 0 28px;
    background: #f4f2ef;
    color: #19a84a;
    border: none;
    border-radius: 40px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    margin: 0 !important;
    box-shadow: none;
    cursor: pointer;
    transition: 0.2s ease;
}

#evf-form-5228 .everest-forms-submit-button:hover,
#evf-form-5228 .everest-forms-submit-button:focus {
    background: #f4f2ef;
    color: #19a84a;
    box-shadow: none;
    outline: none;
}

/* Hide honeypot */
#evf-form-5228 .evf-honeypot-container {
    display: none !important;
}

/* Mobile */
@media (max-width: 767px) {
    #evf-form-5228 {
        flex-direction: column;
        align-items: stretch;
    }

    #evf-form-5228 .evf-submit-container,
    #evf-form-5228 .everest-forms-submit-button {
        width: 100%;
        min-width: 100%;
    }
}
@media (min-width: 767px) {

    #evf-form-5228 input[type="email"]{
        width: 63vw;
         height: 50px;
    }
        #evf-form-5228 .everest-forms-submit-button{
        height: 50px;
    }
    
}

@media (min-width:992px) {
    #evf-form-5228 input[type="email"]{
    width: 24vw;
    height: 50px;
        font-size: 13px;
    }
    
    
    #evf-form-5228 .everest-forms-submit-button{
        height: 50px;
    min-width:0px; 
     padding:0 18px;
        font-size: 13px;
    }
    #evf-form-5228{
        gap:7px;
    }
    
}
@media (min-width:1400px) {
    #evf-form-5228 input[type="email"]{
    width:305px;
    }
}


body .everest-forms-popup-overlay .everest-forms-popup img.everest-forms-popup-success-logo{
        margin: 30px auto!important;
}

