/* Responsive Footer Styles */

.responsive-footer {
    background: #1a1a1a;
    color: #ffffff;
    position: relative;
    margin-top: auto;
}

/* Main Footer */
.footer-main {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

/* Company Section */
.footer-company {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.footer-logo .logo-icon {
    font-size: 36px;
}

.footer-logo .logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #007bff;
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 30px;
}

/* Contact Info */
.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-icon {
    color: #007bff;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 12px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-title {
    font-size: 14px;
    color: #cccccc;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333333;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-link:hover {
    background: #007bff;
    transform: translateY(-2px);
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-section h3.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #007bff;
}

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

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

.footer-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #007bff;
    transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
    background: #111111;
    padding: 20px 0;
    border-top: 1px solid #333333;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    color: #999999;
}

.footer-disclaimer {
    font-size: 12px !important;
    color: #666666 !important;
    margin-top: 5px !important;
}

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

.bottom-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.bottom-link:hover {
    color: #007bff;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Mobile Footer */
.footer-mobile {
    display: none;
    padding: 40px 0;
}

.mobile-footer-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #333333;
    padding-bottom: 20px;
}

.mobile-footer-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.mobile-section-header {
    width: 100%;
    background: none;
    border: none;
    color: #ffffff;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-section-header:hover {
    color: #007bff;
}

.mobile-section-header.active {
    color: #007bff;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
}

.section-toggle {
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.mobile-section-header.active .section-toggle {
    transform: rotate(180deg);
}

.mobile-section-content {
    padding-top: 10px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.mobile-footer-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.mobile-footer-link:hover {
    color: #007bff;
}

.mobile-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-contact-icon {
    color: #007bff;
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
}

.mobile-contact-text {
    font-size: 14px;
    color: #cccccc;
}

.mobile-social-links {
    display: flex;
    gap: 15px;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #333333;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.mobile-social-link:hover {
    background: #007bff;
    transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .footer-content {
        gap: 40px;
    }

    .footer-links {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-company {
        max-width: 100%;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-main {
        display: none;
    }

    .footer-mobile {
        display: block;
    }

    .footer-bottom {
        padding: 15px 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .footer-mobile {
        padding: 30px 0;
    }

    .mobile-footer-section {
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .mobile-social-links {
        justify-content: center;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .responsive-footer {
        background: #0a0a0a;
    }

    .footer-main {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    }

    .footer-bottom {
        background: #000000;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .responsive-footer {
        border-top: 2px solid #fff;
    }

    .footer-link:hover,
    .mobile-footer-link:hover {
        background: #007bff;
        color: #fff;
        padding: 5px 10px;
        border-radius: 4px;
    }

    .social-link:hover,
    .mobile-social-link:hover {
        border: 2px solid #007bff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    .social-link,
    .mobile-social-link,
    .back-to-top,
    .footer-link,
    .mobile-footer-link {
        transition: none;
    }

    .mobile-section-content {
        animation: none;
    }

    .section-toggle {
        transition: none;
    }
}

/* Print styles */
@media print {
    .responsive-footer {
        display: none;
    }
}