/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0e0e10;
    color: #fff;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff3f8e;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li {
    display: inline-block;
}

.menu a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.menu a:hover,
.menu a.active {
    color: #ff3f8e;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(to right, #1f1c2c, #928dab);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 20px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ff3f8e;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.profile-pic:hover {
    transform: scale(1.1) rotate(5deg);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero span {
    color: #ff3f8e;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn {
    padding: 12px 24px;
    background: #ff3f8e;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 1rem;
}

.btn:hover {
    background: #c62b74;
}

/* About */
.about {
    padding: 60px 5%;
    background: #111;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #ff3f8e;
}

.about p {
    max-width: 800px;
    margin: auto;
    line-height: 1.8;
}

/* Education */
.education {
    padding: 60px 5%;
    background: #111;
}

.education h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #ff3f8e;
}

.timeline {
    max-width: 800px;
    margin: auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 6px;
    background: #ff3f8e;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 20px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ff3f8e;
    border-radius: 50%;
    top: 20px;
    right: -10px;
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

.timeline-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-item span {
    display: block;
    color: #ff3f8e;
    margin-bottom: 10px;
}

/* Skills */
.skills {
    padding: 60px 5%;
    background: #111;
}

.skills h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #ff3f8e;
}

.skill-container {
    max-width: 800px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.skill-item {
    text-align: center;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 10px;
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.skill-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.progress-bar {
    background: #333;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    background: #ff3f8e;
    height: 100%;
    transition: width 0.5s ease;
}

/* Contact */
.contact {
    padding: 60px 5%;
    background: #111;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #ff3f8e;
}

.contact-container {
    max-width: 800px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #ff3f8e;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #ff3f8e;
}

/* Responsive */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        background: #111;
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 20px;
        border-radius: 10px;
    }

    .menu.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(even),
    .timeline-item:nth-child(odd) {
        left: 0;
    }

    .timeline-item::before {
        left: 10px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 10px;
    }

    .profile-pic {
        width: 120px;
        height: 120px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}