/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #F3F4F6;
}

/* Header */
#main-header.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#main-header.header-scrolled .nav-link {
    color: #4B5563;
    /* gray-600 */
}

#main-header.header-scrolled .nav-link:hover {
    color: #4F46E5;
    /* indigo-600 */
}

#main-header.header-scrolled .text-3xl a {
    color: #1F2937;
    /* gray-800 */
}

#main-header.header-scrolled #mobile-menu-button {
    color: #1F2937;
    /* gray-800 */
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4F46E5;
    /* Indigo 600 */
    transition: width 0.3s ease;
}

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

/* Services Dropdown */
#services-dropdown {
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    transform-origin: top center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.dropdown-hidden {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
    visibility: hidden;
}

.dropdown-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
}

/* Hero Section */
.hero-section {
    background-image: url('https://images.pexels.com/photos/3184418/pexels-photo-3184418.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-section h1,
.hero-section p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Filter Menu */
.filter-menu {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    color: #4B5563;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #E5E7EB;
}

.filter-btn.active {
    background-color: #4F46E5;
    color: #ffffff;
}

/* Project Grid */
.project-card {
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.project-card img {
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
