/* ====================================
   CSS Variables & Root Styles
   ==================================== */
:root {
    --color-bg-dark: #000000;
    --color-bg-deeper: #050505;
    --color-bg-card: #0a0a0a;
    --color-primary: #00D9FF;
    --color-secondary: #B026FF;
    --color-accent: #FF6B9D;
    --color-cyan: #00E5FF;
    --color-purple: #B026FF;
    --color-text: #FFFFFF;
    --color-text-muted: #888888;
    --color-border: #151515;
    --gradient-primary: linear-gradient(135deg, #00D9FF 0%, #B026FF 100%);
    --gradient-secondary: linear-gradient(135deg, #B026FF 0%, #FF6B9D 100%);
    --gradient-tertiary: linear-gradient(135deg, #00D9FF 0%, #00FFB3 100%);
    --gradient-radial: radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.15) 0%, rgba(176, 38, 255, 0.05) 100%);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'Fira Code', monospace;
    --glow-cyan: 0 0 30px rgba(0, 217, 255, 0.6), 0 0 60px rgba(0, 217, 255, 0.3);
    --glow-purple: 0 0 30px rgba(176, 38, 255, 0.6), 0 0 60px rgba(176, 38, 255, 0.3);
    --glow-pink: 0 0 30px rgba(255, 107, 157, 0.6), 0 0 60px rgba(255, 107, 157, 0.3);
    --glow-strong: 0 0 40px rgba(0, 217, 255, 0.8), 0 0 80px rgba(176, 38, 255, 0.4), 0 0 120px rgba(255, 107, 157, 0.2);
    --z-background: -1;
    --z-content: 1;
    --z-nav: 100;
    --z-cursor: 9999;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    background: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    cursor: default;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-dark); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
    box-shadow: 0 0 15px var(--color-accent);
}

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

/* ====================================
   Animated Gradient Background
   ==================================== */
.animated-gradient-bg {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: var(--z-background);
    background: #000000;
}

.animated-gradient-bg::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(176, 38, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 157, 0.08) 0%, transparent 40%);
    animation: pulseGlow 15s ease-in-out infinite;
}

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

/* Glitch */
.glitch-text { position: relative; display: inline-block; }
.glitch-text::before, .glitch-text::after {
    content: attr(data-text);
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; opacity: 0.8;
}
.glitch-text::before {
    animation: glitch-anim 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: var(--color-primary); z-index: -1;
}
.glitch-text::after {
    animation: glitch-anim-2 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
    color: var(--color-accent); z-index: -2;
}
@keyframes glitch-anim {
    0% { transform: translate(0); } 20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); } 60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); } 100% { transform: translate(0); }
}
@keyframes glitch-anim-2 {
    0% { transform: translate(0); } 25% { transform: translate(3px, -3px); }
    50% { transform: translate(-3px, 3px); } 75% { transform: translate(3px, 3px); }
    100% { transform: translate(0); }
}

.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.03; pointer-events: none; z-index: 10000; mix-blend-mode: overlay;
}

/* ====================================
   Orbital Navigation
   ==================================== */
.orbital-nav {
    position: fixed; top: 50%; right: 3rem;
    transform: translateY(-50%);
    z-index: var(--z-nav);
    display: flex; flex-direction: column; gap: 1.5rem;
}

.nav-orb {
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(15px) saturate(180%);
    border: 2px solid rgba(0, 217, 255, 0.5);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--color-primary);
    cursor: pointer; text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 217, 255, 0.2), inset 0 0 20px rgba(0, 217, 255, 0.1);
    animation: orbit-float 3s ease-in-out infinite;
    position: relative; overflow: hidden;
}
.nav-orb::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    background: var(--gradient-primary); opacity: 0; transition: opacity 0.4s ease;
}
.nav-orb:hover::before { opacity: 0.2; }
.nav-orb:nth-child(odd) { animation-delay: -1.5s; }
.nav-orb:hover { transform: scale(1.25); box-shadow: var(--glow-strong); border-color: var(--color-primary); }

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

/* ====================================
   Hero Section
   ==================================== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: var(--spacing-md); overflow: hidden;
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; }
.gradient-text {
    color: #00d9ff;
    text-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
    background: none; -webkit-background-clip: initial; background-clip: initial;
    -webkit-text-fill-color: initial; animation: none;
}
.hero-buttons { display: flex; gap: var(--spacing-md); justify-content: center; flex-wrap: wrap; opacity: 0; animation: fadeInUp 0.8s ease 0.8s forwards; }

/* ====================================
   Buttons
   ==================================== */
.btn {
    padding: 1rem 2.5rem; border-radius: 50px;
    font-family: var(--font-heading); font-size: 1rem; font-weight: 600;
    text-decoration: none; position: relative; overflow: hidden;
    transition: all 0.3s ease; cursor: pointer;
}
.btn-primary { background: var(--gradient-primary); color: #FFFFFF; box-shadow: var(--glow-cyan); }
.btn-primary:hover { box-shadow: var(--glow-strong); transform: translateY(-3px); }
.btn-secondary { background: transparent; color: var(--color-cyan); border: 2px solid var(--color-cyan); }
.btn-secondary:hover { background: var(--color-cyan); color: #FFFFFF; box-shadow: var(--glow-cyan); transform: translateY(-3px); }
.magnetic { transition: transform 0.2s ease; }

/* ====================================
   Section Styles
   ==================================== */
.section { padding: var(--spacing-xl) var(--spacing-md); position: relative; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem); text-align: center; margin-bottom: var(--spacing-lg); }
.section-title span.gradient-text { position: relative; display: inline-block; }
.section-title span.gradient-text::after {
    content: ''; position: absolute; bottom: -10px; left: 20%; right: 20%;
    height: 3px; background: var(--gradient-primary);
    box-shadow: 0 0 15px var(--color-primary); border-radius: 5px;
}

/* ====================================
   About / Holographic
   ==================================== */
.about-image { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 1; }
.about-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.holographic-card {
    position: relative; background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 217, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 217, 255, 0.05);
}
.holographic-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0,217,255,0.4) 90deg, rgba(176,38,255,0.4) 180deg, rgba(255,107,157,0.4) 270deg, transparent 360deg);
    opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
    animation: holographicRotate 10s linear infinite; filter: blur(20px);
}
.holographic-card:hover .holographic-overlay { opacity: 1; }
@keyframes holographicRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ====================================
   Glass Card
   ==================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px; padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; flex-direction: column; gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
}

/* ====================================
   Vertical Timeline
   ==================================== */
.timeline-section { position: relative; overflow: hidden; }
.timeline-container { position: relative; max-width: 1000px; margin: 4rem auto; padding: 2rem 0; }
.timeline-line {
    position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, transparent, var(--color-primary), var(--color-secondary), transparent);
    transform: translateX(-50%); z-index: 1; box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}
.timeline-item { position: relative; width: 50%; padding: 2rem; margin-bottom: 2rem; z-index: 2; }
.timeline-item.left { left: 0; padding-right: 4rem; }
.timeline-item.right { left: 50%; padding-left: 4rem; }
.timeline-dot {
    position: absolute; top: 2.5rem; width: 20px; height: 20px;
    background: var(--color-primary); border-radius: 50%; z-index: 3;
    box-shadow: 0 0 15px var(--color-primary); border: 3px solid var(--color-bg-dark);
}
.timeline-item.left .timeline-dot { right: -10px; }
.timeline-item.right .timeline-dot { left: -10px; }
.timeline-img-wrapper { width: 100%; height: 200px; border-radius: 12px; overflow: hidden; margin-bottom: 0.5rem; }
.timeline-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.timeline-img-wrapper img.contain-img { object-fit: contain; background: rgba(0,0,0,0.2); padding: 10px; }
.glass-card:hover .timeline-img-wrapper img { transform: scale(1.1); }
.timeline-text h3 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--color-primary); margin-bottom: 0.5rem; }
.timeline-text h4 { font-size: 1rem; color: var(--color-text); margin-bottom: 0.2rem; }
.timeline-text h5 { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 0.8rem; }
.timeline-text p { font-size: 0.95rem; line-height: 1.5; color: var(--color-text-muted); }

/* ====================================
   PROJECTS SECTION — SINGLE DEFINITION
   ==================================== */
.projects-section {
    padding: 6rem 2rem;
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Remove padding from glass-card override */
    padding: 0 !important;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(167, 139, 250, 0.5);
}

/* Browser chrome bar */
.project-preview {
    position: relative;
    background: #0d0d0d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.project-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
}

.project-browser-bar span {
    width: 10px; height: 10px;
    border-radius: 50%; flex-shrink: 0;
}
.project-browser-bar span:nth-child(1) { background: #ff5f57; }
.project-browser-bar span:nth-child(2) { background: #febc2e; }
.project-browser-bar span:nth-child(3) { background: #28c840; }

.project-browser-bar p {
    margin: 0 0 0 8px;
    font-family: 'Fira Code', monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* iframe live preview */
.project-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-iframe-wrapper iframe {
    width: 200%; height: 200%;
    transform: scale(0.5);
    transform-origin: top left;
    border: none; pointer-events: none; display: block;
}

/* Info block */
.project-info {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex; flex-direction: column;
    gap: 0.75rem; flex: 1;
}

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

.tag {
    font-family: 'Fira Code', monospace;
    font-size: 0.65rem;
    padding: 3px 10px; border-radius: 20px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: #c4b5fd; letter-spacing: 0.05em;
}

.project-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem; font-weight: 700;
    color: #fff; margin: 0; letter-spacing: 0.03em;
}

.project-desc {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6; margin: 0; flex: 1;
}

.project-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem; font-weight: 600;
    color: #a78bfa; text-decoration: none;
    letter-spacing: 0.05em;
    padding: 8px 18px;
    border: 1px solid rgba(167, 139, 250, 0.35);
    border-radius: 30px; width: fit-content;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin-top: auto;
}
.project-link:hover { background: rgba(139, 92, 246, 0.25); border-color: #a78bfa; color: #fff; }
.project-link span { font-size: 1rem; transition: transform 0.2s ease; }
.project-link:hover span { transform: translate(2px, -2px); }

/* ====================================
   Capabilities Grid
   ==================================== */
.capabilities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--spacing-md); }
.capability-card {
    background: rgba(20, 20, 20, 0.6); backdrop-filter: blur(20px) saturate(180%);
    padding: var(--spacing-md); border-radius: 20px;
    border: 1px solid rgba(0, 217, 255, 0.2); text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer; position: relative; overflow: hidden;
}
.capability-card:hover { transform: translateY(-15px) scale(1.02); border-color: var(--color-primary); }
.capability-icon { font-size: 3rem; margin-bottom: var(--spacing-sm); }
.capability-card h3 { font-family: var(--font-heading); background: #00E5FF; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: var(--spacing-sm); font-size: 1.3rem; }
.capability-card p { color: var(--color-text-muted); }

/* ====================================
   Why Hire Me
   ==================================== */
.why-hire-me-section {
    position: relative; padding: 8rem 0;
    background: radial-gradient(circle at center, #0a0a1a 0%, #000 100%);
    overflow: hidden;
}
.space-bg {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 150px 150px, #fff, rgba(0,0,0,0));
    background-size: 200px 200px;
    animation: starsRotate 100s linear infinite; opacity: 0.3;
}
@keyframes starsRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.mindset-pills-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; max-width: 1200px; margin: 4rem auto; }
.mindset-pill {
    padding: 1rem 2rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50px; color: #fff;
    font-family: var(--font-heading); font-size: 0.9rem;
    cursor: default; transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.1);
    animation: floatPill 6s ease-in-out infinite;
}
@keyframes floatPill { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-15px) rotate(2deg); } }
.mindset-pill:nth-child(even) { animation-delay: -3s; }
.mindset-pill:hover { background: rgba(0, 217, 255, 0.15); border-color: var(--color-primary); box-shadow: 0 0 30px rgba(0, 217, 255, 0.4); transform: scale(1.1) translateY(-10px); }

/* ====================================
   Certifications
   ==================================== */
.certifications-section { margin-top: var(--spacing-xl); }
.cert-container { display: flex; justify-content: center; }
.cert-card { max-width: 600px; padding: var(--spacing-md); border-radius: 20px; text-align: center; }
.cert-image-container { margin-bottom: var(--spacing-md); overflow: hidden; border-radius: 10px; border: 1px solid rgba(0, 217, 255, 0.1); }
.cert-image-container img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.cert-card:hover .cert-image-container img { transform: scale(1.02); }
.cert-details h3 { margin-bottom: 0.8rem; }
.cert-details p { color: var(--color-text-muted); margin-bottom: var(--spacing-lg); font-size: 1.1rem; line-height: 1.6; }

/* ====================================
   Contact Section
   ==================================== */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
    align-items: stretch;
}
.contact-item {
    text-align: center; padding: var(--spacing-md);
    background: rgba(20, 20, 20, 0.6); backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px; border: 1px solid rgba(255, 107, 157, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-item:hover { transform: translateY(-15px) scale(1.02); border-color: var(--color-accent); box-shadow: var(--glow-pink); }
.contact-icon { font-size: 3rem; margin-bottom: var(--spacing-sm); }
.contact-item h3 { font-family: var(--font-heading); background: var(--gradient-secondary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: var(--spacing-sm); }
.contact-item a { color: var(--color-primary); text-decoration: none; transition: all 0.3s ease; display: inline-block; font-size: 0.9rem; word-break: break-all; }
.contact-item a:hover { color: var(--color-accent); text-shadow: 0 0 20px rgba(255, 107, 157, 0.6); transform: translateY(-2px); }
.matrix-text { font-family: var(--font-mono); font-size: 0.85rem; }

/* ====================================
   Footer
   ==================================== */
.footer { text-align: center; padding: var(--spacing-md); color: var(--color-text-muted); border-top: 1px solid rgba(0, 217, 255, 0.2); }

/* ====================================
   Animations
   ==================================== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.8; } }

/* ====================================
   AOS Placeholders
   ==================================== */
[data-aos] { opacity: 1; transform: none; }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-up"].aos-animate { transform: translateY(0); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

/* ====================================
   Responsive
   ==================================== */
@media (max-width: 1100px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .orbital-nav { right: 1rem; }
}

@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor-ring, .cursor-dot { display: none; }

    .orbital-nav {
        display: flex; flex-direction: row;
        top: auto; bottom: 0; left: 0; right: 0;
        width: 100%; background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px); padding: 10px;
        justify-content: space-around; transform: none;
        border-top: 1px solid rgba(0, 217, 255, 0.2);
        z-index: 1000; gap: 0;
    }
    .nav-orb { width: 44px; height: 44px; font-size: 1.2rem; background: transparent; border: none; box-shadow: none; animation: none; }
    .nav-orb:hover { transform: scale(1.1); box-shadow: none; }
    .nav-orb::before { display: none; }

    .timeline-line { left: 30px; }
    .timeline-item { width: 100%; left: 0 !important; padding-left: 70px !important; padding-right: 2rem !important; }
    .timeline-dot { left: 20px !important; }

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

    .section { padding: var(--spacing-lg) var(--spacing-sm); }
    .contact-content { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; }
}

@media (max-width: 480px) {
    .projects-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .project-card:hover { transform: none; }
    .hero-name { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    .btn { padding: 1rem 1.5rem; min-height: 50px; }
    .btn:hover, .project-card:hover { transform: none; }
}

img { max-width: 100%; height: auto; }