/* Footer Styles */
.main-footer {
    background: linear-gradient(180deg, var(--secondary-color) 0%, #1a1a24 100%);
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
    
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(138, 66, 255, 0.5), transparent);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-4, .col-lg-3, .col-lg-2, .col-md-6, .col-12 {
    padding: 0 15px;
}

.col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

.mb-5 { margin-bottom: 3rem !important; }

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 20px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 14px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Footer Headings */
.footer-heading {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a.active {
    color: var(--primary-color);
    font-weight: 500;
}

.footer-links a::before {
    content: '›';
    font-size: 16px;
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 3px;
    min-width: 20px;
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
}

/* Copyright */
.copyright {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.copyright a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.copyright a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .main-footer {
        padding: 50px 0 25px;
    }
    
    .col-lg-4, .col-lg-3, .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .mb-5 {
        margin-bottom: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 20px;
    }
    
    .col-lg-4, .col-lg-3, .col-lg-2, .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .footer-heading {
        font-size: 16px;
    }
    
    .footer-about {
        font-size: 13px;
    }
    
    .footer-links a,
    .footer-contact span {
        font-size: 13px;
    }
    
    .copyright p {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .main-footer {
        padding: 30px 0 15px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-heading {
        text-align: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
        text-align: center;
    }
}

/* Animation for hover effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer sections animation */
.main-footer .col-lg-4,
.main-footer .col-lg-3,
.main-footer .col-lg-2 {
    animation: fadeInUp 0.6s ease-out;
}

.main-footer .col-lg-4 { animation-delay: 0.1s; }
.main-footer .col-lg-2:nth-child(2) { animation-delay: 0.2s; }
.main-footer .col-lg-3:nth-child(3) { animation-delay: 0.3s; }
.main-footer .col-lg-3:nth-child(4) { animation-delay: 0.4s; }

/* Badge styling for certifications */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    margin: 2px;
}

/* Trust badges styling */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badge i {
    color: var(--primary-color);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

