/* Footer styles */
.site-footer {
    background-color: var(--color-surface);
    color: var(--color-text-secondary);
    margin-top: auto;
    position: relative;
    overflow: visible;
}

.site-footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1;
}

/* Footer top section with columns */
.footer-top {
    padding: 4rem 0 4rem;
}

.footer-container {
    max-width: var(--max-width-ultrawide);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

/* Reset any padding that might be causing misalignment */
.footer-section.company-info,
.footer-section.quick-links,
.footer-section.products-links,
.footer-section.contact-links {
    padding-left: 0;
    padding-right: 0;
}

/* Add specific positioning for each section */
.footer-section.company-info {
    grid-column: 1;
}

.footer-section.quick-links {
    grid-column: 2;
}

.footer-section.products-links {
    grid-column: 3;
}

.footer-section.contact-links {
    grid-column: 4;
}

.footer-logo {
    margin-bottom: 1.5rem;
    max-width: 200px;
}

.footer-logo-image {
    width: 100%;
    height: auto;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.5px;
}

.logo-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 2px;
}

.company-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Social links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Social links animation */
@keyframes socialIconFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 255, 178, 0.15);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    font-size: 1.2rem;
    animation: socialIconFadeIn 0.5s ease forwards;
    opacity: 0;
}

.social-link:nth-child(1) { animation-delay: 0.1s; }
.social-link:nth-child(2) { animation-delay: 0.2s; }
.social-link:nth-child(3) { animation-delay: 0.3s; }

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.social-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    color: var(--color-background-dark);
    box-shadow: 0 5px 15px rgba(0, 255, 178, 0.25);
}

.social-link:hover:before {
    opacity: 1;
}

.social-link:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 2px rgba(0, 255, 178, 0.4));
}

/* Specific social media brand colors on hover */
.social-link.linkedin:hover {
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.25);
}

.social-link.instagram:hover {
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.25);
}

/* Remove the fallback text content that's hiding icons */
.social-link:after {
    content: none !important;
}

.social-link.linkedin:after,
.social-link.instagram:after {
    content: none !important;
}

/* Footer section common styles */
.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
    position: relative;
    padding-bottom: 0.75rem;
    display: inline-block;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

/* Quick links and product links */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a:before {
    content: none;
    display: none;
}

.footer-section ul li a:hover {
    color: var(--color-primary);
    transform: translateX(3px);
}

/* Contact info section */
.footer-section.contact-links {
    position: relative;
    z-index: 1;
}

.footer-section.contact-links ul li a {
    display: flex;
    align-items: center;
    padding-left: 0;
}

.footer-section.contact-links ul li a i {
    color: var(--color-primary);
    margin-right: 0.75rem;
    min-width: 20px;
}

.footer-section.contact-links ul li a:before {
    display: none;
}

.footer-section.contact-links ul li a:hover {
    background-image: linear-gradient(45deg, 
        var(--color-primary) 0%, 
        var(--color-accent) 50%, 
        var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(2px);
    background-size: 200% auto;
    animation: gradientShift 2s linear infinite;
}

/* Footer bottom section */
.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 5;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-legal-links a:hover {
    color: var(--color-primary);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--color-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 255, 178, 0.3);
}

/* Responsive design */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 3rem;
    }
    
    .footer-section.company-info {
        grid-column: 1;
        padding-left: 1rem;
    }
    
    .footer-section.quick-links {
        grid-column: 2;
        padding-left: 0;
    }
    
    .footer-section.products-links {
        grid-column: 1;
        padding-left: 1rem;
    }
    
    .footer-section.contact-links {
        grid-column: 2;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 3rem 0 6rem;
    }
    
    .footer-grid {
        margin-bottom: 0;
    }
    
    .footer-bottom {
        position: relative;
        z-index: 10;
        margin-top: 0;
    }
    
    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-top: 0.5rem;
    }
    
    .copyright {
        order: 2;
    }
    
    .footer-legal-links {
        order: 1;
        justify-content: center;
        flex-wrap: wrap;
        padding: 0.5rem 0;
    }
    
    .footer-legal-links a {
        margin: 0.25rem 0.5rem;
    }
    
    .footer-section.contact-links {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 576px) {
    .footer-top {
        padding: 3rem 0 5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-section.company-info,
    .footer-section.quick-links,
    .footer-section.products-links,
    .footer-section.contact-links {
        grid-column: 1;
        padding-left: 0;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 1.2rem;
    }
    
    .social-link {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
    
    .footer-section h3 {
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-section h3:after {
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
    }
    
    .footer-section.company-info h3 {
        text-align: center;
    }
    
    .footer-section h3 {
        margin-bottom: 1.5rem;
    }
    
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    
    .company-description {
        text-align: center;
    }
    
    .footer-section ul {
        text-align: center;
    }
    
    .footer-section.contact-links ul {
        text-align: center;
    }
    
    .footer-section.contact-links ul li a {
        justify-content: center;
    }
    
    .footer-section.quick-links ul,
    .footer-section.products-links ul {
        display: inline-block;
        margin: 0 auto;
        text-align: left;
    }
    
    .footer-section.quick-links ul li,
    .footer-section.products-links ul li {
        text-align: left;
    }
    
    .footer-section.quick-links,
    .footer-section.products-links {
        text-align: center;
    }
    
    /* Target the list item containing the non-link */
    .footer-section.contact-links ul li {
        text-align: center;
        display: flex;
        justify-content: center;
    }
    
    /* Center the non-link span itself */
    .non-link {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    
    /* Ensure all contact list items are centered consistently */
    .footer-section.contact-links ul li a,
    .footer-section.contact-links ul li span {
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    
    /* Remove bullet points and center Quick Links and Products sections */
    .footer-section.quick-links ul li:before,
    .footer-section.products-links ul li:before {
        display: none; /* Hide bullet points */
    }
    
    /* Center the text and remove padding used for bullets */
    .footer-section.quick-links ul li,
    .footer-section.products-links ul li {
        text-align: center;
        padding-left: 0;
        display: flex;
        justify-content: center;
    }
    
    /* Center links themselves */
    .footer-section.quick-links ul li a,
    .footer-section.products-links ul li a {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    
    /* Ensure consistent centering across all sections */
    .footer-section.contact-links ul li {
        text-align: center;
        display: flex;
        justify-content: center;
    }
    
    .footer-section.contact-links ul li a,
    .footer-section.contact-links ul li span.non-link {
        justify-content: center;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 375px) {
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
}

/* Ultrawide optimization */
@media (min-width: 1800px) {
    .footer-container {
        max-width: 80%;
    }
    
    .footer-top {
        padding: 5rem 0 4rem;
    }
    
    .footer-grid {
        gap: 4rem;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .footer-section h3 {
        font-size: 1.25rem;
    }
}

/* Add styling for email social icon */
.social-link.email:hover {
    box-shadow: 0 5px 15px rgba(234, 67, 53, 0.25); /* Email color */
}

/* Remove the unused social link hover styles */
.social-link.twitter:hover,
.social-link.github:hover, 
.social-link.discord:hover {
    /* Remove these rules or comment them out */
}

/* Add more left padding for breakpoints between 768px and 577px */
@media (min-width: 577px) and (max-width: 768px) {
    /* Increase container padding */
    .footer-container {
        padding: 0 3rem; /* Increased from previous value */
    }
    
    /* Add significant left padding to the grid */
    .footer-grid {
        padding-left: 2.5rem; /* Much more left padding */
        padding-right: 1rem;
    }
    
    /* Add extra padding to individual sections */
    .footer-section.company-info {
        padding-left: 1.5rem; /* More left padding */
    }
    
    .footer-section.quick-links {
        padding-left: 1.5rem; /* More left padding */
    }
    
    .footer-section.products-links {
        padding-left: 1.5rem; /* More left padding */
    }
    
    .footer-section.contact-links {
        padding-left: 1.5rem; /* More left padding */
    }
}

/* For devices just slightly wider than tablets */
@media (min-width: 769px) and (max-width: 992px) {
    .footer-container {
        padding: 0 3.5rem; /* More padding */
    }
    
    .footer-grid {
        padding-left: 2rem; /* More left padding */
        padding-right: 1rem;
    }
    
    /* Add extra padding to individual sections */
    .footer-section.company-info,
    .footer-section.quick-links,
    .footer-section.products-links,
    .footer-section.contact-links {
        padding-left: 1.25rem; /* Consistent padding */
    }
}

/* For larger screens, ensure consistent horizontal alignment */
@media (min-width: 993px) {
    .footer-grid {
        width: 100%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Apply identical padding to logo and product sections */
    .footer-section.company-info,
    .footer-section.products-links {
        padding-left: 0.5rem;
    }
}

/* Add bullet points to footer lists */
.footer-section.quick-links ul li,
.footer-section.products-links ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.2rem; /* Space for bullet point */
}

/* Add custom bullet points */
.footer-section.quick-links ul li:before,
.footer-section.products-links ul li:before {
    content: '•'; /* Bullet character */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary); /* Use primary color for bullets */
    font-size: 1.2rem; /* Slightly larger bullet */
    line-height: 1.4;
}

/* Adjust link positioning */
.footer-section.quick-links ul li a,
.footer-section.products-links ul li a {
    padding-left: 0; /* Remove any existing left padding */
}

/* Maintain hover effect */
.footer-section.quick-links ul li a:hover,
.footer-section.products-links ul li a:hover {
    transform: translateX(3px);
}

/* Enhanced hover effect with interesting colors but no underline */
.footer-section.quick-links ul li a,
.footer-section.products-links ul li a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    padding: 1px 0;
    background-size: 200% auto;
    background-position: 0 100%;
}

/* Remove the underline effect entirely */
.footer-section.quick-links ul li a::after,
.footer-section.products-links ul li a::after {
    content: none; /* Remove the underline element */
    display: none; /* Ensure it's completely gone */
}

/* Text color gradient on hover */
.footer-section.quick-links ul li a:hover,
.footer-section.products-links ul li a:hover {
    background-image: linear-gradient(45deg, 
        var(--color-primary) 0%, 
        var(--color-accent) 50%, 
        var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(3px);
    text-shadow: none; /* Remove the text shadow since we're using gradient text */
    background-size: 200% auto;
    animation: gradientShift 2s linear infinite;
}

/* Gradient animation keyframes */
@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Contact links hover effect - also without underline */
.footer-section.contact-links ul li a:hover {
    background-image: linear-gradient(45deg, 
        var(--color-primary) 0%, 
        var(--color-accent) 50%, 
        var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(2px);
    background-size: 200% auto;
    animation: gradientShift 2s linear infinite;
}

/* Make sure icons in contact links stay visible with color */
.footer-section.contact-links ul li a:hover i {
    transform: scale(1.1);
    background: linear-gradient(45deg, 
        var(--color-primary), 
        var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Styling for non-clickable schedule item */
.footer-section.contact-links ul li.schedule-item span {
    display: flex;
    align-items: center;
    color: var(--color-text-secondary); /* Match the normal link color */
    padding-left: 0;
    cursor: default; /* Normal cursor instead of pointer */
}

.footer-section.contact-links ul li.schedule-item i {
    color: var(--color-primary);
    margin-right: 0.75rem;
    min-width: 20px;
}

/* Remove any hover styling from the schedule item */
.footer-section.contact-links ul li.schedule-item:hover,
.footer-section.contact-links ul li.schedule-item span:hover,
.footer-section.contact-links ul li.schedule-item i:hover {
    transform: none;
    color: var(--color-text-secondary); /* Keep the normal color */
    background: none; /* No gradient background */
    -webkit-text-fill-color: var(--color-text-secondary); /* Ensure text color stays unchanged */
    animation: none; /* No animations */
    text-shadow: none; /* No text shadow */
}

/* Fix any inherited background-clip properties */
.footer-section.contact-links ul li.schedule-item span:hover {
    background-clip: border-box;
}

/* Ensure the clock icon stays normal color on hover */
.footer-section.contact-links ul li.schedule-item:hover i {
    color: var(--color-primary);
    -webkit-text-fill-color: var(--color-primary);
    transform: none;
    background: none;
}

/* Minimal styling for the non-link element */
.footer-section.contact-links ul li .non-link {
    display: flex;
    align-items: center;
    color: var(--color-text-secondary);
    cursor: default;
}

.footer-section.contact-links ul li .non-link i {
    color: var(--color-primary);
    margin-right: 0.75rem;
    min-width: 20px;
}

/* Ensure no hover effects */
.footer-section.contact-links ul li .non-link:hover {
    transform: none;
}

.footer-section.contact-links ul li .non-link:hover i {
    transform: none;
}

/* Styling for non-clickable schedule item */
.non-link {
    display: flex;
    align-items: center;
    color: var(--color-text-secondary);
    cursor: default;
}

.non-link i {
    color: var(--color-primary);
    margin-right: 0.75rem;
    min-width: 20px;
}

/* Add more spacing for wider breakpoints */
@media (min-width: 992px) {
    .footer-grid {
        gap: 5rem; /* Increase gap between columns (from 3rem) */
    }
    
    .footer-container {
        max-width: 90%; /* Slightly reduce the maximum width */
        padding: 0 3rem; /* Add more horizontal padding */
    }
    
    .footer-top {
        padding: 5rem 0 5rem; /* Increase vertical padding (from 4rem) */
    }
    
    /* Add more space between list items */
    .footer-section ul li {
        margin-bottom: 1rem; /* Increase from 0.75rem */
    }
}

/* Even more spacing for very large screens */
@media (min-width: 1400px) {
    .footer-grid {
        gap: 6rem; /* Further increase gap between columns */
        max-width: 80%; /* Constrain width for better readability */
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-container {
        padding: 0 4rem; /* More padding on very large screens */
    }
    
    /* Increase spacing between the sections and icons */
    .social-link {
        margin-right: 0.5rem; /* Add space between social icons */
    }
    
    /* Add more vertical spacing between sections */
    .footer-section h3 {
        margin-bottom: 2rem; /* Increased from 1.5rem */
    }
}

/* Ultra-wide screens */
@media (min-width: 1800px) {
    .footer-grid {
        gap: 8rem; /* Maximum spacing between columns */
        max-width: 75%; /* Further constrain width */
    }
    
    /* Add more breathing room around content */
    .footer-top {
        padding: 6rem 0 6rem; /* Maximum vertical padding */
    }
}

/* Update the footer-legal-links styling to match the quick links hover effect */
.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

/* Remove the old hover effect */
.footer-legal-links a:hover {
    color: var(--color-primary); /* This will be overridden by the new effect */
}

/* Add the new gradient text hover effect to match quick links */
.footer-legal-links a:hover {
    background-image: linear-gradient(45deg, 
        var(--color-primary) 0%, 
        var(--color-accent) 50%, 
        var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(3px);
    background-size: 200% auto;
    animation: gradientShift 2s linear infinite;
}

/* Make sure the animation is defined (should already exist in your CSS) */
@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Responsive adjustments for the footer legal links */
@media (max-width: 768px) {
    .footer-legal-links a:hover {
        transform: translateX(2px); /* Slightly reduced transform on smaller screens */
    }
}

@media (max-width: 576px) {
    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-legal-links a {
        margin: 0.25rem 0.5rem;
        text-align: center;
    }
} 