/* Footer Custom Styles */
.footer-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 3px solid var(--primary-color, #007bff);
}

.footer-section h6 {
    position: relative;
    padding-bottom: 8px;
}

.footer-section h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color, #007bff);
}

.footer-section .list-unstyled li {
    transition: all 0.3s ease;
    padding: 2px 0;
}

.footer-section .list-unstyled li:hover {
    padding-left: 8px;
}

.footer-section .list-unstyled a:hover {
    color: var(--primary-color, #007bff) !important;
    text-decoration: underline !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    background: rgba(0,123,255,0.1);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-links a.facebook:hover {
    background: #1877f2;
    color: white !important;
}

.social-links a.line:hover {
    background: #00c300;
    color: white !important;
}

.social-links a.youtube:hover {
    background: #ff0000;
    color: white !important;
}

.map-section {
    border-top: 1px solid #dee2e6;
    position: relative;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color, #007bff) 0%, #28a745 50%, #ffc107 100%);
}

.copyright-section {
    background: var(--primary-color, #007bff) !important;
    background: linear-gradient(135deg, var(--primary-color, #007bff) 0%, #0056b3 100%) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-section .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    .footer-section h6 {
        font-size: 1rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        margin-right: 8px;
    }
}

/* Contact info styling */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.contact-info-item i {
    margin-top: 2px;
    margin-right: 8px;
    color: var(--primary-color, #007bff);
    font-size: 14px;
}

.contact-info-item .info-content {
    flex: 1;
}

/* Visitor counter styling */
.visitor-counter {
    background: rgba(0,123,255,0.1);
    padding: 8px 12px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
    color: var(--primary-color, #007bff);
}

/* Logo section enhancement */
.footer-logo-section {
    border-right: 1px solid #dee2e6;
    padding-right: 2rem;
}

@media (max-width: 991px) {
    .footer-logo-section {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
        padding-right: 0;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
}

/* Adjust for 2-column layout */
@media (min-width: 992px) {
    .footer-logo-section {
        padding-right: 3rem;
    }
}

/* Menu section styling */
.footer-menu-section ul {
    columns: 1;
}

@media (min-width: 768px) {
    .footer-menu-section ul {
        columns: 1;
    }
}

.footer-menu-section li {
    break-inside: avoid;
    page-break-inside: avoid;
}

/* Animation for footer elements */
.footer-section .col-lg-4 {
    animation: fadeInUp 0.6s ease-out;
}

.footer-section .col-lg-4:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section .col-lg-4:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for contact links */
.contact-link {
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 2px 4px;
    margin: -2px -4px;
}

.contact-link:hover {
    background: rgba(0,123,255,0.1);
    color: var(--primary-color, #007bff) !important;
}