* html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0f0f0f;
    color: white;
    font-family: Arial;
}

header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px 50px;

    background: rgba(17,17,17,0.8);

    backdrop-filter: blur(10px);

    border-bottom: 2px solid cyan;

    position: sticky;

    top: 0;

    z-index: 1000;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}

nav a:hover {
    color: cyan;
}

.hero { 
    backdrop-filter: blur(2px); 

    text-align: center;

    padding: 150px 20px;

    background:
    radial-gradient(circle at center,
    rgba(0,255,255,0.15),
    transparent 70%);

    animation: glow 5s infinite alternate;
}

.hero h2 {
    font-size: 50px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

button {
    padding: 15px 40px;
    border: none;
    border-radius: 10px;

    background: cyan;
    color: black;

    font-size: 18px;
    cursor: pointer;

    transition: 0.3s;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px cyan;
}

section {
    padding: 80px 50px;
}

section h2 {
    font-size: 35px;
    margin-bottom: 30px;
    color: cyan;
}

.cards {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 30px;

    margin-top: 40px;
} 

.card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;

    min-width: 200px;

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px cyan;
}

footer {
    text-align: center;
    padding: 20px;
    border-top: 2px solid cyan;
}
.project-card {

    position: relative;

    background: #1a1a1a;

    border-radius: 20px;

    overflow: hidden;

    width: 280px;

    transition: 0.4s;

    border: 2px solid cyan;

    box-shadow: 0 0 15px rgba(0,255,255,0.3);
} 
.project-card::before {

    content: "";

    position: relative;

    inset: 0;
    padding: 2px;

    border-radius: 20px;

    background:
    linear-gradient(
    45deg,
    cyan,
    purple,
    cyan);

    mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

    -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;

    mask-composite: exclude;

    animation: borderMove 3s linear infinite;
}

.project-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 0 25px cyan;
}

.project-card img {

    width: 100%;

    height: 180px;

    object-fit: cover;
}

.project-card h3 {

    padding: 15px;

    font-size: 24px;

    color: cyan;
}

.project-card p {

    padding: 0 15px 20px;

    line-height: 1.6;
}

.project-card a {

    display: block;

    margin: 20px;

    text-align: center;

    background: cyan;

    color: black;

    padding: 12px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;
}

.project-card a:hover {

    background: white;

    transform: scale(1.05);
}
@keyframes glow {

    from {

        background-position: left;
    }

    to {

        background-position: right;
    }
}
@keyframes borderMove {

    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
} 
form {

    display: flex;

    flex-direction: column;

    gap: 20px;

    max-width: 500px;
}

input,
textarea {

    padding: 15px;

    border: none;

    border-radius: 10px;

    background: #1a1a1a;

    color: white;
}

textarea {

    min-height: 150px;
} 
@media(max-width: 768px) {

    header {

        flex-direction: column;

        gap: 20px;
    }

    nav {

        display: flex;

        flex-wrap: wrap;

        justify-content: center;
    }

    .hero h2 {

        font-size: 35px;
    }

    .cards {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 30px;

    margin-top: 40px;
} 

    .project-card {

        width: 90%;
    }
} 
.hero {

    position: relative;

    overflow: hidden;

    text-align: center;

    padding: 150px 20px;

    background:
    radial-gradient(circle at center,
    rgba(0,255,255,0.18),
    transparent 70%);
}

#bg-video {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    z-index: -1;

    opacity: 0.3;
}

.hero h2,
.hero p,
.hero button {

    position: relative;

    z-index: 2;
} 
