/* ================= RESET ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: Arial, sans-serif;
    background:#f8f9fc;
    line-height:1.6;
    color:#333;
}

section{
    padding:60px 6%;
}

/* ================= GLOBAL TITLES ================= */
.section-title{
    text-align:center;
    font-size:2rem;
    margin-bottom:40px;
    font-weight:bold;
}

/* Alternating backgrounds */
.white-section{
    background:white;
}

.blue-section{
    background:aliceblue;
}

/* ================= HEADER ================= */
.container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 6%;
    background:white;
}

.logo span{
    color:#9393d3;
}

.menus-container{
    display:flex;
    align-items:center;
    gap:25px;
}

.nav-bar a{
    text-decoration:none;
    color:#333;
    margin:0 8px;
    font-size:0.95rem;
}

.btn{
    background:#9393d3;
    color:white;
    border:none;
    padding:10px 20px;
    border-radius:6px;
    cursor:pointer;
    transition:0.3s ease;
}

.btn:hover{
    background:#7a7ad1;
}

.cv-btn{
    border:2px solid #9393d3;
    background:white;
    padding:10px 20px;
    border-radius:6px;
    cursor:pointer;
}

/* ================= LANDING ================= */
.landing-section-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    background:aliceblue;
    border-radius:12px;
}

.landing-img img{
    width:350px;
    border-radius:12px;
}

.name{
    color:#9393d3;
}

/* ================= ABOUT ================= */
.aboutcontainer{
    border-radius:12px;
}

.about-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:50px;
}

.about-img img{
    width:350px;
    border-radius:12px;
}

.about-details{
    max-width:600px;
}

.about-details p{
    margin-bottom:15px;
}

/* Shape Divider */
.shape-divider{
    width:100%;
    height:80px;
    background:linear-gradient(to bottom right, white 50%, aliceblue 50%);
}

/* ================= SERVICES ================= */
.services-section{
    border-radius:12px;
}

.services-cards{
    display:flex;
    justify-content:center;
    gap:30px;
    margin-top:30px;
}

.card{
    background:white;
    padding:45px;
    width:360px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-6px);
}

/* ================= PORTFOLIO ================= */
.portfolio-section{
    border-radius:12px;
    text-align:center;
}

.portfolio-container{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px;
}

.portfolio-container img{
    width:280px;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

/* ================= SKILLS ================= */
.skills-section{
    border-radius:12px;
}

.skills-title{
    text-align:center;
    font-size:2rem;
    margin-bottom:35px;
    font-weight:bold;
}

.skills-wrapper{
    display:flex;
    justify-content:space-between;
    gap:50px;
}

/* LEFT SIDE (Cards) */
.skills-cards{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
    width:50%;
}

.skills-box{
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 6px 15px rgba(0,0,0,0.08);
}

/* RIGHT SIDE (Bars) */
.skills-bars{
    width:50%;
    display:flex;
    flex-direction:column;
    gap:22px;
}

.skill p{
    display:flex;
    justify-content:space-between;
    margin-bottom:6px;
    font-weight:600;
}

.progress{
    width:100%;
    height:14px;
    background:#e0e0e0;
    border-radius:20px;
    overflow:hidden;
}

.progress-bar{
    height:100%;
    border-radius:20px;
}

/* Skill Percentages */
.html{ width:95%; background:#ff5733; }
.css{ width:98%; background:#2965f1; }
.js{ width:75%; background:#f7df1e; }
.elementor{ width:80%; background:#92003b; }
.figma{ width:98%; background:#a259ff; }

/* ================= CONTACT ================= */
.contact-section{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    border-radius:12px;
}

.contact-text{
    width:50%;
}

.form{
    width:50%;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.form input,
.form textarea{
    width:100%;
    padding:10px;
    border:1px solid #ccc;
    border-radius:6px;
}

.form textarea{
    min-height:120px;
}

.form .btn{
    width:100%;
}

/* ================= FOOTER ================= */
.footer{
    text-align:center;
    padding:25px;
    background:white;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){

        /* body{
            padding: 0 20px;
        } */
    section{
        padding:45px 5%;
    }

    .container,
    .landing-section-container,
    .about-content,
    .services-cards,
    .skills-wrapper,
    .contact-section{
        flex-direction:column;
        text-align:center;
        gap:30px;
    }

    .portfolio-container{
        flex-direction:column;
        align-items:center;
    }

}

[data-aos] {
    opacity: 0;           /* hidden before animation */
    transition: all 0.8s ease-in-out;
}

[data-aos].aos-animate {
    opacity: 1;           /* visible after animation triggers */
}
