* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}


.home,
.skills-section,
.contact {
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(90deg, #580660, #580660, black, #580660, #580660, black, #580660, #580660, black, #580660, #580660, black);
    animation: back-color 10s linear infinite;
    transition: 0.3s;
    background-size: 800% 800%;

}

@keyframes back-color {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }

}

.home .description {
    color: white;
    text-align: center;
    font-family: inherit;
    width: 40%;
    animation: animation ease 1s;

}

.home .description .typing {
    padding-right: 5px;
    animation: blink 0.7s infinite;
    color: #851390;
    animation: animation ease 1s;

}

.home .description .btn-cv {
    padding: .5em 1em;
    border-radius: 1em;
    background: linear-gradient(90deg, #A033FF, #FF5E8E);
    box-shadow: 0 0 15px rgba(255, 95, 160, 0.7);
    color: white;
    border: none;
}

.home .description .btn-cv:hover {
    background: #FF5E8E;
    color: black;
    transition: 1s;
}

.home .description i:hover {
    font-weight: bold;
    color: #FF5E8E;
    transition: .5s;
    cursor: pointer;
}

@keyframes blink {
    0% {
        border-color: transparent;
    }

    50% {
        border-color: black;
    }

    100% {
        border-color: transparent;
    }
}

.home .profile-image {
    width: 25%;
    box-shadow: 1px 1px 25px #851390;
    display: flex;
    justify-content: center;
    transform: rotate(-15deg);
    animation: animation ease 1.5s;

}

.home .profile-image img {
    box-shadow: 1px 1px 25px #851390;
    transform: rotate(15deg);
}

@keyframes animation {
    0% {
        opacity: .3;
        margin-left: 4em;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;

    }
}

.about-section {
    padding: 3em;
    background: linear-gradient(135deg, #0b0014, #3b0046);
    color: #fff;
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-size: 1.1rem;
    opacity: 0.9;
}

.about-box {
    margin: 40px auto;
    max-width: 850px;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.skills-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.process-steps {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.process-steps span {
    padding: 8px 15px;
    border-bottom: 2px solid #b346ff;
    font-size: 0.95rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px 0;
}

.stat-box h4 {
    font-size: 2rem;
    color: #ff4dff;
}

.stat-box p {
    opacity: 0.7;
}

.skills-section .skill-1,
.skill-2,
.skill-3 {
    width: 30%;
    height: 40vh;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 1px 20px #851390;
    transition: 0.4s;
}

.skills-section .skill-1:hover,
.skill-2:hover,
.skill-3:hover {
    transform: translateY(-10px);
}

.title-skills h2 {
    font-size: 3em;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.experience-section {
    background: linear-gradient(135deg, #0b0014, #3b0046);
    width: 100%;
    height: 100vh;
    padding: 1em;
}

.experience,
.education {
    width: 40%;
    height: 60vh;
    box-shadow: 1px 1px 20px #851390;
    padding: 1em;
    transition: 0.5s;
    border-radius: 0.5em;
}

.experience i,
.education i {
    color: #ff4dff;
}

.experience p,
.education p {
    font-weight: 100;
    color: #d9d9d9;
}

.experience:hover,
.education:hover {
    transform: translateY(-10px);
}

.contact .con {
    width: 100%;
}

.contact form {
    width: 30%;
}

.contact .social {
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-size: 0.95rem;
    outline: none;
    transition: 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.contact-form button {
    padding: 14px;
    background: #b346ff;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #3b0046;
    transform: translateY(-2px);
}






/*phone style*/
@media (max-width: 599px) {
    .home {
        flex-direction: column;
    }

    .home .profile-image {
        width: 70%;
    }

    .home .description {
        width: 100%;
    }

    .skills-list,
    .process-steps,
    .stats {
        flex-direction: column;
    }

    .skills-section {
        height: auto;
        gap: 2em;
    }

    .skills-section .skills {
        flex-direction: column;
        gap: 2em;
    }

    .skill,
    .skill-2,
    .skill-3 {
        width: 80% !important;
    }

    .skill:hover,
    .skill-2:hover,
    .skill-3:hover {
        transform: scale(0.9) !important;
    }

    .experience-section {
        height: auto;
    }

    .theExperince {
        flex-direction: column;
        width: 100%;
        gap: 2em;
    }

    .experience,
    .education {
        width: 90%;
        height: auto;
    }

    .experience:hover,
    .education:hover {
        transform: scale(0.9) !important;
    }

    .con {
        flex-direction: column;
        gap: 4em;
    }

    .con form {
        width: 80%;
    }
}


/* Tablet styles */
@media (min-width: 600px) and (max-width: 1023px) {
    .home {
        flex-direction: column;
        justify-content: center;
    }

    .home .profile-image {
        width: 30%;
    }

    .home .profile-image img {
        width: 80%;
    }

    .home .description {
        width: 100%;
        max-width: 100%;
    }

    .skills-list,
    .process-steps,
    .stats {
        flex-direction: column;
    }

    .skills-section {
        height: auto;
        gap: 2em;
    }

    .skills-section .skills {
        flex-direction: column;
        gap: 2em;
    }

    .skill,
    .skill-2,
    .skill-3 {
        width: 60% !important;
    }

    .skill:hover,
    .skill-2:hover,
    .skill-3:hover {
        transform: scale(0.9) !important;
    }

    .experience-section {
        height: auto;
    }

    .theExperince {
        flex-direction: column;
        width: 100%;
        gap: 2em;
    }

    .experience,
    .education {
        width: 90%;
        height: auto;
    }

    .experience:hover,
    .education:hover {
        transform: scale(0.9) !important;
    }

}