@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');

:root {
    --bg: #0a0f1f;
    --bg2: #121b33;
    --card: rgba(255, 255, 255, .06);
    --border: rgba(255, 255, 255, .12);
    --gold: #f5b942;
    --text: #ffffff;
    --text-light: #b8c0d4;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(-45deg, #08101f, #0f172a, #111827, #16213e);
    background-size: 400% 400%;
    animation: bgMove 15s ease infinite;
    color: var(--text);
    overflow-x: hidden;
     padding-bottom: 90px;
}

@keyframes bgMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.navbar-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: .3s;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

/* Navbar */

.navbar {
    background: rgba(10, 15, 31, .75);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: .4s;
}

.navbar-brand {
    color: var(--gold) !important;
    font-size: 1.6rem;
    font-weight: 800;
}

.nav-link {
    color: white !important;
    margin: 0 5px;
    position: relative;
}

.nav-link::after {
    content: '';
    width: 0;
    height: 2px;
    background: var(--gold);
    position: absolute;
    bottom: -5px;
    right: 0;
    transition: .3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Header Social */

.header-social {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;

}

.header-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    text-decoration: none;
    transition: .3s;
    font-size: 15px;
}

/* hover */
.header-social a:hover {
    background: #f5b942;
    color: #111;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(245, 185, 66, .3);
}

/* Modal Background */
.info-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* لما يكون مفتوح */
.info-modal.show {
    display: flex;
}

/* Modal Content */
.info-modal-content {
    position: relative;
    /* 🔥 مهم جدًا */
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    animation: pop .4s ease;
}

/* صورة قابلة للنقر */
.profile-img {
    cursor: pointer;
}

.profile-wrapper {
    cursor: pointer;
    position: relative;
    z-index: 2;
}

/* .profile-hover {
    pointer-events: none;
} */
.profile-wrapper {
    cursor: pointer; /* ✋ هذا أهم شيء */
}

.profile-img {
    transition: 0.3s ease;
       position: relative;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    transition: .3s;
}

/* Hero */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(245, 185, 66, .12);
    filter: blur(120px);
    border-radius: 50%;
    top: 10%;
    right: -150px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(0, 162, 255, .10);
    filter: blur(120px);
    border-radius: 50%;
    bottom: 0;
    left: -120px;
}

.profile-img {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold);
    box-shadow:
        0 0 20px rgba(245, 185, 66, .5),
        0 0 50px rgba(245, 185, 66, .2);
    transition: .5s;
}

.profile-img:hover {
    transform: scale(1.05) rotate(3deg);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-top: 25px;
}

.hero h3 {
    color: var(--text);
    margin-top: 15px;
}

.hero p {
    color: var(--text-light);
    max-width: 700px;
    margin: 20px auto;
    line-height: 2;
}

/* Glass Button */

.btn-warning {
    background: linear-gradient(45deg, #f5b942, #ffd166);
    border: none;
    color: #111;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    transition: .4s;
}

.btn-warning:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(245, 185, 66, .35);
}

/* Sections */

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
}

.section-title::after {
    content: '';
    width: 90px;
    height: 4px;
    background: var(--gold);
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    border-radius: 20px;
}

/* About */

#about p {
    text-align: center;
    color: var(--text-light);
    font-size: 1.15rem;
    max-width: 900px;
    margin: auto;
    line-height: 2.2;
}

/* Glass Cards */

.skill-box,
.project-card {
    background: var(--card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 25px;
    transition: .4s;
    box-shadow: var(--shadow);
}

.skill-box {
    padding: 30px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.skill-box:hover,
.project-card:hover {
    transform: translateY(-12px);
    border-color: var(--gold);
}

.project-card {
    overflow: hidden;
}

.project-card .card-body {
    padding: 30px;
}

.project-card h4 {
    color: var(--gold);
    margin-bottom: 15px;
}

/* Contact */

#contact {
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(10px);
}

#contact .btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    margin: 10px;
    transition: .4s;
}

#contact .btn:hover {
    background: var(--gold);
    color: #111;
    transform: translateY(-8px);
}

/* Reveal Animation */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 20px;
}

/* Responsive */

@media(max-width:768px) {

    .hero h1 {
        font-size: 2.7rem;
    }

    .hero h3 {
        font-size: 1.2rem;
    }

    .profile-img {
        width: 170px;
        height: 170px;
    }

    .section-title {
        font-size: 2rem;
    }
}

.info-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    transition: .4s;
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: var(--text-light);
    font-size: 1.05rem;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    color: var(--gold);
    font-size: 1.2rem;
    width: 25px;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.role-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(15px);
    padding: 25px;
    border-radius: 20px;
    transition: .4s;
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.role-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .4);
}

.role-card h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.role-card p {
    color: var(--text-light);
    font-size: .95rem;
    margin: 0;
}

/* Modal Background
.info-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Modal Content */
/* .info-modal-content {
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    animation: pop .4s ease;
} */

/* Animation */
/* @keyframes pop {
    from {
        transform: scale(.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
} */

/* Close button */
/* .close-btn {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    transition: .3s;
}

.close-btn:hover {
    color: var(--gold);
} */

/* نفس تصميم المعلومات */
/* .info-card {
    margin-top: 20px;
}

.info-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: #ddd;
}

.info-item i {
    color: var(--gold);
} */

/* 2 Columns Layout (Row = 2 Cards) */
.roles-grid.two-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* Card Style (نفس السابق لكن تحسين بسيط) */
.role-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(15px);
    padding: 25px;
    border-radius: 20px;
    transition: .4s;
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.role-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .4);
}

.role-card h4 {
    color: var(--gold);
    margin-bottom: 10px;
}

.role-card p {
    color: var(--text-light);
}

/* Responsive (مهم جداً) */
@media(max-width:768px) {
    .roles-grid.two-cols {
        grid-template-columns: 1fr;
    }
}


/* Grid */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* Card */
.role-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(15px);
    padding: 30px 25px;
    border-radius: 20px;
    transition: .4s;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hover effect */
.role-card:hover {
    transform: translateY(-12px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .5);
}

/* Icon */
.role-icon {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 15px;
    display: inline-block;
    transition: .4s;
}

.role-card:hover .role-icon {
    transform: scale(1.2) rotate(8deg);
}

/* Title */
.role-card h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Text */
.role-card p {
    color: var(--text-light);
    font-size: .95rem;
}

/* Decorative glow */
.role-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: rgba(245, 185, 66, .08);
    filter: blur(60px);
    border-radius: 50%;
}

/* ===== الإنجازات ===== */

.achievement-timeline {
    max-width: 900px;
    margin: auto;
}

.achievement-year-block {
    position: relative;
    /* margin-bottom:40px;
    padding-bottom:25px;
    border-bottom:1px solid rgba(255,255,255,.1); */
}

.year {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: .9;
}

.achievement-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 18px 20px;
    margin-bottom: 12px;

    background: rgba(255, 255, 255, .05);
    border-radius: 15px;
    border-right: 4px solid #f5b942;

    transition: .3s;
}

.achievement-item:hover {
    transform: translateX(-5px);
    background: rgba(255, 255, 255, .08);
}

.achievement-item span {
    color: #fff;
    line-height: 1.9;
    font-weight: 600;
}

.achievement-item a {
    color: #f5b942;
    font-size: 20px;
    min-width: 40px;
    text-align: center;
}

/* الصورة */
/* .profile-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold);
    transition: .4s;
} */


.award-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    height: 100%;
}

.award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.award-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.award-card h5 {
    font-weight: bold;
    margin-bottom: 10px;
    color: #666;
}

.award-card p {
    font-size: 14px;
    color: #666;
}

.year {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 12px;
    background: #ffc107;
    border-radius: 20px;
    font-weight: bold;
    font-size: 13px;
}

.edu-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    height: 100%;
}

.edu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.edu-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
    background: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edu-icon i {
    font-size: 24px;
    color: #fff;
}

.edu-card h5 {
    font-weight: bold;
    margin-bottom: 8px;
}

.edu-card p {
    font-size: 14px;
    color: #666;
}

.edu-card span {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #999;
}

.achievement-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    transition: .3s;
    text-align: center;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #f5b942;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-icon i {
    font-size: 28px;
    color: #fff;
}

.achievement-card h4 {
    margin-bottom: 15px;
    font-weight: 700;
}

.achievement-card p {
    line-height: 1.9;
    color: #666;
}

.initiative-card {
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
    transition: .3s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.initiative-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
    border-color: #f5b942;
}

/* top row */
.initiative-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.initiative-year {
    background: #f5b942;
    color: #111;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* icon */
.initiative-top i {
    color: #f5b942;
    font-size: 18px;
}

/* title */
.initiative-card h4 {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    color: #222;
}

/* glow effect */
.initiative-card::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 200px;
    height: 200px;
    background: rgba(245, 185, 66, .08);
    filter: blur(60px);
    border-radius: 50%;
}


.section-badge {
    display: inline-block;
    padding: 8px 18px;
    background: #fff4d8;
    color: #d97706;
    border-radius: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #6b7280;
    max-width: 650px;
    margin: auto;
}

.roles-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.role-modern-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    transition: .4s;
    position: relative;
    overflow: hidden;
}

.role-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.role-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(#f5b942, #d97706);
}

.role-icon-box{
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-logo{
    width: 60px;        /* حجم الشعار */
    height: 60px;
    object-fit: contain;
   
}
.role-logo:hover{
    transform: scale(1.1);
    transition: 0.3s ease;
    filter: drop-shadow(0 0 8px #f5b942);
}

.role-icon-box i {
    color: #fff;
    font-size: 28px;
}

.role-content h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
}

.role-content p {
    margin: 8px 0;
    color: #6b7280;
}

.role-content small {
    color: #9ca3af;
}

.role-tag {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.featured {
    border: 2px solid #f5b942;
    background: linear-gradient(135deg, #fff, #fffdf6);
}


/* ==========================
   EDUCATION PREMIUM
========================== */

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.education-card {
    position: relative;
    background: #fff;
    border-radius: 25px;
    padding: 35px 25px;
    text-align: center;
    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .08);

    transition: .5s;
}

.education-card:hover {
    transform: translateY(-15px);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, .15);
}

/* خط ذهبي علوي */

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg,
            #f5b942,
            #ffd67b);
}

/* السنة */

.education-badge {
    position: absolute;
    top: 18px;
    left: 18px;

    background: #f5b942;
    color: #111;

    padding: 7px 15px;
    border-radius: 30px;

    font-size: 13px;
    font-weight: 800;
}

/* الأيقونة */

.education-icon {
    width: 85px;
    height: 85px;

    margin: auto auto 20px;

    border-radius: 50%;

    background: linear-gradient(135deg,
            #f5b942,
            #ffcf70);

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 10px 25px rgba(245, 185, 66, .3);
}

.education-icon i {
    color: white;
    font-size: 32px;
}

/* العنوان */

.education-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0d1b3e;
    /* margin-bottom:15px; */
}

/* الوصف */

.education-card p {
    color: #666;
    /* line-height:1.9; */
    /* min-height:70px; */
}

/* الدولة */

.education-card span {
    display: inline-block;
    /* margin-top:15px; */
    /* padding:8px 16px; */
    background: #f8f9fa;
    border-radius: 25px;
    font-size: 13px;
    color: #444;
}

/* Glow */

.education-card::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;

    background:
        rgba(245, 185, 66, .08);

    border-radius: 50%;

    top: -120px;
    left: -120px;

    filter: blur(50px);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -40px auto 50px;
    color: #b8c0d4;
    line-height: 2;
    font-size: 1.05rem;
}



.membership-main-card {
    background: linear-gradient(145deg, #ffffff, #f9f9f9);
    border-radius: 25px;
    padding: 40px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, .10),
        0 0 0 1px rgba(245, 185, 66, .15);
    max-width: 1000px;
    margin: auto;
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
}

/* شريط علوي أقوى */
.membership-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #f5b942, #ffd67b, #f5b942);
    box-shadow: 0 2px 10px rgba(245, 185, 66, .4);
}

/* عند المرور على الكارد كامل */
.membership-main-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, .18),
        0 0 25px rgba(245, 185, 66, .15);
}

/* العناصر */
.membership-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    transition: .3s;
}

.membership-item:hover {
    transform: translateX(-10px);
    background: rgba(245, 185, 66, .05);
    padding-right: 10px;
    border-radius: 12px;
}

.membership-item i {
    color: #f5b942;
    font-size: 22px;
    min-width: 30px;
    margin-top: 4px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .15));
}

.membership-item span {
    color: #333;
    line-height: 2;
    font-size: 1rem;
    font-weight: 600;
}

@media(max-width:768px) {
    .membership-main-card {
        padding: 25px;
    }

    .membership-item span {
        font-size: .95rem;
    }
}

.achievement-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.achievement-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: .4s;
}

.achievement-card:hover {
    transform: translateY(-10px);
    border-color: #f5b942;
}

.achievement-year {
    width: 80px;
    height: 80px;
    margin: auto auto 20px;

    background: linear-gradient(135deg,
            #f5b942,
            #ffd166);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.2rem;
    font-weight: 800;
    color: #111;
}

.achievement-card h4 {
    color: #fff;
    margin-bottom: 15px;
}

.achievement-card p {
    color: #b8c0d4;
    line-height: 1.8;
}

.achievement-card a {
    color: #f5b942;
    font-weight: 700;
    text-decoration: none;
}

.site-footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    background: linear-gradient(135deg, #0a0f1f, #121b33);
    color: #fff;
    text-align: center;

   padding: 25px 10px;

    border-top: 1px solid rgba(245,185,66,0.4);

    z-index: 999;

    /* ✨ Glow ذهبي */
    box-shadow:
        0 -5px 20px rgba(0,0,0,0.6),
        0 -2px 25px rgba(245,185,66,0.25),
        0 -2px 60px rgba(245,185,66,0.15);

    position: fixed;
    overflow: hidden;
}

/* خط ذهبي متحرك خفيف */
.site-footer::before{
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 2px;

    background: linear-gradient(90deg, transparent, #f5b942, transparent);

    animation: glowLine 3s linear infinite;
}

@keyframes glowLine{
    0% { left: -50%; }
    100% { left: 100%; }
}

/* النص */
.site-footer p{
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}


/* =========================
   RESPONSIVE FIX FINAL
========================= */

/* منع أي تجاوز عرض */
img {
    max-width: 100%;
    height: auto;
}

/* شاشات لابتوب وتحت */
@media (max-width: 1200px) {

    .hero h1 {
        font-size: 3rem;
    }
}

/* تابلت */
@media (max-width: 992px) {

    .navbar-nav {
        text-align: center;
        margin-top: 15px;
    }

    .header-social {
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
    }

    section {
        padding: 70px 0;
    }

    .roles-modern,
    .education-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* موبايل */
@media (max-width: 768px) {

    body {
        padding-bottom: 140px;
    }

    .hero {
        padding: 120px 15px 60px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero h3 {
        font-size: 1.1rem;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-title::after {
        width: 60px;
    }

    /* الكروت تصير عمودية */
    .role-modern-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .role-logo {
        width: 55px;
        height: 55px;
    }

    .achievement-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .membership-main-card {
        padding: 20px;
    }

    .education-card {
        padding: 25px 18px;
    }
}

/* موبايل صغير */
@media (max-width: 480px) {

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 14px;
    }

    .btn-warning {
        padding: 10px 22px;
        font-size: 14px;
    }

    .header-social a {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .education-grid,
    .roles-modern {
        grid-template-columns: 1fr;
    }

    .award-img {
        height: 140px;
    }
}

/* شاشات كبيرة جداً */
@media (min-width: 1400px) {

    .container {
        max-width: 1200px;
    }

    .hero h1 {
        font-size: 4.2rem;
    }
}
* {
    box-sizing: border-box;
}

section {
    overflow-x: hidden;
}
/* .navbar-collapse {
    background: rgba(10, 15, 31, 0.95);
    padding: 15px;
    border-radius: 15px;
} */