/* ============================================
   FOOTER COMPONENT STYLES - PROFESSIONAL
   ============================================ */
   
.footer {
    background: var(--panel);
    color: var(--text);
    padding: 40px 0 0;
    position: relative;
    margin-top: 0;
    border-top: 1px solid rgba(6, 182, 212, 0.1);
    min-height: 200px;
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 0 0;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 25px 0 0;
    }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }
}

/* Footer Main Content - Three Column Layout */
.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    padding: 40px 60px 30px 60px;
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
    align-items: center;
}

@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Footer Left Section */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0;
}

@media (max-width: 768px) {
    .footer-left {
        align-items: center;
        text-align: center;
    }
}

/* Footer Center Section - Logo */
.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 30px;
}

/* Footer Right Section */
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    padding-top: 0;
}

@media (max-width: 768px) {
    .footer-right {
        align-items: center;
        text-align: center;
    }
}

/* Footer Brand Section */
.footer-brand {
    display: none;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    max-width: 120px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    position: relative;
}

.footer-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Show/hide footer logos based on theme */
:root[data-theme="light"] .footer-logo-dark {
    display: none;
}

:root[data-theme="light"] .footer-logo-light {
    display: block;
}

:root[data-theme="dark"] .footer-logo-light {
    display: none;
}

:root[data-theme="dark"] .footer-logo-dark {
    display: block;
    width: 120px;
    max-width: 120px;
    height: auto;
}

/* Default (dark mode) */
.footer-logo-light {
    display: none;
}

.footer-logo-dark {
    display: block;
    width: 120px;
    max-width: 120px;
    height: auto;
}

.footer-description {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
    margin-top: -5px;
    margin-bottom: 0px;
    opacity: 0.85;
    max-width: 300px;
    text-align: center;
}

/* Newsletter Section */
.footer-newsletter {
    margin-bottom: 25px;
}

.newsletter-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

@media (max-width: 640px) {
    .newsletter-form {
        flex-direction: column;
    }
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.newsletter-input::placeholder {
    color: var(--muted);
    opacity: 0.6;
}

.newsletter-btn {
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #0891b2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.newsletter-disclaimer {
    font-size: 0.8rem;
    color: var(--muted);
    opacity: 0.7;
    line-height: 1.5;
}

/* Visit Us Section */
.visit-us {
    margin-top: 25px;
}

.visit-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.visit-address {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    opacity: 0.85;
}

.footer-right .visit-address {
    text-align: right;
}

@media (max-width: 768px) {
    .visit-address {
        text-align: center;
    }
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-left .footer-column {
    align-items: flex-start;
}

.footer-center .footer-column {
    align-items: center;
}

.footer-right .footer-column {
    align-items: flex-end;
}

@media (max-width: 768px) {
    .footer-column {
        align-items: center;
    }
    
    .footer-left .footer-column,
    .footer-right .footer-column,
    .footer-center .footer-column {
        align-items: center;
    }
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    margin-top: 0;
    line-height: 1;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    line-height: 1;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0.85;
}

.footer-left .footer-links a {
    text-align: left;
}

.footer-center .footer-links a {
    text-align: center;
}

.footer-right .footer-links a {
    text-align: right;
}

.footer-links a:hover {
    color: var(--accent);
    opacity: 1;
    transform: translateX(3px);
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

@media (max-width: 640px) {
    .footer-social {
        justify-content: center;
    }
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(6, 182, 212, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--muted);
}

.footer-right .footer-contact li {
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .footer-contact li {
        justify-content: center;
    }
}

.footer-contact i {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.85;
}

.footer-contact a:hover {
    color: var(--accent);
    opacity: 1;
}

/* Footer Bottom Section */
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 60px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    border-top: 1px solid rgba(6, 182, 212, 0.1);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
    }
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-legal {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
    opacity: 0.8;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-legal-links {
        justify-content: center;
    }
}

.footer-legal-links a {
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-legal-links a:hover {
    color: var(--accent);
    opacity: 1;
}

.footer-copyright-text {
    font-size: 0.9rem;
    color: var(--muted);
    opacity: 0.8;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .footer-copyright-text {
        text-align: center;
        width: 100%;
        order: -1;
    }
}

/* Certifications Badge */
.footer-certifications {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-certifications {
        justify-content: center;
    }
}

.cert-badge {
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Clean professional footer - all styles consolidated above */

