/* ===== MODERN MINIMAL PORTFOLIO - Clean & Smooth ===== */

:root {
    /* Refined color palette - elegant and minimal */
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.15);
    
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;
    
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    /* Smooth transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Theme */
html[data-theme="light"] {
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.06);
    
    --accent: #6366f1;
    --accent-light: #4f46e5;
    --accent-glow: rgba(99, 102, 241, 0.2);
    
    --text-primary: #18181b;
    --text-secondary: #52525b;
    --text-muted: #a1a1aa;
    
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hide decorative elements for cleaner look */
.bg-layer-1,
.bg-layer-2,
.bg-pattern,
.side-decorations,
.floating-shapes,
.section-connector {
    display: none !important;
}

/* Subtle background gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(99, 102, 241, 0.05), transparent);
    pointer-events: none;
    z-index: -1;
}

body::after {
    display: none;
}

/* Light theme background */
html[data-theme="light"] body::before {
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(99, 102, 241, 0.08), transparent);
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-left: 1.5rem;
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--accent);
    transform: scale(1.05);
}

.theme-toggle .fa-sun {
    display: none;
}

.theme-toggle .fa-moon {
    display: block;
}

html[data-theme="light"] .theme-toggle .fa-sun {
    display: block;
}

html[data-theme="light"] .theme-toggle .fa-moon {
    display: none;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition-smooth);
}

/* Light theme nav */
html[data-theme="light"] nav {
    background: rgba(255, 255, 255, 0.9);
}

.nav-right {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: var(--transition-fast);
    background: none;
    background-clip: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--text-primary);
}

.logo:hover {
    color: var(--accent-light);
    -webkit-text-fill-color: var(--accent-light);
    transform: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 450;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--text-primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    transition: var(--transition-fast);
    border-radius: 1px;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 5% 4rem;
    position: relative;
}

.hero::before,
.hero::after {
    display: none;
}

.hero-content {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
}

.hero-content::before,
.hero-content::after {
    display: none;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero-text h1::after {
    display: none;
}

.hero-text .highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: none;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.7;
}

.typed-text {
    color: var(--accent-light);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
}

/* ===== BUTTONS ===== */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 1.75rem;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    display: none;
}

.btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: none;
}

.btn:first-child:not(.secondary) {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn:first-child:not(.secondary):hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn.secondary {
    background: transparent;
    border-color: var(--border);
    color: var(--text-secondary);
}

.btn.secondary:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
    color: var(--text-primary);
    box-shadow: none;
}

/* ===== HERO VISUAL - Code Block ===== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: auto;
    padding: 0;
}

.code-animation {
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 100%;
    max-width: 380px;
    animation: none;
    margin: 0;
    backdrop-filter: none;
}

html[data-theme="light"] .code-animation {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.code-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px 16px 0 0;
    border-bottom: 1px solid var(--border);
}

html[data-theme="light"] .code-animation::before {
    background: rgba(0, 0, 0, 0.03);
}

.code-animation::after {
    content: '● ● ●';
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 8px;
    letter-spacing: 4px;
    color: var(--text-muted);
}

.code-line {
    margin-bottom: 0.25rem;
    opacity: 0;
    animation: fadeSlideIn 0.6s ease forwards;
    padding-top: 0.5rem;
}

.code-line:first-child {
    padding-top: 1.5rem;
}

.code-line:nth-child(1) { animation-delay: 0.3s; }
.code-line:nth-child(2) { animation-delay: 0.5s; }
.code-line:nth-child(3) { animation-delay: 0.7s; }
.code-line:nth-child(4) { animation-delay: 0.9s; }

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

.code-indent {
    padding-left: 1.5rem;
}

.code-keyword {
    color: #c678dd;
}

.code-variable {
    color: #e5c07b;
}

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

.code-operator {
    color: var(--text-secondary);
}

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

/* ===== TECH ICONS ===== */
.tech-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tech-icon {
    position: absolute;
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition-smooth);
    animation: gentleFloat 6s ease-in-out infinite;
    backdrop-filter: none;
}

.tech-icon:hover {
    transform: scale(1.1);
    border-color: var(--border-hover);
}

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

.tech-react { top: 0%; left: 0%; color: #61dafb; animation-delay: 0s; }
.tech-js { top: 5%; right: 0%; color: #f7df1e; animation-delay: 0.5s; }
.tech-python { bottom: 0%; left: 5%; color: #3776ab; animation-delay: 1s; }
.tech-node { bottom: 5%; right: 0%; color: #68a063; animation-delay: 1.5s; }
.tech-git { top: 40%; left: -5%; color: #f05032; animation-delay: 2s; }
.tech-html { top: 40%; right: -5%; color: #e34f26; animation-delay: 2.5s; }
.tech-css { bottom: 40%; left: 0%; color: #1572b6; animation-delay: 0.75s; }
.tech-github { bottom: 40%; right: 5%; color: var(--text-primary); animation-delay: 1.25s; }

/* ===== SECTIONS ===== */
section {
    padding: 6rem 5%;
    max-width: 1500px;
    margin: 0 auto;
}

section:not(.hero) {
    background: transparent;
    border-radius: 0;
    margin-top: 0;
    margin-bottom: 0;
    backdrop-filter: none;
    border: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .subtitle {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    background: none;
    -webkit-text-fill-color: var(--accent);
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
    font-size: 1rem;
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition-smooth);
}

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

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 11, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transition: var(--transition-fast);
}

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

.project-link,
.project-github {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--accent);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.project-link:hover,
.project-github:hover {
    background: var(--accent-light);
    transform: scale(1.08);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: var(--transition-fast);
}

.tag:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: var(--bg-secondary);
    transform: none;
}

/* ===== SKILLS ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-category {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    text-align: left;
}

.skill-category::before {
    display: none;
}

.skill-category:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: none;
}

.skill-category h3 {
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: none;
    -webkit-text-fill-color: var(--text-primary);
}

.skill-category h3 i {
    color: var(--accent);
    font-size: 1.1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
}

.skill-tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 450;
    border: 1px solid var(--border);
    transition: var(--transition-fast);
}

.skill-tag:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

/* ===== CONTACT / FEEDBACK ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 4rem;
    align-items: start;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition-fast);
}

.contact-item::before {
    display: none;
}

.contact-item:hover {
    border-color: var(--border-hover);
    transform: none;
    box-shadow: none;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    backdrop-filter: none;
}

.contact-form::before {
    display: none;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--bg-secondary);
}

.form-group label {
    position: absolute;
    left: 1.25rem;
    top: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    pointer-events: none;
    background: var(--bg-secondary);
    padding: 0 0.4rem;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.submit-btn::before {
    display: none;
}

.submit-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    transition: var(--transition-fast);
}

.submit-btn:hover i {
    transform: translateX(3px);
}

/* ===== NOTIFICATION ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform: translateX(120%);
    opacity: 0;
    transition: var(--transition-smooth);
    max-width: 380px;
    backdrop-filter: none;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.notification-success { border-left: 3px solid #22c55e; }
.notification-error { border-left: 3px solid #ef4444; }
.notification-info { border-left: 3px solid var(--accent); }

.notification-success i { color: #22c55e; }
.notification-error i { color: #ef4444; }
.notification-info i { color: var(--accent); }

/* ===== FOOTER ===== */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 4rem 5% 2rem;
    margin-top: 4rem;
}

footer::before {
    display: none;
}

.footer-content {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 0;
}

.footer-section h3 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    background: none;
    -webkit-text-fill-color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--accent-light);
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-links a::before {
    display: none;
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: none;
}

.social-links a i {
    position: relative;
    z-index: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: fixed;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: var(--transition-fast);
    cursor: pointer;
}

.scroll-dot.active {
    background: var(--accent);
    transform: scale(1.4);
}

.scroll-dot:hover {
    background: var(--accent-light);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    nav, .hero, section, footer {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }

    nav ul {
        gap: 1.5rem;
        font-size: 0.85rem;
    }
    
    .hero {
        padding-top: 7rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-visual {
        order: -1;
        padding: 0 1rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .tech-icons {
        display: none;
    }

    .code-animation {
        max-width: 320px;
        margin: 0 auto;
        font-size: 0.85rem;
        padding: 1.5rem;
    }

    .skill-category {
        text-align: center;
    }

    .skill-tags {
        justify-content: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem 4% !important;
    }
    
    nav ul {
        display: none !important;
    }
    
    .nav-right {
        display: flex;
        align-items: center;
    }
    
    .theme-toggle {
        margin-left: 0;
    }

    .hero {
        padding: 7rem 4% 3rem !important;
        min-height: auto;
    }
    
    .hero-content {
        gap: 2rem !important;
        padding: 0 !important;
    }
    
    .hero-text h1 {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }
    
    .hero-text p {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem;
    }
    
    .code-animation {
        max-width: 100% !important;
        padding: 1.25rem !important;
        font-size: 0.7rem !important;
        line-height: 1.5;
    }
    
    .code-line:first-child {
        padding-top: 1.25rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.85rem !important;
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    section {
        padding: 3rem 4% !important;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem !important;
    }

    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }

    .skills-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 2rem;
    }

    .social-links {
        justify-content: center;
    }
    
    footer {
        padding: 3rem 4% 1.5rem !important;
    }
}
