/* ----- INTER FONT ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ----- VARIABLES ----- */
:root{
    /* Canvas & surfaces */
    --body-color: #f6f9f8;
    --color-white: #ffffff;
    --surface: #ffffff;
    --surface-soft: #eef4f2;
    --line: #e4ece9;

    /* Ink */
    --text-color: #0f1a17;
    --text-color-second: #33423d;
    --text-color-muted: #5f6d68;

    /* Accent — teal → emerald */
    --first-color: #0d9488;
    --first-color-hover: #0b7c72;
    --first-color-rgb: 13, 148, 136;
    --second-color: #10b981;
    --third-color: #2dd4bf;

    --grad: linear-gradient(135deg, #0d9488 0%, #10b981 55%, #2dd4bf 100%);
    --grad-soft: linear-gradient(135deg, rgba(13,148,136,0.12), rgba(16,185,129,0.12));

    --first-shadow-color: rgba(15, 26, 23, 0.06);
    --shadow-sm: 0 1px 2px rgba(15, 26, 23, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 26, 23, 0.07);
    --shadow-lg: 0 24px 48px rgba(15, 26, 23, 0.10);
    --radius: 18px;
}

/* ----- BASE ----- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}
html{ scroll-behavior: smooth; }
body{
    background: var(--body-color);
    color: var(--text-color-second);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.container{ width: 100%; position: relative; overflow-x: clip; }

/* ----- SCROLLBAR ----- */
::-webkit-scrollbar{ width: 10px; }
::-webkit-scrollbar-track{ background: var(--body-color); }
::-webkit-scrollbar-thumb{ background: #cdd8d4; border-radius: 30px; }
::-webkit-scrollbar-thumb:hover{ background: #b9c6c1; }

/* ----- CURSOR GLOW ----- */
.cursor-glow{
    position: fixed;
    top: 0;
    left: 0;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,0.28) 0%, rgba(13,148,136,0.16) 38%, rgba(45,212,191,0) 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
    mix-blend-mode: multiply;
    transition: opacity .5s ease, width .35s ease, height .35s ease;
    will-change: transform;
}
.cursor-glow.is-hover{ width: 620px; height: 620px; }

/* ----- ICONS ----- */
i{ font-size: 16px; }

/* ----- BUTTONS ----- */
.btn{
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 22px;
    background: var(--surface);
    color: var(--text-color);
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn>i{ margin-left: 9px; }
.btn:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-primary{
    background: var(--grad);
    color: #fff;
    border: none;
    box-shadow: 0 8px 20px rgba(13,148,136,0.28);
}
.btn-primary:hover{ box-shadow: 0 14px 30px rgba(13,148,136,0.38); color: #fff; }

.btn-ghost{
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text-color);
}
.btn-ghost:hover{ border-color: var(--first-color); color: var(--first-color); }

/* ----- NAVIGATION ----- */
nav{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 82px;
    background: rgba(246, 249, 248, 0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding-inline: 9vw;
    border-bottom: 1px solid transparent;
    transition: height .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
    z-index: 100;
}
nav.scrolled{
    height: 68px;
    box-shadow: 0 4px 24px rgba(15,26,23,0.06);
    border-bottom-color: var(--line);
}
.nav-logo{ position: relative; }
.nav-name{
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-color);
}
.nav-logo span{
    position: absolute;
    top: 4px;
    right: -12px;
    font-size: 34px;
    line-height: 0;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-menu, .nav_menu_list{ display: flex; }
.nav-menu .nav_list{ list-style: none; position: relative; }
.nav-link{
    text-decoration: none;
    color: var(--text-color-second);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 4px;
    margin-inline: 18px;
    transition: color .25s ease;
}
.nav-link:hover{ color: var(--first-color); }
.active-link{
    position: relative;
    color: var(--first-color);
    font-weight: 600;
}
.active-link::after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
}
.nav-button{ display: flex; align-items: center; gap: 10px; }
.nav-menu-btn{ display: none; }
.nav-menu-btn i{ font-size: 26px; cursor: pointer; color: var(--text-color); }
.nav-right{ display: flex; align-items: center; gap: 8px; }
.theme-btn{
    width: 42px; height: 42px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.theme-btn i{ font-size: 18px; margin: 0; }

/* ----- WRAPPER ----- */
.wrapper{ padding-inline: 10vw; }

/* ----- HERO ----- */
.featured-box{
    position: relative;
    display: flex;
    align-items: center;
    height: 100vh;
    min-height: 720px;
}
.hero-glow{
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}
.hero-glow-1{
    width: 500px; height: 500px;
    top: 40px; right: -30px;
    background: radial-gradient(circle, rgba(16,185,129,0.26), transparent 70%);
}
.hero-glow-2{
    width: 420px; height: 420px;
    bottom: 30px; left: -40px;
    background: radial-gradient(circle, rgba(45,212,191,0.18), transparent 70%);
}
.featured-text{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 55%;
}
.hero-available{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color-second);
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
    width: fit-content;
}
.hero-dot{
    width: 8px; height: 8px;
    background: var(--second-color);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot{
    0%, 100%{ box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    50%{ box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.featured-text-card{ margin-bottom: 18px; }
.featured-text-card span{
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--first-color);
    background: var(--grad-soft);
    padding: 5px 12px;
    border-radius: 8px;
}
.featured-name{
    font-size: clamp(34px, 4.4vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: var(--text-color);
    margin-bottom: 22px;
    max-width: 15ch;
}
.typedText{
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.typed-cursor{ color: var(--second-color); -webkit-text-fill-color: var(--second-color); }
.featured-text-info{ max-width: 46ch; margin-bottom: 34px; }
.featured-text-info p{
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color-muted);
}
.featured-text-btn{ display: flex; flex-wrap: wrap; gap: 14px; }
.social_icons{ display: flex; margin-top: 3.4em; gap: 16px; }
.icon{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: background .3s, color .3s, transform .3s, border-color .3s;
}
.icon a{ color: var(--text-color-second); display: flex; }
.icon:hover{ transform: translateY(-3px); }
.instagram-icon:hover{ background: #e1306c; border-color: #e1306c; }
.instagram-icon:hover a{ color: #fff; }
.linkedin-icon:hover{ background: #0077b5; border-color: #0077b5; }
.linkedin-icon:hover a{ color: #fff; }
.github-icon:hover{ background: #24292e; border-color: #24292e; }
.github-icon:hover a{ color: #fff; }

/* ----- HERO IMAGE ----- */
.featured-image{
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 45%;
}
.image-wrapper{
    position: relative;
    width: 380px;
    height: 380px;
}
.image-glow{
    position: absolute;
    inset: -16%;
    background: radial-gradient(circle, rgba(13,148,136,0.55) 0%, rgba(16,185,129,0.38) 45%, rgba(16,185,129,0) 72%);
    border-radius: 50%;
    filter: blur(52px);
    opacity: 0.62;
    z-index: 0;
    animation: imgFloat 7s ease-in-out infinite;
}
.image{
    position: relative;
    z-index: 1;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    overflow: hidden;
    padding: 5px;
    background: linear-gradient(135deg, #0d9488, #10b981);
    box-shadow: var(--shadow-lg);
    animation: imgFloat 7s ease-in-out infinite;
}
.image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
@keyframes imgFloat{
    50%{ transform: translateY(12px); }
}

/* ----- SCROLL ICON ----- */
.scroll-icon-box{
    position: absolute;
    bottom: 26px;
    left: 50%;
    translate: -50%;
    z-index: 2;
}
.scroll-btn{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color-muted);
    animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-btn .scroll-mouse{
    width: 26px; height: 40px;
    border: 2px solid var(--text-color-muted);
    border-radius: 13px;
    display: flex; justify-content: center;
    padding-top: 6px;
    opacity: 0.6;
}
.scroll-btn .scroll-wheel{
    width: 4px; height: 8px;
    background: var(--first-color);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}
.scroll-btn p{
    font-size: 11px; font-weight: 500;
    letter-spacing: 1.5px; text-transform: uppercase;
    opacity: 0.55;
}
@keyframes scrollWheel{
    0%{ transform: translateY(0); opacity: 1; }
    80%{ transform: translateY(8px); opacity: 0; }
    100%{ transform: translateY(0); opacity: 0; }
}
@keyframes scrollBounce{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(6px); } }

/* ----- SECTIONS ----- */
.section{ padding-block: 6em; position: relative; }
.top-header{
    text-align: center;
    margin-bottom: 4em;
}
.top-header h1{
    display: inline-block;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-color);
    margin-bottom: 16px;
    position: relative;
}
.top-header h1::after{
    content: '';
    position: absolute;
    left: 50%; bottom: -10px;
    transform: translateX(-50%);
    width: 46px; height: 3px;
    border-radius: 3px;
    background: var(--grad);
}
.top-header span{ display: block; color: var(--text-color-muted); font-size: 15px; margin-top: 18px; }
h3{ font-size: 19px; font-weight: 700; color: var(--text-color); margin-bottom: 12px; letter-spacing: -0.3px; }

.row{ display: flex; justify-content: space-between; width: 100%; gap: 40px; }
.col{ display: flex; width: 50%; }

/* ----- ABOUT ----- */
.about-intro{
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.about-info-tag{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--first-color);
    background: var(--grad-soft);
    padding: 5px 14px;
    border-radius: 30px;
}
.about-info-tag i{ font-size: 14px; }
.about-lead{
    font-size: 19px;
    line-height: 1.75;
    color: var(--text-color-second);
    font-weight: 400;
}
.about-mini-stats{
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 560px;
}
.about-mini-stat{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 22px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}
.mini-stat-num{
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mini-stat-label{
    font-size: 12px;
    color: var(--text-color-muted);
    font-weight: 500;
}

/* ----- SERVICES ----- */
.service-cards{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}
.service-card{
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    overflow: hidden;
}
.service-card::before{
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad);
    opacity: 0;
    transition: opacity .3s ease;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before{ opacity: 1; }
.service-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px; height: 54px;
    border-radius: 14px;
    background: var(--grad);
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 8px 18px rgba(13,148,136,0.28);
}
.service-icon i{ font-size: 26px; }
.service-card h3{ margin-bottom: 10px; }
.service-card p{ font-size: 14.5px; line-height: 1.7; color: var(--text-color-muted); }

/* ----- TOOLS STRIP ----- */
.tools-strip{
    margin-top: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.tools-label{
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-color-muted);
}
.tools-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.tools-list span{
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color-second);
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 6px 14px;
    border-radius: 30px;
    transition: color .25s ease, border-color .25s ease;
}
.tools-list span:hover{ color: var(--first-color); border-color: var(--first-color); }

/* ----- WORK / PROJECTS ----- */
.project-cards{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.project-card{
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.project-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.project-card-icon{
    font-size: 26px;
    color: var(--first-color);
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--grad-soft);
}
.project-card h3{ margin-bottom: 6px; font-size: 17.5px; }
.project-card p{ font-size: 14px; color: var(--text-color-muted); flex: 1; line-height: 1.65; }
.project-card-tech{ display: flex; flex-wrap: wrap; gap: 6px; }
.project-card-tech span{
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-color-muted);
    background: var(--surface-soft);
    padding: 3px 10px;
    border-radius: 20px;
}
.project-card-links{
    display: flex;
    gap: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.project-card-links a{
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--first-color);
    transition: color .25s ease;
}
.project-card-links a:hover{ color: var(--first-color-hover); }
.project-card-links a i{ font-size: 15px; margin: 0; }

/* ----- CONTACT ----- */
.contact-info{
    position: relative;
    display: flex;
    width: 100%;
    min-height: 360px;
    background: var(--grad);
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(13,148,136,0.28);
    overflow: hidden;
}
.contact-info-inner{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 44px 38px;
    width: 100%;
}
.contact-info-inner h2{ color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.contact-tagline{ color: rgba(255,255,255,0.82); font-size: 14px; }
.contact-details{ display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.contact-details a, .contact-details span{
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: opacity .3s;
}
.contact-details a:hover{ opacity: 0.82; }
.contact-details i{ font-size: 18px; }
.contact-social-links{ display: flex; gap: 12px; margin-top: 6px; }
.contact-social-links a{
    display: flex; justify-content: center; align-items: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.18);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: background .3s, transform .3s;
}
.contact-social-links a:hover{ background: rgba(255,255,255,0.34); transform: translateY(-3px); }
.contact-info-deco{ position: absolute; border-radius: 50%; background: rgba(255,255,255,0.10); }
.contact-deco-1{ width: 220px; height: 220px; top: -70px; right: -60px; }
.contact-deco-2{ width: 150px; height: 150px; bottom: -50px; right: 50px; }

/* ----- CONTACT FORM ----- */
.form-control{ display: flex; flex-direction: column; gap: 14px; width: 100%; }
.form-inputs{ display: flex; gap: 14px; width: 100%; }
.input-field{
    width: 50%;
    height: 54px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding-inline: 18px;
    outline: none;
    font-size: 14px;
    color: var(--text-color);
    transition: border-color .3s, box-shadow .3s;
}
.input-field:focus, textarea:focus{
    border-color: var(--first-color);
    box-shadow: 0 0 0 4px rgba(var(--first-color-rgb), 0.12);
}
textarea{
    width: 100%;
    height: 200px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 15px 18px;
    outline: none;
    resize: none;
    font-size: 14px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    transition: border-color .3s, box-shadow .3s;
}
.input-field::placeholder, textarea::placeholder{ color: var(--text-color-muted); }
.send-btn{
    width: 100%;
    background: var(--grad);
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(13,148,136,0.28);
}
.send-btn:hover{ color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(13,148,136,0.38); }
.send-btn:disabled{ opacity: 0.7; cursor: default; transform: none; box-shadow: none; }
.form-button i{ font-size: 18px; rotate: -45deg; }

/* ----- FOOTER ----- */
footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 24px;
    background: var(--surface-soft);
    padding-block: 50px 40px;
}
.footer-gradient-bar{
    width: 100%;
    height: 3px;
    background: var(--grad);
    margin-bottom: 10px;
    align-self: stretch;
}
.top-footer{ text-align: center; }
.footer-name{ font-size: 28px; font-weight: 800; letter-spacing: -0.5px; color: var(--text-color); }
.footer-name span{
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-tagline{ font-size: 13px; color: var(--text-color-muted); margin-top: 6px; }
.middle-footer .footer-menu{ display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.footer_menu_list{ list-style: none; }
.footer_menu_list a{
    text-decoration: none;
    color: var(--text-color-second);
    font-weight: 500;
    margin-inline: 15px;
    font-size: 14px;
    transition: color .3s;
}
.footer_menu_list a:hover{ color: var(--first-color); }
.footer-social-icons{ display: flex; gap: 14px; }
.footer-social-icons .icon:hover{ background: var(--first-color); border-color: var(--first-color); transform: translateY(-3px); }
.footer-social-icons .icon:hover a{ color: #fff; }
.bottom-footer{ font-size: 13px; color: var(--text-color-muted); margin-top: 4px; }
.footer-copyright-link{ text-decoration: none; color: var(--first-color); }

/* ----- BACK TO TOP ----- */
.back-to-top{
    position: fixed;
    bottom: 30px; right: 30px;
    width: 46px; height: 46px;
    background: var(--grad);
    color: #fff;
    border-radius: 14px;
    display: flex; justify-content: center; align-items: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(13,148,136,0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s, transform .3s;
    z-index: 99;
}
.back-to-top.visible{ opacity: 1; visibility: visible; }
.back-to-top:hover{ transform: translateY(-3px); }
.back-to-top i{ font-size: 24px; margin: 0; }

/* ===== DARK MODE ===== */
body.dark-mode{
    --body-color: #0a1310;
    --color-white: #0f1c18;
    --surface: #0f1c18;
    --surface-soft: #0c1613;
    --line: #1e302a;
    --text-color: #e8f0ed;
    --text-color-second: #b8c7c1;
    --text-color-muted: #8a9c95;
    --first-color: #2dd4bf;
    --first-color-hover: #5eead4;
    --first-color-rgb: 45, 212, 191;
    --first-shadow-color: rgba(0,0,0,0.3);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 12px 30px rgba(0,0,0,0.4);
    --shadow-lg: 0 24px 48px rgba(0,0,0,0.5);
}
body.dark-mode{ background: var(--body-color); color: var(--text-color-second); }
body.dark-mode .cursor-glow{ mix-blend-mode: screen; }
body.dark-mode nav{ background: rgba(10,19,16,0.8); }
body.dark-mode nav.scrolled{ box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
body.dark-mode .nav-link{ color: var(--text-color-second); }
body.dark-mode .nav-link:hover, body.dark-mode .active-link{ color: var(--first-color); }
body.dark-mode .btn{ background: var(--surface); color: var(--text-color); border-color: var(--line); }
body.dark-mode .btn-ghost{ background: transparent; }
body.dark-mode .hero-available{ color: var(--text-color-second); }
body.dark-mode .icon a{ color: var(--text-color-second); }
body.dark-mode .project-card-tech span{ color: var(--text-color-second); background: #16261f; }
body.dark-mode .mini-stat-label, body.dark-mode .service-card p, body.dark-mode .project-card p{ color: var(--text-color-muted); }
body.dark-mode .contact-info-inner h2, body.dark-mode .contact-details a, body.dark-mode .contact-details span{ color: #fff; }
body.dark-mode ::-webkit-scrollbar-track{ background: var(--body-color); }
body.dark-mode ::-webkit-scrollbar-thumb{ background: #223730; }
body.dark-mode ::-webkit-scrollbar-thumb:hover{ background: #2c463d; }

/* ===== RESPONSIVE ===== */
@media only screen and (max-width: 1024px){
    .featured-name{ font-size: clamp(30px, 5vw, 46px); }
    .image-wrapper{ width: 320px; height: 320px; }
    .image, .image img{ width: 320px; height: 320px; }
}

@media only screen and (max-width: 900px){
    .nav-button{ display: none; }
    .nav-menu.responsive{ left: 0; }
    .nav-menu{
        position: fixed;
        top: 68px; left: -100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(246,249,248,0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        min-height: 450px;
        height: calc(100vh - 68px);
        transition: .3s;
    }
    body.dark-mode .nav-menu{ background: rgba(10,19,16,0.94); }
    .nav_menu_list{ flex-direction: column; text-align: center; }
    .nav-link{ display: inline-block; padding: 14px; font-size: 18px; }
    .nav-menu-btn{ display: flex; align-items: center; justify-content: center; }
    .featured-box{
        flex-direction: column;
        justify-content: center;
        height: auto;
        min-height: 100vh;
        padding-top: 110px;
        padding-bottom: 60px;
        gap: 20px;
    }
    .featured-text{ width: 100%; order: 2; align-items: flex-start; }
    .featured-name{ max-width: none; }
    .featured-text-info{ max-width: none; }
    .social_icons{ margin-top: 2em; }
    .scroll-icon-box{ display: none; }
    .featured-image{ order: 1; justify-content: center; width: 100%; }
    .image-wrapper{ width: 220px; height: 220px; }
    .image, .image img{ width: 220px; height: 220px; }
    .row{ flex-direction: column; gap: 30px; }
    .col{ width: 100%; }
    .cursor-glow{ display: none; }
}

@media only screen and (max-width: 540px){
    .section{ padding-block: 4em; }
    .featured-name{ font-size: 32px; letter-spacing: -1px; }
    .about-lead{ font-size: 17px; }
    .about-mini-stats{ gap: 8px; }
    .about-mini-stat{ padding: 16px 6px; }
    .mini-stat-num{ font-size: 24px; }
    .image-wrapper{ width: 190px; height: 190px; }
    .image, .image img{ width: 190px; height: 190px; }
    .form-inputs{ flex-direction: column; }
    .input-field{ width: 100%; }
    .project-cards, .service-cards{ grid-template-columns: 1fr; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce){
    *, *::before, *::after{
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .cursor-glow{ display: none; }
}

/* ===== FOCUS VISIBLE ===== */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
    outline: 2px solid var(--first-color);
    outline-offset: 3px;
}
