* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-links {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0ff;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    background: linear-gradient(45deg, #fff, #0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    transform: translate(0px, 0px);
    max-width: 90%;
    box-sizing: border-box;
}

.hero h2 {
    font-size: 2.5rem;
    color: #0ff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    box-sizing: border-box;
}

.hero p {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    box-sizing: border-box;
}

.cta-button {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    background: linear-gradient(45deg, #0ff, #00f);
    border: none;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #0ff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #0ff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    margin: 0 auto;
    max-width: 100%;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content>div:last-child {
    max-width: 100%;
}

.about-content p {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.6;
    max-width: 100%;
    box-sizing: border-box;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.skill-progress {
    width: 100%;
    height: 10px;
    background: #333;
    border-radius: 5px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0ff, #00f);
    width: 0;
    transition: width 1.5s ease-out;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-info {
    padding: 1.5rem;
    flex-grow: 1;
}

.project-info h3 {
    color: #0ff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.project-info p {
    color: #ddd;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #001, #003);
    position: relative;
    overflow: hidden;
}

.project-img::before {
    content: "🔍";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0.5;
}

.project-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-btn {
    padding: 0.5rem 1rem;
    background: #0ff;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.project-btn:hover {
    background: #00f;
    color: #fff;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #0ff;
    border-radius: 5px;
    color: #fff;
    transition: box-shadow 0.3s;
}

.form-input:focus {
    outline: none;
    box-shadow: 0 0 10px #0ff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 1rem;
}

.social-icon {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icon:hover {
    color: #0ff;
    transform: translateY(-2px);
}

.contact-form .cta-button {
    display: block;
    margin: 0 auto;
    margin-bottom: 2rem;
}

footer {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .nav-links {
        gap: 0.75rem;
    }

    .nav-links a {
        font-size: 1rem;
    }
}