:root {
    --bg-dark: #07070a;
    --bg-light: #0d192e;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.04);
    --text-main: #e6f1ff;
    --text-muted: #8892b0;
    --accent: #64ffda;
    --accent-glow: rgba(100, 255, 218, 0.1);
    --accent-glow-strong: rgba(100, 255, 218, 0.4);
    --accent-gradient: linear-gradient(135deg, #64ffda 0%, #00bfa5 100%);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --card-border: 1px solid rgba(255, 255, 255, 0.05);
    --card-border-hover: 1px solid rgba(100, 255, 218, 0.2);
}

[data-theme="purple"] {
    --accent: #bd34fe;
    --accent-glow: rgba(189, 52, 254, 0.1);
    --accent-glow-strong: rgba(189, 52, 254, 0.4);
    --accent-gradient: linear-gradient(135deg, #bd34fe 0%, #9b2dd1 100%);
    --card-border-hover: 1px solid rgba(189, 52, 254, 0.25);
}

[data-theme="blue"] {
    --accent: #00a8ff;
    --accent-glow: rgba(0, 168, 255, 0.1);
    --accent-glow-strong: rgba(0, 168, 255, 0.4);
    --accent-gradient: linear-gradient(135deg, #00a8ff 0%, #0072ff 100%);
    --card-border-hover: 1px solid rgba(0, 168, 255, 0.25);
}

[data-theme="green"] {
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.1);
    --accent-glow-strong: rgba(16, 185, 129, 0.4);
    --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --card-border-hover: 1px solid rgba(16, 185, 129, 0.25);
}

[data-theme="orange"] {
    --accent: #f97316;
    --accent-glow: rgba(249, 115, 22, 0.1);
    --accent-glow-strong: rgba(249, 115, 22, 0.4);
    --accent-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    --card-border-hover: 1px solid rgba(249, 115, 22, 0.25);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    background-color: transparent;
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Cursor Effect */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    display: none;
    /* Only show on desktop via JS if desired, keeping simple for now */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Components */
.btn {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    /* Reduced padding globally */
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary,
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    margin: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before,
.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-primary:hover,
.btn-outline:hover {
    color: var(--bg-dark);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

.btn-primary:hover::before,
.btn-outline:hover::before {
    width: 100%;
}

.btn-download {
    color: var(--accent);
    border: 1px solid var(--accent);
    background: transparent;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.7rem 1.2rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-download:hover {
    color: var(--bg-dark);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

.btn-download:hover::before {
    width: 100%;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    /* Reduced gap */
    margin-top: 2rem;
}

.cta-group .btn,
.btn-download {
    margin: 0 !important;
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    white-space: nowrap;
    text-align: left;
}

.section-title::after {
    content: "";
    display: block;
    width: 200px;
    height: 1px;
    background: #233554;
    margin-left: 20px;
}

.section-title::before {
    counter-increment: section;
    margin-right: 10px;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--accent);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 120px 0;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(7, 7, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin: 0 1.5rem;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.hamburger {
    display: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 140px 20px 80px 20px;
    /* Adjusted to optimal spacing */
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    max-width: 1100px;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 40px;
    margin: 0 auto;
}

.hero-background-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.1) 0%, rgba(10, 10, 10, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: pulseGlow 8s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        width: 600px;
        height: 600px;
        opacity: 0.5;
    }

    100% {
        width: 800px;
        height: 800px;
        opacity: 0.8;
    }
}

.hero-content {
    max-width: 100%;
    text-align: left;
    position: relative;
    z-index: 1;
    padding: 0;
    margin: 0;
}

/* The prompt specifically asks for large bold name */
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    margin-top: 0;
    line-height: 1.1;
    color: var(--text-main);
    text-align: left;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.hero-content h1:hover {
    letter-spacing: 2px;
    color: var(--accent);
    text-shadow: 4px 4px 0px rgba(100, 255, 218, 0.1);
}



.hero-content .subtitle {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #64ffda 0%, #bd34fe 50%, #64ffda 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Highlight Key Terms */
.hero-content p strong,
.hero-content p b {
    color: #64ffda !important;
    /* Force color */
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: default;
    border-bottom: 1px solid rgba(100, 255, 218, 0.3);
}

.hero-content p strong:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.6);
    background: rgba(100, 255, 218, 0.1);
}

.hero-statement {
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 50px;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
}

/* Hero Profile Image */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    animation: floatImage 6s ease-in-out infinite;
}

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

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

.hero-image-container {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
    z-index: 1;
}



.hero-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(20%) brightness(0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-profile-image:hover {
    filter: grayscale(0%) brightness(1.05);
    transform: scale(1.05);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(100, 255, 218, 0.3),
        0 0 80px rgba(100, 255, 218, 0.1);
}

/* Glitch Effect (Subtle) */
.glitch-text:hover {
    text-shadow: 2px 0 var(--accent), -2px 0 red;
}

/* Section Title Animation */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    white-space: nowrap;
    color: var(--text-main);
    transition: all 0.3s ease;
    cursor: default;
}

.section-title::after {
    content: '';
    display: block;
    position: relative;
    width: 300px;
    height: 1px;
    background: #333;
    margin-left: 20px;
    transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.section-title:hover {
    color: var(--accent);
    transform: translateX(10px);
    text-shadow: 2px 2px 0px rgba(100, 255, 218, 0.1);
}

.section-title:hover::after {
    width: 50%;
    background: var(--accent);
    height: 2px;
    box-shadow: 0 0 15px var(--accent);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    /* Split Layout */
    gap: 60px;
    text-align: left;
    align-items: start;
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

.about-text {
    max-width: 100%;
}

.about-text strong {
    color: var(--accent);
}

.about-text p {
    text-align: left;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Skill Badges */
.skill-badges {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-top: 30px;
    width: 100%;
}

@media (max-width: 600px) {
    .skill-badges {
        grid-template-columns: 1fr;
    }
}

.skill-badge {
    display: flex;
    /* Changed from inline-flex */
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    /* Ensure padding doesn't cause overflow */
    gap: 10px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.skill-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-badge:hover::before {
    left: 100%;
}

.skill-badge i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.skill-badge:hover i {
    transform: rotate(360deg) scale(1.2);
}

.skill-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Badge Color Variations */
/* Glassmorphic About Badges */
.about-features .skill-badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 16px !important;
    border-radius: 16px !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
}

.about-features .skill-badge i {
    margin-right: 10px !important;
    font-size: 1.15rem !important;
    transition: transform 0.4s ease !important;
}

/* Badge hover transition states */
.about-features .skill-badge:hover {
    transform: translateY(-5px) !important;
}

.about-features .skill-badge:hover i {
    transform: scale(1.2) rotate(15deg) !important;
}

/* Specific Badge Theme Styles */
.about-features .skill-badge.badge-blue {
    color: #60a5fa !important;
    border-color: rgba(59, 130, 246, 0.15) !important;
}
.about-features .skill-badge.badge-blue:hover {
    background: rgba(59, 130, 246, 0.08) !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2), 0 0 15px rgba(59, 130, 246, 0.1) !important;
}

.about-features .skill-badge.badge-purple {
    color: #c084fc !important;
    border-color: rgba(168, 85, 247, 0.15) !important;
}
.about-features .skill-badge.badge-purple:hover {
    background: rgba(168, 85, 247, 0.08) !important;
    border-color: #a855f7 !important;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.2), 0 0 15px rgba(168, 85, 247, 0.1) !important;
}

.about-features .skill-badge.badge-green {
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.15) !important;
}
.about-features .skill-badge.badge-green:hover {
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: #10b981 !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2), 0 0 15px rgba(16, 185, 129, 0.1) !important;
}

.about-features .skill-badge.badge-orange {
    color: #fb923c !important;
    border-color: rgba(249, 115, 22, 0.15) !important;
}
.about-features .skill-badge.badge-orange:hover {
    background: rgba(249, 115, 22, 0.08) !important;
    border-color: #f97316 !important;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.2), 0 0 15px rgba(249, 115, 22, 0.1) !important;
}

.about-features .skill-badge.badge-cyan {
    color: #22d3ee !important;
    border-color: rgba(6, 182, 212, 0.15) !important;
}
.about-features .skill-badge.badge-cyan:hover {
    background: rgba(6, 182, 212, 0.08) !important;
    border-color: #06b6d4 !important;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.2), 0 0 15px rgba(6, 182, 212, 0.1) !important;
}


/* About Features Grid */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    /* Gradient Border technique */
    background:
        linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        linear-gradient(135deg, var(--accent), #bd34fe) border-box;
    border: 1px solid transparent;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(100, 255, 218, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #64ffda 0%, #4db8a8 100%);
    font-size: 2rem;
    color: var(--bg-dark);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.5);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Icon Color Variations */
.icon-purple {
    background: linear-gradient(135deg, #bd34fe 0%, #9b2dd1 100%);
}

.icon-green {
    background: linear-gradient(135deg, #41d1a7 0%, #2ba87d 100%);
}

.icon-yellow {
    background: linear-gradient(135deg, #ffd93d 0%, #f0b429 100%);
}

.icon-red {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.icon-blue {
    background: linear-gradient(135deg, #4facfe 0%, #00a8ff 100%);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-main);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--accent);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
    text-align: center;
}


/* Skills Section Interactive Redesign */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* Gradient Border Animation */
.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.6), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s;
    pointer-events: none;
}

.skill-category:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.3);
}

.skill-category:hover::before {
    opacity: 1;
    background: linear-gradient(45deg, var(--accent), #bd34fe, var(--accent));
    background-size: 200% 200%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.skill-category h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.skill-category h3 i {
    color: var(--accent);
    background: rgba(100, 255, 218, 0.1);
    padding: 10px;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.skill-category:hover h3 i {
    transform: rotate(360deg);
    color: #fff;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.skill-item:hover {
    background: var(--accent);
    color: #0a192f;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.4);
    font-weight: 700;
    border-color: transparent;
}

/* ========================= PORTFOLIO CARD REDESIGN (Definitive) ========================= */

/* ========================= PORTFOLIO CARD REDESIGN (Text Below Image) ========================= */

.portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.portfolio-box {
    position: relative !important;
    border-radius: 0;
    overflow: visible !important;
    /* Allow text to flow below */
    height: auto !important;
    /* Auto height for content */
    cursor: default;
    background: transparent;
    box-shadow: none;
    text-align: left;
    /* Image Top, Text Bottom Left */
}

/* Image Wrapper for Hover Effect */
.portfolio-img-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 220px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.portfolio-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-box:hover .portfolio-img-box img {
    transform: scale(1.1);
}

/* Hover Layer inside Image */
.portfolio-layer {
    position: absolute !important;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(10, 25, 47, 0.9)) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.portfolio-box:hover .portfolio-layer {
    opacity: 1;
    transform: translateY(0);
}

/* Icon Link in Hover Layer */
.portfolio-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--text-main);
    border-radius: 50%;
    color: var(--bg-dark);
    font-size: 1.2rem;
    transition: 0.3s;
}

.portfolio-layer a:hover {
    background: var(--accent);
    transform: scale(1.1);
}

/* Static Info Below Card */
.portfolio-info h4 {
    font-size: 1.2rem;
    color: #e6f1ff;
    margin-bottom: 8px;
    font-weight: 700;
}

.portfolio-info p {
    font-size: 0.95rem;
    color: #8892b0;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Remove old styles references explicitly */
.project-card,
.project-img-wrapper,
.project-content,
.project-header,
.folder-icon,
.project-tech {
    display: none !important;
}

/* ==========================================
   Experience / Timeline Section
   ========================================== */
.experience-timeline {
    position: relative;
    border-left: 2px solid rgba(100, 255, 218, 0.25);
    margin-left: 20px;
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    max-width: 950px;
}

.timeline-item {
    position: relative;
}

.timeline-marker {
    position: absolute;
    left: -48px;
    top: 28px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #233554;
    border: 3px solid var(--bg-dark);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-marker.active-marker {
    background: var(--accent);
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 12px var(--accent);
}

.timeline-item:hover .timeline-marker.active-marker {
    transform: scale(1.3);
    box-shadow: 0 0 20px var(--accent);
}

.timeline-item:hover .timeline-marker:not(.active-marker) {
    transform: scale(1.25);
    background: #64ffda;
    border-color: var(--bg-dark);
}

.experience-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px 35px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.4), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(100, 255, 218, 0.12);
    border-color: rgba(100, 255, 218, 0.3);
}

.experience-card:hover::before {
    opacity: 1;
    background: linear-gradient(45deg, var(--accent), #bd34fe, var(--accent));
    background-size: 200% 200%;
    animation: gradientMove 3s linear infinite;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.experience-role {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 6px 0;
}

.experience-company {
    font-size: 1.05rem;
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.experience-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.experience-date {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 600;
    border-radius: 20px;
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    border: 1px solid rgba(100, 255, 218, 0.35);
    letter-spacing: 0.5px;
}

.status-badge.completed-badge {
    background: rgba(136, 146, 176, 0.08);
    color: var(--text-muted);
    border: 1px solid rgba(136, 146, 176, 0.25);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

.experience-type {
    margin-bottom: 18px;
}

.type-tag {
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.experience-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.experience-highlights li {
    position: relative;
    padding-left: 24px;
    font-size: 0.96rem;
    color: #a8b2d1;
    line-height: 1.65;
}

.experience-highlights li::before {
    content: '▹';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-size: 1.15rem;
    line-height: 1.6;
}

.timeline-item.fade-in-on-scroll:nth-child(2) {
    transition-delay: 0.15s;
}

@media (max-width: 768px) {
    .experience-timeline {
        margin-left: 10px;
        padding-left: 25px;
    }
    .timeline-marker {
        left: -33px;
        top: 22px;
    }
    .experience-card {
        padding: 24px 20px;
    }
    .experience-header {
        flex-direction: column;
        gap: 10px;
    }
}

/* Contact Section */
/* Contact Section Redesign */
.contact-section {
    padding: 100px 0 140px 0 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    text-align: left !important;
}

.contact-subtitle {
    text-align: left !important;
    margin-bottom: 50px !important;
    max-width: 600px !important;
}

/* Two-column layout grid */
.contact-layout {
    display: grid !important;
    grid-template-columns: 1.15fr 1.35fr !important;
    gap: 70px !important;
    align-items: center !important;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }
}

/* Column 1: Info Panel Styling */
.contact-info-panel {
    display: flex !important;
    flex-direction: column !important;
    gap: 35px !important;
}

.contact-tagline h3 {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: var(--text-main) !important;
    margin: 15px 0 20px 0 !important;
    line-height: 1.25 !important;
}

.contact-tagline p {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: var(--text-muted) !important;
}

.contact-info-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.contact-info-cards .info-card {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    background: rgba(255, 255, 255, 0.015) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer !important;
}

.contact-info-cards .info-card:hover {
    transform: translateY(-4px) !important;
    border-color: var(--accent) !important;
    background: rgba(100, 255, 218, 0.02) !important;
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.05) !important;
}

.info-card-icon {
    font-size: 1.3rem !important;
    color: var(--accent) !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    background: rgba(100, 255, 218, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.4s ease !important;
}

.info-card:hover .info-card-icon {
    background: var(--accent) !important;
    color: var(--bg-dark) !important;
    box-shadow: 0 0 15px var(--accent-glow) !important;
}

.info-card-content h4 {
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--text-muted) !important;
    margin-bottom: 4px !important;
}

.info-card-content p,
.info-card-content a {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.info-card-content a:hover {
    color: var(--accent) !important;
}

.availability-status {
    color: var(--accent) !important;
    font-weight: 700 !important;
}

/* Contact Social Links Row */
.contact-social-row {
    display: flex !important;
    gap: 20px !important;
    margin-top: 10px !important;
}

.contact-social-row a {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-muted) !important;
    font-size: 1.1rem !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    background: rgba(255, 255, 255, 0.01) !important;
}

.contact-social-row a:hover {
    color: var(--accent) !important;
    border-color: var(--accent) !important;
    background: rgba(100, 255, 218, 0.05) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px var(--accent-glow) !important;
}

/* Column 2: Form Panel Styling */
.contact-form-panel {
    width: 100% !important;
}

.contact-form {
    background: rgba(255, 255, 255, 0.015) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 24px !important;
    padding: 45px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

@media (max-width: 576px) {
    .contact-form {
        padding: 30px 24px !important;
    }
}

/* Modern Form Elements Styling */
.contact-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    margin-bottom: 25px !important;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
}

.form-group {
    position: relative !important;
    margin-bottom: 20px !important;
}

.form-group.msg-group {
    margin-bottom: 30px !important;
}

.contact-form input,
.contact-form textarea {
    width: 100% !important;
    padding: 14px 16px !important;
    font-size: 0.98rem !important;
    color: var(--text-main) !important;
    background: rgba(255, 255, 255, 0.015) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    font-family: var(--font-main) !important;
    resize: none !important;
}

.contact-form textarea {
    min-height: 130px !important;
}

.contact-form label {
    position: absolute !important;
    top: 14px !important;
    left: 16px !important;
    color: var(--text-muted) !important;
    font-size: 0.95rem !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    pointer-events: none !important;
}

/* Active floating tag behavior */
.contact-form input:focus ~ label,
.contact-form input:not(:placeholder-shown) ~ label,
.contact-form textarea:focus ~ label,
.contact-form textarea:not(:placeholder-shown) ~ label {
    top: -10px !important;
    left: 12px !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    color: var(--accent) !important;
    background: var(--bg-dark) !important;
    padding: 0 8px !important;
    border-radius: 4px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent) !important;
    background: rgba(100, 255, 218, 0.01) !important;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.08) !important;
}

/* Override autofill styles in modern browsers to preserve dark transparent backgrounds and white text */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover, 
.contact-form input:-webkit-autofill:focus, 
.contact-form input:-webkit-autofill:active,
.contact-form textarea:-webkit-autofill,
.contact-form textarea:-webkit-autofill:hover, 
.contact-form textarea:-webkit-autofill:focus, 
.contact-form textarea:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--bg-dark) inset !important;
    box-shadow: 0 0 0px 1000px var(--bg-dark) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Custom indicator line is redundant with box-border inputs */
.focus-border {
    display: none !important;
}

.form-btn-wrapper {
    text-align: right !important;
    margin-top: 10px !important;
}

.btn-primary {
    /* Dynamic Accent Gradient Pill Button */
    border-radius: 50px;
    padding: 15px 40px;
    background: var(--accent-gradient);
    border: none;
    color: #0a192f;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 0 20px var(--accent-glow-strong);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px var(--accent-glow-strong);
}

.cta-group {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: nowrap;
}

@media (max-width: 768px) {
    .cta-group {
        flex-wrap: wrap;
    }
}

.btn-outline {
    padding: 12px 25px;
    /* Reduced for fit */
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-outline:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

.btn-download {
    padding: 14px 30px;
    background: transparent;
    border: 1px solid #8892b0;
    color: #8892b0;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-download:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--accent-glow);
}



footer {
    text-align: center;
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem 2rem;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 101;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--accent);
        margin: 5px 0;
        transition: var(--transition);
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        background: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 100;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        transform: translateX(0%);
        display: flex;
    }

    .nav-links li {
        margin: 20px 0;
        opacity: 0;
    }

    .nav-links.active li {
        animation: fadeInRight 0.5s ease forwards 0.3s;
    }

    @keyframes fadeInRight {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image-container {
        width: 280px;
        height: 280px;
        order: -1;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content .subtitle {
        font-size: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Redesign Overrides */
@media (min-width: 969px) {
    .about-content {
        display: grid !important;
        grid-template-columns: 0.8fr 1.2fr !important;
        gap: 60px !important;
        text-align: left !important;
        align-items: start !important;
    }
}

/* Staggered Hero Entrance Animations */
.hero-content h1,
.hero-content .subtitle,
.hero-content .hero-statement,
.hero-content .cta-group {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-content h1 {
    animation-delay: 0.2s;
}

.hero-content .subtitle {
    animation-delay: 0.4s;
}

.hero-content .hero-statement {
    animation-delay: 0.6s;
    text-align: left !important;
    text-justify: none !important;
}

.hero-content .cta-group {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Footer Text Highlight */
.hero-footer-text {
    display: block;
    margin-top: 25px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #f0f0f0;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1.0s;
    transition: all 0.3s ease;
    border-left: 3px solid var(--accent);
    /* Clean accent line */
    padding-left: 15px;
}

.hero-footer-text:hover {
    color: var(--accent);
    transform: translateX(5px);
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.4);
}

/* Hero Social Icons */
.social-hero-icons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1.2s;
    margin-bottom: 20px;
}

.social-icon-btn {
    width: 60px !important;
    height: 60px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.03);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.social-icon-btn i,
.contact-social-row a i {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
}

.social-icon-btn:hover {
    transform: translateY(-8px) scale(1.1);
    color: #fff;
    border-color: transparent;
}

.social-icon-btn.linkedin:hover {
    background: #0077b5;
    box-shadow: 0 10px 30px -10px rgba(0, 119, 181, 0.8);
}

.social-icon-btn.github:hover {
    background: #24292e;
    box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.3);
}

.social-icon-btn.email:hover {
    background: #ea4335;
    box-shadow: 0 10px 30px -10px rgba(234, 67, 53, 0.8);
}

.hero-footer-text:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, rgba(100, 255, 218, 0.2) 0%, transparent 100%);
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.4);
}

/* FORCE OVERRIDE: Card Based Layout for Skills */
.skill-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important;
    gap: 15px !important;
}

.skill-item {
    border-radius: 12px !important;
    padding: 12px 10px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    width: auto !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.skill-item:hover {
    transform: translateY(-5px) !important;
    background: var(--accent) !important;
    color: #0a192f !important;
}

/* Disable Category Tilt */
.skill-category:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(100, 255, 218, 0.3) !important;
}

/* Skill Modal Styles */
.skill-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 7, 10, 0.80);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.skill-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.skill-modal-content {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 45px 40px;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px var(--accent-glow) !important;
    position: relative;
}

.skill-modal-overlay.active .skill-modal-content {
    transform: translateY(0) scale(1);
}

.skill-modal-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(100, 255, 218, 0.5));
}

.skill-modal-title {
    font-size: 2rem;
    color: #edf2f4;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: var(--font-sans);
}

.skill-modal-desc {
    color: #8892b0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.skill-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #8892b0;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
}

.skill-modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

/* Hero Profile Image */
.hero-profile-img {
    width: 220px;
    height: 220px;
    margin: 0 auto 30px auto;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--accent);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.2);
    animation: floatProfile 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.hero-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-profile-img:hover img {
    transform: scale(1.1);
}

@keyframes floatProfile {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Remove Frame Style from Profile Image */
.hero-profile-img {
    border: none !important;
    box-shadow: none !important;
    animation: none !important;
    border-radius: 50% !important;
}

/* Footer Styling */
.footer {
    background: #020c1b;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(136, 146, 176, 0.1);
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 10px;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.footer-socials a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.copyright .highlight {
    color: var(--accent);
    font-weight: 600;
}

/* =========================================
   MOBILE RESPONSIVENESS ENHANCEMENTS
   ========================================= */

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--bg-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.6);
}

/* Enhanced Background - Subtle Stars */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 3px),
        radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 2px),
        radial-gradient(white, rgba(255, 255, 255, .1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    z-index: -1;
    opacity: 0.07;
    animation: starMove 200s linear infinite;
    pointer-events: none;
}

@keyframes starMove {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-2000px);
    }
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .container {
        padding: 0 25px;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding-top: 120px;
        align-items: center;
        text-align: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content {
        order: 2;
        text-align: center;
    }

    .hero-content h1 {
        text-align: center;
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.5rem;
        display: block;
        margin: 0 auto 20px auto;
    }

    .hero-statement {
        margin: 0 auto 30px auto;
        text-align: center !important;
    }

    .hero-footer-text {
        text-align: center;
        border-left: none;
        border-bottom: 3px solid var(--accent);
        padding-left: 0;
        padding-bottom: 10px;
        display: inline-block;
    }

    .cta-group {
        justify-content: center;
    }

    .social-hero-icons {
        justify-content: center;
    }

    .hero-image-container {
        order: 1;
        width: 250px;
        height: 250px;
        margin-bottom: 0;
    }

    /* Projects Grid Mobile */
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    /* Contact Form Mobile */
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-image-container {
        width: 200px;
        height: 200px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        margin-bottom: 10px;
    }

    .cta-group {
        flex-direction: column;
        gap: 15px;
    }

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

    .section-title::after {
        width: 100px;
    }

    /* Adjust Skill Badges for very small screens */
    .skill-badges {
        grid-template-columns: 1fr !important;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        /* Full width cards */
    }

    .nav-links {
        width: 85%;
        /* Wider menu on small phones */
    }
}

/* ==========================================================================
   INTERACTIVE UI/UX ENHANCEMENTS (Glassmorphism, Auras, Accent Switcher, etc.)
   ========================================================================== */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--accent);
    width: 0%;
    z-index: 10002;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--accent);
}

/* Ambient Gradient Glow & Aura Effects */
.aura-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.12;
    transition: background 0.8s ease;
}

.aura-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: auraFloat1 25s infinite alternate ease-in-out;
}

.aura-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #bd34fe 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation: auraFloat2 30s infinite alternate ease-in-out;
}

.aura-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: 40%;
    left: 60%;
    animation: auraFloat1 20s infinite alternate-reverse ease-in-out;
}

@keyframes auraFloat1 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(80px, 50px) scale(1.1) rotate(180deg);
    }
    100% {
        transform: translate(-40px, 90px) scale(0.9) rotate(360deg);
    }
}

@keyframes auraFloat2 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-100px, -80px) scale(1.15);
    }
    100% {
        transform: translate(50px, 40px) scale(0.95);
    }
}

/* Theme Accent Switcher UI */
.theme-switcher {
    position: relative;
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
    z-index: 102;
}

.theme-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--accent);
    color: var(--accent);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.theme-btn:hover {
    background: var(--accent-glow);
    box-shadow: 0 0 15px var(--accent);
    transform: rotate(45deg);
}

.theme-palette {
    position: absolute;
    top: 50px;
    right: 0;
    background: rgba(10, 15, 30, 0.95);
    border: 1px solid var(--accent);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.theme-palette.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s, border-color 0.2s;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.color-dot:hover {
    transform: scale(1.25);
    border-color: rgba(255, 255, 255, 0.8);
}

.color-dot.active {
    border-color: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--accent);
}

@media (max-width: 768px) {
    .theme-switcher {
        margin-left: 10px;
    }
    
    .theme-palette {
        right: -40px;
        top: 50px;
    }
}

/* Glassmorphic Project Cards override */
.portfolio-box {
    background: var(--bg-card) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: var(--card-border) !important;
    border-radius: 20px !important;
    padding: 20px !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease !important;
    display: flex !important;
    flex-direction: column;
    height: 100% !important;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.3) !important;
    overflow: hidden !important;
    position: relative !important;
}

.portfolio-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle 220px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.05), transparent 75%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.portfolio-box:hover::after {
    opacity: 1;
}

.portfolio-box:hover {
    border-color: var(--accent) !important;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.5), 0 0 25px var(--accent-glow) !important;
    background: var(--bg-card-hover) !important;
}

.portfolio-img-box {
    border-radius: 12px !important;
    overflow: hidden;
    height: 200px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.portfolio-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 2;
}

.portfolio-info h4 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.portfolio-box:hover .portfolio-info h4 {
    color: var(--accent);
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 !important;
}

/* Glassmorphism Skill Categories override */
.skill-category {
    background: var(--bg-card) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: var(--card-border) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.3) !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease !important;
    position: relative !important;
    overflow: hidden;
}

.skill-category:hover {
    background: var(--bg-card-hover) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.5), 0 0 25px var(--accent-glow) !important;
}

.skill-category::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle 220px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.05), transparent 75%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.skill-category:hover::after {
    opacity: 1;
}

.skill-category h3 {
    position: relative;
    z-index: 2;
}

.skill-list {
    position: relative;
    z-index: 2;
}

/* Smooth Magnetic Target Transition */
.magnetic-target {
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block;
}

/* Spotlight cursor scaling */
.custom-cursor {
    mix-blend-mode: difference;
    background-color: var(--accent);
    border: none !important;
    width: 12px !important;
    height: 12px !important;
    box-shadow: 0 0 20px var(--accent);
}

.custom-cursor.hovered {
    transform: translate(-50%, -50%) scale(3);
    background-color: var(--accent);
    opacity: 0.8;
}

/* ==========================================================================
   PHASE 2 PREMIUM UI/UX ENHANCEMENTS
   ========================================================================== */

/* Full-page Mouse Spotlight Glow */
.bg-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle 600px at var(--mouse-bg-x, 0px) var(--mouse-bg-y, 0px), var(--accent-glow), transparent 85%);
    transition: background 0.8s ease;
}

/* Category Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 2rem 0 3rem 0;
}

@media screen and (max-width: 991px) {
    .filter-buttons {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 10px 20px;
        margin: 1.5rem 0 2.5rem 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
        width: 100%;
    }
    .filter-buttons::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome, Safari, Opera */
    }
    .filter-btn {
        flex-shrink: 0;
    }
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: 30px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.filter-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent-gradient);
    color: #0a192f;
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 20px var(--accent-glow-strong);
}

/* Project Tech Tag Pills */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.project-tag {
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.portfolio-box:hover .project-tag {
    border-color: var(--accent);
    background: var(--accent-glow);
    box-shadow: 0 0 8px var(--accent-glow);
}

/* Typed Text Cursor Animation */
.typed-cursor {
    color: var(--accent);
    font-weight: 400;
    animation: blink 0.8s infinite;
    margin-left: 3px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Smooth filtering transition */
.portfolio-box {
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.portfolio-box.fade-out {
    opacity: 0;
    transform: scale(0.85) translateY(15px) !important;
}

.portfolio-box.hide {
    display: none !important;
}

/* ==========================================================================
   WELCOME PRELOADER SCREEN & ANIMATIONS
   ========================================================================== */

body.lock-scroll {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Fullscreen preloader */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #030305;
    z-index: 10005;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.9s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.9s ease;
    opacity: 1;
    overflow: hidden;
}

.welcome-screen.exit {
    transform: translateY(-100vh);
    opacity: 0;
}

/* Background floating glow aura blocks */
.welcome-bg-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    animation: floatGlow 15s infinite alternate ease-in-out;
}

.welcome-bg-glow.glow-1 {
    background: var(--accent);
    top: -50px;
    left: -50px;
}

.welcome-bg-glow.glow-2 {
    background: #bd34fe;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.2); }
}

/* Cyberpunk Glassmorphic Dashboard Console */
.welcome-console {
    background: rgba(255, 255, 255, 0.015) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 28px !important;
    padding: 45px 40px !important;
    width: 90% !important;
    max-width: 520px !important;
    text-align: center !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(100, 255, 218, 0.03) !important;
    position: relative;
    z-index: 10006;
    transform: scale(0.95);
    opacity: 0;
    animation: consoleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

@keyframes consoleReveal {
    to {
        transform: scale(1);
        opacity: 1;
    }
}



/* Concentric rotating scanner rings */
.welcome-avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 35px auto;
    border-radius: 50%;
    padding: 10px;
}

.scanner-ring {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
}

.scanner-outer {
    border: 1px dashed var(--accent);
    opacity: 0.5;
    animation: rotateCW 12s linear infinite;
}

.scanner-inner {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dotted var(--accent);
    opacity: 0.7;
    animation: rotateCCW 8s linear infinite;
}

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

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

.welcome-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    filter: grayscale(10%) brightness(0.95);
    transition: border-color 0.8s ease;
}

/* Pulsing horizontal scanline laser */
.welcome-scanline {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: 3px;
    background: var(--accent);
    opacity: 0.7;
    box-shadow: 0 0 12px var(--accent);
    z-index: 3;
    pointer-events: none;
    border-radius: 50%;
    animation: scanAnimation 3s infinite ease-in-out;
}

@keyframes scanAnimation {
    0%, 100% { top: 10px; opacity: 0; }
    10%, 90% { opacity: 0.7; }
    50% { top: calc(100% - 13px); }
}

.welcome-title {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: var(--text-main) !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.5px !important;
}

.welcome-subtitle {
    font-family: var(--font-mono) !important;
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    letter-spacing: 1px !important;
    margin-bottom: 30px !important;
    text-transform: uppercase !important;
}



/* Digital loader zone */
.welcome-interactive-zone {
    position: relative;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.welcome-counter {
    font-family: var(--font-mono) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--accent) !important;
    margin-bottom: 12px !important;
    text-shadow: 0 0 10px var(--accent-glow) !important;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.welcome-loader-container {
    width: 100% !important;
    max-width: 280px !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.welcome-loader-bar {
    width: 0%;
    height: 100%;
    background: var(--accent) !important;
    box-shadow: 0 0 10px var(--accent) !important;
    transition: width 0.1s ease;
}

/* Enter Button Transition State */
.welcome-enter-btn {
    position: absolute;
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    pointer-events: none;
    background: transparent !important;
    border: 1px solid var(--accent) !important;
    color: var(--accent) !important;
    border-radius: 50px !important;
    padding: 14px 42px !important;
    font-family: var(--font-mono) !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 0 20px var(--accent-glow) !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.welcome-enter-btn i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.welcome-enter-btn:hover {
    background: var(--accent) !important;
    color: #030305 !important;
    box-shadow: 0 0 35px var(--accent) !important;
    transform: scale(1.05) translateY(-2px) !important;
}

.welcome-enter-btn:hover i {
    transform: translateX(3px) scale(1.1);
}

/* Loaded State - Fade Loader, Show Button */
.welcome-interactive-zone.loaded .welcome-counter,
.welcome-interactive-zone.loaded .welcome-loader-container {
    opacity: 0 !important;
    transform: scale(0.95) translateY(-5px);
    pointer-events: none;
}

.welcome-interactive-zone.loaded .welcome-enter-btn {
    opacity: 1 !important;
    transform: scale(1) translateY(0);
    pointer-events: all;
    animation: buttonPulse 2.5s infinite;
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
    50% { box-shadow: 0 0 35px var(--accent), 0 0 10px var(--accent); }
}

@keyframes welcomeFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remove decorative/accidental background boxes or outlines in Hero section */
#hero *:not(.btn-outline):not(.social-icon-btn):not(.hero-footer-text):not(i):not(span),
#hero *::before,
#hero *::after {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Ensure profile image maintains its expected styles without green borders */
.hero-profile-image {
    border: none !important;
    outline: none !important;
}

/* ==========================================================================
   WELCOME SCREEN RESPONSIVENESS
   ========================================================================== */
@media screen and (max-width: 768px) {
    .welcome-console {
        width: 90% !important;
        padding: 2rem 1rem !important;
    }
    
    .welcome-avatar-wrapper {
        width: 120px !important;
        height: 120px !important;
        margin: 0 auto 20px auto !important;
    }
    
    .welcome-title {
        font-size: 2.2rem !important;
    }
    
    .welcome-subtitle {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        margin-bottom: 30px !important;
    }

    .welcome-enter-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

@media screen and (max-width: 480px) {
    .welcome-avatar-wrapper {
        width: 100px !important;
        height: 100px !important;
    }
    
    .welcome-title {
        font-size: 1.8rem !important;
    }
    
    .welcome-subtitle {
        font-size: 0.9rem !important;
    }
}