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

html{
    scroll-behavior:smooth;
}

body{
    background:#080808;
    color:white;
}

#header{
    width:100%;
    height:100vh;
    background-image:url("images/background.png");
    background-size:cover;
    background-position:center 80px; 
    background-repeat:no-repeat;
}

nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8,8,8,0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo{
    font-size:40px;
    font-weight:bold;
}

.red{
    color:#ff004f;
}

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

nav ul li{
    margin:0 20px;
}

nav ul li a{
    color:white;
    text-decoration:none;
}

.hero{
    padding:150px 10%;
}

.hero p{
    font-size:22px;
}

.hero h1{
    font-size:60px;
    margin-top:10px;
}

.hero h1 span{
    color:#ff004f;
}

.hero h2{
    margin-top:15px;
    color:#ccc;
}

.hero-text{
    max-width: 600px;
}

.hero h1{
    font-size: 70px;
    margin-bottom: 15px;
}

.hero h2{
    font-size: 32px;
    color: #979394;
    min-height: 45px;
    margin-bottom: 25px;
}

.hero p{
    font-size: 22px;
    line-height: 1.7;
    color: #d0d0d0;
    max-width: 650px;
}

#typing{
    border-right:2px solid #ccc;
    padding-right:3px;
}
.container{
    width:80%;
    margin:auto;
    padding:80px 0;
}

section h1{
    font-size:45px;
    margin-bottom:30px;
}


#about{
    padding:30px 0;
}

.section-title{
    text-align:center;
    font-size:50px;
    margin-bottom:60px;
}

.section-title span{
    color:#ff004f;
}

.about-row{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:70px;
}

.about-left{
    flex:1;
    display:flex;
    justify-content:center;
}

.about-left img{
    width:320px;
    height:320px;
    object-fit:cover;
    border-radius:50%;
    border:4px solid #ff004f;
    box-shadow:0 0 25px rgba(255,0,79,0.4);
}

.about-right{
    flex:2;
}

.about-text{
    color:#cfcfcf;
    font-size:18px;
    line-height:1.8;
    margin-bottom:30px;
}

.info-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.info-card{
    background:#111;
    padding:20px;
    border-radius:12px;
    border:1px solid rgba(255,0,79,0.25);
    transition:0.3s;
}

.info-card:hover{
    transform:translateY(-5px);
    border-color:#ff004f;
}

.info-card strong{
    display:block;
    color:#ff004f;
    margin-bottom:8px;
}

.cv-btn{
    display:inline-block;
    margin-top:30px;
    padding:14px 30px;
    background:#ff004f;
    color:#fff;
    text-decoration:none;
    border-radius:8px;
}


#skills{
    padding:40px 0;
}

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-top:50px;
}

.skill-card{
    background:#111827;
    border:1px solid rgba(255,0,79,0.15);
    border-radius:15px;
    padding:35px 20px;
    text-align:center;
    transition:0.4s;
}

.skill-card:hover{
    transform:translateY(-10px);
    border-color:#ff004f;
    box-shadow:0 0 25px rgba(255,0,79,0.3);
}

.skill-card i{
    font-size:55px;
    margin-bottom:20px;
    color:#ff004f;
}

.skill-card h3{
    font-size:22px;
}

#projects{
    padding:40px 0;
}

.work-list{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:50px;
}

.work{
    border-radius:15px;
    position:relative;
    overflow:hidden;
}

.work img{
    width:100%;
    height:350px;
    object-fit:cover;
    display:block;
    border-radius:15px;
    transition:transform 0.5s;
}

.layer{
    width:100%;
    height:0;
    background:linear-gradient(
        rgba(0,0,0,0.6),
        #ff004f
    );

    border-radius:15px;

    position:absolute;
    left:0;
    bottom:0;

    overflow:hidden;

    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;

    text-align:center;
    padding:0 40px;

    transition:height 0.5s;
}

.layer h3{
    font-size:24px;
    margin-bottom:15px;
}

.layer p{
    line-height:1.6;
}

.layer a{
    margin-top:20px;
    color:#ff004f;
    text-decoration:none;
    background:#fff;
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.work:hover img{
    transform:scale(1.1);
}

.work:hover .layer{
    height:100%;
}

#contact{
    padding:40px 0;
}

.contact-row{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
}

.contact-left{
    flex-basis:35%;
}

.contact-right{
    flex-basis:60%;
}

.contact-left p{
    margin-top:25px;
    font-size:18px;
}

.contact-left p i{
    color:#ff004f;
    margin-right:15px;
    font-size:22px;
}

.social-icons{
    margin-top:30px;
}

.social-icons a{
    text-decoration:none;
    font-size:28px;
    margin-right:15px;
    color:#ababab;
    display:inline-block;
    transition:0.4s;
}

.social-icons a:hover{
    color:#ff004f;
    transform:translateY(-5px);
}

.btn{
    display:inline-block;
    margin-top:30px;
    padding:14px 35px;
    border-radius:8px;
    text-decoration:none;
}

.btn2{
    background:#ff004f;
    color:white;
}
form{
    display:flex;
    flex-direction:column;
}

input,textarea{
    margin-bottom:20px;
    padding:15px;
    background:#262626;
    color:white;
    border:none;
    border-radius:8px;
}

button{
    padding:15px;
    background:#ff004f;
    color:white;
    border:none;
    cursor:pointer;
    border-radius:8px;
}


@media(max-width:768px){

    nav{
        flex-direction:column;
        padding:20px;
    }

    nav ul{
        margin-top:15px;
        flex-wrap:wrap;
        justify-content:center;
    }
     
    .hero h1{
        font-size:40px;
    }

    .container{
        width:90%;
    }

    .about-row{
        flex-direction:column;
        text-align:center;
    }

    .info-grid{
        grid-template-columns:1fr;
    }

    .about-left img{
        width:250px;
        height:250px;
    }
    /* CONTACT MOBILE FIX */

.contact-row{
    flex-direction:column;
}

.contact-left,
.contact-right{
    flex-basis:100%;
    width:100%;
}

.contact-left{
    text-align:center;
    margin-bottom:40px;
}

.contact-left .section-title{
    font-size:40px;
    margin-bottom:30px;
}

.contact-left p{
    font-size:16px;
}

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

.btn2{
    display:inline-block;
    margin-top:20px;
}

.contact-right form{
    width:100%;
}

.contact-right input,
.contact-right textarea{
    width:100%;
}

textarea{
    min-height:150px;
}
    
}
.section-title{
    word-break:keep-all;
}

footer{
    text-align:center;
    padding:25px 0;
    background:#111;
    margin-top:50px;
}

footer p{
    color:#ababab;
    font-size:14px;
}

.whatsapp-float{
    position:fixed;
    width:60px;
    height:60px;
    bottom:25px;
    right:25px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    font-size:32px;
    z-index:9999;

    animation:pulse 2s infinite;
}

@keyframes pulse{
    0%{
        box-shadow:0 0 0 0 rgba(37,211,102,0.7);
    }

    70%{
        box-shadow:0 0 0 20px rgba(37,211,102,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(37,211,102,0);
    }
}

.whatsapp-float:hover{
    transform:scale(1.1);
}
