/* ********************** start general css ********************** */
:root {
    --background-light: hsl(0, 0%, 100%);
    --background-light-item: hsl(0, 0%, 96%);
    --background-light-alp: hsl(0, 0%, 100%, 0.7);
    --background-light-grey: #eee;
    --color-default: #212529;
    --color-primary: hsl(219, 90%, 52%);
    --hover-color-primary: hsl(219, 90%, 45%);
    --color-secondary: #37373f;
    --links-color: #7f7f90;
    --color-tertiary: #7f7f90;
    --color-tertiary-2: #4f4f5a;
    --color-detail: #7d7d7d;
    --color-stars: #FFD700;
    --color-number: hsl(35, 72%, 44%);
    --border-color: #f1f1f1;
    --font-default: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-primary: "Tagesschrift", system-ui;
    --font-secondary: "Inter", sans-serif;
    --font-arabic: "Amiri", serif;
}

:root:has(#mode:checked) {
    --background-light: hsl(0, 0%, 9%);
    --background-light-item: hsl(0, 0%, 5%);
    --background-light-alp: hsl(0, 0%, 9%, 0.7);
    --background-light-grey: #252525;
    --color-default: #fff;
    --color-primary: hsl(35, 72%, 44%);
    --hover-color-primary: hsl(35, 72%, 49%);
    --color-secondary: #fff;
    --links-color: #bfbfc9;
    --color-tertiary: #9f9f9f;
    --color-tertiary-2: #9f9f9f;
    --color-detail: #adadad;
    --color-number: hsl(219, 90%, 52%);
    --border-color: #333;
}

:root:has(.mode:checked) body {
    background-color: #202020;
}

*[dir="rtl"] {
    direction: rtl;
    font-family: var(--font-arabic);
}

*[dir="rtl"] h1,
*[dir="rtl"] h2,
*[dir="rtl"] h3,
*[dir="rtl"] h4,
*[dir="rtl"] h5,
*[dir="rtl"] h6 {
    font-family: var(--font-arabic);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-default);
    color: var(--color-default);
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 12px;
    background-color: #fff;
    border-left: 2px solid #eee;
    box-shadow: 0px 0px 21px 0px #0003 inset;
}

::-webkit-scrollbar-thumb {
    background-color: #000;
    box-shadow: 0px 0px 10px 0px #eeeeee8c inset;
    border-radius: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

span {
    display: inline-block;
}

ul {
    list-style: none;
}

img {
    display: inline-block;
    width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
}

.main-title {
    margin-bottom: 1.5625rem;
    text-align: center;
}

.main-title h2 {
    color: var(--color-tertiary);
    font-weight: 400;
    font-size: 0.875rem;
}

.main-title p {
    font-size: 3.125rem;
    font-family: var(--font-primary);
}

*[dir="rtl"] .main-title p {
    font-family: var(--font-arabic);
    direction: ltr;
}

.main-title p span:last-child {
    color: var(--color-primary);
}

*[dir="rtl"] .main-title p span:last-child {
    color: var(--color-default);
}

*[dir="rtl"] .main-title p span:first-child {
    color: var(--color-primary);
}

.container {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}

.btn-main {
    background-color: var(--color-primary);
    color: var(--background-light);
    border: 2px solid transparent;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: background-color 400ms;
}

.btn-main:hover {
    background-color: var(--hover-color-primary);
}

.py-25-15 {
    padding: 1.5625rem 0.9375rem;
}

.py-90-15 {
    padding: 5.625rem 0.9375rem;
}

.py-40-15 {
    padding: 2.5rem 0.9375rem;
}

.mgt-85 {
    margin-top: 5.3125rem;
}

/* ********************** end general css ********************** */

/* ********************** start navbar ********************** */

nav {
    background-color: var(--background-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0px 0px 14px 0px #0000001b;
}

.navbar-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h1 {
    font-size: .875rem;
    font-family: var(--font-default);
}

*[dir="rtl"] .logo h1 {
    font-family: var(--font-arabic);
}

.navbar-parent .logo {
    display: flex;
    align-items: center;
}

.navbar-parent .logo img {
    width: 30px;
    margin-right: .625rem;
}

*[dir="rtl"] .navbar-parent .logo img {
    margin-right: 0;
    margin-left: .625rem;
}

nav i {
    color: var(--color-default);
    font-size: 1.25rem;
    cursor: pointer;
}

.lang-toggle {
    display: flex;
    gap: 0.5rem;
    margin: 0 .625rem;
}

.lang-btn {
    background-color: var(--background-light-item);
    color: var(--color-default);
    border: none;
    padding: 0.25rem .5rem;
    cursor: pointer;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: background-color 400ms, color 400ms;
}

.lang-btn:hover {
    background-color: var(--color-primary);
    color: var(--background-light);
}

.lang-btn.active {
    background-color: var(--color-primary);
    color: var(--background-light);
}

.mode-icon {
    margin: 0 1.25rem 0 auto;
}

*[dir="rtl"] .mode-icon {
    margin: 0 auto 0 .625rem;
}

.logo h1 {
    color: var(--color-default);
}

.logo h1::after {
    content: '.';
    color: var(--color-primary);
}

.light {
    display: none;
}

.mode-icon:has(#mode:checked) .light {
    display: inline-block;
}

.mode-icon:has(#mode:checked) .dark {
    display: none;
}

.menu-links {
    background-color: var(--background-light);
    border-left: 2px solid var(--border-color);
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 320px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 14px 0px #0000001b;
    transform: translateX(100%);
    transition: transform 400ms;
}

*[dir="rtl"] .menu-links {
    border-left: none;
    border-right: 2px solid var(--border-color);
    right: auto;
    left: 0;
    transform: translate(-100%);
}

.menu-links:target {
    transform: translateX(0);
}

nav:has(.menu-links:target) {
    height: 100%;
    background-color: var(--background-light-alp);
}

.menu-links a {
    position: relative;
}

.menu-links a,
.menu-links a i {
    color: var(--links-color);
    font-weight: 600;
    transition: color 400ms;
}

.menu-links a:hover,
.menu-links a i:hover {
    color: var(--color-default);
}

.menu-links .xmrk {
    padding: 0.625rem 0.9375rem 0.3125rem;
    align-self: flex-end;
}

*[dir="rtl"] .menu-links .xmrk {
    align-self: flex-start;
}

.menu-links li a {
    padding: 0.9375rem 0.625rem;
    font-size: 1.0625rem;
    width: 100%;
}

/* ********************** end navbar ********************** */

.courses {
    overflow-x: hidden;
    padding-bottom: 8rem;
}

.course-parent {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px 30px;
}

.course-item {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.center-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: url('./../img/english.webp') no-repeat center center/cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    animation: float 3s ease-in-out infinite;
    -webkit-animation: float 3s ease-in-out infinite;
}

.french {
    background: url('./../img/french.webp') no-repeat center center/cover;
}

.german {
    background: url('./../img/german.webp') no-repeat center center/cover;
}

.programming {
    background: url('./../img/programming.webp') no-repeat center center/cover;
}

.center-circle h3 {
    position: absolute;
    bottom: -50px;
    color: var(--color-primary);
}

.flex {
    display: flex;
    align-items: center;
}

.course-node {
    position: absolute;
    width: 140px;
    padding: .9375rem;
    background: var(--background-light-item);
    border-radius: 15px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.6s ease;
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -ms-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
}

@media (hover: hover) {
    .course-item:hover .course-node {
        opacity: 1;
        visibility: visible;
    }
}

.course-item.active .course-node {
    opacity: 1;
    visibility: visible;
}

.course-item:not(:hover):not(.active) .course-node {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
    -webkit-transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
    -moz-transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
    -ms-transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
    -o-transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.course-node:hover {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.course-node i,
.course-node h4 {
    color: var(--color-primary);
    font-size: 1rem;
}

.course-node p {
    color: var(--color-default);
    font-size: .75rem;
}

.node-1:hover,
.node-2:hover,
.node-3:hover {
    z-index: 4;
}

.node-1 {
    top: -45%;
    left: 60%;
}

.node-2 {
    top: -45%;
    right: 60%;
}

.node-3 {
    bottom: -45%;
    left: 60%;
}

.node-4 {
    bottom: -45%;
    right: 60%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
        -webkit-transform: translateY(-10px);
        -moz-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        -o-transform: translateY(-10px);
    }
}

/* ********************** end courses ********************** */

/* ********************** start about ********************** */

.about {
    background-color: var(--background-light-grey);
    padding-bottom: .625rem;
}

.about-item {
    display: flex;
    flex-flow: column wrap;
    gap: 1.25rem;
    margin-bottom: 5rem;
}

.about-item figure,
.about-item .content {
    width: 100%;
}

.about-item h3 {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
}

.about-item h3 span:last-child {
    color: var(--color-primary);
}

.about-item p {
    font-size: 1.25rem;
    line-height: 1.6;
}

.about-item img {
    border-radius: 8px;
    filter: drop-shadow(-10px 10px 0px var(--color-primary));
    -webkit-filter: drop-shadow(-10px 10px 0px var(--color-primary));
}

.about-item:nth-child(2) img {
    aspect-ratio: 5 / 3.3;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.why-list li i {
    color: var(--color-primary);
    margin-right: 10px;
    font-size: 1.2rem;
    margin-top: 5px;
}

html[dir="rtl"] .why-list li i {
    margin-right: 0;
    margin-left: 10px;
}

/* ********************** end about ********************** */

/* ********************** start stats ********************** */
.stats-parent {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.stats-item {
    background-color: var(--background-light-item);
    width: calc(50% - 1rem);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0px 0px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stats-item:hover {
    transform: scale(1.05);
}

.stats-item i {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.stats-item h3 {
    font-size: 28px;
    margin: 10px 0 5px;
    color: var(--color-number);
}

*[dir="rtl"] .stats-item h3 {
    direction: ltr;
}

.stats-item p {
    font-size: 16px;
    color: var(--color-default);
}

/* ********************** end stats ********************** */

/* ********************** start tracks ********************** */

.tracks {
    background-color: var(--background-light-grey);
}

.tracks-parent {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.tracks-item {
    width: 100%;
    position: relative;
    color: #fff;
    line-height: 1.6;
    filter: drop-shadow(0px 0px 5px var(--color-default));
    border-radius: 8px;
    -webkit-filter: drop-shadow(0px 0px 5px var(--color-default));
}

.tracks-item img {
    aspect-ratio: 1/1;
}

/* ********************** end tracks ********************** */

/* ********************** start team ********************** */
.team-parent {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.team-member {
    width: 260px;
    position: relative;
    background-color: var(--background-light-item);
    border-radius: 10px;
    padding: 1.875rem 1.25rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-top: 1.25rem;
    animation: float 3s ease-in-out infinite;
    -webkit-animation: float 3s ease-in-out infinite;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}

.team-member:hover {
    scale: 1.1;
    z-index: 2;
}

.member-name {
    font-weight: bold;
    font-size: 1.125rem;
    margin: 0 0 .625rem;
    color: var(--color-primary);
    position: relative;
    padding: 0 1.875rem;
}

.member-title {
    color: var(--color-default);
    font-size: .875rem;
    margin: 0;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: var(--color-default);
    background-color: var(--background-light-item);
    font-size: 0.8rem;
    padding: 0 1.25rem .625rem;
    line-height: 1.5;
    overflow: hidden;
    max-height: 60px;
    margin-top: .625rem;
    position: absolute;
    top: 70%;
    left: 0;
    z-index: 1;
    transition: all 0.6s ease-in-out;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
}

.team-member:hover .member-description {
    max-height: 200px;
}

.member-description::after {
    content: '...';
    position: absolute;
    bottom: 0;
    right: 10px;
}

.team-member:hover .member-description::after {
    display: none;
}

.member-name::after,
.member-name::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.member-name::after {
    left: -40px;
    background-image: url(./../img/golden-wing.webp);
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.3));
    -webkit-filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.3));
    transform: translateY(-50%) scaleX(-1);
    -webkit-transform: translateY(-50%) scaleX(-1);
    -moz-transform: translateY(-50%) scaleX(-1);
    -ms-transform: translateY(-50%) scaleX(-1);
    -o-transform: translateY(-50%) scaleX(-1);
}

.member-name::before {
    right: -40px;
    background-image: url(./../img/golden-wing.webp);
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.3));
    -webkit-filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.3));
}

.section-subtitle {
    text-align: center;
    color: var(--color-primary);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--color-secondary);
    border-radius: 2px;
}

/* ********************** end team ********************** */

/* ********************** start features ********************** */
.features {
    background-color: var(--background-light-grey);
}

.features-parent {
    padding-block: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.features-item {
    background-color: var(--background-light);
    border-radius: 8px;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 3px 3px 15px 0px rgba(0, 0, 0, 0.3);
    transition: transform 400ms;
}

.features-item img {
    aspect-ratio: 16/12;
}

.features-item:hover {
    transform: scale(1.07);
}

.features-item .content {
    padding: 0.625rem .75rem 1.5625rem;
}

.features-item .content h3 {
    font-size: 1.25rem;
    margin-bottom: .9375rem;
    color: var(--color-primary);
}

.features-item .content p {
    line-height: 1.6;
    color: var(--color-tertiary-2);
    margin-bottom: .625rem;
}

/* ********************** end features ********************** */

/* ********************** start review ********************** */
.reviews {
    position: relative;
}

.swiper {
    width: 100%;
    height: 100%;
    direction: ltr;
    position: relative;
    padding-top: 4rem;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 3/5;
    filter: drop-shadow(0px 0px 3px var(--color-default));
    -webkit-filter: drop-shadow(0px 0px 3px var(--color-default));
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.swiper-slide img:hover {
    transform: scale(1.03);
}

.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 22px;
    cursor: pointer;
    transition: background-color 400ms;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--hover-color-primary);
}

.swiper-button-next {
    left: auto;
    right: 0px;
}

.swiper-button-prev {
    left: auto;
    right: 45px;
}

*[dir="rtl"] .swiper-button-next {
    right: auto;
    left: 45px;
}

*[dir="rtl"] .swiper-button-prev {
    right: auto;
    left: 0px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

.swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    margin: 0 8px;
    background-color: var(--color-primary);
    opacity: 0.7;
    transition: opacity 300ms, transform 300ms;
}

.swiper-pagination-bullet:hover {
    opacity: 1;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.3);
    -webkit-transform: scale(1.3);
    -moz-transform: scale(1.3);
    -ms-transform: scale(1.3);
    -o-transform: scale(1.3);
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--color-primary);
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.875rem;
    opacity: 0.7;
    transition: opacity 0.3s, background-color 0.3s;
    direction: ltr;
}

.modal-prev:hover,
.modal-next:hover {
    opacity: 1;
    background-color: var(--color-primary);
}

.modal-prev {
    right: 0px;
}

.modal-next {
    left: 0px;
}

/* ********************** end review ********************** */

/* ********************** start location ********************** */
.location {
    background-color: var(--background-light-grey);
}

.location-parent iframe {
    width: 100%;
    height: 350px;
    border: none;
}

/* ********************** end location ********************** */

/* ********************** start footer ********************** */

footer {
    background-image: url(./../img/brand-head-logo-flower-opacity-half.svg), url(./../img/hero-bg-mask.svg), linear-gradient(140deg, #02112b 60%, #133779 90%);
    background-position: calc(50% + 575px) 54%, 0 0, 0 0;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 650px auto, 34% auto, cover;
    color: #fff;
    box-shadow: 0px -1px 5px #0007;
}

*[dir="rtl"] footer {
    background-position: calc(50% - 575px) 54%, 100% 0, 0 0;
}

footer .footer-parent {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

footer .footer-parent>div {
    width: 100%;
}

footer .about-footer div:first-child {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

footer .about-footer img {
    width: 40px;
    height: 40px;
}

footer .logo::after {
    content: '.';
    color: var(--color-primary);
}

footer .about-footer p {
    margin-block: 0.625rem;
}

footer .about-footer h3 {
    text-align: center;
    padding: 0.625rem;
    border-bottom: 2px solid #ddd6;
    margin-bottom: 0.625rem;
}

footer .about-footer .social-links {
    padding: 0.625rem;
    display: flex;
    justify-content: space-around;
}

footer .about-footer .social-links i {
    font-size: 1.5rem;
    transition: color 400ms;
}

footer .about-footer .social-links .fa-facebook-f:hover {
    color: #1877F2;
}

footer .about-footer .social-links .fa-whatsapp:hover {
    color: #25D366;
}

footer .about-footer .social-links .fa-instagram:hover {
    color: #E4405F;
}

footer .subscription-contect p {
    margin-block: 0.625rem;
}

footer .subscription-form form {
    margin-block: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.625rem;
}

footer .subscription-form input {
    flex-grow: 1;
    padding: 0.625rem;
}

footer .subscription-form button {
    padding: 0.625rem;
}

footer .quick-links ul {
    margin-top: 0.625rem;
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.25rem;
}

footer .quick-links>ul>li {
    width: calc(50% - 0.625rem);
}

*[dir="rtl"] footer .quick-links ul li:hover {
    transform: translateX(-10px);
}

footer .contact-details h3 {
    margin-bottom: 0.625rem;
}

footer .quick-links ul li,
footer .contact-details ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

footer .contact-details ul li i {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primary);
    font-size: 1.375rem;
    cursor: pointer;
}

footer .quick-links ul li ul li {
    width: 100%;
    padding: 0.3125rem;
    transition: all 400ms;
}

footer .quick-links ul li ul li:hover {
    transform: translateX(10px);
    background-color: #222;
}

*[dir="rtl"] footer .contact-details a {
    direction: ltr;
}

footer .branch-parent {
    flex-wrap: wrap;
    row-gap: 3px !important;
}

footer .branch-parent .branch {
    margin-top: 0;
    padding-inline: 1.25rem;
    width: 100%;
}

footer .branch-parent .branch li {
    width: 100%;
    font-size: .875rem;
    padding: .3125rem 0;
}

footer .branch-parent .branch li i {
    font-size: .3125rem;
}

.copyright {
    text-align: center;
    padding: .9375rem 0;
    font-size: .875rem;
    color: #fff;
    background-color: hsl(236, 70%, 43%);
}

/* ********************** end footer ********************** */

/* ********************** start scroll to top arrow ********************** */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-primary);
    color: var(--background-light);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 400ms, visibility 400ms, background-color 400ms;
    z-index: 1000;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

*[dir="rtl"] .scroll-to-top {
    right: auto;
    left: 20px;
}

.scroll-to-top:hover {
    background-color: var(--hover-color-primary);
}

.scroll-to-top i {
    font-size: 1.5rem;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ********************** end scroll to top arrow ********************** */