@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: "Playfair Display", serif;

}

html {
    font-size: 62.5%;
}

body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: #fff;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    background-color: black;
    /* أو خليها transparent إذا بدك */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=My+Soul&family=Shadows+Into+Light&display=swap');

.logo {
    font-size: 3.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.5s ease;
    margin-right: 20px;


}

.white-text {
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    font-style: normal;
    color: white;
}

.purple-text {
    color: rgb(191, 38, 191);
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    font-style: normal;
}


nav a {
    font-size: 1.8rem;
    color: white;
    margin-left: 3rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

.navbar {
    display: flex;
    gap: 20px;
}

.navbar a {
    text-decoration: none;
    color: #fdf9fd;
    font-size: 18px;
}

/* شكل زر الهمبرغر */
.menu-icon {
    font-size: 30px;
    cursor: pointer;
    display: none;
    /* نخفيه بالكمبيوتر */
}

nav a:hover,
nav a:active {
    color: blueviolet;
    border-bottom: 3px solid rgb(191, 38, 191);
}

.logo.active {
    color: blueviolet;
    border-bottom: 3px solid rgb(191, 38, 191);

}

section {
    min-height: 100vh;
    padding: 5rem 9% 5rem;
    padding-bottom: 0.5rem solid #fff;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-area: 8rem;
    background-color: black;
}


.home .home-content h1 {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span {
    color: rgb(191, 38, 191);
}

h2 {
    font-size: 4rem;

}

.home-content h3 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p {
    font-size: 1.8rem;
}

.home-img {
    border-radius: 50%;
}

.home-img img {
    position: relative;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid #bbb;
    cursor: pointer;
    transition: 0.2rem linear;
    margin: 10% -20%;
}

.home-img:hover {
    font-size: 1.8rem;
    font-weight: 500;
}



.lang-btn {
    position: fixed;
    /* أو absolute حسب الهيكل */
    top: 4rem;
    /* المسافة من الأعلى */
    right: 1rem;
    /* حطها للطرف اليمين */
    /* أو استخدمي left: 1rem; إذا بدك عالطرف الشمال */

    padding: 1rem 2rem;

    margin-top: 40px;
    border: 3px solid violet;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 2rem;
    background: #050404;
    color: rgb(226, 43, 214);
    transition: background 0.4s;
    z-index: 1000;
    /* عشان تكون فوق كل العناصر */
}

.lang-btn:hover {
    color: #d874cb;
}



.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #fff;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem;
    transition: 0.3rem ease;
    color: rgb(207, 206, 207);


}

.social-icons a:hover {
    color: black;
    transform: scale(1.3)translateY(-5px);
    background-color: rgb(191, 38, 191);
    box-shadow: 0 0 25px rgb(11, 11, 11);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: rgb(191, 38, 191);
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid rgb(191, 38, 191);
    transition: 0.3rem ease;
    cursor: pointer;
}

.btn:hover {
    transform: scale3d(1.03);
    background-color: rgb(191, 38, 191);
    color: black;
    box-shadow: 0 0 25px rgb(162, 65, 182);

}

.typing-text {
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.typing-text span {
    position: relative;

}

.typing-text span::before {
    content: "software Developer ";
    color: #92229f;
    animation: words 20s infinite;

}

.typing-text span::after {
    content: "";
    background-color: black;
    position: absolute;
    width: calc(100%+8px);
    height: 100%;
    border-left: 3px solid black;
    right: -8;
    animation: cursor 0.6s infinite;
}

@keyframes cursor {
    to {
        border-left: 3px solid rgb(164, 67, 189);

    }
}

@keyframes words {

    0%,
    20% {
        content: " Frontend Developer";
    }

    21%,
    40% {
        content: "passionate Programmer ";
    }

    41%,
    60% {
        content: "Creative Developer";
    }

    61%,
    80% {
        content: " UI/UX Enthusiast";
    }

    81%,
    100% {
        content: "Self-Taught Programmer";
    }

}

@keyframes typing {

    10%,
    15%,
    30%,
    35%,
    50%,
    55%,
    70%,
    75%,
    90%,
    95% {
        width: 0;
    }

    5%,
    20%,
    25%,
    40%,
    45%,
    60%,
    65%,
    80%,
    85% {
        width: calc(100% + 8px);
    }
}

/* home ends */
/* about */
.about {
    margin: 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1.5rem;
}

.about-me-text {
    flex: 1;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-right: 20px;
}

.about-me-icon {
    flex-shrink: 0;
    margin-left: auto;

}

.about-me-icon i {
    font-size: 170px;
    color: #d81ac9;
    cursor: default;
    /* إضافة شعاع أخضر */
    text-shadow:
        0 0 15px #92229f,
        0 0 30px #9c1895,
        0 0 45px #ea3fe7,
        0 0 60px #6d2e7d,
        0 0 75px #7c2b64;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    transform: translateY(250px);
}

.about-me-icon i:hover {
    transform: scale(0.1);
    cursor: pointer;
    font-size: 170px;
}

.about-text h2 {
    font-size: 60px;
}

.about-text h2 span {
    color: #F5F5F5;
}

.about-text h4 {
    font-size: 29px;
    font-weight: 600;
    color: #F5F5F5;
    line-height: 1.7;
    margin: 15px 0 30px;
}

.about-text p {
    color: #F5F5F5;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
}

/* about me ends */
/*services section */
#services {
    color: aliceblue;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
}

.sub-title {
    text-align: center;
    font-size: 50px;
    padding-bottom: 70px;
}

.sub-title span {
    color: #92229f;
}

.container {
    padding: 0px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(259px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.services-list div {
    background-color: transparent;
    padding: 40px;
    font-size: 13px;
    font-weight: 13px;
    border-right: 10px;
    border-radius: 20px;
    transition: background 0.5s, transform 0.5s;
    box-shadow: 1px 1px 20px #92229f,
        1px 1px 40px #a579a5;
}

.services-list div i {
    font-size: 50px;
    margin-bottom: 30px;
}

.services-list div h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}

.services-list div a {
    text-decoration: none;
    color: #92229f;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}

.read {
    display: inline-block;
    padding: 12px 28px;
    background: #92229f;
    border-radius: 40px;
    font-size: 16px;
    color: aquamarine;
    letter-spacing: 2px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 0 0 5px #92229f,
        0 0 25px #92229f;
}

.read:hover {
    box-shadow: 0 0 5px #92229f,
        0 0 25px #92229f,
        0 0 50px #92229f,
        0 0 100px #92229f, 0 0 200px #92229f;
}

.services-list div:hover {
    transform: translateY(-10px);
}

/* services ends */
/* skills */
.sills {
    display: flex;
    flex-wrap: wrap;
}

.container1 {
    max-width: 100%;
    height: auto;
    padding: 40px 20px;
    margin: 0 auto;
}

.heading1 {
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 5px;
    margin-bottom: 50px;
}

.bar {
    font-size: 23px;
}

.technical-bars .bar {
    margin-top: 40px 0;

}

.technical-bars .bar:first-child {
    margin-top: 0;
}

.technical-bars .bar:last-child {
    margin-bottom: 0;
}

.technical-bars .bar .info {
    margin-bottom: 5px;
}

.technical-bars .bar .info span {
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}

.technical-bars .bar .progress-line {
    position: relative;
    border-radius: 10px;
    width: 100%;
    height: 5px;
    animation: animate 1s cubic-bezier(1, 0, 0, 5, 1) forwards;

    transform-origin: left;
}

@keyframes animate {
    100% {
        transform: scaleX(1);
    }
}

.technical-bars .bar .progress-line span {
    height: 100%;
    background-color: #7d236f;
    position: absolute;
    border-radius: 10px;
    animation: animate 1s 1s cubic-bezier(1, 0, 0, 5, 1) forwards;

    transform-origin: left;

}

.progress-line span {
    position: relative;
}

.progress-line.html span {
    width: 90%;
}

.progress-line.css span {
    width: 80%;
}

.progress-line.javascript span {
    width: 60%;
}

.progress-line.githup span {
    width: 80%;
}

.progress-line.web span {
    width: 70%;
}

.progress-line.figma span {
    width: 60%;
}

.progress-line.canva span {
    width: 80%;
}

.progress-line span::after {

    position: absolute;
    padding: 1px 8px;
    background-color: #070606;
    color: white;
    font-size: 12px;
    border-radius: 3px;
    top: -28px;
    right: -20px;

    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
}

.progress-line.html span::after {
    content: "90%";
}

.progress-line.css span::after {
    content: "80%";
}

.progress-line.javascript span::after {
    content: "60%";
}

.progress-line.react span::after {
    content: "50%";
}

.progress-line.githup span::after {
    content: "80%";
}

.progress-line.web span::after {
    content: "70%";
}

.progress-line.figma span::after {
    content: "60%";
}

.progress-line.canva span::after {
    content: "80%";
}

.progress-line span::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-top-color: #d73535;
    top: -10px;
    right: 0;
    animation: showText 0.5s 1.5s linear forwards;
}

@keyframes showText {
    100% {
        opacity: 1;
    }
}

.radial-bars {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
}

.radial-bars .radial-bar {
    width: 50%;
    height: 170px;
    margin-bottom: 10px;
    position: relative;
}

.radial-bars .radial-bar svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)rotate(-90deg);
    width: 120px;
    height: 160px;
}

.radial-bars .radial-bar .progress-bar {
    stroke-width: 10;
    stop-color: rgb(194, 23, 160);
    fill: transparent;
    stroke-dashoffset: 502;
    stroke-dasharray: 502;
    stroke-linecap: round;
    animation: animate-bar 1s linear forwards;
}

@keyframes animate-bar {
    100% {
        stroke-dashoffset: -1;
    }
}

.path {
    stroke-width: 10;
    stroke: rgb(165, 26, 161);
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;
}

.path-1 {
    animation: animate-path1 1s 1s linear forwards;
}

.path-2 {
    animation: animate-path2 1s 1s linear forwards;
}

.path-3 {
    animation: animate-path3 1s 1s linear forwards;
}

.path-4 {
    animation: animate-path4 1s 1s linear forwards;
}

.path-5 {
    animation: animate-path5 1s 1s linear forwards;
}

.path-6 {
    animation: animate-path6 1s 1s linear forwards;
}

.path-7 {
    animation: animate-path7 1s 1s linear forwards;
}

.path-8 {
    animation: animate-path8 1s 1s linear forwards;
}

.path-9 {
    animation: animate-path9 1s 1s linear forwards;
}

.path-10 {
    animation: animate-path10 1s 1s linear forwards;
}

.path-11 {
    animation: animate-path11 1s 1s linear forwards;
}

@keyframes animate-path1 {
    100% {
        stroke-dashoffset: 50;
        ;
    }

}

@keyframes animate-path2 {
    100% {
        stroke-dashoffset: 175;
        ;
    }

}

@keyframes animate-path3 {
    100% {
        stroke-dashoffset: 125;
        ;
    }

}

@keyframes animate-path4 {
    100% {
        stroke-dashoffset: 100;
        ;
    }

}

@keyframes animate-path5 {
    100% {
        stroke-dashoffset: 100;
        ;
    }

}

@keyframes animate-path6 {
    100% {
        stroke-dashoffset: 150;
        ;
    }

}

@keyframes animate-path7 {
    100% {
        stroke-dashoffset: 100;
        ;
    }

}

@keyframes animate-path8 {
    100% {
        stroke-dashoffset: 25;
        ;
    }

}

@keyframes animate-path9 {
    100% {
        stroke-dashoffset: 150;
        ;
    }

}

@keyframes animate-path10 {
    100% {
        stroke-dashoffset: 225;
        ;
    }

}

@keyframes animate-path11 {
    100% {
        stroke-dashoffset: 150;
        ;
    }

}

.radial-bar .percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 17px;
    font-weight: 500;

    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}

.radial-bar .text {
    width: 100%;
    position: absolute;
    text-align: center;

    transform: translateX(-50px);
    font-size: 17px;
    font-weight: 500;
    margin: 0;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}

/* skills ends */
/* project */
.main-text {
    padding-top: 130px;
    margin-top: 200px;
}

.main-text h2 {
    font-size: 60px;
    line-height: 1;
    text-align: center;
}

.main-text h2 span {
    color: #92229f;
}

.portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(359px, auto));
}

.row {

    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    margin: 20px;
}

.row img {
    width: 100%;
    border-radius: 8px;
    display: block;
    transition: transform 0.5s;
}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(#0a090a, #92229f);
    position: absolute;
    border-radius: 8px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    transition: height 0.5s;
}

.layer h5 {
    color: #f1efef;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.layer p {
    color: #e7dfdf;
    font-size: 1.5rem;
    line-height: 1.8;
}

.layer i {
    color: #db43db;
    margin-top: 5px;
    font-size: 15px;
    background: #ece9e5;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.row:hover img {
    transform: scale(1.1);
}

.row:hover .layer {
    height: 100%;
}

/* project end */
/*eduction section */

.education .timeline {
    position: relative;
    background: #070606;
    /* خلفية القسم */
}

.education .timeline::after {
    content: '';
    /* إنشاء الشحطة */
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    /* وضع الشحطة في المنتصف */
    width: 6px;
    /* عرض الشحطة */
    background: #c462b7;
    /* لون الشحطة */
    margin-left: -3px;
    /* لجعل الشحطة في المنتصف تماماً */
    z-index: 0;
    /* تأكد من أن الشحطة خلف المحتوى */
}


.education .container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;

}

.education .container::after {
    content: '\f501';
    position: absolute;
    width: 25px;
    height: 25px;
    line-height: 25px;
    right: -17px;
    background-color: #fff;
    border: 4px solid #c462b7;
    top: 15px;
    border-radius: 50%;
    z-index: 100;
    font-size: 1.89rem;
    text-align: center;
    font-weight: 600;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;

    color: #c462b7;
}

.education .left {
    left: 0;

}

.education .right {
    left: 50%;

}

.education .left::before {
    content: '';
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid #c462b7;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent rgb(186, 64, 160);


}

.education .right::before {
    content: '';
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid rgb(3, 16, 5);
    border-width: 10px 10px 10px 0;
    border-color: transparent rgb(186, 64, 160) transparent transparent;


}

.education .right::after {
    left: -16px;

}

.education .content {
    background: #c462b7;
    position: relative;
    border-radius: 6px;

}

.education .content .tag {
    font-size: 1.5rem;
    padding-left: 1.5rem;
    padding-top: 1.5rem;
}

.education .content .decs {
    margin-left: 1.5rem;
    padding-bottom: 1rem;
}

.education .content .tag h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #0b0808;
}

.education .content .decs p {
    font-size: 1.3rem;
    font-weight: 500;
    color: #070606;
}

.contact form .btn {
    margin-top: 2rem;
}



/* Certificate link styling */
.certificate-link {
    display: inline-flex;
    align-items: center;
    color: #7d236f;
    text-decoration: none;
    font-size: 14px;
}

.certificate-link i {
    margin-left: 5px;
    font-size: 18px;
}

/* Hover effect for certificate link */
.certificate-link:hover {
    color: #f0edf0;
    text-decoration: underline;
}

/*Footer section  */
.footer {
    margin: 0;
    position: relative;
    bottom: 0;
    width: 100%;

    background-color: #0a090a;
}

.footer .social {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer .social a {
    font-size: 20px;
    color: #9d5598;
    border: 2px solid rgb(239, 235, 235);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 10px;
    transition: 0.3s ease;




}

.footer .social a:hover {
    transform: scale(1.2)translateY(-5px);
    background: #cd82cd;
    color: #0e0c0e;
}

.footer ul {
    margin-top: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 0;
    text-align: center;
}

.footer ul li a {
    color: #9d5598;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease;

}

.footer ul li a:hover {
    border-bottom: 3px solid rgb(231, 146, 224);
}

.footer ul li {
    display: inline-block;
    padding: 0 15px;
}

.footer .copyright {
    margin-top: 50px;
    text-align: center;
    font-size: 16px;
    color: rgb(172, 68, 158);
}

/* Styling for the Projects Section */

.live-btn {
    background-color: rgb(172, 68, 158);
    color: #050404;
}

.code-btn {
    background-color: #f8f5f7;
    color: #0a0808;
}

/* Hover effect on buttons */







/* Contact Section */
.contact {
    padding: 60px 20px;
    background-color: #070707;
    color: #F5F5F5;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #F5F5F5;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #92229f;
    font-size: 16px;
    font-family: inherit;
}

.contact-form button {
    padding: 12px;
    background-color: #92229f;
    color: #F5F5F5;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    box-shadow: 0 0 5px #3A4D39,
        0 0 25px #92229f, 0 0 50px #92229f,
        0 0 90px #92229f, 0 0 100px #92229f;
    cursor: pointer;
}

.contact-info {
    margin-top: 40px;
    font-size: 16px;
    color: #92229f;
}

.contact-info i {
    margin-right: 8px;
}

.heading {
    margin: 30px;
    font-size: 30px;
}

.send {
    background-color: #92229f;
    color: #F5F5F5;
}

/* content end */



@media(max-width:1285px) {
    html {
        font-size: 55%;
    }

}

@media(max-width:991px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .footer {
        padding: 2rem 3%;
    }
}

@media(max-width:995) {
    nav {
        position: absolute;
        display: none;
        right: 0;
        top: 100%;

        width: 40%;
        border-left: 3px solid rgb(134, 32, 147);
        border-bottom: 3px solid rgb(128, 47, 163);
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: black;
        border-top: 0.1rem solid rgb(22, 12, 26);
    }

    nav .active {
        display: block;
    }

    nav a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    nav a:hover,
    nav a.active {
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid rgb(255, 10, 173);


    }
}

@media(max-width:1000px) {
    .home {
        gap: 4rem;
    }
}

@media(max-width:995px) {
    .home {
        flex-direction: column;
        margin: 1rem 4rem;
    }

    .home.home-content h3 {
        font-size: 2, 5rem;
    }

    .home-content h1 {
        font-size: 5rem;

    }

    .home-img img {
        width: 70vh;
        margin-top: 4rem;
    }

}

@media(max-width:760px) {
    .about-me-icon {
        display: none;
    }
}

@media(max-width:991px) {
    section {
        padding: 10rem 3% 2rem;
    }

    nav {
        margin: 0;
    }
}


@media (max-width: 910px) {
    .home-img {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        /* يخلي الروابط تبدا من الطرف */
        background-color: #eb6de542;
        position: absolute;
        top: 60px;
        right: 20px;
        /* تبقى بجانب الشاشة مش تغطيها كلها */
        width: 200px;
        /* عرض صغير */
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(240, 239, 240, 0.1);
        display: none;
    }

    .navbar.active {
        display: flex;
    }

    .layer h5 {

        font-size: 20px;
        font-weight: 300;
        margin-bottom: 2px;
    }

    .layer p {

        font-size: 1.5rem;
        line-height: 1.5;
    }

    .layer i {

        margin-top: 3px;
        font-size: 15px;

        width: 30px;
        height: 30px;

    }
}

@media (max-width: 706px) {
    .about {

        grid-template-columns: 1fr;
        text-align: center;
    }


}

@media(max-width:600px) {
    .logo {
        font-size: 3rem;
        padding: 0;
        margin: 0;
    }

    .btn {
        margin-top: 9px;
    }

    .education .timeline {
        margin-top: 2rem;
    }

    .education .timeline::after {
        left: 31px;
    }

    .education .container {
        width: 100%;
        padding-left: 8rem;
        padding-right: 2rem;
    }

    .education .container::after {
        font-size: 2.2rem;
    }

    .education .container::before {
        left: 61px;
        border: medium solid rgb(125, 48, 122);
        border-width: 10px 10px 10px 0;
        border-color: transparent orchid transparent transparent;
    }

    .education .left::after {
        left: 15px;
    }

    .education .right::after {
        left: 15px;
    }

    .education .right {
        left: 0%;
    }





}

@media(max-width:500px) {
    .typing-text span::after {

        height: 50%;

    }
}

@media(max-width:430px) {
    .radial-bars .radial-bar {
        width: 100%;
    }
}

@media(max-width:340px) {
    .home .home-content h1 {
        margin-left: 50px;
    }

    h2 {
        margin-left: 50px;

    }

    .home-content h3 {
        margin-left: 50px;
    }

    .home-content p {
        margin-left: 50px;
    }

    .social-icons {
        margin-left: 50px;


    }

    .btn {
        margin-left: 50px;
    }



}
