@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

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

a {
    text-decoration: none;
    color: white;
}

body {
    background: #0a0a0a;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Particle Background */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Header Section */
.header {
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 0 40px;
    gap: 20px;
}

.header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1.5s ease;
}

.header p {
    font-size: 3.5rem;
    color: #00ffcc;
    animation: fadeInUp 1.5s ease;
}

.header-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(0, 255, 204, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.4);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
    transition: all 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #00ffcc;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Sections */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    min-height: 80vh;
    margin: 0 auto;
}

.about-content {
    font-size: 1.2rem;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #00ffcc;
    text-align: center;
}

/* Project Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 204, 0.2);
}

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 204, 0.2), transparent);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

.project-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

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

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #00ffcc;
}

.project-card p {
    font-size: 1rem;
    color: #ccc;
    flex-grow: 1;
}

.project-card .tech-stack {
    margin: 10px 0;
    font-size: 0.9rem;
    color: #fff;
}

.project-card .tech-stack span {
    background: rgba(0, 255, 204, 0.1);
    padding: 5px 10px;
    border-radius: 15px;
    margin-right: 5px;
    font-size: 0.8rem;
}

.project-card .links {
    display: flex;
    gap: 15px;
}

.project-card .links a {
    color: #00ffcc;
    font-size: 0.9rem;
    padding: 8px 15px;
    border: 1px solid #00ffcc;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.project-card .links a:hover {
    background: #00ffcc;
    color: #0a0a0a;
}

/* Contact Section */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-item a {
    color: #C9EFC7;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item i {
    font-size: 1.5rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }

    50% {
        transform: translateX(100%) rotate(30deg);
    }

    100% {
        transform: translateX(-100%) rotate(30deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header {
        flex-direction: column;
        padding: 20px;
    }

    .header-content {
        margin-bottom: 20px;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }

    .header p {
        font-size: 1.5rem;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1.2rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }
}