html {
    scroll-behavior: smooth;
}


/* ==============================
   Reset
============================== */

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

/* ==============================
   Body
============================== */

body{

    font-family:"Inter",sans-serif;

    background:#0f172a;

    color:white;

}

/* ==============================
   Navbar
============================== */

.navbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px 8%;

    background:#111827;

    position:sticky;

    top:0;

    z-index:1000;

}

.logo{

    font-size:30px;

    font-family:"Poppins",sans-serif;

    color:#3980f3;

    font-weight:900;

}

.nav-menu{

    display:flex;

    gap:35px;

    list-style:none;

}

.nav-menu a{

    color:white;

    text-decoration:none;

    font-weight:500;

    transition:.3s;

}

.nav-menu a:hover{

    color:#3b82f6;

}
/* ===========================
   Mobile Menu Toggle
=========================== */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* ===========================
   Hero Section
=========================== */

.hero{
    min-height:90vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 6%;
    gap: 2.5rem; 
    flex: 1; 
    flex-wrap: nowrap;
}

.hero-content{
    flex:1;
}

.hero-subtitle{
    color:#3b82f6;
    font-size:18px;
    margin-bottom:10px;
}

.hero h1{
    font-size:60px;
    font-family:"Poppins",sans-serif;
    margin-bottom:10px;
}

.hero h2{
    font-size:28px;
    color:#cbd5e1;
    margin-bottom:25px;
}

.hero-description{
    color:#94a3b8;
    font-size:18px;
    line-height:1.8;
    margin-bottom:35px;
    max-width:600px;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.btn-primary,
.btn-secondary{
    text-decoration:none;
    padding:14px 28px;
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.btn-primary{
    background:#3b82f6;
    color:white;
}

.btn-primary:hover{
    background:#2563eb;
}

.btn-secondary{
    border:2px solid #3b82f6;
    color:#3b82f6;
}

.btn-secondary:hover{
    background:#3b82f6;
    color:white;
}

.hero-image img{
    /* width:320px;
    border-radius:20px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex: 1;
    flex-wrap: nowrap;
}
/* ===========================
   Hero Image
=========================== */

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.03);
}
/* ===========================
   About Section
=========================== */

.about{
    padding:100px 8%;
}

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

.section-title h2{
    font-size:40px;
    font-family:"Poppins",sans-serif;
}

.about-content{
    max-width:900px;
    margin:auto;
}

.about-content p{
    font-size:18px;
    color:#94a3b8;
    line-height:1.9;
    margin-bottom:25px;
}
/* ===========================
   Skills Section
=========================== */

.skills{
    padding:100px 8%;
}

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.skill-card{
    background:#1e293b;
    padding:30px;
    border-radius:12px;
    transition:.3s;
    border:1px solid transparent;
}

.skill-card:hover{
    transform:translateY(-8px);
    border-color:#3b82f6;
}

.skill-card h3{
    color:#3b82f6;
    margin-bottom:15px;
    font-size:22px;
}

.skill-card p{
    color:#cbd5e1;
    line-height:1.7;
}
/* ===========================
   Projects Section
=========================== */

.projects{
    padding:100px 8%;
}

.projects-grid{
    display:grid;
    gap:40px;
}

.project-card{
    background:#1e293b;
    border-radius:15px;
    overflow:hidden;
    border:1px solid transparent;
    transition:.3s;
}

.project-card:hover{
    transform:translateY(-8px);
    border-color:#3b82f6;
}

.project-card img{
    width:100%;
    display:block;
}

.project-content{
    padding:30px;
}

.project-content h3{
    margin-bottom:15px;
    font-size:28px;
}

.project-content p{
    color:#cbd5e1;
    line-height:1.8;
    margin-bottom:20px;
}

.tech-stack{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:25px;
}

.tech-stack span{
    background:#3b82f6;
    color:white;
    padding:8px 14px;
    border-radius:20px;
    font-size:14px;
}

.project-links{
    display:flex;
    gap:20px;
}
/* ===========================
   Education Section
=========================== */

.education{
    padding:100px 8%;
}

.education-container{
    display:flex;
    flex-direction:column;
    gap:30px;
    max-width:900px;
    margin:auto;
}

.education-card{
    background:#1e293b;
    padding:30px;
    border-radius:15px;
    border:1px solid transparent;
    transition:.3s;
}

.education-card:hover{
    transform:translateY(-5px);
    border-color:#3b82f6;
}

.education-card h3{
    color:#3b82f6;
    margin-bottom:8px;
    font-size:24px;
}

.education-card h4{
    margin-bottom:15px;
    color:#ffffff;
    font-size:18px;
}

.education-card p{
    color:#cbd5e1;
    margin-bottom:8px;
    line-height:1.7;
}
/* ===========================
   Contact Section
=========================== */

.contact{
    padding:100px 8%;
}

.contact-container{
    max-width:900px;
    margin:auto;
    text-align:center;
}

.contact-container p{
    color:#cbd5e1;
    font-size:18px;
    margin-bottom:40px;
    line-height:1.8;
}

.contact-links{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.contact-card{
    background:#1e293b;
    color:white;
    text-decoration:none;
    padding:20px;
    border-radius:12px;
    border:1px solid transparent;
    transition:.3s;
    font-weight:600;
}

.contact-card:hover{
    border-color:#3b82f6;
    color:#3b82f6;
    transform:translateY(-5px);
}
/* ===========================
   Footer
=========================== */

.footer{
    background:#111827;
    padding:50px 8%;
    margin-top:80px;
}

.footer-content{
    max-width:900px;
    margin:auto;
    text-align:center;
}

.footer-content h3{
    color:#3b82f6;
    font-size:28px;
    margin-bottom:10px;
}

.footer-content p{
    color:#cbd5e1;
    line-height:1.8;
}

.footer-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:25px;
    margin:30px 0;
}

.footer-links a{
    text-decoration:none;
    color:white;
    transition:.3s;
}

.footer-links a:hover{
    color:#3b82f6;
}

.footer hr{
    border:none;
    height:1px;
    background:#334155;
    margin:30px 0;
}

.footer-bottom{
    color:#94a3b8;
    font-size:15px;
}