/*** ================== Main Footer =================== ***/

.main_footer{
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.main_footer:before{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    z-index: -1;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95) 0%, rgba(27, 27, 27, 0.92) 100%);
}

/* Animated Particles */
.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    animation: floatParticle 20s infinite ease-in-out;
}

.particle-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.particle-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 10%;
    animation-delay: 3s;
    background: rgba(6, 182, 212, 0.1);
}

.particle-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 15%;
    animation-delay: 6s;
    background: rgba(16, 185, 129, 0.08);
}

.particle-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 20%;
    animation-delay: 9s;
    background: rgba(245, 158, 11, 0.08);
}

.particle-5 {
    width: 90px;
    height: 90px;
    bottom: 40%;
    left: 40%;
    animation-delay: 12s;
    background: rgba(239, 68, 68, 0.08);
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
        opacity: 0.6;
    }
}

/* Footer Brand Section */
.footer-brand-section {
    text-align: center;
    padding: 60px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 50px;
    position: relative;
}

.footer-logo-wrapper {
    margin-bottom: 25px;
}

.animated-logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 15px 25px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.animated-logo:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    animation: logoPulse 3s infinite ease-in-out;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(99, 102, 241, 0.6);
    }
}

.animated-logo:hover .logo-icon {
    animation: logoRotate 0.6s ease;
}

@keyframes logoRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.logo-text h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo-text span {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}

.footer-tagline {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

/* Social Links */
.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: -1;
}

.social-link:hover::before {
    width: 120%;
    height: 120%;
}

.social-link:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5);
    border-color: transparent;
}

.social-link:nth-child(1):hover { background: linear-gradient(135deg, #1877f2, #0d5dbf); }
.social-link:nth-child(2):hover { background: linear-gradient(135deg, #1da1f2, #0d8bd9); }
.social-link:nth-child(3):hover { background: linear-gradient(135deg, #e4405f, #c13584); }
.social-link:nth-child(4):hover { background: linear-gradient(135deg, #0077b5, #005582); }
.social-link:nth-child(5):hover { background: linear-gradient(135deg, #ff0000, #cc0000); }

.footer-top-outer{
    padding: 0 0 60px;
}
.footer_about_widget{
    max-width: 220px;
}
h4.footer_widget_title{
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: #FFF;
    font-family: var(--primary-font);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-bottom: 15px;
}

h4.footer_widget_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #06b6d4);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.footer_widget:hover h4.footer_widget_title::after {
    width: 80px;
}

h4.footer_widget_title i {
    font-size: 22px;
    color: #6366f1;
    animation: iconBounce 2s infinite ease-in-out;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.footer_widget_logo{
    max-width: 165px;
    width: 100%;
    margin-bottom: 50px;
}

.footer_about_widget p{
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: #ABABAB;
    font-family: var(--secondary-font);
    margin-bottom: 25px;
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #ABABAB;
    font-size: 15px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.footer-contact-list li:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-contact-list li i {
    color: #6366f1;
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact-list li:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #06b6d4;
}

.footer-contact-list li a {
    color: #ABABAB;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-list li a:hover {
    color: #6366f1;
    text-decoration: none;
}

.footer_about_widget ul li a{
    color: #FFF;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    display: inline-block;
    font-family: var(--primary-font);
    margin: 8px 0px;
    transition: all 500ms;
}
.footer_about_widget ul li a:hover{
    color: var(--theme-color);
}

.footer_community_widget{
    margin-left: 0;
}

.footer_resources_widget ul li,
.footer_community_widget ul li {
    margin-bottom: 5px;
}

.footer_resources_widget ul li a,
.footer_community_widget ul li a{
    color: #ABABAB;
    font-size: 15px;
    font-weight: 400;
    line-height: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--secondary-font);
    margin: 8px 0px;
    transition: all 0.4s ease;
    position: relative;
    padding-left: 0;
}

.footer_resources_widget ul li a i,
.footer_community_widget ul li a i {
    font-size: 12px;
    color: #6366f1;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.footer_resources_widget ul li a:hover,
.footer_community_widget ul li a:hover{
    color: #ffffff;
    padding-left: 10px;
    text-decoration: none;
}

.footer_resources_widget ul li a:hover i,
.footer_community_widget ul li a:hover i {
    opacity: 1;
    transform: translateX(0);
}
.footer_newsletter_widget p{
    font-size: 15px;
    line-height: 26px;
    font-weight: 400;
    color: #ABABAB;
    max-width: 360px;
    font-family: var(--secondary-font);
    margin-bottom: 25px;
}
.footer_newsletter_widget .subscribe-form .form-group{
    position: relative;
    margin-bottom: 20px;
}

.footer_newsletter_widget .subscribe-form .form-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6366f1;
    font-size: 18px;
    z-index: 1;
}

.footer_newsletter_widget .subscribe-form .form-group input{
    width: 100%;
    color: #ffffff;
    height: 60px;
    font-size: 15px;
    line-height: 50px;
    border-radius: 12px;
    padding: 10px 60px 10px 50px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.footer_newsletter_widget .subscribe-form .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer_newsletter_widget .subscribe-form .form-group input:focus{
    border-color: #6366f1;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

.footer_newsletter_widget .subscribe-form .form-group button{
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer_newsletter_widget .subscribe-form .form-group button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ABABAB;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.4s ease;
    cursor: default;
}

.badge-item i {
    font-size: 16px;
    color: #6366f1;
    transition: all 0.3s ease;
}

.badge-item:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    color: #ffffff;
    transform: translateY(-3px);
}

.badge-item:hover i {
    transform: scale(1.2);
    color: #06b6d4;
}
.footer-bottom-outer{
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom-outer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100px;
    }
    100% {
        left: calc(100% + 100px);
    }
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-bottom-outer .copyright {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 400;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--secondary-font);
}

.footer-bottom-outer .copyright i {
    color: #6366f1;
}

.footer-bottom-outer .copyright a{
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom-outer .copyright a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #06b6d4);
    transition: width 0.3s ease;
}

.footer-bottom-outer .copyright a:hover::after {
    width: 100%;
}

.footer-bottom-outer .copyright a:hover {
    color: #06b6d4;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-bottom-links li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom-links li a::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #6366f1;
    transition: width 0.3s ease;
}

.footer-bottom-links li a:hover {
    color: #ffffff;
}

.footer-bottom-links li a:hover::before {
    width: 100%;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.payment-methods i {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.payment-methods i:hover {
    color: #ffffff;
    transform: scale(1.2);
}
.dark-bg .main_footer:before{
    display: none;
}
.dark-bg .footer-bottom-outer{
    justify-content: center;
}
.dark-bg .footer_about_widget h6 strong {
    font-size: 18px;
    line-height: 26px;
    color: #ABABAB;
    font-weight: 400;
    font-family: var(--secondary-font);
}
.dark-bg .footer_about_widget ul li a{
    line-height: 44px;
    color: #ABABAB;
}
.dark-bg .footer_about_widget ul li a:hover{
    color: #fff;
}
.main_footer.home-three{
    background-color: #060702;
}
.home-three .main_footer:before{
    display: none;
}
.home-three .footer-bottom-outer{
    justify-content: center;
}
.home-three .footer_about_widget h6 strong {
    font-size: 18px;
    line-height: 26px;
    color: #ABABAB;
    font-weight: 400;
    font-family: var(--secondary-font);
}
.home-three .footer_about_widget ul li a{
    line-height: 44px;
    color: #ABABAB;
}
.home-three .footer_about_widget ul li a:hover{
    color: #fff;
}
.footer_contact_widget p{
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: #ABABAB;
    max-width: 360px;
    font-family: var(--secondary-font);
    margin-bottom: 30px;
}
.footer_contact_widget ul li a {
    color: #ABABAB;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    display: inline-block;
    font-family: var(--primary-font);
    margin: 8px 0px;
    transition: all 500ms ease 0s;
}
.dark-bg .footer-bottom-outer{
    justify-content: center;
}
.dark-bg .footer-bottom-outer .copyright{
    color: #ABABAB;
}
.home-three .footer-bottom-outer{
    justify-content: center;
}
.home-three .footer-bottom-outer .copyright{
    color: #ABABAB;
}

@media only screen and (max-width: 1200px) {
    .footer-brand-section {
        padding: 50px 0 40px;
    }
    
    .animated-logo {
        padding: 12px 20px;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .logo-text h2 {
        font-size: 28px;
    }
}

@media only screen and (max-width: 991px){
    .footer_community_widget{
        margin-left: 0;
    }
    .footer_about_widget{
        margin-bottom: 30px;
    }
    .footer_resources_widget{
        margin-bottom: 30px;
    }
    
    .footer-brand-section {
        padding: 40px 0 35px;
    }
    
    .footer-tagline {
        font-size: 15px;
    }
    
    .footer-bottom-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media only screen and (max-width: 767px){
    .footer_community_widget{
        margin-bottom: 30px;
    }
    
    .footer-brand-section {
        padding: 35px 0 30px;
    }
    
    .animated-logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-tagline {
        font-size: 14px;
    }
    
    .footer-social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .footer-bottom-outer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .footer-bottom-left {
        align-items: center;
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .payment-methods {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 500px){
    .footer_newsletter_widget .subscribe-form .form-group input{
        padding: 0px 25px;
        height: 50px;
    }
    .footer_newsletter_widget .subscribe-form .form-group button{
        position: relative;
        right: inherit;
    }
    
    .footer-brand-section {
        padding: 30px 0 25px;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .logo-text h2 {
        font-size: 24px;
    }
    
    .logo-text span {
        font-size: 11px;
    }
    
    .trust-badges {
        gap: 10px;
    }
    
    .badge-item {
        padding: 8px 14px;
        font-size: 12px;
    }
}