/* Medical Footer Styles - Mobile First Responsive Design */

.medical-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

/* Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Footer */
.footer-main {
    padding: 40px 0;
}

.footer-main .footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Footer Sections */
.footer-section {
    text-align: center;
}

.footer-section h3,
.footer-section h4 {
    margin: 0 0 20px 0;
    font-weight: 600;
}

.footer-section h3 {
    font-size: 1.5rem;
    color: #3498db;
}

.footer-section h4 {
    font-size: 1.2rem;
    color: #e74c3c;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #e74c3c;
}

/* Company Info */
.footer-logo img {
    max-height: 180px;
    max-width: 80%;
    margin-bottom: 15px;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 15px;
}

.company-description {
    font-size: 14px;
    color: #bdc3c7;
    margin-bottom: 25px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.social-link.facebook:hover { background: #3b5998; }
.social-link.youtube:hover { background: #ff0000; }
.social-link.instagram:hover { background: #e4405f; }
.social-link.zalo:hover { background: #0068ff; }
.social-link.tiktok:hover { background: #000000; }

/* Quick Links */
.footer-links {
    font-size: 13px;
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    font-size: 13px;
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item i {
    font-size: 13px;
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

/* Contact Info */
.contact-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-item i {
    color: #e74c3c;
    margin-right: 10px;
    margin-top: 2px;
    min-width: 16px;
}

.contact-item a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #3498db;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-content {
    text-align: center;
}

.copyright-text,
.developer-credit {
    margin: 5px 0;
    font-size: 0.85rem;
    color: #95a5a6;
}

.developer-credit {
    font-style: italic;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .footer-main .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-section {
        text-align: left;
    }
    
    .footer-section h4::after {
        left: 0;
        transform: none;
    }
    
    .company-description {
        margin-left: 0;
        margin-right: 0;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .contact-item {
        justify-content: flex-start;
    }
    
    .copyright-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .copyright-text,
    .developer-credit {
        margin: 0;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .footer-main {
        padding: 60px 0;
    }
    
    .footer-main .footer-container {
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 50px;
    }
    
    .footer-section h3 {
        font-size: 1.8rem;
    }
    
    .footer-section h4 {
        font-size: 1.3rem;
    }
    
    .company-description {
        max-width: 350px;
        font-size: 1rem;
    }
    
    .social-links {
        gap: 20px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .footer-links a {
        font-size: 1rem;
    }
    
    .contact-item {
        font-size: 1rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .footer-container {
        padding: 0 40px;
    }
    
    .footer-main {
        padding: 80px 0;
    }
    
    .footer-main .footer-container {
        gap: 60px;
    }
}

/* Hover Effects */
@media (hover: hover) {
    .footer-links a::before {
        content: '';
        position: absolute;
        width: 0;
        height: 1px;
        bottom: -2px;
        left: 0;
        background-color: #3498db;
        transition: width 0.3s ease;
    }
    
    .footer-links li {
        position: relative;
    }
    
    .footer-links a:hover::before {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .medical-footer {
        background: white !important;
        color: black !important;
    }
    
    .social-links {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .medical-footer {
        background: #000;
        color: #fff;
    }
    
    .footer-section h3,
    .social-link:hover,
    .footer-links a:hover,
    .contact-item a:hover {
        color: #fff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .social-link,
    .footer-links a,
    .contact-item a {
        transition: none;
    }
    
    .social-link:hover {
        transform: none;
    }
}
