*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#22033a;
    color:white;
}

/* -------------HEADER-------------*/
header {
    position: fixed;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 2, 33, 0.9);
    backdrop-filter: blur(10px);
}

.logo h2{
    color:#ff38d4;
}

nav a{
    color:white;
    margin-left:25px;
    text-decoration:none;
    transition:.3s;
}

nav a:hover{
    color:#ff38d4;
}

/* -------------HERO-------------*/
.hero{
    min-height:100vh;
    display:flex;
    justify-content:space-around;
    align-items:center;
    background:linear-gradient(#2a0445,#3c0b63);
}

.hero h1{
    font-size:60px;
    animation: slideInLeft 1.2s ease-out;
}

.hero span{
    color:#ff38d4;
}

.hero h3{
    margin:15px 0;
}

.hero p{
    max-width:500px;
    line-height:28px;
    animation: slideInLeft 1.5s ease-out;
}

.hero img{
    width:400px;
    border-radius:50%;
    box-shadow:0 0 30px #ff38d4;
}

/* Text slides from the left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* --------Sections-------- */
.title{
    text-align:center;
    font-size:45px;
    color:#ff38d4;
    margin-bottom:50px;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        text-shadow: 0 0 5px #ff27c9;
    }

    to {
        text-shadow: 0 0 25px #ff27c9,
                     0 0 45px #ff27c9;
    }
}

/* -------------ABOUT-------------*/
.about{
    min-height:100vh;
    background:#2a0445;
    padding:120px 10%;
}

.info-box{
    max-width:1000px;
    margin:0 auto 40px;
    background:#34135a;
    border-radius:20px;
    padding:40px;
    display:flex;
    align-items:center;
    gap:60px;
    box-shadow:0 0 20px rgba(255,56,212,.3);
}

.profile img{
    width:250px;
    height:250px;
    object-fit:cover;
    border-radius:50%;
    border:5px solid #ff38d4;
    box-shadow:0 0 20px #ff38d4;
}

.details{
    flex:1;
}

.details p{
    margin:15px 0;
    font-size:18px;
}

.details span{
    color:#ff38d4;
    font-weight:bold;
}

.about-box{
    max-width:1000px;
    margin:auto;
    background:#34135a;
    padding:35px;
    border-radius:20px;
    box-shadow:0 0 20px rgba(255,56,212,.3);
}

.about-box p{
    line-height:30px;
    text-align:justify;
}

.info-box:hover,
.about-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 15px #ff35d0;
}

@media (max-width:768px){
    .info-box{
        flex-direction:column;
        text-align:center;
        gap:30px;
    }

    .profile img{
        width:200px;
        height:200px;
    }
}

/* -------------Goals-------------*/
.goals{
    min-height:100vh;
    padding:120px 10%;
    background:#3c0b63;
}

.goals-container{
    max-width:1100px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
    gap:30px;
}

.goal-card{
    background:#34135a;
    padding:30px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 0 20px rgba(255,56,212,.3);
    transition:.3s;
}

.goal-card h3{
    color:#ff38d4;
    margin-bottom:15px;
    font-size:24px;
}

.goal-card p{
    line-height:28px;
    color:white;
}

.goal-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px #ff38d4;
}

/* -------------Contact-------------*/
.contact{
    min-height:100vh;
    background:linear-gradient(120deg,#240046,#5a189a);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:50px;
}

.contact-box{
    width:850px;
    max-width:95%;
    background:#18002f;
    border-radius:25px;
    padding:40px;
    display:flex;
    gap:40px;
    box-shadow:0 15px 35px rgba(255,79,216,.25);
}

.contact-left{
    flex:1;
}

.contact-left h3{
    color:#ff4fd8;
    font-size:25px;
}

.contact-left p{
    color:#ddd;
    line-height:1.6;
}

.contact-info{
    margin-top:30px;
}

#form{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:15px;
}

#form input,
#form textarea{
    padding:15px;
    border-radius:15px;
    border:1px solid #7b2cbf;
    background:#240046;;
    color:#fff;          /* Text you type */
    outline:none;
    font-size:15px;
    caret-color:#ff4fd8; /* Cursor color (optional) */
}

#form textarea{
    height:130px;
    resize:none;
}

#form button{
    padding:15px;
    border:none;
    border-radius:15px;
    background:#ff4fd8;
    color:white;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

#form button:hover{
    transform:scale(1.05);
    background:#ff85e5;
}

#alert{
    text-align:center;
    color:#ff4fd8;
    font-weight:bold;
}

@media(max-width:700px){
    .contact-box{
        flex-direction:column;
    }
}

/* -------------Footer-------------*/
footer{
    text-align:center;
    padding:20px;
    background:#13011f;
} 