@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

.zellige-pattern {
    background-image: url('https://www.transparenttextures.com/patterns/zellige.png');
}

.nav-link {
    position: relative;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #000080;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000080;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.15);
}

/* Language Switcher Styles */
#lang-button,
#lang-button-mobile {
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

#lang-button:hover,
#lang-button-mobile:hover {
    transform: scale(1.05);
}

/* Header scroll effect */
.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Tech Animation Slider */
.tech-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(249,250,251,1) 50%, rgba(255,255,255,1) 100%);
    padding: 2rem 0;
}

.tech-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.tech-track:hover {
    animation-play-state: paused;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    margin: 0 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 128, 0.1);
}

.tech-item span {
    margin-top: 1rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}



/* Three.js Canvas */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

