/* ---- CSS reset & vars ---- */
:root {
    --bg-dark: #09090b;
    --text-main: #f8fafc;
    --text-muted: #a1a1aa;
    --primary-1: #6366f1;
    --primary-2: #ec4899;
    --accent: #06b6d4;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    cursor: none;
    overflow-x: hidden;
    /* Custom cursor */
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Clash Display', sans-serif;
    font-weight: 600;
}

/* ---- Cursor ---- */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--text-main);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.custom-cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.2s, height 0.2s, background-color 0.2s;
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 10000;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(135deg, var(--primary-1), var(--accent));
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px var(--accent);
    transition: width 0.1s ease;
}

/* ---- Typography ---- */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 3rem;
    line-height: 1.1;
}

@media(max-width:767px) {
    .section-title {
        font-size: 35px !important;
    }
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    position: relative;
    z-index: 10;
}

/* ---- Nav ---- */
.glass-nav {
    position: sticky;
    top: 20px;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-accent {
    color: var(--accent);
}

.nav-links {
    position: absolute;
    left: 53%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    cursor: none;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    font-size: 0.9rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.nav-cta:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}

/* ---- Hamburger Menu ---- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: none;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--text-main);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ---- Buttons ---- */
.cta-button {
    padding: 14px 28px;
    border-radius: 30px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: none;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.cta-button.primary:hover {
    box-shadow: 0 15px 25px rgba(236, 72, 153, 0.4);
}

.cta-button.secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.cta-button.secondary:hover {
    background: var(--glass-bg);
}

/* ---- Glassmorphism ---- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* ---- Interactive Cards ---- */
.interactive-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: none;
}

.interactive-card:hover {
    transform: translateY(-10px);
}

/* ---- Hero ---- */
.hero {
    padding: 80px 0 120px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    min-height: 100vh;
}

@media(max-width:1199px) {
    .hero {
        padding: 100px 0 120px 0;
    }
}

@media (max-width: 900px) {
    .hero {
        height: auto;
        padding: 80px 0 60px;
    }

    .about-text {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 60px 0 60px;
    }
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 60px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 30px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    animation: float3D 8s ease-in-out infinite alternate;
}

.code-editor {
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 17, 0.95);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    font-family: 'Consolas', 'Fira Code', monospace;
    text-align: left;
}

.editor-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.mac-btns {
    display: flex;
    gap: 8px;
}

.mac-btns .btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn.close {
    background: #ff5f56;
    box-shadow: 0 0 10px rgba(255, 95, 86, 0.3);
}

.btn.minimize {
    background: #ffbd2e;
    box-shadow: 0 0 10px rgba(255, 189, 46, 0.3);
}

.btn.maximize {
    background: #27c93f;
    box-shadow: 0 0 10px rgba(39, 201, 63, 0.3);
}

.editor-title {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    flex: 1;
    text-align: center;
    margin-right: 40px;
}

.editor-body {
    padding: 25px;
    flex: 1;
    overflow-x: auto;
}

.editor-body pre {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e2e8f0;
    white-space: pre-wrap;
    word-break: break-word;
}

.code-keyword {
    color: #c678dd;
    font-style: italic;
}

.code-variable {
    color: #e5c07b;
}

.code-property {
    color: #e06c75;
}

.code-string {
    color: #98c379;
}

.code-method {
    color: #61afef;
}

.code-operator {
    color: #56b6c2;
}

.code-comment {
    color: #7f848e;
    font-style: italic;
}

.floating-label {
    position: absolute;
    background: rgba(9, 9, 11, 0.85);
    border: 1px solid var(--accent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
    animation: floatLabel 4s ease-in-out infinite alternate-reverse;
}

.label-1 {
    bottom: 30px;
    left: -30px;
}

.label-2 {
    top: 50px;
    right: -40px;
    border-color: var(--primary-2);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
    animation-delay: -2s;
}

.label-2 .label-text span {
    color: var(--primary-2);
}

.label-icon {
    font-size: 1.8rem;
}

.label-text {
    display: flex;
    flex-direction: column;
}

.label-text strong {
    font-size: 1rem;
    color: var(--text-main);
}

.label-text span {
    font-size: 0.8rem;
    color: var(--accent);
}

@keyframes float3D {
    0% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }

    100% {
        transform: translateY(-15px) rotateX(3deg) rotateY(-4deg);
    }
}

@keyframes floatLabel {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-10px) scale(1.05);
    }
}

/* ---- Scroll Indicator Banner Design ---- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
    text-decoration: none;
    cursor: none;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.scroll-glass-pill {
    position: relative;
    width: 30px;
    height: 60px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.scroll-indicator:hover .scroll-glass-pill {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.scroll-indicator:hover .scroll-text {
    color: var(--text-main);
}

.scroll-arrow {
    position: absolute;
    bottom: 10px;
    font-size: 0.8rem;
    color: var(--accent);
    opacity: 0.8;
}

.scroll-dot {
    position: absolute;
    top: 5px;
    width: 6px;
    height: 6px;
    background: var(--primary-1);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-1);
    animation: scrollDotDrop 2.5s cubic-bezier(0.15, 0.41, 0.69, 0.94) infinite;
}

@keyframes scrollDotDrop {
    0% {
        transform: translateY(0);
        opacity: 1;
        height: 6px;
    }

    50% {
        transform: translateY(25px);
        opacity: 1;
        height: 12px;
    }

    100% {
        transform: translateY(40px);
        opacity: 0;
        height: 6px;
    }
}

.hero-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 30px;
}

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

.blob {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-1);
    top: 0px;
    right: 0px;
    border-radius: 50%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-2);
    bottom: 0%;
    left: 0px;
    border-radius: 50%;
}

@media(max-width:1199px) {
    .shape-1 {
        width: 250px;
        height: 250px;
    }

    .shape-2 {
        width: 250px;
        height: 250px;
    }

    .nav-links {
        gap: 30px;
    }
}

@media(max-width:768px) {
    .blob {
        filter: blur(70px);
    }

    .shape-1 {
        width: 200px;
        height: 200px;
    }

    .shape-2 {
        width: 200px;
        height: 200px;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-main);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-main);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}


/* ---- Services Preview Section ---- */
.services-preview {
    position: relative;
    overflow: hidden;
}

.services-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card-premium {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-premium:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.1);
}

.service-card-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card-premium:hover::after {
    opacity: 1;
}

.service-icon-lrg {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 30px;
    transition: all 0.5s ease;
}

.service-card-premium:hover .service-icon-lrg {
    background: var(--accent);
    color: var(--bg-dark);
    transform: rotateY(360deg);
}

.service-card-premium h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-family: 'Clash Display', sans-serif;
}

.service-card-premium p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.service-learn-more {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--accent);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.service-card-premium:hover .service-learn-more {
    opacity: 1;
}

/* ---- Skills Section (Kinetic Skill Wall) ---- */
.skills-section {
    position: relative;
    overflow: hidden;
}

/* Infinite Marquee */
.skills-marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.skills-marquee {
    display: flex;
    white-space: nowrap;
    width: max-content;
    /* animation: marquee-scroll 40s linear infinite; Removed to use GSAP */
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.marquee-item {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    padding: 0 50px;
    color: rgba(255, 255, 255, 0.4);
    /* Much more visible fill */
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
    transition: all 0.5s ease;
    font-family: 'Clash Display', sans-serif;
    text-transform: uppercase;
}

@media(max-width:767px) {
    .marquee-item {
        padding: 0 20px;
    }
}

.marquee-item:hover {
    -webkit-text-stroke: 1px var(--accent);
    color: var(--accent);
    transform: scale(1.1);
}

/* Tech Mosaic Grid */
.tech-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.tech-tile-premium {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tech-tile-premium:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tech-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--accent);
    transition: transform 0.4s ease;
}

.tech-tile-premium:hover .tech-icon-box {
    transform: scale(1.1);
}

.tech-tile-premium span {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

/* Brand Glowing Effects */
.tech-tile-premium[data-tech="react"]:hover {
    border-color: #61DAFB;
    box-shadow: 0 0 20px rgba(97, 218, 251, 0.2);
}

.tech-tile-premium[data-tech="next"]:hover {
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.tech-tile-premium[data-tech="node"]:hover {
    border-color: #68A063;
    box-shadow: 0 0 20px rgba(104, 160, 99, 0.2);
}

.tech-tile-premium[data-tech="php"]:hover {
    border-color: #777BB4;
    box-shadow: 0 0 20px rgba(119, 123, 180, 0.2);
}

.tech-tile-premium[data-tech="laravel"]:hover {
    border-color: #FF2D20;
    box-shadow: 0 0 20px rgba(255, 45, 32, 0.2);
}

.tech-tile-premium[data-tech="figma"]:hover {
    border-color: #F24E1E;
    box-shadow: 0 0 20px rgba(242, 78, 30, 0.2);
}

.tech-tile-premium[data-tech="html5"]:hover {
    border-color: #E34F26;
    box-shadow: 0 0 20px rgba(227, 79, 38, 0.2);
}

.tech-tile-premium[data-tech="css3"]:hover {
    border-color: #1572B6;
    box-shadow: 0 0 20px rgba(21, 114, 182, 0.2);
}

.tech-tile-premium[data-tech="scss"]:hover {
    border-color: #CC6699;
    box-shadow: 0 0 20px rgba(204, 102, 153, 0.2);
}

.tech-tile-premium[data-tech="bootstrap"]:hover {
    border-color: #7952B3;
    box-shadow: 0 0 20px rgba(121, 82, 179, 0.2);
}

.tech-tile-premium[data-tech="tailwind"]:hover {
    border-color: #06B6D4;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.tech-tile-premium[data-tech="javascript"]:hover {
    border-color: #F7DF1E;
    box-shadow: 0 0 20px rgba(247, 223, 30, 0.2);
}

.tech-tile-premium[data-tech="jquery"]:hover {
    border-color: #0769AD;
    box-shadow: 0 0 20px rgba(7, 105, 173, 0.2);
}

.tech-tile-premium[data-tech="wordpress"]:hover {
    border-color: #21759B;
    box-shadow: 0 0 20px rgba(33, 117, 155, 0.2);
}

.tech-tile-premium[data-tech="mysql"]:hover {
    border-color: #4479A1;
    box-shadow: 0 0 20px rgba(68, 121, 161, 0.2);
}

.tech-tile-premium[data-tech="design"]:hover {
    border-color: #E91E63;
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.2);
}

.tech-tile-premium[data-tech="responsive"]:hover {
    border-color: #4CAF50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.2);
}

.tech-tile-premium[data-tech="animation"]:hover {
    border-color: #FF9800;
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.2);
}

.tech-tile-premium[data-tech="gsap"]:hover {
    border-color: #88CE02;
    box-shadow: 0 0 20px rgba(136, 206, 2, 0.2);
}

.tech-tile-premium[data-tech="aos"]:hover {
    border-color: #00A1FF;
    box-shadow: 0 0 20px rgba(0, 161, 255, 0.2);
}

.tech-tile-premium[data-tech="seo"]:hover {
    border-color: #FF5722;
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.2);
}

.tech-tile-premium[data-tech="performance"]:hover {
    border-color: #9C27B0;
    box-shadow: 0 0 20px rgba(156, 39, 176, 0.2);
}

.tech-tile-premium[data-tech="github"]:hover {
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .tech-mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- Portfolio Preview Section ---- */
.portfolio-preview {
    background: radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
}

.portfolio-preview .swiper-slide {
    height: auto !important;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-header .hero-subtitle {
    margin-bottom: 10px;
}

/* ---- Swiper Overrides ---- */
.portfolio-swiper {
    width: 100%;
    padding: 20px 0 60px 0;
}

.swiper-slide {
    height: auto;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-main) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: none !important;
    transition: all 0.3s ease !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: 800;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--accent) !important;
    color: var(--bg-dark) !important;
    transform: scale(1.1);
}

.swiper-button-disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: var(--glass-border) !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    cursor: none !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent) !important;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.project-card-premium {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.project-card-premium:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
}

.portfolio-preview .img-wrap {
    overflow: hidden;
}

.project-card-premium:hover::before {
    opacity: 1;
}

.project-card-premium .img-wrap {
    height: 300px;
}

.project-card-premium .card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.project-card-premium:hover .card-image {
    transform: scale(1.1);
}

.project-card-premium .card-overlay {
    background: rgba(9, 9, 11, 0.6);
    display: flex;
    flex-direction: column;
    padding: 30px;
    z-index: 3;
    border-top: 1px solid var(--glass-border);
    flex: 1;
    justify-content: space-between;
}

.project-card-premium .project-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 600;
    transition: all 0.4s ease;
}


.project-card-premium .project-name {
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.tech-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.tech-badge {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 0.7rem;
    color: var(--text-main);
    font-weight: 500;
}

.project-card-premium:hover .project-tag,
.project-card-premium:hover .project-name,
.project-card-premium:hover .tech-badges {
    color: var(--text-main);
}

.project-card-premium:hover .tech-badge {
    border-color: var(--accent);
    color: var(--text-main);
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--accent);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 12px;
    align-self: flex-start;
    transition: all 0.3s ease;
    cursor: none;
}

.project-btn:hover {
    background: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.4);
}

.project-btn svg {
    transition: transform 0.3s ease;
}

.project-btn:hover svg {
    transform: translate(2px, -2px);
}

.portfolio-footer {
    text-align: center;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: none;
}

.view-more-btn:hover {
    background: var(--text-main);
    color: var(--bg-dark);
    transform: scale(1.05);
}

.view-more-btn svg {
    transition: transform 0.3s ease;
}

.view-more-btn:hover svg {
    transform: translateX(5px);
}

/* ---- Portfolio Filters ---- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: none;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--text-main);
    color: var(--bg-dark);
}

.portfolio-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 1200px) {
    .portfolio-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-page-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Vertical Card Peel (About) ---- */
.about-peel-container {
    background: #000;
}

.peel-card {
    height: 80vh;
    /* Increased from 70vh to give more headroom */
    width: 100%;
    position: sticky;
    top: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 60vh;
}

.peel-card:last-child {
    margin-bottom: 0;
}

.card-background {
    position: absolute;
    inset: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(40px);
    border-radius: 40px;
    z-index: -1;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.peel-card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    padding: 120px 80px;
    /* Further increased top/bottom padding */
    position: relative;
    z-index: 10;
}

.card-info h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    /* Reduced from 4rem */
    line-height: 1.2;
    margin-bottom: 20px;
}

.card-info p {
    font-size: 1.05rem;
    /* Reduced from 1.2rem */
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.card-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.card-visual .stat-large {
    font-size: 7rem;
    /* Reduced from 10rem */
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    font-family: 'Clash Display', sans-serif;
    opacity: 0.6;
}

/* Individual card layers */
.card-1 {
    z-index: 10;
}

.card-2 {
    z-index: 9;
}

.card-3 {
    z-index: 8;
}

@media (max-width: 1024px) {
    .peel-card {
        height: 70vh;
        margin-bottom: 40vh;
        padding: 60px 40px;
    }

    .peel-card-content {
        gap: 40px;
        max-width: 100%;
    }

    .card-visual .stat-large {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .peel-card {
        height: auto;
        position: static;
        padding: 60px 20px;
        margin-bottom: 24px;
    }

    .card-background {
        inset: 0;
        border-radius: 24px;
    }

    .peel-card-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 40px 20px;
    }

    .card-info h2 {
        font-size: 2rem;
    }

    .card-visual {
        justify-content: center;
        order: -1;
        /* Move visual to top on mobile */
    }

    .card-visual .stat-large {
        font-size: 4rem;
        opacity: 0.3;
    }
}

@media (max-width: 1024px) {
    .portfolio-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid-3 {
        grid-template-columns: 1fr;
    }

    .project-card-premium {
        height: auto;
    }

    .project-card-premium .card-image {
        height: 250px;
    }

    .project-card-premium .img-wrap {
        height: 250px;
    }
}

/* ---- Existing Portfolio Grid ---- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

@media (min-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card.featured {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 2fr 1.5fr;
        align-items: center;
    }

    .project-card.featured .project-info {
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-radius: 0;
        background: transparent;
        border: none;
        backdrop-filter: none;
        padding-left: 40px;
    }
}

.project-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.project-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(9, 9, 11, 0.9), transparent);
    border-top: none;
    border-radius: 0 0 24px 24px;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.view-project {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.3s;
    cursor: none;
}

.project-card:hover .view-project {
    transform: translateX(5px);
}

/* ---- About & Orbit ---- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.stats {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    padding: 20px 30px;
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 5px;
    font-family: 'Clash Display', sans-serif;
    font-weight: 600;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.about-visual {
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.skills-orbit {
    position: relative;
    width: 320px;
    height: 320px;
}

.center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Clash Display';
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

.orbit-ring {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px dashed var(--glass-border);
    border-radius: 50%;
    animation: rotate 25s linear infinite;
}

.orbit-item {
    position: absolute;
    padding: 10px 20px;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--accent);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
}

.item-1 {
    top: -5%;
    left: 35%;
}

.item-2 {
    bottom: 15%;
    right: -15%;
}

.item-3 {
    bottom: -5%;
    left: 25%;
}

.item-4 {
    top: 25%;
    left: -20%;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* ---- Services ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 2px solid transparent;
}

.service-card:hover {
    border-top-color: var(--accent);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---- Contact ---- */
.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
}

.availability {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
    padding: 12px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 30px;
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 500;
    width: max-content;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    cursor: none;
}

.social-links a:hover {
    color: var(--accent);
}


.full-width {
    width: 100%;
}

/* ---- Shared Section Header ---- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Projects Section ---- */
.projects-section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-image {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 9, 11, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    background: #fff;
    color: #000;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: none;
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-info {
    padding: 30px;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.project-tags span {
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(6, 182, 212, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.project-title {
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* -- Fade Up Utility -- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: none;
    /* Controlled by GSAP */
}

/* ---- Portfolio Section ---- */
.portfolio-section {
    position: relative;
    z-index: 10;
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 60px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    width: max-content;
}

.tab-btn {
    padding: 12px 28px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: none;
    border-radius: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    font-family: 'Clash Display', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tab-btn.active {
    color: var(--text-main);
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.tab-btn:hover:not(.active) {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

/* Filtering Transitions */
.project-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card.filtering-out {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
}

.project-card.hidden {
    display: none;
}


/* ---- Pricing Section ---- */
.pricing-section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: none;
    overflow: hidden;
}

.pricing-card.popular {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.popular:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.pc-popular-badge {
    position: absolute;
    top: 0;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
    color: #fff;
    padding: 6px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 0 10px 10px;
}

.pc-header {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.pc-tier {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
}

.pc-price {
    font-size: 3.5rem;
    color: var(--text-main);
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 15px;
}

.pc-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.pc-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.pc-body {
    flex-grow: 1;
    margin-bottom: 40px;
}

.pc-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pc-features li {
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pc-features li::before {
    content: "•";
    color: var(--accent);
    font-size: 1.2rem;
}

.pc-features li.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.pc-footer {
    display: flex;
    justify-content: flex-start;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: none;
}

.link-arrow svg {
    transition: transform 0.3s ease;
}

.link-arrow:hover {
    color: var(--primary-1);
}

.link-arrow:hover svg {
    transform: translateX(5px) rotate(-45deg);
}

/* ---- CTA Section ---- */

/* ---- About Page Bento Storyboard ---- */
.ab-hero {
    padding: 160px 0 80px;
    text-align: center;
}

.ab-hero h1 {
    font-size: clamp(3.5rem, 10vw, 8rem);
    line-height: 0.9;
    margin-bottom: 20px;
}

.ab-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 250px);
    gap: 24px;
    padding-bottom: 120px;
}

.ab-bento-cell {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 40px;
    backdrop-filter: blur(30px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ab-bento-cell:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

/* Specific Cell Layouts */
.cell-bio {
    grid-column: span 2;
    grid-row: span 2;
}

.cell-milestones {
    grid-column: span 2;
    grid-row: span 3;
}

.cell-stats {
    grid-column: span 1;
    grid-row: span 1;
}

.cell-skills {
    grid-column: span 2;
    grid-row: span 1;
}

.cell-tools {
    grid-column: span 1;
    grid-row: span 1;
}

.cell-values {
    grid-column: span 1;
    grid-row: span 1;
}

.cell-bio h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cell-bio p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Milestone Stream */
.milestone-stream {
    height: 100%;
    overflow-y: auto;
    padding-right: 15px;
}

.milestone-stream::-webkit-scrollbar {
    width: 4px;
}

.milestone-stream::-webkit-scrollbar-track {
    background: transparent;
}

.milestone-stream::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.milestone-item {
    padding-bottom: 40px;
    position: relative;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.milestone-item.active {
    opacity: 1;
}

.milestone-year {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 5px;
    display: block;
}

.milestone-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.milestone-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Skills Grid inside Cell */
.skills-mini-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .ab-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .ab-bento-cell {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: auto;
        min-height: 300px;
    }

    .cell-bio,
    .cell-milestones,
    .cell-skills {
        grid-column: span 2 !important;
    }
}

@media (max-width: 768px) {
    .ab-bento-grid {
        grid-template-columns: 1fr;
    }

    .ab-bento-cell,
    .cell-bio,
    .cell-milestones,
    .cell-skills {
        grid-column: span 1 !important;
    }
}

.cta-section {
    position: relative;
    z-index: 10;
}

.cta-card {
    position: relative;
    padding: 80px 40px;
    border-radius: 40px;
    text-align: center;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

@media(max-width:767px) {
    .cta-card {
        padding: 40px 30px;
    }
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-actions .btn {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: none;
}

.cta-actions .primary-btn {
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
    color: #fff;
    border: none;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.cta-actions .primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(236, 72, 153, 0.4);
}

.cta-actions .secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.cta-actions .secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
    color: var(--accent);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
    opacity: 0.15;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

/* ---- Footer ---- */
.footer {
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: var(--primary-1);
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
}

.footer .container {
    position: relative;
    z-index: 10;
}

.footer-top {
    display: flex;
    justify-content: flex-start;
    gap: 120px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 2rem;
}

.footer-description {
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.social-links-rounded {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon-box {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: none;
}

.social-icon-box svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.social-icon-box:hover {
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
    border-color: transparent;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
    color: #fff;
}

.footer-links-group {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-col-title {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-icon-glass {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.contact-icon-glass svg {
    transition: transform 0.3s ease;
}

.footer-list li:hover .contact-icon-glass {
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
    border-color: transparent;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
    color: #fff;
}

.footer-list a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s ease;
    cursor: none;
}

.footer-list a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    cursor: none;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* ---- Back to Top Button ---- */
.back-to-top {
    position: fixed;
    right: 40px;
    bottom: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(10px);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    padding: 0;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: var(--accent);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.2);
}

.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.progress-background {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 4;
}

.progress-bar {
    fill: none;
    stroke: var(--accent);
    stroke-width: 4;
    transition: stroke-dashoffset 0.1s linear;
    stroke-linecap: round;
}

.btt-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links .logo {
    display: none;
}

/* ---- Responsive Adjustments ---- */
@media (max-width: 900px) {
    .nav-links .logo {
        display: block;
    }

    .split-layout,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hamburger {
        display: flex;
    }

    .nav-right .nav-cta {
        display: none;
    }

    .glass-nav {
        padding: 15px 20px;
        top: 15px;
        width: 90%;
        left: 5%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%) translateY(-16px);
        width: 100vw;
        height: 100vh;
        background: rgba(9, 9, 11, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0px;
        opacity: 0;
        visibility: hidden;
        transition: 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        display: flex;
    }

    .nav-links .logo {
        display: block;
        padding: 31px 20px;
        background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent 70%);
    }


    .nav-links a {
        font-size: 22px;
        padding: 15px 20px;
        display: block;
    }

    .nav-links a {
        border-top: 1px solid var(--glass-border);
    }



    .hamburger.active span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links-group {
        gap: 40px;
        justify-content: space-between;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 0;
        gap: 50px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }

    .code-editor .editor-body {
        padding: 15px;
    }

    .code-editor .editor-body pre {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .floating-label {
        position: relative;
        left: unset;
        right: unset;
        top: unset;
        bottom: unset;
        background: rgba(9, 9, 11, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        width: 100%;
        max-width: 350px;
        animation: none;
        margin: 0 auto;
        justify-content: center;
        padding: 15px;
    }

    .label-1 {
        left: unset;
        bottom: unset;
    }

    .label-2 {
        right: unset;
        top: unset;
    }

    .scroll-indicator {
        display: none;
    }

    .custom-cursor,
    .custom-cursor-follower {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }



    .about-visual {
        height: 350px;
    }

    .skills-orbit {
        width: 250px;
        height: 250px;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}



/* ---- About Us Animated Visual ---- */
.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

@media(max-width:575px) {
    .about-image-wrapper {
        max-width: 90%;
        height: 420px;
    }

    .about-section .split-layout {
        display: block;
    }

    .about-section .stats {
        grid-template-columns: 1fr !important;
    }
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed var(--glass-border);
    animation: spinRotate linear infinite;
    z-index: 1;
}

.ring-1 {
    width: 320px;
    height: 320px;
    border-top: 1px dotted var(--primary-1);
    animation-duration: 20s;
}

.ring-2 {
    width: 420px;
    height: 420px;
    border-bottom: 2px solid var(--accent);
    animation-duration: 30s;
    animation-direction: reverse;
}

.ring-3 {
    width: 520px;
    height: 520px;
    border-left: 1px dashed var(--primary-2);
    animation-duration: 40s;
}

@media(max-width:575px) {
    .ring-1 {
        width: 180px;
        height: 180px;
    }

    .ring-2 {
        width: 200px;
        height: 200px;
    }

    .ring-3 {
        width: 240px;
        height: 240px;
    }
}

.about-core {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    z-index: 2;
    padding: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
    animation: corePulse 4s ease-in-out infinite alternate;
}

@media(max-width:575px) {
    .about-core {
        width: 180px;
        height: 180px;
    }
}

.core-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1);
}

.core-glow {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-1), var(--accent), var(--primary-2));
    z-index: -1;
    opacity: 0.5;
    filter: blur(15px);
    animation: rotateGlow 8s linear infinite;
}

.about-image-wrapper .floating-badge {
    position: absolute;
    background: rgba(9, 9, 11, 0.85);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    animation: floatBadge 5s ease-in-out infinite alternate-reverse;
}

.badge-top-left {
    top: 30px;
    left: -20px;
    border-color: var(--primary-1);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
    animation-delay: -1s;
}

.badge-bottom-right {
    bottom: 30px;
    right: -20px;
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
    animation-delay: -3s;
}

.about-image-wrapper .badge-icon {
    font-size: 1.8rem;
}

.about-image-wrapper .badge-text {
    display: flex;
    flex-direction: column;
}

.about-image-wrapper .badge-text strong {
    font-size: 1rem;
    color: var(--text-main);
}

.about-image-wrapper .badge-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@keyframes spinRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes corePulse {
    0% {
        transform: scale(1) translateY(0);
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
    }

    100% {
        transform: scale(1.05) translateY(-10px);
        box-shadow: 0 0 60px rgba(6, 182, 212, 0.4);
    }
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatBadge {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-15px);
    }
}

.section-gap {
    padding: 50px 0;
}

.section-gap.double-gap-t {
    padding-top: 100px;
}

.section-gap.double-gap-b {
    padding-bottom: 100px;
}

.section-gap.double-gap {
    padding: 100px 0;
}

@media (max-width: 1399.98px) {
    .section-gap {
        padding: 45px 0;
    }

    .section-gap.double-gap-t {
        padding-top: 90px;
    }

    .section-gap.double-gap-b {
        padding-bottom: 90px;
    }

    .section-gap.double-gap {
        padding: 90px 0;
    }
}

@media (max-width: 1199.98px) {
    .section-gap {
        padding: 40px 0;
    }

    .section-gap.double-gap-t {
        padding-top: 80px;
    }

    .section-gap.double-gap-b {
        padding-bottom: 80px;
    }

    .section-gap.double-gap {
        padding: 80px 0;
    }
}

@media (max-width: 991.98px) {
    .section-gap {
        padding: 35px 0;
    }

    .section-gap.double-gap-t {
        padding-top: 70px;
    }

    .section-gap.double-gap-b {
        padding-bottom: 70px;
    }

    .section-gap.double-gap {
        padding: 70px 0;
    }
}

@media (max-width: 767.98px) {
    .section-gap {
        padding: 30px 0;
    }

    .section-gap.double-gap-t {
        padding-top: 60px;
    }

    .section-gap.double-gap-b {
        padding-bottom: 60px;
    }

    .section-gap.double-gap {
        padding: 60px 0;
    }
}