/* Custom Scrollbar Styles */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Body Min Height */
body {
    min-height: max(884px, 100dvh);
}

/* Utility Classes */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Logo Styles */
.logo-image {
    height: 110px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.logo-image-footer {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Responsive Logo Styles */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
        max-width: 140px;
    }

    .logo-image-footer {
        height: 50px;
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 115px;
        max-width: 120px;
    }

    .logo-image-footer {
        height: 45px;
        max-width: 140px;
    }
}

/* Language Selector Styles */
.language-selector-wrapper {
    position: relative;
}

.language-dropdown {
    animation: slideDown 0.2s ease-out;
}

.language-dropdown.hidden {
    display: none;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background-color: rgba(46, 125, 72, 0.1);
    border-left: 3px solid #2E7D48;
}

.lang-btn:hover {
    transform: translateX(4px);
}

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

/* Dark mode adjustments for language selector */
@media (prefers-color-scheme: dark) {
    .lang-btn.active {
        background-color: rgba(46, 125, 72, 0.2);
    }
}
