/* ================================
   PREMIUM PORTFOLIO CSS
   Professional Full-Stack Developer Design
   ================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.text-white {
    color: #ffffff !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-body);
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   NAVIGATION
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    background: var(--bg-glass);
    box-shadow: 0 4px 40px var(--shadow-color);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #1dbf73, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    font-size: 15px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #1dbf73, #00d9ff);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #1dbf73 !important;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #1dbf73, #00d9ff);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    color: var(--color-white);
    /* Use variable effectively */
    display: flex;
    /* Changed to flex for centering */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 15px;
    /* Spacing from links */
    width: 40px;
    height: 40px;
    /* Fixed size */
}

/* Ensure color changes on theme switch */
[data-theme="light"] .theme-toggle-btn {
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}


.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(15deg);
    border-color: var(--color-primary);
    /* Highlight on hover */
    color: var(--color-primary);
}

/* Icon visibility */
.theme-toggle-btn .icon-sun,
.theme-toggle-btn .icon-moon {
    width: 20px;
    height: 20px;
}

/* Default state (Dark Mode: Show Sun to switch to Light) */
[data-theme="dark"] .theme-toggle-btn .icon-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle-btn .icon-sun {
    display: block;
}

/* Light Mode: Show Moon to switch to Dark */
[data-theme="light"] .theme-toggle-btn .icon-sun {
    display: none;
}

[data-theme="light"] .theme-toggle-btn .icon-moon {
    display: block;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(29, 191, 115, 0.1);
    border: 1px solid rgba(29, 191, 115, 0.3);
    border-radius: 50px;
    color: #1dbf73;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #1dbf73, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-wrapper {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    margin-bottom: 20px;
    min-height: 50px;
}

.hero-subtitle-static {
    color: var(--text-secondary);
}

.hero-subtitle-dynamic {
    color: #1dbf73;
    border-right: 2px solid #1dbf73;
    padding-right: 5px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #1dbf73, #00d9ff);
    color: #ffffff !important;
    box-shadow: 0 8px 30px rgba(29, 191, 115, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(29, 191, 115, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #1dbf73;
    border: 2px solid #1dbf73;
}

.btn-secondary:hover {
    background: rgba(29, 191, 115, 0.1);
    transform: translateY(-3px);
}

.btn-glow {
    position: relative;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(29, 191, 115, 0.4), transparent);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    border-radius: 50%;
}

.btn-glow:hover::before {
    transform: translate(-50%, -50%) scale(2);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-small {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-outline {
    background: transparent;
    border: 2px solid #1dbf73;
    color: #1dbf73;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #1dbf73, #00d9ff);
    color: #ffffff !important;
    border-color: transparent;
}

.btn-block {
    width: 100%;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-surface-2);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 42px;
    background: linear-gradient(135deg, #1dbf73, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.hero-3d {
    position: relative;
}

.hero-3d-container {
    width: 100%;
    height: 600px;
    position: relative;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid #1dbf73;
    border-radius: 20px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: #1dbf73;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

.scroll-indicator p {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================================
   SECTIONS
   ================================ */
.about,
.skills,
.services,
.projects,
.contact {
    padding: 100px 0;
    position: relative;
}

.about {
    background: var(--bg-surface);
}

.skills {
    background: var(--bg-body);
}

.services {
    background: var(--bg-surface);
}

.projects {
    background: var(--bg-body);
}

.contact {
    background: var(--bg-surface);
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #1dbf73, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1dbf73, #00d9ff);
    margin: 20px auto 0;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(29, 191, 115, 0.5);
}

/* About Section */
.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.lead {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-weight: 500;
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
}

.timeline {
    margin-top: 60px;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #1dbf73, #00d9ff);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -46px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #1dbf73;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(29, 191, 115, 0.6);
}

.timeline-content h4 {
    color: #1dbf73;
    font-size: 14px;
    margin-bottom: 5px;
}

.timeline-content h3 {
    color: var(--text-primary);
    font-size: 22px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* Skills Section */
.skills-3d-container {
    height: 200px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skills-3d-placeholder {
    color: var(--text-secondary);
    font-size: 18px;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.skill-category h3 {
    color: var(--text-primary);
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    background: var(--bg-surface-2);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(29, 191, 115, 0.05);
    border-color: rgba(29, 191, 115, 0.3);
    transform: translateX(5px);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    /* Keep as is or make variable if needed */
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #1dbf73, #00d9ff);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease;
    box-shadow: 0 0 10px rgba(29, 191, 115, 0.5);
}

/* Services Section */
.services {
    background: var(--bg-surface);
    overflow: visible;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--bg-surface-2);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1dbf73, #00d9ff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    background: rgba(29, 191, 115, 0.05);
    border-color: rgba(29, 191, 115, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(29, 191, 115, 0.2);
}

.service-icon {
    font-size: 56px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(29, 191, 115, 0.4));
}

.service-card h3 {
    color: var(--text-primary);
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1dbf73;
    font-weight: bold;
}

.service-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.service-links .btn {
    flex: 1;
    text-align: center;
}

.expertise-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.expertise-badges .badge {
    padding: 4px 12px;
    background: rgba(29, 191, 115, 0.15);
    color: #1dbf73;
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
    border: 1px solid rgba(29, 191, 115, 0.3);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-card-3d {
    background: var(--bg-surface-2);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.project-card-3d:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(29, 191, 115, 0.3);
    border-color: rgba(29, 191, 115, 0.4);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card-3d:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent, rgba(10, 14, 39, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card-3d:hover .project-overlay {
    opacity: 1;
}

.btn-view {
    padding: 12px 30px;
    background: linear-gradient(135deg, #1dbf73, #00d9ff);
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    color: var(--text-primary);
    font-size: 24px;
    margin-bottom: 15px;
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tag {
    padding: 6px 16px;
    background: rgba(29, 191, 115, 0.1);
    color: #1dbf73;
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    border: 1px solid rgba(29, 191, 115, 0.3);
}

.project-links {
    display: flex;
    gap: 12px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(29, 191, 115, 0.1), transparent);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--text-primary);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tech-logos {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.tech-logos img {
    width: 50px;
    height: 50px;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.3s ease;
}

.tech-logos img:hover {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.2);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 36px;
    background: linear-gradient(135deg, #1dbf73, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-surface-2);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(29, 191, 115, 0.05);
    border-color: rgba(29, 191, 115, 0.3);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 32px;
}

.contact-item h4 {
    color: #1dbf73;
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
}

.social-links-contact {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(29, 191, 115, 0.1);
    border: 1px solid rgba(29, 191, 115, 0.3);
    border-radius: 50%;
    color: #1dbf73;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #1dbf73, #00d9ff);
    color: #ffffff !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(29, 191, 115, 0.4);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.contact-card {
    background: var(--bg-surface-2);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-card:hover {
    background: rgba(29, 191, 115, 0.05);
    border-color: rgba(29, 191, 115, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(29, 191, 115, 0.2);
}

.contact-card-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.contact-card h4 {
    color: #1dbf73;
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-secondary);
    margin: 5px 0;
    font-size: 14px;
}

.contact-card-action {
    color: #1dbf73;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-action {
    opacity: 1;
    transform: translateY(0);
}

.location-card {
    cursor: default;
}

.location-card:hover {
    transform: none;
}

/* Footer */
.footer {
    background: var(--bg-body);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h3 {
    background: linear-gradient(135deg, #1dbf73, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1dbf73;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-secondary);
    margin: 0;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-glass);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: 0 10px 40px var(--shadow-color);
        transform: translateX(-100%);
        transition: transform 0.4s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-3d-container {
        height: 400px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .skills-categories {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}