/* Start Styles Global */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html {
    scroll-behavior: smooth;
    direction: rtl;
}
body {
    font-family: "Cairo", sans-serif;
    /* cursor: none;
  position: relative; */
}
body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: var(--main-color);
    /* box-shadow: inset 2px 2px 5px 0 rgba(255, 255, 255, 0.5); */
}
body::-webkit-scrollbar-track {
    background-color: #ddd;
    border-radius: 8px;
}
/* .cursor {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: red;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;

  z-index: 99999999999;
} */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
a {
    text-decoration: none;
}
button {
    border: none;
}
/* Start auth global styles */
.auth__content {
    max-width: 480px;
    width: 100%;
}
@media (min-width: 992px) {
    .auth__content {
        margin-top: 60px;
    }
}

@media (max-width: 991px) {
    .auth-slide {
        display: none;
    }
    .auth__content {
        margin-bottom: 60px;
    }
}
.auth__title {
    color: var(--main-color);
    line-height: 44.98px;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}
.auth__sub-title {
    color: #98a2b3;
    font-size: 14px;
    line-height: 26.24px;
    font-weight: 400;
    margin-bottom: 30px;
}
.auth__content .label {
    font-size: 16px;
    line-height: 29.98px;
    font-weight: 600;
    color: var(--main-text-Color);
    margin-bottom: 8px;
}
.auth__content .input {
    width: 100%;
    padding: 10px 16px;
    border-radius: 30px;
    margin-bottom: 10px;
    border: 1px solid #0d0c2226;
    outline: none;
    transition: 300ms;
}
.auth__content .input:focus {
    border: 1px solid var(--main-color);
}
.auth__submit-btn {
    width: 100%;
    padding: 8px 24px;
    border-radius: 14px;
    background-color: var(--main-color);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 33.73px;
}
.swiper {
    direction: rtl;
}
.auth .swiper-content {
    border-radius: 24px;
    overflow: hidden;
}
.auth .swiper-slide {
    width: 840px;
    height: 700px;
    position: relative;
}
.auth .swiper-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000009d;
}

.auth .swiper-slide_image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}
.swiper-slide_text {
    color: #ffffff;
    position: absolute;
    z-index: 33;
    bottom: 130px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
}
.swiper-slide_text p {
    font-size: 30px;
    line-height: 50px;
    font-weight: 600;
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .auth .swiper-slide {
        max-height: 400px;
    }
    .auth .swiper-slide_image img {
        max-height: 400px;
    }
    .swiper-slide_text {
        bottom: 100px;
    }
    .swiper-slide_text p {
        font-size: 25px;
        line-height: 40px;
    }
}
.copy-rights-auth {
    text-align: center;
    position: absolute;
    font-size: 15px;
    font-weight: 400;
    line-height: 18px;
    bottom: 0px;
    right: 175px;
    transform: translateX(20px);
}
/* End auth global styles */
/* Start Section Title Styles */
.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title span {
    width: 88px;
    height: 1px;
    background-color: var(--main-color);
    /* margin-top: 3px; */
}
.section-title h2 {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
    line-height: 29.98px;
    color: var(--main-color);
}

/* End Section Title Styles */
/* End Styles Global */
/* Start variables */
:root {
    --main-color: #2243a4;
    --primary-color: #4c66b6;
    --primary-light-color: #c8d1ea;
    --section-bg-color: #f4f5f5;
    --primary-border-radius: 20px;
    --main-border-radius: 12px;
    --main-text-Color: #121212;
    --second-text-Color: #7a8582;
    --gray-color: #797979;
    --section-padding: 60px;
}
/* End variables */
/* Start Classes */
.bg--primary {
    background-color: var(--main-color) !important;
}
.primary-color {
    color: var(--primary-color) !important;
}
.bg-section {
    background-color: var(--section-bg-color);
}
.main-text-color {
    color: var(--main-text-Color) !important;
}
.section-padding {
    padding: var(--section-padding) 0 !important;
}
.gray-color {
    color: var(--gray-color) !important;
}
.main_text-color {
    color: var(--main-color);
}
.main_textcolor {
    color: var(--main-color);
}
.main-btn,
.primary-btn,
.swal2-styled {
    font-size: 18px;
    font-weight: 500;
    line-height: 33.73px;
    color: #fff;
    padding: 3px 24px;
    background-color: var(--main-color);
    border-radius: 14px;
    max-width: 260px;
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
}

.primary-btn {
    background-color: transparent;
    border: 1px solid var(--main-color);
}

.primary-btn a {
    color: var(--main-color) !important;
}

.swal2-styled {
    /* padding: 8px 40px; */
    width: 180px;
}

.swal2-icon-show {
    position: relative;
    box-sizing: content-box;
    justify-content: center;
    width: 8em;
    height: 5em;
    margin: 2.5em auto 1em;
    border: none;
    border-radius: 20px;
    /* border-color: #000; */
    font-family: inherit;
    line-height: 5em;
    cursor: default;
    user-select: none;
}

div:where(.swal2-container) div:where(.swal2-popup) {
    display: none;
    position: relative;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 100%);
    width: 32em;
    max-width: 100%;
    padding: 0 0 1.25em;
    border: none;
    border-radius: 20px;
    background: #fff;
    color: hsl(0, 0%, 33%);
    font-family: inherit;
    font-size: 1rem;
}
.main-btn:hover {
    background-color: #142862;
}

@media (max-width: 768px) {
    .main-btn {
        max-width: 166px;
    }
    .section-padding {
        padding: 30px 0 !important;
    }
}
/* End Classes */

/* Start Buttons  */

/* Start Buttons  */

/* Courses */

.line-decoration {
    height: 1px;
    width: 88px;
    background-color: #2243a4;
}
.cources {
    background-color: #f4f5f5;
    padding: 1.5rem 0;
}
.course_body {
    padding: 1.5rem 1.5rem 0 1.5rem;
}
.course {
    border-radius: 20px;
    background-color: #fff;
    overflow: hidden;
    transform: scale(1);
    transition: 500ms;
}
.undeline-course_title {
    height: 1px;
    width: 100px;
    background-color: #000;
}
.course__image {
    transition: 600ms;
    height: 250px;
}

.course__image img {
    height: 100%;
}

.course__image:hover {
    transform: scale(1.1);
}
.course__description p {
    line-height: 2;
}

/* posts */
.post {
    border-radius: 20px;
    overflow: hidden;
    background-color: #fff;
}

.post_title p {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.image-post {
    height: 250px;
    overflow: hidden;
}

.main-image_post {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0 0 50px 0;
    transform: scale(1);
    transition: 500ms;
}

.main-image_post:hover {
    transform: scale(1.3);
}

.post_body {
    border-radius: 50px 0 0 0;
    background-color: #fff;
    position: relative;
    padding: 0 1.25rem 1.25rem;
}
.image-post {
    position: relative;
}
.image-post img {
    border-radius: 0 0 0px 0;
}
.image__post {
    position: absolute;
    top: 185px;
    left: 0px;
}

.post_content {
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.image_writer-post {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e6c238;
    img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}
/* End posts */

/* Profile Componant (drowbdown navbar) */
.dropdown-toggle::after {
    display: none !important;
}
.dropdown-toggle {
    background: transparent !important;
}
.dropdown-toggle_nav {
    padding: 0 !important;
}
.dropdown-menu {
    padding: 8px;
    border-radius: 20px;
}

.dropdown-item {
    border-radius: 8px;
    font-size: 14px;
}
.dropdown-item:hover a i {
    color: #fff !important;
    font-size: 14px;
}
.dropdown-item:hover {
    background-color: #4c66b6;
    color: #fff;
}
.profile_componant {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    overflow: hidden;
    img {
        object-fit: contain;
    }
}

/* services section */

.home-services__subtitle {
    display: -webkit-flex;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.error-message {
    font-size: 14px;
    height: 20px;
}

.marqueee_custom {
    direction: ltr !important;
}

/* Categories Page */

@media (max-width: 991px) {
    .categories-section {
        margin-top: 8rem !important;
    }
}

/* Hero Section */

.rocket-image {
    animation: rocket 1s infinite;
}

@keyframes rocket {
    0% {
        transform: translateY(0);
    }

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

    100% {
        transform: translateY(-10);
    }
}

/* text controll */

/* .course__description {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    overflow: hidden;
    gap: 3px;
}
.course__description p:first-child {
    width: 0%;
}

.course__description p:nth-child(2) {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course__description p:last-child {
    display: none;
}

.course__description p:not(:first-child):not(:nth-child(2)):not(:last-child) {
    display: none;
} */
