* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

:root {
    --color-primary: #1b9e89;
    --color-secound: #f8f8f8;
    --color-text: #9a9ea4;
    --color-white: #fff;
    --color-pargraph: #212529;
    --color-nav: #f0f8ff;
    --color-acordion: #f5f5f5;
    --color-new: #656565;
    --color-sidebar: #828c8d;
    --color-link: #818387;
    --color-details: #595d64;
    --color-celender: rgb(36 209 152);
    --color-done: rgba(129, 131, 135, 1);
    --color-blue: rgba(83, 146, 251, 1);
    --color-yellow: rgba(237, 184, 62, 1);
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    list-style: none;
    direction: rtl;
    height: 100vh;
    scroll-behavior: smooth;
    position: relative;
    background-color: var(--color-white);
}
section.frist-slider {
    height: 69vh;
    position: relative;
    .swiper {
        position: unset;
        .swiper-wrapper {
            position: unset;
        }
    }
}
.swiper-container {
    width: 100vw;
    height: 69vh;
}
::-webkit-scrollbar {
    width: 5px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-white);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-details);
}
.swiper-slide {
    background-color: #fcfcfc;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    color: #fcfcfc;
    font-size: 24px;
}
.swiper-slide > .swiper-slide-cover {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent no-repeat 50% 50% / cover;
}
body {
    text-align: center;
}
.swiper-slide .slide-01 {
    /* background-image: url(https://martin-kovacs.com/wp-content/uploads/2024/03/slide-16-2048.jpg); */
    transform-origin: 50% 50%;
}
.swiper-slide .slide-02 {
    /* background-image: url(https://martin-kovacs.com/wp-content/uploads/2019/08/slide-01-2048.jpg); */
    transform-origin: 50% 50%;
}
.swiper-slide .slide-03 {
    /* background-image: url(https://martin-kovacs.com/wp-content/uploads/2024/02/slide-05-2048.jpg); */
    transform-origin: 50% 50%;
}
.swiper-slide .slide-04 {
    /* background-image: url(https://martin-kovacs.com/wp-content/uploads/2024/02/slide-07-2048.jpg); */
    transform-origin: 50% 50%;
}
.swiper-slide .slide-05 {
    /* background-image: url(https://martin-kovacs.com/wp-content/uploads/2024/02/slide-09-2048.jpg); */
    transform-origin: 50% 50%;
}
.swiper-slide .slide-06 {
    /* background-image: url(https://martin-kovacs.com/wp-content/uploads/2024/02/slide-13-2048.jpg); */
    transform-origin: 50% 50%;
}
.swiper-slide .slide-07 {
    /* background-image: url(https://martin-kovacs.com/wp-content/uploads/2024/02/slide-08-2048.jpg); */
    transform-origin: 50% 50%;
}
.swiper-slide .slide-08 {
    /* background-image: url(https://martin-kovacs.com/wp-content/uploads/2024/02/slide-11-2048.jpg); */
    transform-origin: 50% 50%;
}
.swiper-slide .slide-09 {
    /* background-image: url(https://martin-kovacs.com/wp-content/uploads/2024/02/slide-04-2048.jpg); */
    transform-origin: 50% 50%;
}
.swiper-slide .slide-10 {
    /* background-image: url(https://martin-kovacs.com/wp-content/uploads/2019/08/slide-03-2048.jpg); */
    transform-origin: 50% 50%;
}
.swiper-slide .slide-11 {
    /* background-image: url(https://martin-kovacs.com/wp-content/uploads/2024/02/slide-06-2048.jpg); */
    transform-origin: 50% 50%;
}
.swiper-slide .slide-12 {
    /* background-image: url(https://martin-kovacs.com/wp-content/uploads/2024/02/slide-12-2048.jpg); */
    transform-origin: 50% 50%;
}
.swiper-slide .slide-13 {
    /* background-image: url(https://martin-kovacs.com/wp-content/uploads/2024/02/slide-15-2048.jpg); */
    transform-origin: 50% 50%;
}
.swiper-slide .slide-14 {
    /* background-image: url(https://martin-kovacs.com/wp-content/uploads/2024/02/slide-10-2048.jpg); */
    transform-origin: 50% 50%;
}
.frist-slider img {
    width: 100%;
    height: 100%;
}
.last-slider img {
    width: 100%;
    height: 100%;
}
.frist-slider .text {
    position: absolute;

    width: fit-content;
}
.frist-slider .text p {
    background-color: rgba(255, 255, 255, 0.301) !important;
    border-radius: 20px;
    color: white !important;
    padding: 0.5rem;
}
.last-slider .text {
    position: absolute;
    width: 50%;
}
/* .last-slider .overlay {
    display: flex;
    justify-content: center;
    align-items: center;
} */
section.last-slider {
    height: 40vh;
    margin-top: 2rem;
    margin-bottom: -2rem;
}
.last-slider .text p {
    background-color: rgba(255, 255, 255, 0.301) !important;
    border-radius: 20px;
    color: white !important;
    padding: 0.5rem;
}
.swiper-scale-effect .swiper-slide-cover {
    transition-timing-function: linear;
    transition-duration: 20s;
    transform: scale(1);
}
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000082;
}
.last-slider .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000082;
}
.slide-01.swiper-slide-cover {
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-scale-effect .swiper-slide.swiper-slide-active .swiper-slide-cover {
    transform: scale(1.3);
}

.swiper-lazy-preloader-white {
    --swiper-preloader-color: #fcfcfc;
}
.swiper-lazy-preloader-black {
    --swiper-preloader-color: #262626;
}
.swiper-button-prev,
.swiper-button-next {
    background: transparent;
    opacity: 0.55;
    --swiper-navigation-color: rgba(252, 252, 252, 0.85);
    transition: opacity 0.3s ease, color 0.3s ease;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: transparent;
    opacity: 0.85;
    --swiper-navigation-color: #fcfcfc;
}
.swiper-pagination-bullet {
    width: var(
        --swiper-pagination-bullet-width,
        var(--swiper-pagination-bullet-size, 10px)
    ) !important;
    height: var(
        --swiper-pagination-bullet-height,
        var(--swiper-pagination-bullet-size, 10px)
    ) !important;
    box-shadow: inset 1px 1px 1px rgba(38, 38, 38, 0.85);
    background: var(--color-primary) !important;
    opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.55) !important;
    --swiper-pagination-bullet-horizontal-gap: 6px;
}
.swiper-pagination-bullet-active {
    box-shadow: inset 1px 1px 1px rgba(38, 38, 38, 0.85);
    background: var(--color-primary) !important;

    opacity: var(--swiper-pagination-bullet-active-opacity, 0.85) !important;
    --swiper-pagination-bullet-horizontal-gap: 10px;
}

button.show {
    background: white;
    color: black;
    font-family: "regular";
    padding: 1rem 2rem;
    border-radius: 38px;
    border: 0;
    box-shadow: -6px 6px 0px var(--color-primary);
}

button.show-teacher {
    background: var(--color-primary);
    color: white;
    font-family: "regular";
    padding: 1rem 2rem;
    border-radius: 38px;
    border: 0;
    box-shadow: -6px 6px 0px black;
}

button.show-teacher a {
    color: white;
}

button.show a {
    color: black;
}

.all-details-teacher {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.all-teacher {
    background-color: #fafafa;
    padding: 3rem 1rem;
}

.header-teacher {
    background-color: #1b9e8929;
    color: var(--color-primary);
    padding: 1rem;
    width: fit-content;
    border-radius: 33px;
    margin-bottom: 2rem;
}

.header-teacher h3 {
    font-family: "regular";
    font-size: 0.8rem;
    margin-bottom: 0;
    display: contents;
}

.adress-teacher h4 {
    font-family: "bold";
    width: 80%;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.disc p {
    font-family: "regular";
    color: #909dad;
}

.teacher-details h4 {
    font-family: "bold";
    font-size: 1.1rem;
}

.teacher-details p {
    font-family: "regular";
    font-size: 0.8rem;
}

.adress-teacher-details {
    color: #47586e;
    font-size: 0.7rem;
}

.adress-teacher-details svg {
    color: var(--color-primary);
    margin-left: 5px;
}

.all-details-teacher img {
    width: 137px;
    height: 137px;
    border-radius: 50%;
}

.teacher-details .iconss img {
    width: 10%;
    aspect-ratio: 6 / 3;
    object-fit: contain;
    height: unset;
}

.heads {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.dropdown-menu.show a {
    padding: 0.5rem 1rem !important;
    margin-bottom: 0.5rem !important;
    width: 100% !important;
}
.heads p {
    background-color: #1b9e8929;
    color: var(--color-primary);
    padding: 1rem;
    width: fit-content;
    border-radius: 33px;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-family: "regular";
    font-size: 2rem;
}
.dropdown-menu.show {
    text-align: start;
    padding: 0.3rem;
}
.heads h4 {
    font-family: "bold";
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.heads h5 {
    font-family: "regular";
    width: 50%;
    text-align: center;
    color: #909dad;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.teacher-name-slider-card {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
}

.text-slider-card p {
    margin-bottom: 0;
    font-family: "regular";
    text-align: start;
    font-size: 0.7rem;
    color: black;
}

.text-slider-card h4 {
    margin-bottom: 1rem;
    text-align: start;
    font-family: "bold";
    font-size: 1.1rem;
    color: black;
}
.all-dis {
    margin-top: 0.5rem;
    width: 100%;
    text-align: right;
    p {
        color: white;
        font-family: "regular";
        margin-top: 0.8rem;
        font-size: 0.9rem;
    }
}
.text-slider-card {
    background-color: var(--color-white);
    padding: 0.5rem;
}

p.name-teacher-slider-card {
    margin-bottom: 0;
    font-family: "regular";
    text-align: start;
    font-size: 1rem;
}

.text-slider-card h5 {
    margin-top: 1rem;
    font-family: "regular";
    text-align: start;
    color: #818387;
    font-size: 0.9rem;
}

.courses-end .swiper-wrapper {
    height: fit-content;
}
.courses-end img.img-slider-card-main {
    width: 100% !important;
    height: 274.41px !important;
    border-radius: 15px 15px 0 0;
}
img.img-slider-card-main {
    width: 100% !important;
    height: 274.41px !important;
    border-radius: 15px 15px 0 0;
}

.icons-slider-card-teacher {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.137);
}

.frist-icon-slider-card {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.icons-slider-card-teacher h4 {
    font-size: 0.7rem;
    margin-bottom: 0;
    color: #3d4c5e;
}

.prise {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.prise h4 {
    margin-bottom: 0;
    color: var(--color-primary);
}

button.supscribe {
    background-color: var(--color-primary);
    font-family: "regular";
    border: 0;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: white !important;
}

button.supscribe a {
    color: white;
    font-size: 1rem;
}

section.tabs-supject {
    padding: 0 2rem;
}

.slider-cards .swiper-slide {
    display: block;
    padding: 0;
    border-radius: 15px 15px 15px 15px;
}

.all-slider-cards {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.all-slider-cards .img-slider-card-main {
    transition: 0.7s ease;
    /* Smooth transition for opacity change */
}

.all-slider-cards:hover .img-slider-card-main {
    scale: 1.1;

    filter: brightness(0.5);
}

.subject-card {
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.subject-card img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.subject-card:hover .overlay {
    visibility: visible;
    opacity: 1;
}

select.form-select {
    width: 17%;
    margin: auto;
    margin-bottom: 1rem;
    margin-top: -3rem;
}

.subject-card .overlay {
    position: absolute;
    top: 14px;
    right: 8px;

    width: 237px;
    height: 229px;

    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    border-radius: 50%;
}

.overlay h4 {
    color: white;
    font-size: 1.2rem;
    font-family: "regular";
    margin-bottom: 0;
}

.overlay svg {
    margin-right: 10px;
}

.electronic {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
}

.new-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.control-tabs-subjects {
    margin-top: -44px;
}

.time {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.electronic h4 {
    font-family: "bold";
    color: var(--color-white);
    font-size: 2.2rem;
}

.time h6 {
    background-color: #b5e3db2e;
    margin-bottom: 0;
    color: var(--color-white);
    font-family: "regular";
    border-radius: 10px 10px 0 0;
    width: 48px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

section.courses-end {
    background: linear-gradient(179deg, var(--color-primary), white);
    padding: 1rem 0 5rem;
    position: relative;
    .swiper {
        position: unset;
        .swiper-wrapper {
            position: unset;
        }
    }
}

.timer-end {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.time h5 {
    color: black;
    font-family: "regular";
    font-size: 0.6rem;
    background-color: var(--color-white);
    width: 48px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 10px 10px;
}

img.descount-img {
    position: absolute;
    top: 5px;
    right: 0px;
    z-index: 11111111;
}

.main-discont {
    position: relative;
}

img.svg {
    margin-left: 10px;
    fill: var(--color-primary);
    /* Use fill property to change SVG color */
}

h4.descount-text {
    position: absolute;
    top: 24px;
    z-index: 11111111111111111111;
    color: white;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 9px;
    font-family: "regular";
}

.swiper-slide a {
    color: white;
    text-decoration: none;
    font-family: "bold";
}

.ovrlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.288);
}

.tabs-supject .tab-content .active {
    border: 0 !important;
}

.tabs-supject .tab-content {
    padding: 1rem;
    margin-top: 1rem;
}

.tabs-supject li.nav-item {
    color: var(--color-primary);
    font-family: "regular";
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border: 0;
}

.control-tabs-subjects .nav-link {
    color: black;
    font-family: "regular";
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    font-family: "bold";
    color: var(--color-primary) !important;
    border-color: unset !important;
}

.courses-end .swiper-slide {
    height: 70%;
    border-radius: 15px;
}

h1 {
    font-size: 3rem;
    color: white;
    font-family: "bold";
    display: flex;
    direction: rtl;
    justify-content: center;
    align-items: center;
}
h1 span {
    transition: color 0.3s ease, filter 0.3s ease;
}
h1 span.light-up {
    color: var(--color-primary);
    filter: drop-shadow(0 0 10px var(--color-primary));
}
.style-one {
    width: 100%;
    height: 300px;
    background-color: #262626;
    background-image: url(../img/backg.png);
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
}
.style-two {
    width: 100%;
    height: 300px;
    background-color: #262626;
    background-image: url(../img/ss.png);
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    overflow: hidden;
}

h2 {
    font-size: 3rem;
    color: #ecf0f1;
    display: flex;
    direction: rtl;
    font-family: "bold";
}
h2 span {
    display: inline-block;
    position: relative;
    transition: all 6s ease-in-out;
}
h2 span.animation1 {
    color: #f39c12;
    animation: crazy 2s infinite alternate;
    letter-spacing: 0px;
}
h2 span.animation2 {
    color: #e74c3c;
    animation: alternate 4s infinite alternate;
    letter-spacing: 15px;
}
h2 span.animation3 {
    color: #9b59b6;
    animation: shake 2s infinite alternate;
    letter-spacing: 0px;
}
@keyframes crazy {
    0% {
        transform: rotate(0deg) translate(0, 0);
        filter: drop-shadow(0 0 10px var(--color-primary));
    }
    25% {
        transform: rotate(20deg) translate(5px, -5px);
        filter: drop-shadow(0 0 15px var(--color-primary));
    }
    50% {
        transform: rotate(-20deg) translate(-5px, 5px);
        filter: drop-shadow(0 0 20px var(--color-primary));
    }
    75% {
        transform: rotate(25deg) translate(10px, -10px);
        filter: drop-shadow(0 0 25px var(--color-primary));
    }
    100% {
        transform: rotate(-25deg) translate(-10px, 10px);
        filter: drop-shadow(0 0 30px var(--color-primary));
    }
}
@keyframes alternate {
    0% {
        transform: scale(1) translate(0, 0);
        filter: drop-shadow(0 0 10px var(--color-primary));
    }
    25% {
        transform: scale(0.9) translate(5px, -5px);
        filter: drop-shadow(0 0 15px var(--color-primary));
    }
    50% {
        transform: scale(0.8) translate(-5px, 5px);
        filter: drop-shadow(0 0 20px var(--color-primary));
    }
    75% {
        transform: scale(1) translate(10px, -10px);
        filter: drop-shadow(0 0 25px var(--color-primary));
    }
    100% {
        transform: scale(0.7) translate(-10px, 10px);
        filter: drop-shadow(0 0 30px var(--color-primary));
    }
}
@keyframes shake {
    0% {
        transform: translate(0, 0);
        filter: drop-shadow(0 0 10px var(--color-primary));
    }
    25% {
        transform: translate(-5px, 5px);
        filter: drop-shadow(0 0 15px var(--color-primary));
    }
    50% {
        transform: translate(5px, -5px);
        filter: drop-shadow(0 0 20px var(--color-primary));
    }
    75% {
        transform: translate(-10px, 10px);
        filter: drop-shadow(0 0 25px var(--color-primary));
    }
    100% {
        transform: translate(10px, -10px);
        filter: drop-shadow(0 0 30px var(--color-primary));
    }
}

#loader h2,
h3 {
    text-align: center;
    font-family: "bold";
    color: black;
    margin: 0;
    transform: translateY(20px);
    transition: opacity 5s ease, transform 5s ease;
}

#loader h2 {
    font-size: 2.5rem;
}

#loader h3 {
    font-size: 1.8rem;
    margin-top: 1rem;
}

.rr img {
    display: block;
    margin: auto;
    width: 30%;
    margin-bottom: 2rem;
    animation: fadeInScale 1.5s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #f5f6fc;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color: black;
    transition: opacity 4s ease, transform 4s ease;
}

#loader.slide-up {
    transform: translateY(-100%);
    opacity: 0;
    display: none;
    /* Hide the loader completely */
}

#welcome {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease, transform 1.5s ease;
    margin-top: 12rem;
}

#welcome.show {
    opacity: 1;
    transform: translateY(0);
}

.dark {
    position: absolute;
    top: 0;
    right: 0;
    width: 23%;
}
.dropdown-menu.show a {
    padding: 0.5rem 1rem !important;
    margin-bottom: 0.5rem !important;
}

.darks {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 23%;
}
.tab-content > .active {
    border-bottom: 0 !important;
}
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    button.supscribe a {
        font-size: 1rem;
    }
    .all-dis {
        width: 100%;
    }
}
@media screen and (max-width: 425px) {
    .heads {
        margin-top: 2rem;
    }
    .heads h5 {
        width: 100%;
    }
    .all-dis {
        width: 100%;
    }
    .new-header {
        justify-content: center;
    }
    .courses-end .swiper-wrapper {
        height: 77%;
    }
    .sss {
        width: 57% !important;
    }
    .all-ex {
        display: block;
    }
}
