/* ===== ROOT VARIABLES ===== */
:root {
    /* الألوان الرئيسية */
    --primary-color: #00d4ff;
    --secondary-color: #6a00ff;
    --accent-color: #ff0080;
    
    /* التدرجات */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #6a00ff 100%);
    --gradient-secondary: linear-gradient(135deg, #ff0080 0%, #ff8c00 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    
    /* الألوان المحايدة */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #161616;
    --bg-card-hover: #1f1f1f;
    
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-gray: #888;
    --text-dark: #333;
    
    /* الظلال */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    
    /* الانسيابية */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* الزوايا */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ===== NAVBAR ===== */
/* ===== NAVBAR FIXES ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(0);
    transition: all 0.3s ease;
    height: 90px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ضبط الـ body */
body {
    padding-top: 70px; /* نفس ارتفاع النافبار */
    overflow-x: hidden;
}

/* شعار */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-white);
    font-size: 1.3rem;
    font-weight: 800;
    z-index: 1001;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

/* أيقونة القائمة على الجوال */
.menu-toggle {
    display: none;
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

/* الروابط على الشاشات الكبيرة */
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
    background: rgba(0, 212, 255, 0.1);
}

.contact-nav {
    background: var(--gradient-primary);
    color: var(--text-white) !important;
}

.contact-nav:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ===== MOBILE NAVBAR ===== */
@media (max-width: 768px) {
    .navbar {
        height: 60px;
        padding: 10px 0;
    }
    
    body {
        padding-top: 60px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    /* إظهار أيقونة القائمة */
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
    }
    
    /* إخفاء الروابط العادية */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        padding: 80px 20px 30px;
        transition: all 0.4s ease;
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    /* عندما تكون القائمة مفتوحة */
    .nav-links.active {
        right: 0;
    }
    
    /* الروابط في القائمة الجوال */
    .nav-link {
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
        justify-content: flex-start;
    }
    
    /* الشعار في الجوال */
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    /* Overlay عند فتح القائمة */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(3px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* تغيير أيقونة القائمة عند الفتح */
    .menu-toggle.active i {
        transform: rotate(90deg);
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content{
    position: relative;
    margin: 0 auto;
    padding-right: 65px;
}
.hero-badge {
    margin-bottom: 30px;
}

.badge-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.hero-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 40px;
    color: var(--text-light);
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.hero-image-container {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    position: relative;
    z-index: 2;
}

.image-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    border-radius: calc(var(--radius-xl) + 20px);
    opacity: 0.3;
    filter: blur(20px);
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-white);
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}

.el-1 {
    top: -30px;
    left: -30px;
    animation-delay: 0s;
}

.el-2 {
    top: -30px;
    right: -30px;
    animation-delay: 2s;
}

.el-3 {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-gray);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

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

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--bg-darker);
}

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

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.title-number {
    font-size: 1rem;
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    padding: 5px 15px;
    border-radius: var(--radius-full);
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.about-image-wrapper img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.badge-content {
    text-align: center;
    color: var(--text-white);
}

.years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.text {
    font-size: 0.8rem;
    opacity: 0.9;
}

.about-title {
    margin-bottom: 20px;
}

.about-description p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-white);
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 5px;
    color: var(--text-white);
}

.feature-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== SKILLS SECTION ===== */
.skills-container {
    display: grid;
    gap: 40px;
}

.skill-category {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-category:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-white);
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 0;
}

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

.skill-card {
    background: var(--bg-card-hover);
    border-radius: var(--radius-lg);
    padding: 25px;
    transition: var(--transition-smooth);
}

.skill-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 212, 255, 0.05);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.skill-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.skill-info h4 {
    margin-bottom: 5px;
    color: var(--text-white);
}

.skill-level {
    display: flex;
    align-items: center;
    gap: 10px;
}

.level-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.level-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 1s ease;
}

.level-text {
    font-size: 0.8rem;
    color: var(--text-gray);
    min-width: 60px;
}

.skill-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    background: var(--bg-darker);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

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

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-tags {
    display: flex;
    gap: 10px;
}

.tag {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.project-content {
    padding: 30px;
}

.project-title {
    margin-bottom: 10px;
    color: var(--text-white);
}

.project-description {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.project-tech span {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.project-link:hover {
    gap: 15px;
    color: var(--text-white);
}

.projects-cta {
    text-align: center;
}

/* ===== CONTACT SECTION ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.contact-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-light);
}

.contact-methods {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card-hover);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.contact-method:hover {
    border-color: var(--primary-color);
    transform: translateX(-10px);
    background: rgba(0, 212, 255, 0.05);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-white);
    flex-shrink: 0;
}

.method-content {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.method-value {
    font-size: 1rem;
    color: var(--text-white);
    font-weight: 600;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-card-hover);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-white);
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-card-hover);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--text-white);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-darker);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-logo .logo-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo .logo-subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 5px;
}

.footer-quote {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    padding: 8px 16px;
    border-radius: var(--radius-full);
}

.footer-nav a:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-love {
    margin-top: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: none;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    section { padding: 70px 0; }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-darker);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .image-wrapper {
        width: 300px;
        height: 300px;
    }
    
    .floating-element {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-container {
        padding: 40px 20px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container { padding: 0 15px; }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .image-wrapper {
        width: 250px;
        height: 250px;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
    }
    
    .years { font-size: 2rem; }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}