/* ========================================
   HARSHAL PATIL PORTFOLIO — STYLE.CSS
   Premium Dark Theme with Glassmorphism
   ======================================== */

/* ---- CSS Custom Properties ---- */
:root {
    --bg-primary: #06060b;
    --bg-secondary: #0c0c14;
    --bg-tertiary: #12121e;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;

    --accent-purple: #7c3aed;
    --accent-cyan: #06b6d4;
    --accent-blue: #3b82f6;
    --accent-pink: #ec4899;

    --gradient-primary: linear-gradient(135deg, #7c3aed, #06b6d4);
    --gradient-accent: linear-gradient(135deg, #7c3aed, #3b82f6, #06b6d4);
    --gradient-glow: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(6, 182, 212, 0.4));

    --font-primary: 'Manrope', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: rgba(124, 58, 237, 0.3);
    color: var(--text-primary);
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--accent-purple);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---- Custom Cursor ---- */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(124, 58, 237, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transition: all 0.15s ease-out;
}

.cursor-ring.hover {
    transform: scale(1.5);
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
}

/* ---- Particle Canvas ---- */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- Preloader ---- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: pulse-glow 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 10px;
    animation: preloader-fill 1.8s ease forwards;
}

@keyframes preloader-fill {
    to {
        width: 100%;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* ---- Navigation ---- */
.navbar {
    padding: 1rem 0;
    transition: var(--transition-smooth);
    z-index: 1000;
    background: transparent;
}

.navbar.scrolled {
    padding: 0.6rem 0;
    background: rgba(6, 6, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
}

.brand-text {
    color: var(--text-primary);
}

.brand-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-toggler {
    border: 1px solid var(--glass-border);
    padding: 0.4rem 0.7rem;
}

.navbar-toggler .bi {
    color: var(--text-primary);
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* ---- Buttons ---- */
.btn-gradient {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #06b6d4, #7c3aed);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: var(--radius-xl);
}

.btn-gradient:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.btn-gradient:hover::before {
    opacity: 1;
}

.btn-gradient-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-primary), var(--bg-primary)), var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    padding: 0.65rem 1.8rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.btn-gradient-outline:hover {
    color: #fff;
    background-image: var(--gradient-primary), var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

/* ---- Gradient Text ---- */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Glassmorphism Card ---- */
.glassmorphism-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.glassmorphism-card:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(124, 58, 237, 0.15);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

/* ---- Section Styles ---- */
.section-padding {
    padding: 7rem 0;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-xl);
    color: var(--accent-purple);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    top: -100px;
    right: -100px;
    animation: float-shape 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-cyan);
    bottom: -50px;
    left: -100px;
    animation: float-shape 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    top: 40%;
    left: 50%;
    animation: float-shape 12s ease-in-out infinite;
}

@keyframes float-shape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-content {
    padding: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-xl);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-title {
    margin-bottom: 1rem;
}

.title-line {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.title-name {
    font-family: var(--font-display);
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    min-height: 2rem;
}

.typing-text {
    color: var(--accent-cyan);
    font-weight: 600;
}

.typing-cursor {
    color: var(--accent-purple);
    animation: blink 0.8s step-end infinite;
    font-weight: 300;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--text-primary);
    border-color: var(--accent-purple);
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.3);
}

/* ---- Hero Visual / Profile Card ---- */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.profile-card {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--gradient-glow);
    filter: blur(60px);
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.profile-image-wrapper {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    padding: 4px;
    background: var(--gradient-primary);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-primary);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.profile-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: orbit-spin 20s linear infinite;
}

.orbit-item {
    position: absolute;
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    animation: orbit-counter-spin 20s linear infinite;
}

.orbit-1 {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-2 {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

.orbit-3 {
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
}

.orbit-4 {
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
}

@keyframes orbit-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes orbit-counter-spin {
    to {
        transform: rotate(-360deg);
    }
}

/* ---- Scroll Indicator ---- */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.scroll-indicator a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    margin: 0 auto 0.5rem;
    display: flex;
    justify-content: center;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 2px;
    margin-top: 6px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(14px);
        opacity: 0;
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-card {
    padding: 2.5rem;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-text p strong {
    color: var(--text-primary);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 1.5rem;
    text-align: center;
}

.stat-icon {
    font-size: 1.6rem;
    color: var(--accent-purple);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: inline;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-cyan);
    display: inline;
}

.stat-text-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.3rem;
    font-weight: 500;
}

/* ---- Tech Stack ---- */
.tech-stack-section {
    margin-top: 1rem;
}

.tech-stack-title {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.tech-stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-item {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: var(--transition-smooth);
    position: relative;
    cursor: default;
}

.tech-item:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.08);
    transform: translateY(-3px);
}

.tech-item[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    white-space: nowrap;
    border: 1px solid var(--glass-border);
    z-index: 10;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.project-card {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.project-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-md);
    color: var(--accent-purple);
    font-size: 1.5rem;
}

.project-icon-ai {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.2);
    color: var(--accent-cyan);
}

.project-icon-family {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.project-icon-cloud {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
}

.project-link-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.project-link-btn:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: translateY(-2px) rotate(-5deg);
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.2rem;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-xl);
    color: var(--accent-purple);
    font-size: 0.78rem;
    font-weight: 500;
}

.projects-more-text {
    font-size: 1.3rem;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skill-category-card {
    padding: 2rem;
    height: 100%;
}

.skill-category-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-md);
    color: var(--accent-purple);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.skill-icon-backend {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.2);
    color: var(--accent-cyan);
}

.skill-icon-cloud {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
}

.skill-category-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.skill-item {
    margin-bottom: 1.2rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
}

.skill-info span:first-child {
    color: var(--text-secondary);
    font-weight: 500;
}

.skill-info span:last-child {
    color: var(--accent-cyan);
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================
   JOURNEY / ACHIEVEMENTS SECTION
   ======================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-purple), var(--accent-cyan), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-purple);
    border-radius: 50%;
    color: var(--accent-cyan);
    font-size: 0.8rem;
    z-index: 2;
}

.timeline-content {
    padding: 1.8rem;
    margin-left: 0.5rem;
}

.timeline-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-xl);
    color: var(--accent-purple);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.timeline-content h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.timeline-tags span {
    padding: 0.2rem 0.6rem;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: var(--radius-xl);
    color: var(--accent-cyan);
    font-size: 0.72rem;
    font-weight: 500;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-md);
    color: var(--accent-purple);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-details h5 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.contact-info-details p,
.contact-info-details a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.contact-info-details a:hover {
    color: var(--accent-cyan);
}

/* ---- Contact Form ---- */
.contact-form-wrapper {
    padding: 2.5rem;
}

.form-floating-custom {
    position: relative;
    margin-bottom: 0;
}

.form-control-custom {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    outline: none;
}

.form-control-custom:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.form-floating-custom label {
    position: absolute;
    top: 50%;
    left: 1.2rem;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    transition: var(--transition-smooth);
}

textarea+label {
    top: 1rem;
    transform: none;
}

.form-control-custom:focus+label,
.form-control-custom:not(:placeholder-shown)+label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.75rem;
    color: var(--accent-purple);
    background: var(--bg-primary);
    padding: 0 0.4rem;
}

/* adjust for section-dark (contact is not section-dark but keep for safety) */
.section-dark .form-control-custom:focus+label,
.section-dark .form-control-custom:not(:placeholder-shown)+label {
    background: var(--bg-secondary);
}

textarea.form-control-custom {
    resize: none;
    min-height: 130px;
}

.btn-submit {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

.form-response {
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.form-response.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-response.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

.footer-top {
    padding: 2.5rem 0;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: var(--text-primary);
    border-color: var(--accent-purple);
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-3px);
}

.back-to-top {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.back-to-top:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991px) {
    .title-name {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-visual {
        padding: 3rem 0;
    }

    .profile-card {
        width: 280px;
        height: 280px;
    }

    .profile-image-wrapper {
        width: 180px;
        height: 180px;
    }

    .navbar-collapse {
        background: rgba(6, 6, 11, 0.95);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-lg);
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid var(--glass-border);
    }

    .btn-gradient-outline.ms-lg-3 {
        margin-left: 0 !important;
        margin-top: 0.5rem;
        display: inline-block;
    }

    /* Hide custom cursor on mobile/tablet */
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    body {
        cursor: auto;
    }
}

@media (max-width: 767px) {
    .title-name {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .timeline {
        padding-left: 2.5rem;
    }

    .timeline-marker {
        left: -2.5rem;
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-cta .btn {
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }

    .footer-top .row>div {
        text-align: center !important;
        margin-bottom: 1rem;
    }
}

@media (max-width: 575px) {
    .title-name {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .skill-category-card {
        padding: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }
}

/* ---- Smooth Reveal Animation ---- */
[data-aos] {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}