/* General Styles for the Service Page */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');
body {
    font-family: 'Poppins', sans-serif;
    background-color: black;
    color: white;
    margin: 0;
    padding: 0;
}

nav {
    width: 100%;
    height: 10vh;
    position: sticky;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.logo span {
    color: rgb(211, 3, 3);
    text-shadow: 0 0 10px rgb(211, 3, 3);
}

.hamburg,
.cancel {
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 20px;
    color: white;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
    display: none;
}

.nav-container .links {
    display: flex;
}

.nav-container .links a {
    font-size: 1.2rem;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s linear;
}

.nav-container .links a:hover {
    color: rgb(211, 3, 3);
    border-bottom: 2px solid rgb(211, 3, 3);
}

/* Dropdown Menu (Initially Hidden) */
.dropdown {
    z-index: 100;
    position: absolute;
    top: 0;
    width: 100%;
    height: auto;
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-500px);
    backdrop-filter: blur(4px) brightness(40%);
    transition: transform 0.3s ease;
    box-shadow: 0 0 20px black;
    display: none;
}

.dropdown .links a {
    display: flex;
    color: white;
    text-decoration: none;
    padding: 15px 0;
    justify-content: center;
    align-items: center;
    transition: 0.2s linear;
}

.dropdown .links a:hover {
    background-color: rgb(211, 3, 3);
}
/* section{
    width: 100%;
    height: 90vh;
} */
.services {
    padding: 50px;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 40px;
}

.project-cards {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 50px;
    text-align: left;
    width: 30%;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.project-info {
    padding: 15px 0;
}

.project-info h2 {
    color: rgb(211, 3, 3);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6; /* Increased line spacing */
}

.project-info a {
    text-decoration: none;
    color: white;
    background-color: rgb(211, 3, 3);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.project-info a:hover {
    background-color: white;
    color: rgb(211, 3, 3);
}
.social-links i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid rgb(211,3,3);
    border-radius: 50%;
    color: rgb(211,3,3);
    margin: 0 15px;
    font-size: 1.5rem;
    transition: 0.2s linear;
}

.social-links i:hover{
    scale: 1.3;
    filter: drop-shadow(0 0 10px rgb(211,3,3));
    color: black;
    background-color: rgb(211,3,3);
}


/* Mobile Styles */
@media (max-width: 884px) {
    .logo {
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem;
    }

    .nav-container .links {
        display: none; /* Hide desktop navigation links on mobile */
    }

    .hamburg,
    .cancel {
        display: block; /* Show hamburger icon on mobile */
    }

    .social-links i {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }

    .dropdown {
        display: block; /* Dropdown menu hidden initially */
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-cards {
        flex-direction: column;
        align-items: center;
    }

    .project-card {
        width: 90%;
    }
}
