* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* overflow: hidden; */
}


:root {
    --mc: #110a23;
    --sc: #241730;
    --tc: #bde01a;
    --fc: #e76834;
}




.container-p {
    width: 90%;
    margin: auto;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;

}

body {
    background-color: var(--mc);
}

nav {
    font-family: "Montserrat", sans-serif;
}

.navbar-nav .nav-link.active {
    color: #b4d205 !important;
    border-bottom:1px solid #b4d205 !important;
}

.hello {
    border-color: #e76834 !important;
}

#hero-section>div>h5 {
    color: #e76834 !important;
}

.bg-green{
    background-color: var(--tc);
}

.border-green{
    border: 1px solid var(--tc);

}

.color-orange{
    color: var(--fc);
}


.color-green{
    color: var(--tc);
}

.font-size-15{
    font-size: 15px;
}


.hero-image{
    /* width: 75%; */
    margin: auto;
    position: relative;
}

.hero-image::before{
    content: "";
    position: absolute;
    width: 115%;
    height: 115%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: radial-gradient(
        circle,
        rgba(180, 210, 5, 0.35) 0%,
        rgba(180, 210, 5, 0.15) 40%,
        transparent 75%
    );

    filter: blur(35px);
    z-index: -1;
}

.hero-image img{
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;

    border-radius: 50%;

    border: 6px solid var(--tc);

    box-shadow:
        0 10px 30px rgba(0,0,0,.25),
        0 25px 70px rgba(0,0,0,.45),
        0 0 40px rgba(180,210,5,.35);

    transition: all .4s ease;
}

.hero-image img:hover{
    transform: translateY(-8px) scale(1.02);

    box-shadow:
        0 15px 40px rgba(0,0,0,.35),
        0 35px 90px rgba(0,0,0,.55),
        0 0 60px rgba(180,210,5,.5);
}





.hero-image span{
    position:absolute;
    padding:10px 18px;
    border-radius:50px;
    background:#1b1b1b;
 color:white;
    border:1px solid rgba(180,210,5,.4);
    box-shadow:
    0 10px 25px rgba(0,0,0,.25);
    font-size:14px;
    font-weight:600;
}


.hero-image span:hover{
    transform: translateY(-5px);
    box-shadow:
        0 15px 30px rgba(0,0,0,.35),
        0 25px 50px rgba(0,0,0,.45),
        0 0 25px rgba(180,210,5,.35);
    border-color: var(--tc);
}



.badge-1{
    top:10%;
    left:-10%;
}

.badge-2{
    top:20%;
    right:-15%;
}

.badge-3{
    bottom:20%;
    left:-15%;
}

.badge-4{
    bottom:10%;
    right:-10%;
}

.badge-1{
    animation: float 4s ease-in-out infinite;
}

.badge-2{
    animation: float 5s ease-in-out infinite;
}

.badge-3{
    animation: float 6s ease-in-out infinite;
}

.badge-4{
    animation: float 4.5s ease-in-out infinite;
}

@keyframes float{
    0%,100%{
        transform: translateY(0);
    }

    50%{
        transform: translateY(-10px);
    }
}


.about-text{
    line-height: 1.7;
    text-align: justify; 

}

#about{
    box-shadow:
    0 15px 40px rgba(0,0,0,.25),
    0 0 25px rgba(180,210,5,.08);
    backdrop-filter: blur(10px);
    transition: .4s;
}

#about:hover{
    transform: translateY(-5px);
}


#about h3{
    position: relative;
    display: inline-block;
}

#about h3::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60%;
    height: 3px;
    background: var(--tc);
    border-radius: 50px;
}


.about-text{
    line-height: 1.9;
    color: #d9d9d9;
    max-width: 95%;
}



.skills img{
    padding: 10px;
    border-radius: 20px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.05);
    transition: .4s;
    margin: 8px;
}


.skills img:hover{
    transform: translateY(-10px) scale(1.08);

    box-shadow:
    0 15px 30px rgba(0,0,0,.3),
    0 0 25px rgba(180,210,5,.3);
}


:root {
    --tc: #8cee00; 
    --sc: #0b1119; 
    --bg-dark: #05080c; 
}


.section-title {
    border-bottom: 5px solid var(--tc); 
    width: fit-content;
    color: #ffffff;
}


.education-card {
    background-color: var(--sc);
    border: 1px solid rgba(140, 238, 0, 0.15); /* إطار نيون خفيف جداً */
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}


.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--tc);
    color: var(--tc);
    background: rgba(140, 238, 0, 0.05);
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(140, 238, 0, 0.2);
}
.timeline-line {
    width: 2px;
    background: linear-gradient(to bottom, var(--tc), transparent);
    height: 120px;
    margin-top: 10px;
}


.date-badge {
    border: 1px solid rgba(140, 238, 0, 0.3);
    color: var(--tc);
    background: rgba(140, 238, 0, 0.05);
    font-size: 0.95rem;
    font-weight: 500;
}

.degree-title {
    color: var(--tc);
    font-size: 1.1rem;
}
.dot-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--tc);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px var(--tc);
}
.text-neon {
    color: var(--tc);
}

/* الـ Badges السفلية */
.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--tc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.badge-label {
    font-size: 0.85rem;
    color: #6c757d;
}
.badge-value {
    font-size: 1rem;
    color: #ffffff;
}
.v-line {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    align-self: stroke;
}

.watermark-icon {
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.02); 
    pointer-events: none;
    transform: rotate(-15deg);
}


/* Tablet & Mobile */
@media (max-width: 992px) {

    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .hero-section .col-6,
    .hero-section .col-5 {
        width: 100% !important;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .hero-image {
        width: 75% !important;
    }

    .hero-section .d-flex.align-items-center {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hello {
        width: fit-content !important;
        margin: auto;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p br {
        display: none;
    }
    .hello{
    min-width: 220px;
    width: fit-content !important;
}

@media (max-width:768px){
    .hello{
        margin: auto;
        padding: 10px 18px !important;
    }

    .hello h5{
        font-size: 1rem;
        margin-bottom: 0;
    }
}

.hello{
    min-width: 220px;
    width: fit-content !important;
}

@media (max-width:768px){
    .hello{
        margin: auto;
        padding: 10px 18px !important;
    }

    .hello h5{
        font-size: 1.6rem !important;
        margin-bottom: 0;
    }
}

@media (max-width:576px){
    .hello{
        width: 90% !important;
        max-width: 280px;
    }

    .hello h5{
        font-size: .9rem;
    }
}

@media (max-width:576px){
    .hello{
        width: 90% !important;
        max-width: 280px;
    }

    .hello h5{
        font-size: .9rem;
    }
}
}

/* Mobile */
@media (max-width: 576px) {

    .hero-image {
        width: 95% !important;
    }

    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .hero-section .col-4 {
        width: 100% !important;
    }

    .hero-section .rounded-circle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
nav {
    width: 100% !important;
    padding: 10px 0 !important;
    position: relative;
    z-index: 1000;
}

nav .col-2.d-flex.align-items-center {
    width: auto !important;
    gap: 10px !important;
}
nav .col-2 img {
    width: 100px !important;
    height: auto !important;
}


@media (max-width: 991.98px) {
    
    nav .d-flex.justify-content-between {
        position: relative !important;
        width: 100% !important;
    }

    nav .navbar.navbar-expand-lg.col-6 {
        width: auto !important;
        position: static !important; 
        padding: 0 !important;
        margin: 0 !important;
    }

    nav .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        padding: 6px 10px !important;
        background-color: rgba(255, 255, 255, 0.05) !important;
    }
    
   
    nav .navbar-toggler-icon {
        filter: invert(1) !important; 
    }

   
    nav .navbar-collapse.collapse.show,
    nav .navbar-collapse.collapsing {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background-color: var(--sc) !important; 
        border: 1px solid rgba(140, 238, 0, 0.15) !important;
        border-radius: 12px !important;
        padding: 15px !important;
        box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.5) !important;
        z-index: 999 !important;
        margin-top: 10px !important;
    }

 
    nav .navbar-nav {
        flex-direction: column !important;
        gap: 12px !important;
    }

    
    nav .nav-link {
        margin-left: 0 !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
        transition: background 0.2s ease !important;
    }
    nav .nav-link:hover {
        background-color: rgba(140, 238, 0, 0.1) !important;
        color: var(--tc) !important;
    }

    nav .col-2.d-flex.justify-content-around.align-items-center {
        display: none !important; 
    }
}


@media (min-width: 768px) and (max-width: 991.98px) {
    nav .col-2.d-flex.justify-content-around.align-items-center {
        display: flex !important;
        width: auto !important;
        padding: 6px 15px !important;
    }
}

@media (min-width: 992px) {
    nav .col-2.d-flex.justify-content-around.align-items-center {
        width: auto !important;
        padding: 8px 20px !important;
        gap: 10px !important;
    }
}