.main-footer{

    position:relative;

    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);

    margin-top:90px;

    overflow:hidden;

    border-top: 1px solid rgba(37, 99, 235, 0.1);

}

/*
==================================================
WAVE
==================================================
*/

.footer-wave{

    line-height:0;

    margin-top: -1px;

}

/*
==================================================
TOP SECTION
==================================================
*/

.footer-top{

    padding: 50px 0 60px;

}

/*
==================================================
LOGO & BRAND
==================================================
*/

.footer-logo{

    font-size: 42px;

    font-weight: 800;

    background: linear-gradient(135deg, #2563eb, #1d4ed8);

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

    margin-bottom: 20px;

    display: inline-block;

}

.footer-logo span{

    background: linear-gradient(135deg, #0f172a, #1e293b);

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

}

.footer-description{

    color: #475569;

    line-height: 1.8;

    margin-bottom: 30px;

    font-size: 15px;

}

/*
==================================================
CONTACT SECTION
==================================================
*/

.footer-contact{

    display: flex;

    flex-direction: column;

    gap: 18px;

}

.footer-contact-item{

    display: flex;

    align-items: center;

    gap: 14px;

    color: #334155;

    font-weight: 500;

    transition: all 0.3s ease;

}

.footer-contact-item:hover{

    transform: translateX(5px);

}

.footer-contact-item strong{

    color: #0f172a;

    font-size: 13px;

}

.footer-icon{

    width: 50px;

    height: 50px;

    border-radius: 8px;

    background: linear-gradient(135deg, #2563eb, #1d4ed8);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);

}

/*
==================================================
WIDGETS
==================================================
*/

.footer-widget h4{

    font-size: 20px;

    font-weight: 700;

    color: #0f172a;

    margin-bottom: 25px;

    position: relative;

    padding-bottom: 12px;

}

.footer-widget h4::after{

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 50px;

    height: 3px;

    background: linear-gradient(135deg, #2563eb, #1d4ed8);

    border-radius: 8px;

}

.footer-widget h4 i{

    margin-right: 8px;

    color: #2563eb;

}

.footer-widget ul{

    list-style: none;

    padding: 0;

    margin: 0;

}

.footer-widget ul li{

    margin-bottom: 14px;

}

.footer-widget ul li a{

    color: #475569;

    transition: all 0.3s ease;

    font-size: 14px;

    font-weight: 500;

    display: inline-flex;

    align-items: center;

    gap: 6px;

}

.footer-widget ul li a i{

    font-size: 12px;

    opacity: 0;

    transition: all 0.3s ease;

}

.footer-widget ul li a:hover{

    color: #2563eb;

    transform: translateX(5px);

}

.footer-widget ul li a:hover i{

    opacity: 1;

}

/*
==================================================
NEWSLETTER
==================================================
*/

.newsletter-text{

    color: #475569;

    line-height: 1.7;

    margin-bottom: 20px;

    font-size: 14px;

}

.newsletter-input-group{

    display: flex;

    gap: 10px;

    background: #fff;

    border-radius: 8px;

    padding: 4px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);

}

.newsletter-input-group input{

    flex: 1;

    height: 50px;

    border: none;

    border-radius: 8px;

    padding: 0 18px;

    font-size: 14px;

    background: transparent;

}

.newsletter-input-group input:focus{

    outline: none;

}

.newsletter-input-group button{

    width: 50px;

    height: 50px;

    border: none;

    border-radius: 50%;

    background: linear-gradient(135deg, #2563eb, #1d4ed8);

    color: #fff;

    font-size: 18px;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    justify-content: center;

}

.newsletter-input-group button:hover{

    transform: scale(1.05);

    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);

}

/*
==================================================
SOCIAL LINKS
==================================================
*/

.social-links{

    display: flex;

    gap: 12px;

    margin-top: 28px;

    flex-wrap: wrap;

}

.social-links a{

    width: 44px;

    height: 44px;

    border-radius: 8px;

    background: #fff;

    color: #2563eb;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);

    transition: all 0.3s ease;

}

.social-links a:hover{

    transform: translateY(-5px);

}

.social-fb:hover{

    background: #1877f2;

    color: #fff;

}

.social-yt:hover{

    background: #ff0000;

    color: #fff;

}

.social-ig:hover{

    background: linear-gradient(45deg, #f09433, #d62976);

    color: #fff;

}

.social-tt:hover{

    background: #000000;

    color: #fff;

}

.social-wa:hover{

    background: #25d366;

    color: #fff;

}

/*
==================================================
FEATURES SECTION
==================================================
*/

.footer-middle{

    padding: 20px 0 50px;

}

.footer-feature{

    background: #ffffff;

    border-radius: 8px;

    padding: 24px;

    display: flex;

    align-items: center;

    gap: 18px;

    height: 100%;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    transition: all 0.3s ease;

    border: 1px solid rgba(37, 99, 235, 0.08);

}

.footer-feature:hover{

    transform: translateY(-8px);

    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);

}

.feature-icon{

    width: 70px;

    height: 70px;

    border-radius: 8px;

    background: linear-gradient(135deg, #2563eb, #1d4ed8);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 28px;

    flex-shrink: 0;

}

.footer-feature h5{

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 6px;

    color: #0f172a;

}

.footer-feature p{

    margin: 0;

    color: #64748b;

    font-size: 13px;

}

/*
==================================================
BOTTOM SECTION
==================================================
*/

.footer-bottom{

    padding: 25px 0;

    border-top: 1px solid rgba(37, 99, 235, 0.1);

}

.copyright{

    margin: 0;

    color: #475569;

    font-weight: 500;

    font-size: 14px;

}

.copyright i{

    color: #2563eb;

}

.footer-bottom-links{

    display: flex;

    gap: 20px;

    justify-content: flex-end;

    flex-wrap: wrap;

}

.footer-bottom-links a{

    color: #475569;

    font-weight: 500;

    transition: all 0.3s ease;

    font-size: 13px;

    display: inline-flex;

    align-items: center;

    gap: 6px;

}

.footer-bottom-links a:hover{

    color: #2563eb;

    transform: translateY(-2px);

}

.footer-bottom-links a i{

    font-size: 12px;

}

/*
==================================================
MOBILE RESPONSIVE
==================================================
*/

@media(max-width: 991px){

    .footer-top{

        padding: 35px 0 40px;

    }

    .footer-widget{

        margin-top: 20px;

    }

    .footer-widget h4::after{

        width: 40px;

    }

}

@media(max-width: 767px){

    .footer-top{

        text-align: center;

    }

    .footer-widget h4::after{

        left: 50%;

        transform: translateX(-50%);

    }

    .footer-contact-item{

        justify-content: center;

    }

    .footer-bottom-links{

        justify-content: center;

        margin-top: 15px;

    }

    .footer-bottom{

        text-align: center;

    }

    .footer-logo{

        font-size: 34px;

    }

    .footer-feature{

        padding: 20px;

    }

    .feature-icon{

        width: 60px;

        height: 60px;

        font-size: 24px;

    }

    .footer-feature h5{

        font-size: 16px;

    }

    .social-links{

        justify-content: center;

    }

}

@media(max-width: 480px){

    .footer-bottom-links{

        gap: 12px;

    }

    .footer-bottom-links a{

        font-size: 11px;

    }

    .footer-feature{

        flex-direction: column;

        text-align: center;

    }

    .newsletter-input-group input{

        height: 45px;

        font-size: 13px;

    }

    .newsletter-input-group button{

        width: 45px;

        height: 45px;

    }

}

/* Animation on load */

@keyframes fadeInUp{

    from{

        opacity: 0;

        transform: translateY(30px);

    }

    to{

        opacity: 1;

        transform: translateY(0);

    }

}

.footer-top,

.footer-middle,

.footer-bottom{

    animation: fadeInUp 0.6s ease forwards;

}

.footer-middle{

    animation-delay: 0.1s;

}

.footer-bottom{

    animation-delay: 0.2s;

}

.subscribe-popup-overlay{

    position:fixed;

    inset:0;

    background:rgba(15,23,42,.65);

    backdrop-filter:blur(8px);

    display:none;

    align-items:center;

    justify-content:center;

    z-index:999999;

    padding:20px;
    
    transition:opacity .3s ease;

}

.subscribe-popup{

    width:100%;
    max-width:480px;

    background:#fff;

    border-radius:8px;

    padding:22px;

    position:relative;

    overflow:hidden;

    box-shadow:
    0 30px 80px rgba(0,0,0,.25);

    animation:
    popupOpen .55s
    cubic-bezier(.175,.885,.32,1.275);

}

.subscribe-popup::before{

    content:'';

    position:absolute;

    top:-120px;
    right:-120px;

    width:250px;
    height:250px;

    border-radius:50%;

    background:
    radial-gradient(
        rgba(37,99,235,.18),
        transparent
    );

}

.popup-close-btn{

    position:absolute;

    top:15px;
    right:15px;

    width:42px;
    height:42px;

    border:none;

    border-radius:50%;

    background:#f1f5f9;

    cursor:pointer;

}

.popup-header{

    text-align:center;

    margin-bottom:25px;

}

.popup-icon{

    width:64px;
    height:64px;

    margin:auto;

    border-radius:8px;

    background:linear-gradient(
        135deg,
        #2563eb,
        #1d4ed8
    );

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:26px;

    margin-bottom:12px;

    animation:pulseGift 2s infinite;

}

.popup-header h2{

    font-size:24px;

    font-weight:800;

    margin-bottom:8px;

}

.popup-header p{

    color:#64748b;

}

.popup-card{

    background:#f8fafc;

    border-radius:8px;

    padding:14px;

    margin-bottom:12px;

}

.popup-card h4{

    font-size:18px;

    font-weight:700;

    margin-bottom:10px;

}

.popup-card form{

    display:flex;

    gap:10px;

    margin-top:15px;

}

.popup-card input{

    flex:1;

    height:48px;

    border:none;

    border-radius:8px;

    padding:0 15px;

    background:#fff;

}

.popup-card button{

    border:none;

    border-radius:8px;

    height:48px;

    padding:0 20px;

    white-space:nowrap;
    
}

.whatsapp-card{

    background:#f0fdf4;

}

.whatsapp-btn{

    background:#25d366 !important;

}

@keyframes popupOpen{

    0%{

        opacity:0;

        transform:
        translateY(40px)
        scale(.85);

    }

    60%{

        transform:
        translateY(-8px)
        scale(1.03);

    }

    100%{

        opacity:1;

        transform:
        translateY(0)
        scale(1);

    }

}

@keyframes pulseGift{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.08);
    }

    100%{
        transform:scale(1);
    }

}

@media(max-width:768px){

    .subscribe-popup{
        padding:20px;
    }

    .popup-card form{
        display:flex;
        flex-direction:row;
        gap:8px;
        align-items:center;
    }

    .popup-card input{
        flex:1;
        min-width:0;
        height:48px;
        font-size:14px;
    }

    .popup-card button{
        flex-shrink:0;
        height:48px;
        padding:0 12px;
        font-size:13px;
        white-space:nowrap;
    }

}