@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #00f0ff;
    --secondary: #ff00ff;
    --accent: #ffff00;
    --bg-dark: #0a0a0f;
    --bg-darker: #05050a;
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --glow-primary: 0 0 20px var(--primary), 0 0 40px var(--primary);
    --glow-secondary: 0 0 20px var(--secondary), 0 0 40px var(--secondary);
}

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

html {
    scroll-behavior: smooth;
}

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

.avatar-img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit:fill;
    object-position: center;
}


.avatar-container {
    position: relative;
    width: 100%;
    height: 100%;
}


.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    box-shadow: var(--glow-primary);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 9999;
    box-shadow: 0 0 20px var(--primary);
}

.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: glitch 2s infinite;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    animation: loadProgress 1.5s ease-in-out forwards;
    box-shadow: var(--glow-primary);
}

@keyframes loadProgress {
    to { width: 100%; }
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.cyber-grid {
    position: fixed;
    inset: 0;
    background: 
        linear-gradient(90deg, transparent 99%, rgba(0, 240, 255, 0.1) 100%),
        linear-gradient(0deg, transparent 99%, rgba(0, 240, 255, 0.1) 100%);
    background-size: 50px 50px;
    z-index: -2;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateZ(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateZ(50px); }
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s;
}

header.scrolled {
    padding: 1rem 5%;
    box-shadow: 0 5px 30px rgba(0, 240, 255, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.3s;
}

.nav-link::before {
    content: '>';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s;
    color: var(--primary);
}

.nav-link:hover {
    color: var(--primary);
    text-shadow: var(--glow-primary);
}

.nav-link:hover::before {
    left: -20px;
    opacity: 1;
}

.theme-switcher {
    display: flex;
    gap: 0.5rem;
}

.theme-btn {
    width: 30px;
    height: 30px;
    border: 2px solid;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.theme-cyan { border-color: #00f0ff; background: #00f0ff; }
.theme-purple { border-color: #ff00ff; background: #ff00ff; }
.theme-green { border-color: #00ff00; background: #00ff00; }

.theme-btn:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px currentColor;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 5%;
}

.hero-content {
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitchText 5s infinite;
}

@keyframes glitchText {
    0%, 100% { text-shadow: 2px 2px 0 var(--primary), -2px -2px 0 var(--secondary); }
    25% { text-shadow: -2px 2px 0 var(--secondary), 2px -2px 0 var(--accent); }
    50% { text-shadow: 2px -2px 0 var(--accent), -2px 2px 0 var(--primary); }
    75% { text-shadow: -2px -2px 0 var(--primary), 2px 2px 0 var(--secondary); }
}

.hero-text .tagline {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: var(--glow-primary);
}

.typing-text {
    font-size: 1.3rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    min-height: 60px;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.3rem;
    background: var(--primary);
    margin-left: 5px;
    animation: blink 0.7s infinite;
}

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

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cyber-btn {
    padding: 1rem 2.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

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

.cyber-btn:hover {
    color: var(--bg-dark);
    box-shadow: var(--glow-primary);
}

.cyber-btn:hover::before {
    left: 0;
}

.cyber-btn.secondary {
    border-color: var(--secondary);
    color: var(--secondary);
}

.cyber-btn.secondary::before {
    background: var(--secondary);
}

.cyber-btn.secondary:hover {
    box-shadow: var(--glow-secondary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.3s;
    position: relative;
    text-decoration: none;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0;
    transition: all 0.3s;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.social-icon:hover {
    transform: scale(1.2) rotate(45deg);
    box-shadow: var(--glow-primary);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon i {
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.social-icon:hover i {
    color: var(--bg-dark);
    transform: rotate(-45deg);
}

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

.hologram-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.hologram-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
    opacity: 0.5;
    /* display: flex;
    justify-content: center;
    align-items: center;     */
}


.hologram-ring:nth-child(2) {
    animation-delay: -2s;
    border-color: var(--secondary);
}

.hologram-ring:nth-child(3) {
    animation-delay: -4s;
    border-color: var(--accent);
}

@keyframes rotate {
    0% { transform: rotate(0deg) scale(1); opacity: 0.5; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 1; }
    100% { transform: rotate(360deg) scale(1); opacity: 0.5; }
}

.avatar-container {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1), transparent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}


.stats {
    padding: 5rem 5%;
    background: rgba(0, 240, 255, 0.02);
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    position: relative;
    transition: all 0.3s;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0;
    transition: all 0.3s;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.3);
}

.stat-card:hover::before {
    opacity: 0.1;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: var(--glow-primary);
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::before {
    content: '< ';
    color: var(--primary);
}

.section-title::after {
    content: ' />';
    color: var(--primary);
}

.timeline {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.timeline-container {
    position: relative;
    margin-top: 4rem;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    position: relative;
    transition: all 0.3s;
}

.timeline-item:nth-child(even) .timeline-content {
    clip-path: polygon(0% 0%, 95% 0%, 100% 100%, 5% 100%);
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.3);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 3px solid var(--bg-dark);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: var(--glow-primary);
    z-index: 2;
}

.timeline-year {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-company {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.skills {
    padding: 5rem 5%;
    background: rgba(255, 0, 255, 0.02);
}

.skills-container {
    max-width: 1400px;
    margin: 0 auto;
}

.skills-categories {
    display: grid;
    gap: 3rem;
}

.skill-category {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 2rem;
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    font-size: 1.5rem;
    color: var(--bg-dark);
}

.category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

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

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

.skill-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
    border-color: var(--primary);
}

.skill-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.skill-level {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.projects {
    padding: 5rem 5%;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.project-card {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 50px rgba(0, 240, 255, 0.4);
}

.project-card:hover::before {
    opacity: 0.1;
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(255, 0, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.project-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.project-category {
    font-size: 0.9rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.project-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--text-dim);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.project-link:hover {
    gap: 1rem;
    text-shadow: var(--glow-primary);
}

.contact {
    padding: 5rem 5%;
    background: rgba(0, 240, 255, 0.02);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.3);
}

.contact-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    font-size: 1.5rem;
    color: var(--bg-dark);
}

.contact-form {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 2rem;
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

footer {
    padding: 3rem 5%;
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 240, 255, 0.3);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.copyright {
    color: var(--text-dim);
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 240, 255, 0.2);
}

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: var(--glow-primary);
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    transform: translateY(-5px) rotate(45deg);
}

.scroll-top i {
    color: var(--bg-dark);
    font-size: 1.5rem;
    transform: rotate(-45deg);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hologram-container {
        width: 300px;
        height: 300px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .timeline-dot {
        left: 20px;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

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

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        transition: all 0.3s;
        border-top: 1px solid rgba(0, 240, 255, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

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

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

    .projects-grid {
        grid-template-columns: 1fr;
    }

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

    .social-links {
        justify-content: center;
    }
}

/* ===== CHATBOT WIDGET ===== */
.chatbot-toggle {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5), 0 0 50px rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 1.6rem;
    color: var(--bg-dark);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.7), 0 0 70px rgba(0, 240, 255, 0.3);
}

.chatbot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: var(--bg-dark);
    font-size: 0.55rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    padding: 2px 5px;
    border-radius: 8px;
    letter-spacing: 1px;
}

.chatbot-window {
    position: fixed;
    bottom: 9.5rem;
    right: 2rem;
    width: 370px;
    max-height: 520px;
    background: rgba(10, 10, 15, 0.97);
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    z-index: 1002;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.2), 0 20px 60px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chatbot-window.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chatbot-header {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 16px 16px 0 0;
}

.chatbot-header-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--bg-dark);
    flex-shrink: 0;
}

.chatbot-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.chatbot-subtitle {
    font-size: 0.75rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 2px;
}

.chatbot-online-dot {
    width: 7px;
    height: 7px;
    background: #00ff88;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px #00ff88;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 240, 255, 0.3) transparent;
}

.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: rgba(0, 240, 255, 0.3); border-radius: 2px; }

.chat-msg {
    display: flex;
    animation: msgSlide 0.3s ease;
}

@keyframes msgSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }

.chat-bubble {
    max-width: 85%;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
}

.chat-msg.bot .chat-bubble {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--text);
    border-radius: 4px 12px 12px 12px;
}

.chat-msg.user .chat-bubble {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
    font-weight: 600;
    border-radius: 12px 4px 12px 12px;
}

.chat-typing {
    display: flex;
    gap: 4px;
    padding: 0.7rem 1rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 4px 12px 12px 12px;
    width: fit-content;
}

.chat-typing span {
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: typing-bounce 1.2s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.6rem;
    padding: 0.5rem 1rem;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.03);
}

.chatbot-suggestions {
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.chat-suggestion {
    padding: 0.3rem 0.7rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.chat-suggestion:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.chatbot-input-row {
    display: flex;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    border-top: 1px solid rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.03);
    border-radius: 0 0 16px 16px;
}

#chatbotInput {
    flex: 1;
    padding: 0.6rem 0.9rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

#chatbotInput:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

#chatbotInput::placeholder { color: rgba(255,255,255,0.3); }

#chatbotSend {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 8px;
    color: var(--bg-dark);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

#chatbotSend:hover { transform: scale(1.1); }

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 2rem);
        right: 1rem;
        bottom: 8rem;
    }
    .chatbot-toggle { right: 1rem; }
}

/* ── Chatbot Production Polish ── */
.chat-time {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.25);
    margin-top: 3px;
    padding: 0 2px;
}
.chat-msg.user .chat-time { text-align: right; }
.chat-msg.bot  .chat-time { text-align: left; }

#chatbotSend:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
