@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

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

body {
    background-color: #0a0a0a;
    color: #ffffff;
    font-size: 1rem;
    min-height: 100vh;
}

/* Background Image */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('newbg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -10;
    filter: brightness(0.3);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo img {
    height: 50px;
    border-radius: 50%;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #ff0000;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 200px;
}

.hi {
    font-size: 4rem;
    font-weight: 400;
}

.name {
    font-size: 6rem;
    font-weight: 700;
    color: #ff0000;
    text-shadow: 0 0 8px #ff0000aa;
}

.introducing {
    font-size: 2rem;
    color: #ffffffcc;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Skills */
.skills {
    padding: 100px 0;
    text-align: center;
}

.skills h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 50px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
}

/* Projects */
.projects {
    padding: 100px 0;
    background: #121212;
    text-align: center;
}

.projects h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1000px;
    margin: auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 500px;
    overflow: hidden;
}

.project-image img,
.project-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.project-info {
    padding: 30px;
    text-align: left;
}

.project-info h3 {
    color: #ff0000;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.project-info p {
    color: #ffffffaa;
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact */
.contact {
    padding: 100px 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    max-width: 600px;
    margin: auto;
    padding: 30px;
    border-radius: 10px;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
}

.contact-info a:hover {
    color: #ff0000;
}

/* Thank You */
.thank-you {
    padding: 100px 20px 50px 20px;
    background: linear-gradient(#121212, #0a0a0a);
    text-align: center;
}

.thank-you h2 {
    font-size: 3rem;
    color: #ff0000;
    margin-bottom: 20px;
}

.thank-you p {
    color: #ffffffaa;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

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

.social-links a {
    color: #ffffff;
    font-size: 1.8rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ff0000;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 40px 20px;
        text-align: center;
    }

    .name {
        font-size: 4rem;
    }

    .hi {
        font-size: 2.5rem;
    }

    .introducing {
        font-size: 1.2rem;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar ul {
        flex-direction: column;
        gap: 10px;
    }

    .project-image {
        height: 300px;
    }

    .skills-grid {
        padding: 0 20px;
    }
}
