/**
 * Footer Enhancements
 * Clean, modern, highly readable footer design
 */

/* ========================================================================
   Footer Base
   ======================================================================== */

.main-wrapper footer {
    background: #1F2937;
    border-top: 3px solid #4F46E5;
    padding: 4rem 0 0;
    margin-top: 5rem;
}

.main-wrapper footer.pt-8 {
    padding-top: 4rem !important;
}

.main-wrapper footer.border-top {
    border-top: 3px solid #4F46E5 !important;
}

.main-wrapper footer.border-light {
    border-top-color: #4F46E5 !important;
}

/* ========================================================================
   Footer Content
   ======================================================================== */

.main-wrapper footer .container {
    max-width: 1200px;
}

.main-wrapper footer .row.pb-5 {
    padding-bottom: 3rem !important;
}

/* Footer logo */
.main-wrapper footer img.w-30 {
    max-width: 150px;
    height: auto;
    margin-bottom: 1.25rem;
    display: block;
    filter: brightness(1.2);
}

/* Footer about text */
.main-wrapper footer p {
    color: #D1D5DB !important;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 380px;
    font-weight: 400;
}

/* ========================================================================
   Footer Headings
   ======================================================================== */

.main-wrapper footer h3,
.main-wrapper footer .h6 {
    color: #FFFFFF !important;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

/* ========================================================================
   Footer Lists
   ======================================================================== */

.main-wrapper footer ul.footer-list-style-two {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-wrapper footer ul.footer-list-style-two li {
    margin-bottom: 0.75rem;
}

.main-wrapper footer ul.footer-list-style-two li a {
    color: #D1D5DB !important;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.main-wrapper footer ul.footer-list-style-two li a:hover {
    color: #A5B4FC !important;
    text-decoration: none;
    transform: translateX(3px);
}

/* ========================================================================
   Social Icons
   ======================================================================== */

.main-wrapper footer ul.social-icon3 {
    display: flex;
    gap: 0.875rem;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.main-wrapper footer ul.social-icon3 li {
    margin: 0;
}

.main-wrapper footer ul.social-icon3 li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    color: #D1D5DB !important;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
    text-decoration: none;
}

.main-wrapper footer ul.social-icon3 li a:hover {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: #FFFFFF !important;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.main-wrapper footer ul.social-icon3 li a i {
    font-size: 1.125rem;
}

/* ========================================================================
   Footer Bottom / Copyright
   ======================================================================== */

.main-wrapper footer .border-top.border-light {
    border-top: 2px solid rgba(255, 255, 255, 0.1) !important;
    background: #111827;
    margin-top: 0;
    padding-top: 0;
}

.main-wrapper footer .border-top .container {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.main-wrapper footer .border-top .row.py-4 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.main-wrapper footer .border-top p {
    color: #9CA3AF !important;
    font-size: 0.9375rem;
    margin: 0;
    font-weight: 500;
}

.main-wrapper footer .border-top a {
    color: #D1D5DB !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-wrapper footer .border-top a:hover {
    color: #A5B4FC !important;
    text-decoration: underline;
}

/* ========================================================================
   Responsive Footer
   ======================================================================== */

@media (max-width: 768px) {
    .main-wrapper footer {
        padding-top: 3rem;
        margin-top: 3rem;
    }
    
    .main-wrapper footer.pt-8 {
        padding-top: 3rem !important;
    }
    
    .main-wrapper footer .pb-5 {
        padding-bottom: 2.5rem !important;
    }
    
    .main-wrapper footer .row.pb-5 {
        padding-bottom: 2.5rem !important;
    }
    
    .main-wrapper footer .col-sm-5,
    .main-wrapper footer .col-sm-3,
    .main-wrapper footer .col-lg-5,
    .main-wrapper footer .col-lg-3 {
        margin-bottom: 2.5rem;
    }
    
    .main-wrapper footer img.w-30 {
        max-width: 130px;
    }
    
    .main-wrapper footer p {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    .main-wrapper footer h3,
    .main-wrapper footer .h6 {
        font-size: 0.9375rem;
    }
    
    .main-wrapper footer ul.social-icon3 {
        justify-content: flex-start;
        margin-top: 1.25rem;
        gap: 0.75rem;
    }
    
    .main-wrapper footer ul.social-icon3 li a {
        width: 40px;
        height: 40px;
    }
    
    .main-wrapper footer ul.social-icon3 li a i {
        font-size: 1rem;
    }
    
    .main-wrapper footer .border-top .container {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .main-wrapper footer .border-top p {
        font-size: 0.875rem;
    }
}

/* ========================================================================
   Dark Mode Support (Optional)
   ======================================================================== */

@media (prefers-color-scheme: dark) {
    .main-wrapper footer {
        background: linear-gradient(180deg, #1F2937 0%, #111827 100%);
        border-top-color: #374151;
    }
    
    .main-wrapper footer h3,
    .main-wrapper footer .h6 {
        color: #F9FAFB !important;
    }
    
    .main-wrapper footer p,
    .main-wrapper footer ul.footer-list-style-two li a {
        color: #D1D5DB !important;
    }
    
    .main-wrapper footer ul.social-icon3 li a {
        background: #374151;
        border-color: #4B5563;
        color: #D1D5DB !important;
    }
}
