/* Modern Footer Styles */
:root {
    --dentist-blue: #2193b0;
    --dentist-light-blue: #6dd5ed;
    --dentist-orange: #ff7e5f;
    --gradient-blue: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    --transition-normal: all 0.3s ease;
}

.footer {
    background-color: #202937;
    color: #fff;
    position: relative;
}

.footer-top {
    padding: 70px 0 40px;
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="1" cy="1" r="0.5" fill="%23ffffff" opacity="0.05"/></svg>') repeat;
    opacity: 0.5;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
}

/* Footer Brand */
.footer-brand {
    margin-bottom: 20px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-brand .logo img {
    height: 45px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-brand .logo:hover img {
    transform: scale(1.05);
}

.footer-description {
    color: #B8C2CC;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-cta {
    margin-top: 20px;
}

.btn-light-outline {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    text-decoration: none;
    transition: var(--transition-normal);
}

.btn-light-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Footer Links */
.footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #B8C2CC;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
    display: inline-block;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--dentist-light-blue);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--dentist-light-blue);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Contact Section */
.footer-contact .footer-title {
    margin-bottom: 24px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 16px;
}

.contact-list a {
    color: #B8C2CC;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-list a i {
    color: var(--dentist-light-blue);
    font-size: 16px;
    margin-top: 3px;
}

.contact-list a:hover {
    color: white;
}

.address {
    line-height: 1.5;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--gradient-blue);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer-copyright {
    color: #B8C2CC;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #B8C2CC;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: white;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: 1.5fr repeat(2, 1fr) 0.8fr 0.8fr;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-brand {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 50px 0 30px;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}