@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

.custom-logo-link img,
.custom-logo {
    max-height: 80px;
    width: auto;
}

.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);
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 128, 0.2);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 130px;
    padding: 1.2rem;
    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;
}

.social-link {
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #000080;
}

.ha-lang-switcher ul,
.ha-lang-switcher-mobile ul {
    display: flex;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ha-lang-switcher a,
.ha-lang-switcher-mobile a {
    border: 2px solid #000080;
    border-radius: 999px;
    color: #000080;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    text-decoration: none;
}

.ha-lang-switcher .current-lang a,
.ha-lang-switcher-mobile .current-lang a {
    background: #000080;
    color: #fff;
}
