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

:root {
    --bg-primary: #0F172A;
    --bg-secondary: #1F2937;
    --bg-tertiary: #111827;
    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --accent-primary: #38BDF8;
    --accent-secondary: #F59E0B;
    --border-color: #374151;
    --card-bg: #1F2937;
    --nav-bg: #111827;
    --footer-bg: #111827;
}

[data-theme="light"] {
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #E2E8F0;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --accent-primary: #0EA5E9;
    --accent-secondary: #F59E0B;
    --border-color: #CBD5E1;
    --card-bg: #FFFFFF;
    --nav-bg: #FFFFFF;
    --footer-bg: #E2E8F0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    scroll-behavior: smooth;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* ================= NAVBAR ================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: var(--nav-bg);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    transition: 0.3s;
    font-weight: 500;
    color: var(--text-primary);
}

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

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

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: 0.3s;
}

.theme-toggle:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* ================= SECTIONS ================= */
section {
    padding: 100px 50px;
    min-height: 100vh;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #38BDF8;
}

/* ================= HOME ================= */
#home {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(-45deg, #0F172A, #1E293B, #334155, #0F172A);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

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

#home h1 span {
    color: #38BDF8;
}

/* ================= BUTTONS ================= */
.btn {
    display: inline-block;
    padding: 10px 25px;
    margin: 10px;
    border: 2px solid #38BDF8;
    color: #38BDF8;
    border-radius: 8px;
    transition: 0.3s;
    font-weight: 600;
}

.btn:hover {
    background-color: #38BDF8;
    color: #0F172A;
}

.btn-secondary {
    background-color: #38BDF8;
    color: #0F172A;
}

/* ================= ABOUT ================= */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: auto;
}

.profile-picture {
    flex-shrink: 0;
}

.profile-picture img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 4px solid var(--accent-primary); /* حدود */
    box-shadow: 0 10px 25px rgba(0,0,0,0.3); /* ظل */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.profile-picture img:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--accent-secondary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}


.about-text {
    flex: 1;
    text-align: left;
}

/* ================= SKILLS ================= */
.skills-section {
    background-color: var(--bg-primary);
}

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

.skill-card {
    background-color: var(--card-bg);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s ease;
    border: 1px solid var(--border-color);
}

.skill-card i {
    font-size: 40px;
    color: var(--accent-primary);
    margin-bottom: 15px;
}

.skill-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.skill-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 4px;
    transition: width 1s ease-out;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.35);
}

/* ================= PROJECTS ================= */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--accent-primary);
    background: transparent;
    color: var(--accent-primary);
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.project-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.project-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: center;
}

.project-icons i {
    font-size: 24px;
    color: var(--accent-primary);
    transition: 0.3s;
}

.project-icons i:hover {
    transform: scale(1.2);
    color: var(--accent-secondary);
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--accent-primary);
}

.project-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
    color: var(--text-primary);
}

.project-card .btn {
    border-color: currentColor;
}

.project-card:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.4);
}

.project-card:hover .btn {
    background-color: var(--bg-primary);
    color: var(--accent-primary);
    border-color: var(--bg-primary);
}

.project-card:hover .project-icons i {
    color: var(--bg-primary);
}

.project-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background-color: var(--bg-primary);
    transition: 0.4s ease;
}

.project-card:hover::after {
    width: 100%;
}

/* ================= MODALS ================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow-y: auto;
    padding: 40px 20px;
}

.modal-content {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    margin: 50px auto;
    padding: 30px 25px;
    border-radius: 15px;
    width: 80%;
    max-width: 600px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.modal-content h2 {
    color: #38BDF8;
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #E5E7EB;
}

.modal-content ul {
    margin: 10px 0 20px 20px;
}

.modal-content li {
    margin-bottom: 8px;
}

.modal-content a.btn {
    margin-top: 10px;
}

.close {
    color: #E5E7EB;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: #0F172A;
    background-color: #38BDF8;
    border-radius: 50%;
    padding: 2px 8px;
}

/* ================= TIMELINE ================= */
.timeline-container {
    max-width: 800px;
    margin: auto;
    position: relative;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: #38BDF8;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 20px;
    width: 22px;
    height: 22px;
    background-color: #38BDF8;
    border-radius: 50%;
    border: 4px solid #0F172A;
}

.timeline-content {
    background-color: #1F2937;
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;
}

.timeline-content:hover {
    background-color: #374151;
}

/* ================= CONTACT ================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: auto;
}

.contact-form {
    background-color: #1F2937;
    padding: 30px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: #E5E7EB;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #111827;
    border: 2px solid #374151;
    border-radius: 8px;
    color: #E5E7EB;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #38BDF8;
}

/* ================= SECTION DIVIDER ================= */
.section-divider {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.section-divider svg {
    width: 100%;
    height: 100%;
    fill: var(--bg-secondary);
}

/* ================= FOOTER ================= */
footer {
    background-color: var(--nav-bg);
    padding: 40px 20px;
    color: var(--text-primary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

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

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

.footer-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 5px;
}

.footer-stat p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

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

.footer-social .social-link {
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: 0.3s;
    padding: 10px;
    border-radius: 50%;
}

.footer-social .social-link:hover {
    color: var(--accent-primary);
    transform: translateY(-3px);
}

footer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ================= ANIMATIONS ================= */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ================= CUSTOM CURSOR ================= */
#custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

#custom-cursor.hover {
    transform: scale(1.5);
}

/* ================= BACK TO TOP ================= */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: #38BDF8;
    color: #0F172A;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

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

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    nav {
        padding: 20px;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        width: 100%;
        background-color: #111827;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 100px 20px;
    }

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

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

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

@media (max-width: 480px) {
    .project-card {
        padding: 20px 15px;
    }

    .modal-content {
        width: 95%;
        padding: 15px;
    }

    .project-card h3 {
        font-size: 1.1rem;
    }

    .project-card p {
        font-size: 0.9rem;
    }
}
=======
/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0F172A;
    --bg-secondary: #1F2937;
    --bg-tertiary: #111827;
    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --accent-primary: #38BDF8;
    --accent-secondary: #F59E0B;
    --border-color: #374151;
    --card-bg: #1F2937;
    --nav-bg: #111827;
    --footer-bg: #111827;
}

[data-theme="light"] {
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #E2E8F0;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --accent-primary: #0EA5E9;
    --accent-secondary: #F59E0B;
    --border-color: #CBD5E1;
    --card-bg: #FFFFFF;
    --nav-bg: #FFFFFF;
    --footer-bg: #E2E8F0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    scroll-behavior: smooth;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* ================= NAVBAR ================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: var(--nav-bg);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    transition: 0.3s;
    font-weight: 500;
    color: var(--text-primary);
}

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

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

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: 0.3s;
}

.theme-toggle:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* ================= SECTIONS ================= */
section {
    padding: 100px 50px;
    min-height: 100vh;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #38BDF8;
}

/* ================= HOME ================= */
#home {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(-45deg, #0F172A, #1E293B, #334155, #0F172A);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

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

#home h1 span {
    color: #38BDF8;
}

/* ================= BUTTONS ================= */
.btn {
    display: inline-block;
    padding: 10px 25px;
    margin: 10px;
    border: 2px solid #38BDF8;
    color: #38BDF8;
    border-radius: 8px;
    transition: 0.3s;
    font-weight: 600;
}

.btn:hover {
    background-color: #38BDF8;
    color: #0F172A;
}

.btn-secondary {
    background-color: #38BDF8;
    color: #0F172A;
}

/* ================= ABOUT ================= */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: auto;
}

.profile-picture {
    flex-shrink: 0;
}

.profile-picture img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 4px solid var(--accent-primary); /* حدود */
    box-shadow: 0 10px 25px rgba(0,0,0,0.3); /* ظل */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.profile-picture img:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--accent-secondary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}


.about-text {
    flex: 1;
    text-align: left;
}

/* ================= SKILLS ================= */
.skills-section {
    background-color: var(--bg-primary);
}

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

.skill-card {
    background-color: var(--card-bg);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s ease;
    border: 1px solid var(--border-color);
}

.skill-card i {
    font-size: 40px;
    color: var(--accent-primary);
    margin-bottom: 15px;
}

.skill-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.skill-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 4px;
    transition: width 1s ease-out;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.35);
}

/* ================= PROJECTS ================= */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--accent-primary);
    background: transparent;
    color: var(--accent-primary);
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.project-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.project-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: center;
}

.project-icons i {
    font-size: 24px;
    color: var(--accent-primary);
    transition: 0.3s;
}

.project-icons i:hover {
    transform: scale(1.2);
    color: var(--accent-secondary);
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--accent-primary);
}

.project-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
    color: var(--text-primary);
}

.project-card .btn {
    border-color: currentColor;
}

.project-card:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.4);
}

.project-card:hover .btn {
    background-color: var(--bg-primary);
    color: var(--accent-primary);
    border-color: var(--bg-primary);
}

.project-card:hover .project-icons i {
    color: var(--bg-primary);
}

.project-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background-color: var(--bg-primary);
    transition: 0.4s ease;
}

.project-card:hover::after {
    width: 100%;
}

/* ================= MODALS ================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow-y: auto;
    padding: 40px 20px;
}

.modal-content {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    margin: 50px auto;
    padding: 30px 25px;
    border-radius: 15px;
    width: 80%;
    max-width: 600px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.modal-content h2 {
    color: #38BDF8;
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #E5E7EB;
}

.modal-content ul {
    margin: 10px 0 20px 20px;
}

.modal-content li {
    margin-bottom: 8px;
}

.modal-content a.btn {
    margin-top: 10px;
}

.close {
    color: #E5E7EB;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: #0F172A;
    background-color: #38BDF8;
    border-radius: 50%;
    padding: 2px 8px;
}

/* ================= TIMELINE ================= */
.timeline-container {
    max-width: 800px;
    margin: auto;
    position: relative;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: #38BDF8;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 20px;
    width: 22px;
    height: 22px;
    background-color: #38BDF8;
    border-radius: 50%;
    border: 4px solid #0F172A;
}

.timeline-content {
    background-color: #1F2937;
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;
}

.timeline-content:hover {
    background-color: #374151;
}

/* ================= CONTACT ================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: auto;
}

.contact-form {
    background-color: #1F2937;
    padding: 30px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: #E5E7EB;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #111827;
    border: 2px solid #374151;
    border-radius: 8px;
    color: #E5E7EB;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #38BDF8;
}

/* ================= SECTION DIVIDER ================= */
.section-divider {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.section-divider svg {
    width: 100%;
    height: 100%;
    fill: var(--bg-secondary);
}

/* ================= FOOTER ================= */
footer {
    background-color: var(--nav-bg);
    padding: 40px 20px;
    color: var(--text-primary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

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

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

.footer-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 5px;
}

.footer-stat p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

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

.footer-social .social-link {
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: 0.3s;
    padding: 10px;
    border-radius: 50%;
}

.footer-social .social-link:hover {
    color: var(--accent-primary);
    transform: translateY(-3px);
}

footer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ================= ANIMATIONS ================= */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ================= CUSTOM CURSOR ================= */
#custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

#custom-cursor.hover {
    transform: scale(1.5);
}

/* ================= BACK TO TOP ================= */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: #38BDF8;
    color: #0F172A;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

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

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    nav {
        padding: 20px;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        width: 100%;
        background-color: #111827;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 100px 20px;
    }

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

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

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

@media (max-width: 480px) {
    .project-card {
        padding: 20px 15px;
    }

    .modal-content {
        width: 95%;
        padding: 15px;
    }

    .project-card h3 {
        font-size: 1.1rem;
    }

    .project-card p {
        font-size: 0.9rem;
    }
}
>>>>>>> e1a367fe5f96cbea4dd8dd27b463101d2641173f
