/* ==============================================
   FOOTER STYLES - ORANGE THEME
   Loads CSS variables from variables.css first
   ============================================== */

.footer {
    background: linear-gradient(135deg, #2c3e50, #1a1f25);
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.footer-col {
    flex: 1;
    padding: 0 15px;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    text-decoration: none;
}

.footer-logo h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary, #f59e0b); /* Uses theme variable */
    margin: 0;
    letter-spacing: 1px;
}

.footer-logo span {
    color: #fff;
}

.module-body {
    margin-top: 15px;
}

.about-us {
    line-height: 1.8;
    color: #b3b3b3;
    margin-bottom: 20px;
    font-size: 15px;
}

.module-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--primary, #f59e0b); /* Uses theme variable */
    position: relative;
    padding-bottom: 10px;
}

.module-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary, #f59e0b); /* Uses theme variable */
    border-radius: 2px;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table tr:last-child {
    border-bottom: none;
}

.table td {
    padding: 12px 5px;
    color: #b3b3b3;
}

.table td:last-child {
    color: #fff;
    font-weight: 500;
}

.toggle-footer {
    list-style: none;
}

.toggle-footer li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.icon-container {
    min-width: 40px;
    height: 40px;
    background: var(--primary, #f59e0b); /* Uses theme variable */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.icon-container i {
    color: #fff;
    font-size: 18px;
}

.media-body {
    color: #b3b3b3;
}

.media-body p, .media-body span {
    line-height: 1.6;
}

.media-body a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s;
}

.media-body a:hover {
    color: var(--primary, #f59e0b); /* Uses theme variable */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
}

.copyright {
    color: #b3b3b3;
    font-size: 14px;
    margin-top: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary, #f59e0b); /* Uses theme variable */
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-col {
        flex: 100%;
    }
    
    .footer-row {
        flex-direction: column;
    }
    
    .module-title {
        font-size: 18px;
    }
    
    .footer-logo h3 {
        font-size: 24px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        margin: 0 5px;
    }
}