
:root {
    --primary: #00eeff;
    --primary-dim: rgba(0,238,255,0.12);
    --bg: #060f1a;
    --glass: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.09);
    --text: #e8f4f8;
    --text-muted: rgba(255,255,255,0.5);
    --nav-h: 66px;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    overflow: hidden;         
    cursor: none;
}


.bg-grid {
    position: fixed; inset: 0;
    background-image:
        linear-gradient(rgba(0,238,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,238,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none; z-index: 0;
}


.cursor-dot, .cursor-ring, .cursor-glow { display: none; }

@media (pointer: fine) {
    .cursor-dot {
        display: block;
        position: fixed; width:8px; height:8px; border-radius:50%;
        background: var(--primary); pointer-events:none; z-index:99999;
        transform:translate(-50%,-50%);
        box-shadow:0 0 10px var(--primary), 0 0 20px rgba(0,238,255,0.4);
    }
    .cursor-ring {
        display: block;
        position: fixed; width:36px; height:36px; border-radius:50%;
        border:1.5px solid rgba(0,238,255,0.55); pointer-events:none; z-index:99998;
        transform:translate(-50%,-50%);
        transition: width .2s ease, height .2s ease, border-color .2s ease;
    }
    .cursor-ring.hovered { width:54px; height:54px; border-color:var(--primary); background:rgba(0,238,255,0.05); }
    .cursor-glow {
        display: block;
        position: fixed; width:300px; height:300px; border-radius:50%;
        background: radial-gradient(circle, rgba(0,238,255,0.06) 0%, transparent 70%);
        pointer-events:none; z-index:0; transform:translate(-50%,-50%);
    }
}


nav {
    position: fixed; top:0; left:0; width:100%;
    height: var(--nav-h); z-index:9000;
    background: rgba(6,15,26,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
    max-width: 1300px; margin: 0 auto;
    height: 100%; padding: 0 5%;
    display: flex; align-items:center; justify-content:space-between;
}
.logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem; font-weight: 800; color: white;
}
.logo span { color: var(--primary); }
.nav-links { display:flex; list-style:none; gap:6px; }
.nav-links a {
    text-decoration:none; color:var(--text-muted);
    font-size:.88rem; font-weight:500;
    padding:7px 15px; border-radius:30px; transition:.25s; cursor:pointer;
}
.nav-links a:hover, .nav-links a.active {
    color:var(--primary); background:var(--primary-dim);
}

.hamburger { display:none; }

.mobile-drawer {
    position: fixed; top:0; right:-100%; width:72%; max-width:280px;
    height:100vh; z-index:9500;
    background: rgba(6,15,26,0.98);
    backdrop-filter: blur(30px);
    border-left: 1px solid var(--glass-border);
    padding: 90px 30px 40px;
    transition: right .35s cubic-bezier(0.22,1,0.36,1);
}
.mobile-drawer.open { right: 0; }
.mobile-drawer ul { list-style:none; display:flex; flex-direction:column; gap:8px; }
.mobile-drawer a {
    display:block; text-decoration:none; color:var(--text-muted);
    font-size:1.1rem; font-weight:500; padding:13px 16px;
    border-radius:12px; transition:.25s;
}
.mobile-drawer a:hover { color:var(--primary); background:var(--primary-dim); }
.drawer-overlay {
    display:none; position:fixed; inset:0;
    background:rgba(0,0,0,0.5); z-index:9400;
    backdrop-filter:blur(2px);
}
.drawer-overlay.open { display:block; }

.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.btn {
    display:inline-flex; align-items:center; gap:8px;
    padding:12px 26px; background:var(--primary);
    border-radius:50px; color:var(--bg); text-decoration:none;
    font-weight:600; font-size:.88rem; transition:.3s;
    border:none; cursor:pointer; font-family:'DM Sans',sans-serif;
}
.btn:hover { box-shadow:0 0 28px rgba(0,238,255,0.4); transform:translateY(-2px); }
.btn-full { width:100%; justify-content:center; }

.about-label {
    font-size:.7rem; font-weight:600; letter-spacing:3px;
    color:var(--primary); text-transform:uppercase; margin-bottom:8px; opacity:.8;
}
.about-label.center { text-align:center; }
.section-title {
    font-family:'Syne',sans-serif; font-size:2.2rem;
    font-weight:800; margin-bottom:18px; letter-spacing:-.5px;
}
.section-title span { color:var(--primary); }
.section-title.center { text-align:center; }

/* ===== DESKTOP: HORIZONTAL SLIDER ===== */
#main-slider {
    display: flex;
    width: 100vw; height: 100vh;
    overflow-x: hidden; overflow-y: hidden;
    scroll-behavior: smooth;
    position: relative; z-index: 1;
}
section {
    min-width:100vw; width:100vw; height:100vh;
    display:flex; justify-content:center; align-items:center;
    padding: calc(var(--nav-h) + 20px) 5% 30px;
    flex-shrink:0; position:relative;
}
.section-wrapper {
    width:100%; max-width:1200px;
    overflow-y:auto; max-height:calc(100vh - var(--nav-h) - 40px);
    padding: 4px 4px;
}
.section-wrapper::-webkit-scrollbar { width:3px; }
.section-wrapper::-webkit-scrollbar-thumb { background:rgba(0,238,255,0.2); border-radius:4px; }

/* ===== HOME ===== */
.hero-wrap {
    display:flex; align-items:center; gap:50px;
    padding:45px 55px; width:94%; max-width:1100px;
}
.tag-line { font-size:.9rem; color:var(--primary); margin-bottom:8px; }
.hero-text h1 {
    font-family:'Syne',sans-serif; font-size:3.6rem;
    font-weight:800; line-height:1.05; margin-bottom:10px; letter-spacing:-2px;
}
.hero-text h1 span { color:var(--primary); }
.hero-text h3 { font-size:1.2rem; font-weight:400; color:var(--text-muted); margin-bottom:14px; min-height:1.8rem; }
.hero-text h3 .typed-text { color:white; font-weight:600; }
.cursor-blink { color:var(--primary); animation:blink .8s infinite; font-weight:300; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.desc { color:var(--text-muted); line-height:1.8; margin-bottom:20px; max-width:420px; font-size:.92rem; }
.desc strong { color:rgba(255,255,255,0.8); }
.socials { display:flex; gap:10px; margin-bottom:24px; }
.socials a {
    width:38px; height:38px; border:1.5px solid var(--glass-border); border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    color:var(--text-muted); text-decoration:none; font-size:.85rem; transition:.3s;
}
.socials a:hover { border-color:var(--primary); color:var(--primary); background:var(--primary-dim); transform:translateY(-3px); }

/* Profile */
.profile-area { flex-shrink:0; position:relative; width:270px; height:270px; }
.img-ring { position:relative; width:100%; height:100%; }
.img-box {
    position:absolute; inset:18px; border-radius:50%; overflow:hidden;
    background:var(--primary-dim); display:flex; align-items:center; justify-content:center;
    border:3px solid var(--primary); box-shadow:0 0 35px rgba(0,238,255,0.22); z-index:2;
}
.img-box img { width:100%; height:100%; object-fit:cover; }
.img-fallback { display:none; align-items:center; justify-content:center; width:100%; height:100%; font-size:3.5rem; color:var(--primary); opacity:.4; }
.ring { position:absolute; border-radius:50%; border:1.5px solid; animation:spin linear infinite; }
.ring-1 { inset:4px; border-color:rgba(0,238,255,0.3) transparent rgba(0,238,255,0.3) transparent; animation-duration:7s; }
.ring-2 { inset:-8px; border-color:transparent rgba(0,238,255,0.13) transparent rgba(0,238,255,0.13); animation-duration:12s; animation-direction:reverse; }
@keyframes spin { to { transform:rotate(360deg); } }
.float-badge {
    position:absolute; background:rgba(6,15,26,0.95); border:1px solid var(--glass-border);
    border-radius:30px; padding:7px 14px; font-size:.76rem; font-weight:600;
    display:flex; align-items:center; gap:6px; color:var(--primary); z-index:3;
    animation:floatY 3s ease-in-out infinite; backdrop-filter:blur(10px);
}
.badge-1 { bottom:8px; left:-18px; animation-delay:0s; }
.badge-2 { top:8px; right:-18px; animation-delay:1.6s; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ===== ABOUT ===== */
.content-card { width:88%; max-width:700px; padding:45px 50px; }
.sub-title { color:var(--primary); font-size:1.05rem; font-weight:500; margin-bottom:14px; }
.content-card p { color:var(--text-muted); line-height:1.85; font-size:.93rem; }
.content-card p strong { color:rgba(255,255,255,0.8); }
.about-stats { display:flex; gap:24px; margin:24px 0; padding:18px; background:rgba(0,238,255,0.03); border-radius:14px; border:1px solid var(--glass-border); }
.stat { text-align:center; flex:1; }
.stat span { font-family:'Syne',sans-serif; font-size:1.9rem; font-weight:800; color:var(--primary); display:block; }
.stat p { font-size:.76rem; color:var(--text-muted); margin-top:2px; }


.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:10px; }
.service-box { padding:26px 22px; border-radius:20px; transition:.3s ease; position:relative; overflow:hidden; }
.service-box::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(0,238,255,0.05),transparent); opacity:0; transition:.35s; border-radius:20px; }
.service-box:hover::before { opacity:1; }
.service-box:hover { border-color:rgba(0,238,255,0.3); transform:translateY(-5px); box-shadow:0 12px 35px rgba(0,238,255,0.07); }
.service-box.featured { border-color:rgba(0,238,255,0.22); background:rgba(0,238,255,0.04); }
.service-icon { width:46px; height:46px; border-radius:12px; background:var(--primary-dim); display:flex; align-items:center; justify-content:center; font-size:1.2rem; color:var(--primary); margin-bottom:12px; transition:.3s; }
.service-box:hover .service-icon { background:var(--primary); color:var(--bg); box-shadow:0 0 18px rgba(0,238,255,0.4); }
.service-num { font-family:'Syne',sans-serif; font-size:.68rem; color:var(--text-muted); letter-spacing:2px; margin-bottom:6px; }
.service-box h3 { font-family:'Syne',sans-serif; font-size:.95rem; font-weight:700; margin-bottom:8px; }
.service-box p { color:var(--text-muted); font-size:.8rem; line-height:1.65; margin-bottom:12px; }
.service-tags { display:flex; flex-wrap:wrap; gap:5px; }
.service-tags span { font-size:.68rem; padding:3px 9px; border-radius:20px; background:rgba(0,238,255,0.07); color:var(--primary); border:1px solid rgba(0,238,255,0.13); }


.skills-container { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:12px; }
.skills-col { padding:28px; border-radius:20px; }
.skills-heading { font-family:'Syne',sans-serif; font-size:.9rem; font-weight:700; color:var(--primary); margin-bottom:18px; display:flex; align-items:center; gap:8px; }
.skill-item { margin-bottom:16px; }
.skill-info { display:flex; justify-content:space-between; font-size:.82rem; margin-bottom:6px; color:var(--text-muted); }
.pct { color:var(--primary); font-weight:600; }
.skill-track { height:5px; background:rgba(255,255,255,0.06); border-radius:10px; overflow:hidden; }
.skill-bar { height:100%; width:0; border-radius:10px; background:linear-gradient(90deg,#0077ff,var(--primary)); position:relative; transition:width 1.2s cubic-bezier(0.22,1,0.36,1); box-shadow:0 0 10px rgba(0,238,255,0.25); }
.bar-shine { position:absolute; top:0; right:0; width:25px; height:100%; background:linear-gradient(90deg,transparent,rgba(255,255,255,0.5),transparent); animation:shine 2.2s ease-in-out infinite; }
@keyframes shine { 0%{right:100%;opacity:0} 40%{opacity:1} 100%{right:-25px;opacity:0} }
.radar-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:8px; }
.radar-item { text-align:center; position:relative; }
.radar-svg { width:76px; height:76px; transform:rotate(-90deg); display:block; margin:0 auto 5px; }
.radar-ring { stroke-dashoffset:220; transition:stroke-dashoffset 1.5s cubic-bezier(0.22,1,0.36,1); }
.radar-pct { position:absolute; top:22px; left:50%; transform:translateX(-50%); font-family:'Syne',sans-serif; font-size:.95rem; font-weight:800; color:var(--primary); }
.radar-item p { font-size:.72rem; color:var(--text-muted); }
.tools-grid { display:flex; flex-wrap:wrap; gap:7px; }
.tool-badge { display:flex; align-items:center; gap:5px; padding:5px 12px; border-radius:20px; background:rgba(255,255,255,0.04); border:1px solid var(--glass-border); font-size:.76rem; color:var(--text-muted); transition:.25s; }
.tool-badge:hover { border-color:var(--primary); color:var(--primary); background:var(--primary-dim); }
.tool-badge i { color:var(--primary); }

/* ===== PROJECTS ===== */
.project-grid { display:flex; flex-wrap:wrap; gap:22px; justify-content:center; margin-top:12px; }
.project-card { width:300px; border-radius:20px; overflow:hidden; transition:.3s; }
.project-card:hover { transform:translateY(-7px); border-color:rgba(0,238,255,0.28); }
.project-img { position:relative; height:172px; overflow:hidden; }
.project-img img { width:100%; height:100%; object-fit:cover; transition:.4s; }
.project-card:hover .project-img img { transform:scale(1.05); }
.proj-fallback { display:none; position:absolute; inset:0; align-items:center; justify-content:center; font-size:2.8rem; color:var(--primary); opacity:.3; background:var(--primary-dim); }
.project-overlay { position:absolute; inset:0; background:rgba(6,15,26,0.85); display:flex; align-items:center; justify-content:center; opacity:0; transition:.3s; backdrop-filter:blur(4px); }
.project-card:hover .project-overlay { opacity:1; }
.project-info { padding:18px; }
.project-info h3 { font-family:'Syne',sans-serif; font-weight:700; margin-bottom:7px; font-size:.98rem; }
.project-info p { font-size:.8rem; color:var(--text-muted); line-height:1.6; margin-bottom:10px; }
.project-tags { display:flex; flex-wrap:wrap; gap:5px; }
.project-tags span { font-size:.68rem; padding:2px 9px; border-radius:20px; background:var(--primary-dim); color:var(--primary); border:1px solid rgba(0,238,255,0.13); }


.contact-card { width:92%; max-width:980px; padding:45px; }
.contact-intro { color:var(--text-muted); font-size:.88rem; margin-bottom:20px; line-height:1.7; }
.contact-wrapper { display:flex; gap:36px; margin-top:18px; flex-wrap:wrap; }
.contact-info { flex:1; min-width:210px; display:flex; flex-direction:column; gap:12px; }
.info-box { display:flex; align-items:center; gap:14px; padding:16px 18px; border-radius:14px; transition:.3s; }
.info-box:hover { border-color:rgba(0,238,255,0.22); background:rgba(0,238,255,0.03); }
.info-icon { width:40px; height:40px; flex-shrink:0; border-radius:11px; background:var(--primary-dim); display:flex; align-items:center; justify-content:center; color:var(--primary); font-size:.95rem; }
.info-box h4 { font-size:.68rem; text-transform:uppercase; letter-spacing:2px; color:var(--primary); margin-bottom:3px; }
.info-box a { color:var(--text-muted); text-decoration:none; font-size:.84rem; transition:.2s; }
.info-box a:hover { color:var(--primary); }
form { flex:1.6; min-width:270px; display:flex; flex-direction:column; gap:12px; }
.form-group { position:relative; }
.form-group input, .form-group textarea {
    width:100%; padding:18px 15px 8px;
    background:rgba(255,255,255,0.03); border:1px solid var(--glass-border);
    border-radius:11px; color:white; outline:none; transition:.3s;
    font-family:'DM Sans',sans-serif; font-size:.88rem;
}
.form-group label { position:absolute; top:14px; left:15px; font-size:.84rem; color:var(--text-muted); pointer-events:none; transition:.25s ease; }
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label { top:5px; font-size:.66rem; color:var(--primary); letter-spacing:.5px; }
.form-group input:focus, .form-group textarea:focus { border-color:rgba(0,238,255,0.35); box-shadow:0 0 0 3px rgba(0,238,255,0.05); }
.form-group textarea { resize:vertical; min-height:110px; padding-top:22px; }


@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
*::-webkit-scrollbar { width:3px; height:3px; }
*::-webkit-scrollbar-thumb { background:rgba(0,238,255,0.18); border-radius:4px; }

@media (max-width: 900px) {

    body { overflow: auto; cursor: auto; }          

   
    .cursor-dot, .cursor-ring, .cursor-glow { display:none !important; }

   
    .nav-links { display:none; }
    .hamburger {
        display:flex; flex-direction:column; justify-content:center;
        gap:5px; background:none; border:none; cursor:pointer;
        width:36px; height:36px; padding:4px;
    }
    .hamburger span {
        display:block; width:22px; height:2px;
        background:var(--text); border-radius:2px;
        transition:.3s ease;
    }
    .hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity:0; }
    .hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

  
    #main-slider {
        display: block;             
        width: 100%;
        height: auto;
        overflow: visible;
    }
    section {
        min-width: unset; width:100%;
        height: auto; min-height: 100svh;
        padding: calc(var(--nav-h) + 24px) 5% 50px;
        flex-direction: column;
        align-items: center;
    }
    .section-wrapper {
        max-height: none; overflow: visible;
        width:100%; max-width:100%;
    }


    .hero-wrap {
        flex-direction: column-reverse;
        text-align: center; padding:30px 24px; gap:28px;
        width:96%;
    }
    .hero-text h1 { font-size:2.6rem; }
    .hero-text .desc { max-width:100%; font-size:.9rem; }
    .socials { justify-content:center; }
    .profile-area { width:210px; height:210px; margin:0 auto; }
    .float-badge { display:none; }


    .content-card { width:96%; padding:28px 22px; }
    .about-stats { gap:16px; }
    .stat span { font-size:1.6rem; }


    .services-grid { grid-template-columns:1fr 1fr; gap:12px; }

 
    .skills-container { grid-template-columns:1fr; gap:16px; }


    .project-grid { gap:16px; }
    .project-card { width:100%; max-width:420px; }
    .project-overlay { opacity:1; background:rgba(6,15,26,0.7); }

    .contact-card { width:96%; padding:28px 20px; }
    .contact-wrapper { flex-direction:column; gap:22px; }
    .contact-info { min-width:unset; }
    form { min-width:unset; }


    .section-title { font-size:1.9rem; }
}

@media (max-width: 500px) {
    .hero-text h1 { font-size:2.1rem; }
    .services-grid { grid-template-columns:1fr; }
    .profile-area { width:180px; height:180px; }
    .contact-card { padding:22px 16px; }
}
