/* Clean & Professional Theme (simplified) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

/* Palette */
:root{
    --bg-color: #f7f8fa;        /* page background (very light) */
    --card-bg: #ffffff;         /* card / section bg */
    --muted: #6b7280;           /* muted text */
    --text-color: #111827;      /* primary text (dark) */
    --accent: #2563eb;          /* professional blue accent */
    --border: #e6e9ef;          /* subtle borders */
}

/* base */
html{ font-size:62.5%; overflow-x:hidden; }
body{
    background:var(--bg-color);
    color:var(--text-color);
    -webkit-font-smoothing:antialiased;
}

/* sections */
.section{
    min-height:100vh;
    padding:8rem 9% 4rem;
    background:transparent;
}

/* headings */
.heading{
    font-size:4.2rem;
    text-align:center;
    margin-bottom:2.5rem;
    color:var(--text-color);
    font-weight:600;
}
.heading span{ color:var(--accent); }

/* header */
.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:1.6rem 9%;
    background:rgba(255,255,255,0.96);
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:100;
    border-bottom:1px solid var(--border);
    backdrop-filter: blur(6px);
}

.logo{
    font-size:2.2rem;
    color:var(--text-color);
    font-weight:600;
}

.navbar a{
    font-size:1.6rem;
    color:var(--muted);
    margin-left:2.4rem;
    transition:color .2s ease;
}
.navbar a:hover,
.navbar a.active{ color:var(--accent); }

#menu-icon{
    font-size:3.2rem;
    color:var(--muted);
    display:none;
}

/* home */
#home{
    display:flex;
    align-items:center;
    gap:3.2rem;
    justify-content:center;
}

.home-content h3{ font-size:2.4rem; color:var(--muted); font-weight:500; }
.home-content h1{ font-size:3.8rem; font-weight:700; line-height:1.2; color:var(--text-color); }
.home-content p{ font-size:1.6rem; color:var(--muted); margin:1.6rem 0 2.4rem; }

.multiple-text{ color:var(--accent); }

/* social icons simple */
.social-media a{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:3.4rem;
    height:3.4rem;
    background:transparent;
    border-radius:6px;
    font-size:1.6rem;
    color:var(--muted);
    margin-right:1rem;
    transition:background .18s ease, color .18s ease;
}
.social-media a:hover{
    background:rgba(37,99,235,0.08);
    color:var(--accent);
}

/* button (flat) */
.btn{
    display:inline-block;
    padding:0.9rem 2.2rem;
    background:var(--accent);
    border-radius:6px;
    font-size:1.6rem;
    color:#fff;
    font-weight:600;
    box-shadow:none;
    transition:transform .12s ease, opacity .12s ease;
}
.btn:hover{ transform:translateY(-2px); opacity:.95; }

/* images cards */
.home-img img,
.about-img img{
    width:100%;
    max-width:420px;
    border-radius:8px;
    box-shadow:0 6px 18px rgba(17,24,39,0.06);
    object-fit:cover;
}

/* about */
#about{
    display:flex;
    gap:3.2rem;
    align-items:center;
    background:transparent;
}
.about-content h3{ font-size:2rem; color:var(--text-color); }
.about-content p{ font-size:1.6rem; color:var(--muted); margin:1.6rem 0 2.4rem; }

/* skills */
.skills-heading{ font-size:1.8rem; color:var(--accent); margin:1.4rem 0; }
.skills-list{ list-style:none; display:flex; flex-wrap:wrap; gap:.8rem; padding-left:0; }
.skills-list li{
    font-size:1.4rem;
    background:var(--card-bg);
    padding:.5rem .9rem;
    border-radius:6px;
    color:var(--muted);
    border:1px solid var(--border);
}

/* projects (clean card grid) */
#projects{ background:transparent; }
.projects-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2rem;
}
.project-box{
    background:var(--card-bg);
    border-radius:8px;
    overflow:hidden;
    border:1px solid var(--border);
    transition:transform .18s ease, box-shadow .18s ease;
}
.project-box:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 40px rgba(17,24,39,0.06);
}
.project-box img{ width:100%; display:block; height:220px; object-fit:cover; }

/* overlay simplified */
.project-layer{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:1.6rem;
    background:linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(2,6,23,0.64) 100%);
    opacity:0;
    transition:opacity .18s ease;
}
.project-box:hover .project-layer{ opacity:1; }
.project-layer h4{ color:#fff; font-size:1.6rem; margin-bottom:.4rem; }
.project-layer p{ color:rgba(255,255,255,0.88); font-size:1.3rem; margin:0 0 .8rem; }

/* contact */
#contact{ background:transparent; }
.contact-content{ max-width:72rem; margin:1rem auto; text-align:center; }
.contact-content p{ color:var(--muted); font-size:1.6rem; margin-bottom:2.4rem; }
.contact-info{ display:flex; justify-content:center; gap:1.2rem; align-items:center; }
.contact-info i{ color:var(--accent); font-size:2.2rem; }
.contact-info a{ color:var(--text-color); font-size:1.6rem; }

/* footer */
.footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    padding:2.2rem 9%;
    border-top:1px solid var(--border);
    background:transparent;
}
.footer-text p{ color:var(--muted); font-size:1.4rem; }
.footer-iconTop a{
    display:inline-flex;
    align-items:center;
    padding:.6rem;
    background:var(--accent);
    border-radius:6px;
}
.footer-iconTop a i{ color:#fff; font-size:1.8rem; }

/* responsive */
@media (max-width:991px){
    .header{ padding:1.6rem 4%; }
    .section{ padding:8rem 4% 3rem; }
    .projects-container{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:768px){
    #menu-icon{ display:block; }
    .navbar{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        padding:1.2rem 4%;
        background:var(--card-bg);
        border-top:1px solid var(--border);
        box-shadow:0 6px 24px rgba(17,24,39,0.06);
        display:none;
    }
    .navbar.active{ display:block; }
    .navbar a{ display:block; font-size:1.8rem; margin:1.4rem 0; color:var(--muted); }
    #home{ flex-direction:column; padding-top:10rem; }
    .home-img img, .about-img img{ max-width:90%; height:auto; margin-top:2rem; }
    #about{ flex-direction:column-reverse; gap:1.6rem; }
    .projects-container{ grid-template-columns:1fr; }
    .heading{ font-size:3.4rem; }
}
