/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
     font-family: 'Syne', sans-serif; 
    background: linear-gradient(to right, #000000, #130b31, #2f1c7c);
    color: #eee;
    line-height: 1.6;
    overflow-x: hidden;

}
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/*-------*/
/* NAVBAR */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
}

/* Logo Circle */
.nav-logo {
    width: 60px;
    height: 60px;
    background: #0a0a0f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* Nav Links Container */
.nav-links {
    display: flex;
    background: #0a0a0f;
    padding: 15px 30px;
    border-radius: 50px;
    list-style: none;
    gap: 30px;
    position: relative;
}

/* Links */
.nav-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}

/* Animated Line */
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0%;
    height: 3px;
    background: #4263f5;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Active Circle */
.nav-links a.active::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #4263f5;
    border-radius: 50%;
    z-index: -1;
}

.nav-links a.active {
    color: white;
}

/* SECTIONS */
section {
    min-height: 100vh;
    padding: 120px 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

/* GRID LINES BACKGROUND */
.grid-lines {
    display: none;
}

/* HERO */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-name {
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
}

.hero-sub {
    margin-top: 10px;
    color: #aaa;
}

.hero-badges {
    margin-top: 20px;
}

.badge {
    display: inline-block;
    border: 1px solid #444;
    padding: 8px 14px;
    margin: 5px;
    border-radius: 20px;
    font-size: 14px;
}

/* SECTION TITLES */
.section-label {
    color: #888;
    margin-bottom: 10px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 40px;
}

.section-title span {
    color: #4fc3f7;
}

/* EDUCATION */
.edu-card {
    border: 1px solid #333;
    padding: 25px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.edu-tags {
    margin-top: 15px;
}

.edu-tag {
    display: inline-block;
    border: 1px solid #444;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 10px;
    font-size: 13px;
}

/* SKILLS */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
}

.skill-item {
    position: relative;
    padding: 25px;
    border: 1px solid #333;
    border-radius: 15px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    transition: 0.3s;
}

.skill-item:hover {
    transform: translateY(-5px);
    border-color: #4fc3f7;
}

.skill-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

/* PROJECTS */
.project-card {
    border: 1px solid #333;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.02);
}

.project-num {
    font-size: 14px;
    color: #888;
}

.project-stack {
    margin-top: 15px;
}

.stack-tag {
    display: inline-block;
    border: 1px solid #444;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 10px;
    font-size: 13px;
}

/* HOBBIES */
.hobbies-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.hobby-card {
    padding: 20px;
    border: 1px solid #333;
    border-radius: 12px;
    text-align: center;
    width: 150px;
}

.hobby-emoji {
    font-size: 30px;
}

/* GOALS */
.goals-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.goal-item {
    margin-bottom: 15px;
}

.goal-num {
    color: #4fc3f7;
    margin-right: 10px;
}

/* THANK YOU */
.ty-title {
    font-size: 60px;
}

.ty-sub {
    margin-top: 10px;
    color: #aaa;
}

.ty-question {
    margin-top: 20px;
    font-size: 24px;
}

.ty-question span {
    color: #4fc3f7;
}

/* CONTACT */
.contact-sub {
    color: #aaa;
    margin-bottom: 30px;
    font-size: 16px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border: 1px solid #4fc3f7;
    border-radius: 50px;
    color: #4fc3f7;
    text-decoration: none;
    font-size: 16px;
    font-family: 'DM Mono', monospace;
    transition: 0.3s;
    background: rgba(79, 195, 247, 0.05);
}

.contact-btn:hover {
    background: rgba(79, 195, 247, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(79, 195, 247, 0.2);
}

.contact-icon {
    font-size: 20px;
}

/* SCROLL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav {
        padding: 20px;
    }

    section {
        padding: 100px 20px;
    }

    .hero-name {
        font-size: 50px;
    }

    .section-title {
        font-size: 32px;
    }
}

/* زر تحميل الـ CV */
.cv-btn {
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid #4fc3f7;
    border-radius: 50px;
    color: #4fc3f7;
    text-decoration: none;
    font-family: 'DM Mono', monospace;
    background: rgba(79, 195, 247, 0.05);
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.25);
    transition: all 0.4s ease;
}

/* تأثير عند المرور */
.cv-btn:hover {
    background: rgba(79, 195, 247, 0.2);
    transform: scale(1.05);
}

/* في منتصف الشاشة بالبداية */
/* زر ثابت في الزاوية */
.center-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.center-btn {
    box-shadow: 0 0 25px rgba(79, 195, 247, 0.4);
}