/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #0a0a1a; font-family: 'Inter', sans-serif; color: #e2e8f0; line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: color .3s; }
ul { list-style: none; }
img { display: block; width: 100%; }

/* Variables */
:root {
    --accent: #64ffda;
    --accent2: #4fc3f7;
    --dark: #0a0a1a;
    --dark2: #111128;
    --dark3: #1a1a3a;
    --muted: #8892b0;
    --text: #e2e8f0;
}

/* ── Navbar ── */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(10,10,26,.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(100,255,218,.08);
    transition: background .3s, box-shadow .3s;
}
.navbar.scrolled { background: rgba(10,10,26,.98); box-shadow: 0 2px 20px rgba(0,0,0,.4); }
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; }
.nav-logo-img { height: 44px; width: auto; display: block; transition: opacity .3s; }
.nav-logo-img:hover { opacity: .85; }
.brand-box {
    width: 40px; height: 40px; background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 15px; color: var(--dark); flex-shrink: 0;
}
.brand-name { font-size: 1.2rem; font-weight: 700; color: var(--accent); }
.nav-links { display: flex; gap: 2rem; }
.nav-links .nl { font-size: .9rem; font-weight: 500; color: var(--muted); transition: color .3s; }
.nav-links .nl:hover, .nav-links .nl.active { color: var(--accent); }
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Hero ── */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%);
}
.hero-wrap {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(100,255,218,.1); border: 1px solid rgba(100,255,218,.3);
    color: var(--accent); padding: 6px 16px; border-radius: 50px;
    font-size: .85rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero-text h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: .8rem; }
.hero-text h1 .accent { color: var(--accent); }
.hero-text h2 { font-size: 1.3rem; color: var(--muted); margin-bottom: 1.2rem; font-weight: 500; }
.hero-text h2 .divider { margin: 0 .5rem; color: var(--accent); }
.hero-text p { font-size: 1rem; color: var(--muted); max-width: 560px; margin-bottom: 1.8rem; line-height: 1.75; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.hero-tags span {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    padding: 5px 14px; border-radius: 50px; font-size: .82rem; color: var(--muted);
    display: flex; align-items: center; gap: 6px;
}
.hero-tags span i { color: var(--accent); }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary, .btn-outline {
    padding: 13px 28px; border-radius: 8px; font-weight: 600; font-size: .95rem;
    display: inline-flex; align-items: center; gap: 8px; transition: all .3s; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--dark); }
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(100,255,218,.3); }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--dark); transform: translateY(-2px); }
.hero-img { position: relative; }
.img-ring {
    width: 300px; height: 300px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    padding: 4px; flex-shrink: 0;
}
.img-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.exp-badge {
    position: absolute; bottom: 10px; right: -10px;
    background: var(--dark3); border: 2px solid var(--accent);
    border-radius: 12px; padding: 10px 16px; text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.exp-badge strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.exp-badge span { font-size: .75rem; color: var(--muted); }

/* ── Section Common ── */
section { padding: 90px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec-head { text-align: center; margin-bottom: 3.5rem; }
.sec-label {
    display: inline-block; background: rgba(100,255,218,.1);
    border: 1px solid rgba(100,255,218,.3); color: var(--accent);
    padding: 5px 16px; border-radius: 50px; font-size: .8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem;
}
.sec-title { font-size: 2.4rem; font-weight: 800; color: var(--text); margin-bottom: .8rem; }
.sec-sub { color: var(--muted); font-size: 1rem; max-width: 560px; margin: 0 auto; }

/* ── About ── */
.about { background: var(--dark2); }
.about-grid { display: grid; grid-template-columns: 1fr 380px; gap: 4rem; align-items: start; }
.about-left h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.about-left p { color: var(--muted); margin-bottom: 1rem; line-height: 1.75; }
.about-left p strong { color: var(--accent); }
.skill-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.tag {
    padding: 5px 14px; border-radius: 50px; font-size: .8rem; font-weight: 600;
    background: rgba(100,255,218,.08); border: 1px solid rgba(100,255,218,.2); color: var(--accent);
}
.about-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: 2rem; }
.stat-box {
    background: var(--dark3); border-radius: 10px; padding: 1.2rem 1rem;
    text-align: center; border: 1px solid rgba(255,255,255,.06);
    transition: transform .3s, border-color .3s;
}
.stat-box:hover { transform: translateY(-4px); border-color: rgba(100,255,218,.3); }
.stat-box strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.stat-box span { font-size: .78rem; color: var(--muted); }
.info-card {
    background: var(--dark3); border-radius: 14px; padding: 2rem;
    border: 1px solid rgba(255,255,255,.06);
}
.info-card h4 { color: var(--accent); font-size: 1.1rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 8px; }
.info-list { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.info-list li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; }
.info-list li i { color: var(--accent); width: 16px; flex-shrink: 0; }
.what-i-do h5 { color: var(--text); font-size: .95rem; margin-bottom: .8rem; }
.what-i-do p { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; margin-bottom: .5rem; }
.what-i-do p i { color: var(--accent); }

/* ── Services ── */
.services { background: var(--dark); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.srv-card {
    background: var(--dark3); border-radius: 14px; padding: 2rem;
    border: 1px solid rgba(255,255,255,.06); position: relative;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    opacity: 0; transform: translateY(20px);
}
.srv-card.visible { opacity: 1; transform: translateY(0); transition: opacity .5s, transform .5s, border-color .3s, box-shadow .3s; }
.srv-card:hover { transform: translateY(-6px); border-color: rgba(100,255,218,.3); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.srv-badge {
    position: absolute; top: -1px; right: 20px;
    background: var(--accent); color: var(--dark);
    font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 0 0 8px 8px;
}
.srv-icon {
    width: 56px; height: 56px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 1.2rem;
}
.si-react { background: rgba(97,218,251,.15); color: #61dafb; }
.si-html  { background: rgba(228,77,38,.15);  color: #e44d26; }
.si-mob   { background: rgba(100,255,218,.15); color: var(--accent); }
.si-tmpl  { background: rgba(79,195,247,.15);  color: var(--accent2); }
.si-bug   { background: rgba(255,100,100,.15); color: #ff6464; }
.si-anim  { background: rgba(167,139,250,.15); color: #a78bfa; }
.srv-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .7rem; color: var(--text); }
.srv-card > p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin-bottom: 1.2rem; }
.srv-card ul { display: flex; flex-direction: column; gap: .5rem; }
.srv-card ul li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; }
.srv-card ul li i { color: var(--accent); font-size: .75rem; }

/* ── Skills ── */
.skills { background: var(--dark2); }
.skills-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.skill-card {
    background: var(--dark3); border-radius: 14px; padding: 1.8rem;
    border: 1px solid rgba(255,255,255,.06);
    transition: transform .3s, border-color .3s;
    opacity: 0; transform: translateY(20px);
}
.skill-card.visible { opacity: 1; transform: translateY(0); transition: opacity .5s, transform .5s, border-color .3s; }
.skill-card:hover { transform: translateY(-5px); border-color: rgba(100,255,218,.3); }
.sk-icon {
    width: 50px; height: 50px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1rem;
}
.sk-html { background: rgba(228,77,38,.15);   color: #e44d26; }
.sk-css  { background: rgba(38,77,228,.15);   color: #264de4; }
.sk-react{ background: rgba(97,218,251,.15);  color: #61dafb; }
.sk-js   { background: rgba(247,223,30,.15);  color: #f7df1e; }
.sk-bs   { background: rgba(121,82,179,.15);  color: #7952b3; }
.sk-tw   { background: rgba(56,189,248,.15);  color: #38bdf8; }
.sk-jq   { background: rgba(0,100,200,.15);   color: #0064c8; }
.sk-git  { background: rgba(240,80,50,.15);   color: #f05032; }
.skill-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.skill-card p  { color: var(--muted); font-size: .82rem; line-height: 1.55; margin-bottom: 1rem; }
.sk-bar { background: rgba(255,255,255,.08); border-radius: 50px; height: 6px; overflow: hidden; margin-bottom: .5rem; }
.sk-fill { height: 100%; border-radius: 50px; background: linear-gradient(90deg, var(--accent), var(--accent2)); width: 0; }
.sk-pct { font-size: .78rem; color: var(--accent); font-weight: 600; }

/* ── Portfolio ── */
.portfolio { background: var(--dark); }
.gallery-row { margin-bottom: 3.5rem; }
.row-label {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.5rem; padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.row-label-left p { color: var(--muted); font-size: .88rem; margin-top: .3rem; }
.row-badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 16px; border-radius: 50px; font-size: .82rem; font-weight: 700;
}
.rbadge-react { background: rgba(97,218,251,.12); color: #61dafb; border: 1px solid rgba(97,218,251,.3); }
.rbadge-html  { background: rgba(228,77,38,.12);  color: #e44d26; border: 1px solid rgba(228,77,38,.3); }
.row-count { font-size: .85rem; color: var(--muted); background: rgba(255,255,255,.05); padding: 4px 12px; border-radius: 50px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 1.5rem; }
.gallery-card {
    background: var(--dark3); border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    transition: transform .3s, border-color .3s, box-shadow .3s;
    opacity: 0; transform: translateY(20px);
}
.gallery-card.visible { opacity: 1; transform: translateY(0); transition: opacity .5s, transform .5s, border-color .3s, box-shadow .3s; }
.gallery-card:hover { transform: translateY(-6px); border-color: rgba(100,255,218,.3); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.gc-img { position: relative; height: 220px; overflow: hidden; }
.gc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-card:hover .gc-img img { transform: scale(1.06); }
.gc-overlay {
    position: absolute; inset: 0;
    background: rgba(10,10,26,.75); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s;
}
.gallery-card:hover .gc-overlay { opacity: 1; }
.gc-btn {
    background: var(--accent); color: var(--dark);
    padding: 10px 22px; border-radius: 8px; font-weight: 700; font-size: .88rem;
    display: flex; align-items: center; gap: 8px;
    transition: background .3s, transform .2s;
}
.gc-btn:hover { background: var(--accent2); transform: scale(1.05); }
.gc-tech {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 12px; border-radius: 50px; font-size: .75rem; font-weight: 700;
    display: flex; align-items: center; gap: 5px;
}
.react-tech { background: rgba(97,218,251,.2); color: #61dafb; border: 1px solid rgba(97,218,251,.4); }
.html-tech  { background: rgba(228,77,38,.2);  color: #e44d26; border: 1px solid rgba(228,77,38,.4); }
.gc-info { padding: 1.4rem; }
.gc-info h4 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.gc-info p  { color: var(--muted); font-size: .85rem; line-height: 1.6; margin-bottom: 1rem; }
.gc-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.gc-tags span {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    padding: 3px 10px; border-radius: 50px; font-size: .75rem; color: var(--muted);
}

/* ── Contact ── */
.contact { background: var(--dark2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-left h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; }
.contact-left > p { color: var(--muted); line-height: 1.75; margin-bottom: 2rem; }
.contact-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.ch-item {
    display: flex; align-items: flex-start; gap: 12px;
    background: var(--dark3); border-radius: 10px; padding: 1rem;
    border: 1px solid rgba(255,255,255,.06);
    opacity: 0; transform: translateY(20px);
}
.ch-item.visible { opacity: 1; transform: translateY(0); transition: opacity .5s, transform .5s; }
.ch-icon {
    width: 40px; height: 40px; background: rgba(100,255,218,.1);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: var(--accent); flex-shrink: 0;
}
.ch-item strong { display: block; font-size: .9rem; margin-bottom: .2rem; }
.ch-item span { font-size: .8rem; color: var(--muted); }
.contact-meta { display: flex; flex-direction: column; gap: .7rem; }
.contact-meta span { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; }
.contact-meta span i { color: var(--accent); width: 16px; }
.hire-box {
    background: var(--dark3); border-radius: 16px; padding: 2.5rem;
    border: 1px solid rgba(100,255,218,.2); text-align: center;
}
.hire-icon {
    width: 70px; height: 70px; background: rgba(100,255,218,.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--accent); margin: 0 auto 1.5rem;
}
.hire-box h4 { font-size: 1.4rem; font-weight: 700; margin-bottom: .8rem; }
.hire-box > p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin-bottom: 1.5rem; }
.hire-skills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.hire-skills span {
    background: rgba(100,255,218,.08); border: 1px solid rgba(100,255,218,.2);
    color: var(--accent); padding: 5px 14px; border-radius: 50px; font-size: .8rem; font-weight: 600;
}
.hire-stats { display: flex; justify-content: center; gap: 2rem; }
.hire-stats div { text-align: center; }
.hire-stats strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.hire-stats small { font-size: .78rem; color: var(--muted); }

/* ── Footer ── */
.footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,.06); padding: 2.5rem 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-box { width: 38px; height: 38px; font-size: 13px; }
.footer-brand strong { display: block; font-weight: 700; }
.footer-brand span { font-size: .82rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.footer-links a { color: var(--muted); font-size: .88rem; transition: color .3s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--muted); font-size: .82rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2,1fr); }
    .skills-grid   { grid-template-columns: repeat(3,1fr); }
    .about-grid    { grid-template-columns: 1fr; }
    .about-stats   { grid-template-columns: repeat(4,1fr); }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed; top: 68px; left: 0; width: 100%; height: calc(100vh - 68px);
        background: rgba(10,10,26,.98); flex-direction: column; align-items: center;
        justify-content: center; gap: 2rem;
        transform: translateX(-100%); transition: transform .3s;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links .nl { font-size: 1.2rem; }
    .hero-wrap { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
    .hero-text p { margin: 0 auto 1.8rem; }
    .hero-tags { justify-content: center; }
    .hero-btns { justify-content: center; }
    .hero-img { display: flex; justify-content: center; }
    .img-ring { width: 240px; height: 240px; }
    .exp-badge { right: 0; }
    .sec-title { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .skills-grid   { grid-template-columns: repeat(2,1fr); }
    .contact-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-highlights { grid-template-columns: 1fr; }
    .about-stats   { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2rem; }
    .hero-text h2 { font-size: 1.1rem; }
    .img-ring { width: 200px; height: 200px; }
    .skills-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .hire-stats { gap: 1.2rem; }
    .about-stats { grid-template-columns: repeat(2,1fr); }
}
