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

body {
    background: #111;
    color: white;
    line-height: 1.6;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background: #111;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(255, 0, 170, 0.2);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ff00aa;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-size: 18px;
    transition: 0.3s;
}

nav a:hover,
nav a.active {
    color: #ff00aa;
    text-shadow: 0 0 10px #ff00aa;
}


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

.hero-text h1 {
    font-size: 55px;
    margin-bottom: 10px;
}

.hero-text h2 {
    font-size: 35px;
    margin: 15px 0;
}

.hero-text span {
    color: #ff00aa;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 20px;
}


.social-icons {
    margin: 20px 0;
}

.social-icons a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border: 2px solid #ff00aa;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    color: #ff00aa;
    margin-right: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #ff00aa;
    color: white;
    box-shadow: 0 0 15px #ff00aa;
}

/* ===============================
   Buttons
================================ */
.cv-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    border: 2px solid #ff00aa;
    color: #ff00aa;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.cv-btn:hover {
    background: #ff00aa;
    color: white;
    box-shadow: 0 0 15px #ff00aa;
}

/* ===============================
   Hero Image
================================ */
.hero-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ff00aa;
    box-shadow: 0 0 40px #ff00aa;
}


section {
    padding: 80px;
}

section h2 {
    font-size: 35px;
    margin-bottom: 25px;
    color: #ff00aa;
}


.card,
.service-card,
.project-card,
.education-card {
    background: #1b1b1b;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 0, 170, 0.2);
    margin: 15px 0;
    transition: 0.3s;
}

.card:hover,
.service-card:hover,
.project-card:hover,
.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 0, 170, 0.4);
}

.card p {
    font-size: 20px;
    line-height: 1.8;
}

.card a {
    color: #ff00aa;
    text-decoration: none;
}

.card a:hover {
    text-decoration: underline;
}


.service-container,
.project-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.service-card,
.project-card {
    flex: 1 1 300px;
}


.skill {
    margin: 20px 0;
}

.skill p {
    margin-bottom: 8px;
    font-size: 18px;
}

.progress {
    width: 100%;
    height: 10px;
    background: #333;
    border-radius: 20px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: #ff00aa;
    width: 0;
    border-radius: 20px;
    transition: 1s;
}


.project-card a {
    display: inline-block;
    margin: 8px 5px;
    padding: 8px 14px;
    border: 1px solid #ff00aa;
    border-radius: 8px;
    text-decoration: none;
    color: #ff00aa;
    transition: 0.3s;
}

.project-card a:hover {
    background: #ff00aa;
    color: white;
}


.contact-form {
    margin-top: 20px;
    max-width: 600px;
}

.input-box {
    position: relative;
    margin: 20px 0;
}

.input-box input,
.input-box textarea {
    width: 100%;
    padding: 14px;
    background: #1b1b1b;
    border: 1px solid #ff00aa;
    border-radius: 10px;
    color: white;
    outline: none;
    font-size: 18px;
}

.input-box textarea {
    resize: none;
    height: 140px;
}

.input-box label {
    position: absolute;
    left: 12px;
    top: 12px;
    color: #aaa;
    font-size: 16px;
    pointer-events: none;
    transition: 0.3s;
}

.input-box input:focus ~ label,
.input-box input:not(:placeholder-shown) ~ label,
.input-box textarea:focus ~ label,
.input-box textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 14px;
    color: #ff00aa;
    background: #111;
    padding: 0 5px;
}

.contact-form button {
    padding: 12px 25px;
    background: #ff00aa;
    border: none;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: white;
    color: #ff00aa;
}


#topBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    border: none;
    border-radius: 50%;
    background: #ff00aa;
    color: white;
    cursor: pointer;
    display: none;
    font-size: 20px;
    box-shadow: 0 0 15px #ff00aa;
}


@media (max-width: 768px) {
    .navbar {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        margin: 0 10px;
        font-size: 16px;
    }

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

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

    .hero-text h2 {
        font-size: 28px;
    }

    .hero-image img {
        width: 250px;
        height: 250px;
    }

    section {
        padding: 50px 20px;
    }
}
