html,
body {
    margin: 0px;
    overflow-x: hidden;
    max-width: 100%;
    min-height: 100vh;

}

/* CSS لتثبيت التمرير  */
/* انا عملتها عشان لما الرسالة الترحيب تظهر مش يقدر يعمل 
scroll
لتحت غير لما يضغط ع 
thanks */
.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}


/* &This is to hide the (default scrollbar) generated by (preload appear when you open this site ) */
body {
    overflow: hidden;
}

* {
    box-sizing: border-box;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

ul {
    list-style-type: none;
}

.no-scroll {
    overflow: hidden;
}

.navbar-toggler {
    border: none;
}

#menu-icon {
    font-size: 25px;
}



html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(4.25rem);
}

/* !########### Navbar */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 999;
    color: #4E4E4E;
    transition: background-color 0.4s ease;
}



.let-space {
    letter-spacing: 1px;
}

.navbar-brand {
    cursor: pointer;

}

.navbar-brand:hover {
    color: #fff;
    cursor: pointer;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #0078FF !important;
    transition: all 0.3s;
}



.dropdown-item {
    font-size: 15px !important;
    color: #4E4E4E !important;
    font-weight: 500;
    transition: color 0.3s;
}

.dropdown-item:hover {
    color: #0078FF !important;
    background-color: transparent !important;
}

.nav-link {
    padding: 0 !important;
    position: relative;
}

.nav-link::before {
    content: "";
    width: 0%;
    height: 2px;
    background-color: #0078FF;
    position: absolute;
    top: 100%;
    left: 0px;
    transition: width 0.5s;
}

.nav-link:hover::before {
    width: 100%;
}

.dropdown .dropdown-menu {
    display: none;
}

.dropdown:hover>.dropdown-menu,
.deepdropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 5px;

}

.deepdropdown:hover>.dropdown-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 95%;
    top: 26%;
}

.nav-link.dropdown-toggle:focus,
.nav-link.dropdown-toggle:active {
    color: #ffffff;
}

/* &########### Dark mode */
.navbar .icon-moon {
    position: relative;
    font-size: 1.5625rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    right: 3%;

}

.navbar .icon-moon .fa-sun,
.navbar .icon-moon .fa-moon {
    cursor: pointer;
}


.menu-checkbox:checked~.list {
    display: none;
}






/* !########### Header Section */
.header {
    background: linear-gradient(rgba(0, 0, 0, 0.231), rgba(133, 95, 95, 0.231)), url(https://raw.githubusercontent.com/albadokhon/web-resources/refs/heads/main/personal/hero-bg.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: initial;

}



.header .container h1 {
    font-weight: 600;
    font-size: 3rem;
}




.header .container p span {
    font-weight: 600;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
    overflow: hidden;
}


#cursor {
    animation: blink 0.7s steps(1) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}





/* .header .container p span:nth-of-type(1) {
    animation: Developer 10s steps(9) infinite;
}
.header .container p span:nth-of-type(2) {

    animation: Designer 10s steps(8) infinite;
}

.header .container p span:nth-of-type(3) {
    animation: Freelancer 10s steps(10) infinite;
}



@keyframes Developer {
    0%, 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, 87.5%, 100% {
        width: 0%;
    }
    
    0%, 28% {
        width: calc(9 * 24.74px); 
    }
    
    28%, 33% {
        width: 0%;
    }
}

@keyframes Designer {
    0%, 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, 87.5%, 100% {
        width: 0%;
    }

    33%, 59% {
        width: calc(8 * 24.74px); 
    }
    
    59%,66% {
        width: 0%;
    }
}

@keyframes Freelancer {
    0%, 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, 87.5%, 100% {
        width: 0%;
    }

    66%, 83% {
        width: calc(10 * 24.74px); 
    }

    83%, 100% {
        width: 0%;
    }
} */


/* !########### About Section */
.about {
    background-color: #F5F5F5 !important;
}

.overlay-about {
    position: relative;
    background-color: #fff;
    z-index: 2;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.06), 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}

.about .about-img img {
    margin-left: 10px;

}

.title-s {
    font-weight: 600;
    color: #1E1E1E;
    font-size: 1.1rem;
}

.title-b {
    font-weight: 600;
    color: #1E1E1E;
    font-size: 1.1rem;
}

.about p:nth-last-of-type(2) .skills span {
    color: #4e4e4e;
}

.skills .progress-bar {
    background-color: #0078FF;
    width: 0;
    border-radius: 0;
    transition: width 1s ease-in-out;
    opacity: 1;
}


.skills .progress {
    margin-top: 10px;
}

.title-box-2 {
    margin-bottom: 3.125rem;
}

.title-left {
    position: relative;
}

.title-left::before {
    content: " ";
    position: absolute;
    width: 17%;
    height: 3px;
    bottom: 0px;
    left: 0px;
    background-color: #0078FF;
    bottom: -12px;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* !########### Services Section */
.title-a {
    text-decoration: none;
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
}

.title-box {
    margin-bottom: 4rem;
}

.subtitle-a {
    text-decoration: none;
    color: #4e4e4e;
}

.line-mf {
    width: 40px;
    height: 5px;
    background-color: #0078ff;
    margin: 0 auto;
}

.service-box {
    background-color: #fff;
    padding: 2.5rem 1.3rem;
    border-radius: 1rem;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0px 13px 40px 8px rgba(0, 0, 0, 0.1);

}

.service-box .s-title {
    font-size: 1.4rem;
    text-transform: uppercase;
    text-align: center;
    padding: 0.4rem 0;
}

.service-box .service-ico {
    margin-bottom: 1rem;
    color: #1e1e1e;
}

.service-box .ico-circle {
    transition: all 500ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ico-circle {
    height: 100px;
    width: 100px;
    font-size: 2rem;
    border-radius: 50%;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 0 0 10px #0078ff;

}

.service-box .ico-circle i {

    line-height: 1.55;
    font-size: 40px;
    opacity: 1;
}

.service-box .ico-circle:hover {
    background-color: #0062d3;
    box-shadow: 0 0 0 10px #cde1f8 !important;
    transition: all .5s ease;
    color: #ffffff;
}

/* !########### blue-Section */
.blue-section {
    background: linear-gradient(rgba(0, 119, 255, 0.778), rgba(0, 119, 255, 0.778)), url(https://raw.githubusercontent.com/albadokhon/web-resources/refs/heads/main/personal/FUTURE-CITY-ARTSTATION.JPG);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 0px;
}

.blue-i {
    font-size: 35px;
    margin: 10px 0px;
    border-radius: 50%;
    border: #CDE1F8 solid 10px;
    width: 90px;
    height: 90px;
    color: #CDE1F8;
    line-height: 2;
}

/* !########### Portfolio Section */

.work-box {
    margin-bottom: 3rem;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: #fff;
    box-shadow: 0px 13px 10px 0px rgba(0, 0, 0, 0.1);

}

.work-box:hover img {
    transform: scale(1.3);
}

.work-img {
    display: block;
    overflow: hidden;
}

.work-img img {
    transition: all 1s;
    width: 100%;
    height: auto;
    object-fit: cover;

}

.work-content {
    padding: 2rem 3% 1rem 4%;
    position: relative;
}

.work-content .w-more {
    color: #4e4e4e;
    font-size: 0.8rem;
}

.w-title {
    font-size: 1.2rem;
}

.work-content .w-more .w-ctegory {
    color: #0078ff;
}

.work-content .w-like {
    font-size: 2.5rem;
    color: #0078ff;
    float: right;
}

.work-content .w-like .num-like {
    font-size: 0.7rem;
}


.fa-circle-plus:hover {
    transform: scale(1.1);
    transition: all 0.2s ease;
    color: #0062d3;
}





/*!######### testimonials Section */

.testimonials-section {
    position: relative;
    background-image: url(https://raw.githubusercontent.com/albadokhon/web-resources/refs/heads/main/personal/FUTURE-CITY-ARTSTATION.JPG);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 40px 0px;
}

.testimonials-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 119, 255, 0.76);
    z-index: 1;
    /* make it above the background */
}

.testimonials .container {
    position: relative;
    padding: 0px;
}

.testimonials .testimonial-item {
    text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
    width: 100px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    margin: 0 auto;

}

.testimonials .testimonial-item h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0 5px 0;
    color: #fff;
}

.testimonials .testimonial-item h4 {
    font-size: 14px;
    margin: 0 0 15px 0;
    color: rgba(248, 237, 237, 0.8);

}





.testimonials .testimonial-item .stars {
    margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
    color: #ffc107;
    margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
    color: #fff;
    font-size: 26px;
    line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
    transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
    font-style: italic;
    margin: 0 auto 15px auto;
    color: #fff;
    width: 70%;

}

.testimonials .swiper-wrapper {
    height: auto;
}


.testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #fff;
    opacity: 1;
}

.testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
}


/*!######### Blog Section */
.blog .title-box {
    margin-bottom: 3rem;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1* var(--bs-gutter-y));
    margin-right: calc(-.5* var(--bs-gutter-x));
    margin-left: calc(-.5* var(--bs-gutter-x));
}


.img-fluid {
    max-width: 100%;
    height: auto;
}

.card-blog .card-body {
    position: relative;
}

.blog .content-blog {
    margin-bottom: 3rem;

}

.card-blog {
    margin-bottom: 3rem;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: #fff;
    box-shadow: 0px 13px 10px 0px rgba(0, 0, 0, 0.1);
}

.card-blog .card-category-box {
    position: absolute;
    text-align: center;
    top: -16px;
    left: 15px;
    right: 15px;
    line-height: 25px;
    overflow: hidden;
}

.card-blog .card-category {
    display: inline-block;
    color: #fff;
    padding: 0 15px 5px;
    overflow: hidden;
    background-color: #0078ff;
    border-radius: 4px;
}

.card-blog .card-category .category {
    color: #fff;
    display: inline-block;
    text-transform: uppercase;
    font-size: .7rem;
    letter-spacing: .1px;
    margin-bottom: 0;
}

.card-blog .card-title {
    font-size: 1.3rem;
    margin-top: .6rem;
}

.card-blog .card-body h3 a {
    color: #1e1e1e;
    text-decoration: none;

}

.card-blog .card-body h3 a:hover {
    color: #0078ff;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.card-blog .card-description {
    color: #4e4e4e;
}




.card-footer {
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
    color: var(--bs-card-cap-color);
    background-color: var(--bs-card-cap-bg);
    border-top: var(--bs-card-border-width) solid var(--bs-card-border-color);
    position: relative;
    height: 2.875rem;

}

.card-blog .post-author a {
    position: absolute;
    display: inline-block;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-blog .post-author .author {
    color: #1e1e1e;
}

.card-blog .post-author .author:hover {
    color: #0078ff;
    transition: all 0.2s ease-in-out;
}

.card-footer .avatar {
    width: 32px;
    height: 32px;
    margin-right: 4px;
    overflow: hidden;
    display: inline-block;
    position: relative;

}

.card-blog .post-date {
    color: #4e4e4e;
    display: flex;
    float: right;
    justify-content: center;
    align-items: center;


}

.card-blog .post-date i .fa-clock {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
}

.fa-clock:before {
    margin: 3px;
}

.rounded-circle {
    border-radius: 50% !important;
}

/*!######### Contact Section-part-one */
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1* var(--bs-gutter-y));
    margin-right: calc(-.5* var(--bs-gutter-x));
    margin-left: calc(-.5* var(--bs-gutter-x));
}

.overlay-mf {
    background-color: #0078ff;
    top: 0;
    left: 0px;
    height: 100%;
    width: 100%;
    opacity: 0.7;
}

.paralax-mf {
    position: relative;
    padding: 3rem 0 0 0;
    background-image: url(https://raw.githubusercontent.com/albadokhon/web-resources/refs/heads/main/personal/FUTURE-CITY-ARTSTATION.JPG);
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

}

.display-table {
    width: 100%;
    height: 100%;
    display: table;
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
}

.contact-mf {
    margin-top: 4rem;
}

.box-shadow-full {
    padding: 3rem;
}

.box-shadow-full {
    padding: 3rem 1.25rem;
    position: relative;
    background-color: #fff;
    margin-bottom: 3rem;
    z-index: 2;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.06), 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}

.title-box-2 {
    margin-bottom: 3rem;
    color: #1e1e1e;
}

.title-left {
    font-size: 2rem;
    position: relative;
}

.paralax-mf .form-group textarea {
    resize: vertical;
    min-height: 6.25rem;
    max-height: 18.75rem;
}

.paralax-mf .contactForm .button-a {
    background-color: #0078ff;
    color: #fff;
    border-color: #cde1f8;
    height: 3.75rem;
    cursor: pointer;
    border: none;
}

.paralax-mf .contactForm .button-a:hover {
    background-color: #0062d3;
    box-shadow: 0 0 0 4px #cde1f8 !important;
    transition: all .2s ease;
    color: #ffffff;
}

.paralax-mf .contactForm .button-radius {
    border-radius: 5rem;
}

.paralax-mf .contactForm .size-button {
    padding: 0.9rem 2.3rem;
    font-size: 1.2rem;
}

/*!######### Contact Section-part-two */
.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.list-ico {
    line-height: 2;
    margin: 0px;
    padding: 0px;
}

.list-ico ul {
    list-style-type: none;
}

.list-ico i {
    color: #0078ff;
    margin-right: 10px;

}

ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}


.socials {
    padding: 1.5rem 0;
    text-align: start;
}

.socials ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.socials ul li {
    display: inline-block;
    margin: 0 10px;
}

.socials .circle-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #0078ff;
    border-radius: 50%;
    color: #1E1E1E;
    text-decoration: none;
    transition: all 0.3s ease;
}

.socials .circle-socials i {
    font-size: 20px;
}

.socials .circle-socials:hover {
    background-color: #0062d3;
    box-shadow: 0 0 0 4px #cde1f8 !important;
    transition: all .3s ease;
    color: #ffffff;
}

/*!######### End footer section */

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

.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #0078ff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

}

.back-to-top i {
    color: #ffffff;

}

.back-to-top:hover {
    background-color: #0062d3;
    transition: all .2s ease;
}




/*!######### preload Section (when you preload this website )*/

.loading {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9999999999999;
}

.loading:after,
.loading:before {
    content: "";
    background: #fff;
    height: 50%;
    width: 100%;
    position: absolute;
    left: 0;
    transition: all 1s;
}

.loading:after {
    top: 0;
}

.loading:before {
    bottom: 0;
}

.loading-end:after {
    top: -60%;
}

.loading-end:before {
    bottom: -60%;
}

.load-circle {
    margin: 50vh auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 10px solid #e8e8e8;
    border-top: 10px solid #000;
    -webkit-animation: rotate 1.2s infinite linear;
    animation: rotate 1.2s infinite linear;
}

@-webkit-keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}