/* Standard CSS conversion from Tailwind directives to ensure external file compatibility */
.text-balance { text-wrap: balance; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

body {
    background-color: #ffffff;
    font-family: 'Outfit', 'Almarai', sans-serif;
    color: #0A2540;
    overflow-x: hidden;
    font-size: 17px;
    line-height: 1.625;
}

@media (min-width: 1024px) {
    body {
        font-size: 18px;
    }
}

body::selection {
    background-color: rgba(184, 144, 77, 0.3);
    color: #0A2540;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.image-reveal {
    position: relative;
    overflow: hidden;
}

.image-reveal img {
    transition: transform 1000ms cubic-bezier(0, 0, 0.2, 1);
    transform: scale(1.1);
    opacity: 0;
}

.image-reveal.active img {
    transform: scale(1);
    opacity: 1;
}

.nav-link-hover {
    position: relative;
}

.nav-link-hover::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #B8904D;
    transition: all 300ms;
    content: "";
}

.nav-link-hover:hover::after {
    width: 100%;
}

.tab-btn.active {
    color: #0A2540;
    border-color: #0A2540;
    font-weight: 700;
}

/* Blog specific */
.magnetic-btn {
    transition: transform 300ms cubic-bezier(0, 0, 0.2, 1);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Homepage specific */
.glass-box {
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.marquee-content {
    display: inline-flex;
    animation: scroll-left 30s linear infinite;
}
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.scroll-container::-webkit-scrollbar { display: none; }
.ltr { direction: ltr; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #0A2540; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #B8904D; }
