* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #020617;
    color: white;
    line-height: 1.6;
}


/* Navigation */

nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 25px;
    background: #020617;
    border-bottom: 1px solid #1e293b;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    transition: 0.3s;
}

nav a:hover {
    color: #38bdf8;
}


/* Hero Section */

header {
    text-align: center;
    padding: 120px 10%;
    background: linear-gradient(
        135deg,
        #020617,
        #0f172a
    );
}

header h1 {
    font-size: 55px;
    margin-bottom: 20px;
}

header p {
    font-size: 22px;
    color: #cbd5e1;
}


/* Sections */

section {
    padding: 80px 10%;
    text-align: center;
}

h2 {
    font-size: 40px;
    margin-bottom: 40px;
}

h3 {
    font-size: 25px;
    margin-bottom: 20px;
}


/* Cards */

.project-card,
.service-card {

    background: rgba(15, 23, 42, 0.8);
    padding: 35px;
    margin: 30px auto;
    border-radius: 20px;
    max-width: 750px;
    border: 1px solid #1e293b;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);

}


.project-card:hover,
.service-card:hover {

    transform: translateY(-12px);
    border-color: #38bdf8;
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.15);

}


.project-card img {

    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 25px;
    transition: 0.4s ease;

}


.project-card img:hover {

    transform: scale(1.03);

}
@media(max-width:768px){

    nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }


    header {
        padding: 70px 5%;
    }


    header h1 {
        font-size: 38px;
    }


    header p {
        font-size: 18px;
    }


    section {
        padding: 50px 5%;
    }


    h2 {
        font-size: 32px;
    }


    h3 {
        font-size: 22px;
    }


    .project-card,
    .service-card {

        padding: 25px;
        margin: 20px auto;

    }


    .button {

        padding: 10px 25px;

    }

}
