* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at top left, #0f172a, #020617);
    color: white;
}

.navbar {
    padding: 20px 80px;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 15, 30, 0.8);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 400;
}

.nav-links a:hover {
    color: #3b82f6;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 120px 0;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
}

.about-text {
    max-width: 400px;
}

.hero-text p {
    margin: 20px 0;
    color: #94a3b8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.btn-primary {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    text-decoration: none;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 1);
}

.btn-outline {
    text-decoration: none;
    background: transparent;
    border: 1px solid #3b82f6;
    padding: 12px 25px;
    border-radius: 8px;
    color: #3b82f6;
    cursor: pointer;
}

.hero-image img {
    width: 400px;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
}

.social {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    color: #94a3b8;
}


.projects {
    padding: 100px 80px;
    text-align: center;
}

.projects h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

.cards {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.card {
    background: rgba(15, 23, 42, 0.8);
    padding: 20px;
    border-radius: 16px;
    width: 300px;
    transition: 0.3s;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.card:hover {
    transform: translateY(-10px);
    border: 1px solid #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.card img {
    width: 100%;
    border-radius: 10px;
}

.card h3 {
    margin: 15px 0;
}

.video-wrapper {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
}
.project-description {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 15px;
}
.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 25px;
}

.tags span {
    background: rgba(59, 130, 246, 0.2);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
}


.technologies {
    padding: 100px 80px 60px;
    text-align: center;
}

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

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tech-item {
    padding: 12px 25px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: 0.3s;
    cursor: default;
}

.tech-item:hover {
    border: 1px solid #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
    transform: translateY(-3px);
}

.contact {
    padding: 120px 80px;
    text-align: center;
    background: radial-gradient(circle at center, #0f172a, #020617);
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.contact p {
    color: #94a3b8;
    margin-bottom: 50px;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #3b82f6;
    text-decoration: none;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: 0.3s;
    animation: float 3s ease-in-out infinite;
}

.icon:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.8);
    border: 1px solid #3b82f6;
}


.footer {
    background: #020617;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.footer h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.footer p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.footer-links a {
    text-decoration: none;
    color: #cbd5e1;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-social a {
    font-size: 20px;
    color: #3b82f6;
    transition: 0.3s;
}

.footer-social a:hover {
    transform: translateY(-5px);
    color: #60a5fa;
}

.copyright {
    font-size: 14px;
    color: #64748b;
}


@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 1024px) {

    .navbar {
        padding: 20px 40px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 140px 40px 80px;
        height: auto;
        gap: 40px;
    }

    .hero-image img {
        width: 280px;
        margin-top: 20px;
    }

    .projects,
    .technologies,
    .contact {
        padding: 80px 40px;
    }

    .cards {
        flex-wrap: wrap;
        gap: 20px;
    }

    .card {
        width: 45%;
    }

}

@media (max-width: 768px) {

    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 15px;
        font-size: 14px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 60px;
        gap: 30px;
    }

    .hero-image {
        display: none;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .about-text {
        max-width: 100%;
        font-size: 15px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .projects,
    .technologies,
    .contact {
        padding: 60px 20px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }

    .tech-grid {
        gap: 12px;
    }

    .tech-item {
        font-size: 14px;
        padding: 10px 18px;
    }

    .contact-icons {
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {

    .hero-text h1 {
        font-size: 26px;
    }

    .about-text {
        font-size: 14px;
    }

    .btn-primary,
    .btn-outline {
        padding: 10px 16px;
        font-size: 13px;
    }

    .projects h2,
    .technologies h2,
    .contact h2 {
        font-size: 24px;
    }

    .icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .copyright {
        font-size: 12px;
    }
}