/* RESET */
*{margin:0;padding:0;box-sizing:border-box;font-family:'Inter',sans-serif;}
/* body{background:linear-gradient(135deg,#B68FD8,#7F53AC);color:#fff;scroll-behavior:smooth;} */
body {
  background: linear-gradient(135deg, #D6C1F2, #A78ED9);
  color: #fff;
}
/* NAVBAR */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0,0,0,0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000; /* higher z-index to make hamburger clickable */
    backdrop-filter: none;
}

.navbar .logo {
    font-weight: 700;
    font-size: 24px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #FFD6F0;
}

/* Hamburger hidden on desktop */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
}

/* Mobile styles */
/* Mobile styles for right side panel */
@media (max-width: 768px) {
    .nav-links {
        display: none;           /* hide by default */
        flex-direction: column;
        width: 250px;            /* side panel width */
        height: auto;           /* full height of screen */
        background: rgba(0,0,0,0.3);  /* black panel */
        position: fixed;         /* fixed to screen */
        top: 0;
        right: 0;                /* attach to right side */
        padding: 60px 20px;      /* space from top and sides */
        box-shadow: -2px 0 5px rgba(0,0,0,0.3);
        z-index: 1200;           /* above navbar */
        transition: transform 0.3s ease;
        transform: translateX(100%); /* hide offscreen initially */
    }

    .nav-links.active {
        transform: translateX(0);   /* slide in from right */
        display: flex;
    }

    .hamburger {
        display: block;          /* show hamburger icon */
        z-index: 1300;           /* above everything */
    }

    .nav-links li {
        margin: 20px 0;
        text-align: left;       /* align left inside panel */
    }
}



/* HERO */
.hero{display:flex;align-items:center;justify-content:center;height:100vh;padding-top:80px;gap:50px;flex-wrap:wrap;text-align:center;}
.hero-left img.profile-img{width:220px;border-radius:50%;border:4px solid #FFD6F0;}
.hero-right h1{font-size:3rem;margin-bottom:15px;}
.hero-right p{font-size:1.2rem;margin-bottom:25px;}
.btn {
  background: #FFD6F0;
  color: #6D1D84;
  padding: 12px 30px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;   /* removes underline */
  display: inline-block;   /* makes <a> behave like a button */
}

/* .btn{background:#FFD6F0;color:#6D1D84;padding:12px 30px;border-radius:30px;border:none;cursor:pointer;font-weight:600;transition:0.3s;} */
.btn:hover{background:#fff;color:#6D1D84;}

/* ABOUT */
/* .about{background:#8D58C1;padding:80px 50px;color:#fff;}
.about h2{font-size:2rem;margin-bottom:25px;}
.about p{font-size:1.1rem;line-height:1.6;} */

/* ABOUT - Card Style */
.about {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 800px;
    width: 100%;
}

.about-card {
    background: #EDE6F7; /* soft lavender background */
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    color: #4B2E83;
    text-align: left;
    line-height: 1.6;
}

.about-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #4B2E83;
}

.about-card p {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 500px) {
    .about-card {
        padding: 30px 20px;
    }

    .about-card h2 {
        font-size: 1.5rem;
    }

    .about-card p {
        font-size: 0.95rem;
    }
}


/* SKILLS */
/* .skills{padding:80px 50px;}
.skills h2{text-align:center;margin-bottom:50px;}
.skills-container{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;}
.skill-card{background:#EDE6F7;padding:25px 30px;border-radius:20px;text-align:center;transition:transform 0.3s;width:180px;color:#000;box-shadow:0 10px 25px rgba(0,0,0,0.1);}
/* .skill-card{background:#fff;padding:25px 30px;border-radius:20px;text-align:center;transition:transform 0.3s;width:180px;color:#000;box-shadow:0 10px 25px rgba(0,0,0,0.1);} */
/* .skill-card i{color:#7F53AC;margin-bottom:10px;}
.skill-card h3{margin-top:10px;font-size:1rem;}
.skill-card:hover{transform:translateY(-10px);} */ 
/* SKILLS */
.skills {
    padding: 80px 20px;
    background: linear-gradient(135deg, #D6C1F2, #A78ED9); /* soft lavender background */
}

.skills h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: #4B2E83;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1100px; /* keeps layout centered */
    margin: 0 auto;
}

/* Skill Card */
.skill-card { background: #EDE6F7; /* lavender card */ padding: 25px 30px; border-radius: 20px; text-align: center; width: 180px; color: #000; box-shadow: 0 10px 25px rgba(0,0,0,0.1); transition: transform 0.4s ease, box-shadow 0.4s ease; cursor: pointer; }

.skill-card i {
    color: #7F53AC;
    font-size: 2rem;
    margin-bottom: 10px;
}

.skill-card h3 {
    margin-top: 10px;
    font-size: 1rem;
}

/* Hover effect */
.skill-card:hover {
    transform: translateY(-10px) scale(1.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 600px) {
    .skill-card {
        flex: 1 1 45%; /* 2 per row on small screens */
    }
}


/* PROJECTS */
.projects{padding:80px 50px;}
.projects h2{text-align:center;margin-bottom:50px;}
.project-cards{display:flex;flex-wrap:wrap;gap:30px;justify-content:center;}
.card{position:relative;width:300px;height:200px;border-radius:20px;overflow:hidden;cursor:pointer;box-shadow:0 8px 25px rgba(0,0,0,0.1);transition:transform 0.4s;}
.card img{width:100%;height:100%;object-fit:cover;transition:transform 0.4s;}
.card:hover img{transform:scale(1.1);}
.overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(127,83,172,0.85);color:white;display:flex;flex-direction:column;justify-content:center;align-items:center;opacity:0;transition:opacity 0.3s;padding:20px;text-align:center;}
.card:hover .overlay{opacity:1;}
.overlay h3{margin-bottom:10px;}
.overlay p{font-size:0.9rem;margin-bottom:15px;}
.btn-small{background:#FFD6F0;padding:8px 20px;border-radius:20px;text-decoration:none;color:#6D1D84;font-size:0.9rem;transition:0.3s;}
.btn-small:hover{background:#fff;color:#6D1D84;}

/* CONTACT */
/* .contact{padding:80px 50px;}
.contact h2{text-align:center;margin-bottom:40px;}
.contact form{display:flex;flex-direction:column;max-width:500px;margin:auto;gap:15px;}
.contact input,.contact textarea{padding:12px;border-radius:10px;border:none;resize:none;}
.contact input:focus,.contact textarea:focus{outline:none;box-shadow:0 0 5px #FFD6F0;}

 */
 /* CONTACT */
.contact {
    /* background: #8D58C1;padding:80px 50px;color:#fff; */
    background: #EDE6F7;
    padding: 60px 20px;
    text-align: center;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    color: #4B2E83;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4B2E83;
}

.contact-intro {
    font-size: 1rem;
    color: #4B2E83;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: center;
}

.contact form.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 1rem;
    transition: 0.3s;
}

.contact input:focus,
.contact textarea:focus {
    border-color: #7F53AC;
    box-shadow: 0 0 10px rgba(127, 83, 172, 0.3);
}

.contact textarea {
    min-height: 120px;
    resize: vertical;
}

.contact .btn {
    background:#FFD6F0;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.contact .btn:hover {
background:#fff;color:#6D1D84;
}

/* Responsive */
@media (max-width: 500px) {
    .contact {
        padding: 40px 15px;
    }

    .contact .btn {
        width: 100%;
    }
}


/* FOOTER */
footer{padding:20px;background:rgba(0,0,0,0.3);text-align:center;color:#fff;}
footer .footer-links a{margin:0 15px;font-size:1.8rem;color:#FFD6F0;transition:0.3s;}
footer .footer-links a:hover{color:#fff;}

/* ANIMATIONS */
.animate-section,.animate-left,.animate-right,.animate-up{opacity:0;transform:translateY(50px);transition:all 0.8s ease-out;}
.animate-left{transform:translateX(-50px);}
.animate-right{transform:translateX(50px);}

/* RESPONSIVE */
@media(max-width:768px){.hero{flex-direction:column;gap:30px}.skills-container{justify-content:center}.skill-card{width:140px}}


