/*CSS Variables*/
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-cyan: #00d4ff;
    --accent-purple: #a855f7;
    --accent-teal: #57bfd4;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 212, 255, 0.3);
    --shadow-glow: rgba(0, 212, 255, 0.15);
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
}

/*Reset & Base*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    width: 100%;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/*Keyframes*/
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.2); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.4); }
}

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

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

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/*Scroll Reveal*/
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/*Section Headers*/
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 0 auto 16px;
    border-radius: 2px;
}

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

/*Navbar*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

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

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/*Hero Section*/
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1200px;
    width: 100%;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.greeting {
    font-size: 1.2rem;
    color: var(--accent-cyan);
    font-weight: 500;
    margin-bottom: 8px;
}

.hero-name {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #e2e8f0 0%, #ffffff 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-container {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-cyan);
    min-height: 2rem;
    margin-bottom: 20px;
}

.cursor {
    animation: typingCursor 1s infinite;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-accent);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: #000;
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-outline:hover {
    background: var(--accent-cyan);
    color: #000;
    transform: translateY(-3px);
}

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

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}

/*Hero Visual - Orbital Tech Icons*/
.hero-visual {
    position: relative;
    width: 420px;
    height: 420px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-center {
    position: relative;
    z-index: 2;
}

.center-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--gradient-accent);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.25), 0 0 80px rgba(168, 85, 247, 0.15);
    position: relative;
    z-index: 3;
}

.center-logo i {
    font-size: 2.2rem;
    color: #000;
    margin-bottom: 2px;
}

.center-logo span {
    font-size: 1.4rem;
    font-weight: 800;
    color: #000;
    letter-spacing: 1px;
}

.orbit-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 1;
}

.float-icon {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: orbit var(--duration, 12s) linear infinite;
    animation-delay: calc(var(--i, 0) * -1.5s);
    --angle: calc(var(--i, 0) * 45deg);
    --radius: 160px;
    --duration: 14s;
    transform: rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle)));
    z-index: 2;
}

.float-icon:nth-child(2) { --duration: 16s; }
.float-icon:nth-child(3) { --duration: 18s; --radius: 180px; }
.float-icon:nth-child(4) { --duration: 15s; --radius: 140px; }
.float-icon:nth-child(5) { --duration: 20s; --radius: 190px; }
.float-icon:nth-child(6) { --duration: 17s; --radius: 150px; }
.float-icon:nth-child(7) { --duration: 13s; --radius: 170px; }
.float-icon:nth-child(8) { --duration: 19s; --radius: 155px; }

.float-icon:hover {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
    transform: scale(1.15);
    box-shadow: 0 0 25px var(--shadow-glow);
    z-index: 10;
}

@keyframes orbit {
    from { transform: rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle))); }
    to { transform: rotate(calc(var(--angle) + 360deg)) translateX(var(--radius)) rotate(calc(-1 * (var(--angle) + 360deg))); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--text-muted);
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.scroll-indicator a:hover {
    color: var(--accent-cyan);
}

/*About Section*/
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex-shrink: 0;
}

.about-pic {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--accent-cyan);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/*Projects Section*/
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--shadow-glow);
    background: var(--bg-card-hover);
}

.project-card:hover::before {
    left: 100%;
}

.project-image {
    margin: -28px -28px 20px -28px;
    width: calc(100% + 56px);
    height: 180px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(168, 85, 247, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.project-image-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    z-index: 1;
}

.project-image-fallback i {
    font-size: 2.5rem;
    opacity: 0.4;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.project-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(168, 85, 247, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-cyan);
}

.project-links {
    display: flex;
    gap: 12px;
}

.project-links a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.project-links a:hover {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
}

.project-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.project-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tags span {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/*Skills Section*/
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.skill-category h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category h3 i {
    color: var(--accent-cyan);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-item:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-glow);
}

.skill-item i {
    font-size: 1.1rem;
}

/*Experience Timeline*/
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent-cyan);
    box-shadow: 0 0 10px var(--shadow-glow);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--border-hover);
    transform: translateX(5px);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.timeline-company {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/*Contact Section*/
.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.contact-card-content h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-card-content p {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-right {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--shadow-glow);
}

.send-button {
    padding: 14px 28px;
    background: var(--gradient-accent);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.send-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-glow);
}

/*Footer*/
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-social a:hover {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}

/*Back to Top*/
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--accent-cyan);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
}

/*Responsive Media Queries*/
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

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

    .hero-buttons,
    .social-links {
        justify-content: center;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .navbar {
        padding: 14px 20px;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        display: none;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .menu-toggle {
        display: flex;
    }

    .hero-name {
        font-size: 2.2rem;
    }

    .typing-container {
        font-size: 1.1rem;
    }

    .hero-visual {
        width: 300px;
        height: 300px;
    }

    .center-logo {
        width: 100px;
        height: 100px;
    }

    .center-logo i {
        font-size: 1.6rem;
    }

    .center-logo span {
        font-size: 1rem;
    }

    .float-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        --radius: 120px !important;
    }

    .orbit-glow {
        width: 130px;
        height: 130px;
    }

    .section {
        padding: 60px 16px;
    }

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

    .projects-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 12px;
        scrollbar-width: thin;
        scrollbar-color: var(--accent-cyan) var(--bg-secondary);
    }

    .projects-grid::-webkit-scrollbar {
        height: 6px;
    }

    .projects-grid::-webkit-scrollbar-track {
        background: var(--bg-secondary);
        border-radius: 4px;
    }

    .projects-grid::-webkit-scrollbar-thumb {
        background: var(--accent-cyan);
        border-radius: 4px;
    }

    .project-card {
        flex: 0 0 85vw;
        max-width: 340px;
        scroll-snap-align: start;
    }

    .skills-container {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 12px;
        scrollbar-width: thin;
        scrollbar-color: var(--accent-cyan) var(--bg-secondary);
    }

    .skills-container::-webkit-scrollbar {
        height: 6px;
    }

    .skills-container::-webkit-scrollbar-track {
        background: var(--bg-secondary);
        border-radius: 4px;
    }

    .skills-container::-webkit-scrollbar-thumb {
        background: var(--accent-cyan);
        border-radius: 4px;
    }

    .skill-category {
        flex: 0 0 85vw;
        max-width: 340px;
        scroll-snap-align: start;
    }

    .timeline {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 12px;
        max-width: 100%;
        scrollbar-width: thin;
        scrollbar-color: var(--accent-cyan) var(--bg-secondary);
    }

    .timeline::-webkit-scrollbar {
        height: 6px;
    }

    .timeline::-webkit-scrollbar-track {
        background: var(--bg-secondary);
        border-radius: 4px;
    }

    .timeline::-webkit-scrollbar-thumb {
        background: var(--accent-cyan);
        border-radius: 4px;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        flex: 0 0 85vw;
        max-width: 340px;
        scroll-snap-align: start;
        padding-left: 0;
        padding-bottom: 0;
    }

    .timeline-dot {
        display: none;
    }

    .timeline-content:hover {
        transform: translateY(-5px);
    }

    .about-pic {
        width: 200px;
        height: 200px;
    }

    .form-group-row {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero-name {
        font-size: 1.8rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .about-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .project-card {
        padding: 20px;
    }

    .skill-category {
        padding: 20px;
    }

    .hero-visual {
        width: 260px;
        height: 260px;
    }

    .center-logo {
        width: 80px;
        height: 80px;
    }

    .center-logo i {
        font-size: 1.3rem;
    }

    .center-logo span {
        font-size: 0.85rem;
    }

    .float-icon {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
        --radius: 100px !important;
    }

    .orbit-glow {
        width: 110px;
        height: 110px;
    }
}
