/* Responsive fixes for large screens */

/* Fix for very large screens (4K, ultra-wide) */
@media (min-width: 1921px) {
    /* Contact us background text positioning */
    #contact .position-absolute.right-minus-350px {
        right: -450px !important;
    }
    
    /* Reduce parallax movement for large screens */
    .fs-350[data-top-bottom] {
        transform: scale(1, 1) translate3d(-20px, 0px, 0px) !important;
    }
    
    /* Digital partner text positioning */
    .fs-325[data-top-bottom] {
        transform: scale(1.05, 1.05) translate3d(-50px, 0px, 0px) !important;
    }
}

/* Fix for extra large screens */
@media (min-width: 1600px) and (max-width: 1920px) {
    /* Contact us background text */
    #contact .position-absolute.right-minus-350px {
        right: -400px !important;
    }
    
    /* Adjust font sizes for better proportions */
    .fs-350 {
        font-size: 320px !important;
    }
    
    .fs-325 {
        font-size: 300px !important;
    }
}

/* Button positioning fix */
@media (min-width: 1400px) {
    .btn-medium {
        position: relative;
        z-index: 10;
    }
    
    /* Ensure contact form button is above background text */
    #contact form button {
        position: relative;
        z-index: 20;
    }
}

/* Fix for background elements overflow */
.position-absolute.text-sliding-line {
    pointer-events: none;
    user-select: none;
}

/* Ensure interactive elements are above decorative text */
.btn, .form-control, .navbar-brand {
    position: relative;
    z-index: 10;
}

/* Additional fixes for ultra-wide screens */
@media (min-width: 2560px) {
    /* Contact us background text for ultra-wide */
    #contact .position-absolute.right-minus-350px {
        right: -600px !important;
    }
    
    /* Reduce movement even more for ultra-wide */
    .fs-350[data-top-bottom] {
        transform: scale(1, 1) translate3d(-10px, 0px, 0px) !important;
    }
    
    .fs-325[data-top-bottom] {
        transform: scale(1.02, 1.02) translate3d(-30px, 0px, 0px) !important;
    }
}

/* Better text overflow handling */
.outside-box-left-20,
.outside-box-left-5,
.outside-box-right-20 {
    overflow: hidden;
}

/* Language switcher styles */
.language-switcher {
    margin-top: 15px;
}

.language-switcher .btn {
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-color: #666;
    color: #666;
    padding: 8px 12px;
}

.language-switcher .btn:hover {
    background-color: #666;
    border-color: #666;
    color: #fff;
    transform: translateY(-2px);
}

.language-switcher .btn.active {
    background-color: #232323;
    border-color: #232323;
    color: #fff;
}

.language-switcher .flag-icon {
    font-size: 14px;
}

@media (max-width: 767px) {
    .language-switcher .row {
        justify-content: center;
    }
    
    .language-switcher .col-6 {
        max-width: 80px;
        margin: 2px;
    }
    
    .language-switcher .btn {
        font-size: 12px;
        padding: 6px 8px;
    }
}

/* Sticky footer to bottom */
html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
    position: relative;
    z-index: 2;
    background: var(--white);
}

footer.footer-sticky {
    flex-shrink: 0;
    margin-top: auto;
}

/* Ensure proper spacing */
.main-content > section:last-child {
    margin-bottom: 0;
} 

.terms_of_use {
    display: none;
}