/* New color palette */
/* Deep Teal: #0A5C5A, Coral: #FF6F61, Soft Gray: #E5E7EB, Dark Gray: #374151, Off-White: #F9FAFB */
@import url('./common.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Aref+Ruqaa+Ink:wght@400;700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
:root {
    --color-background: #F9FAFB; /* Off-White background */
    --color-primary: #0da4a2; /* Deep Teal */
    --color-primary-semi-transparent: #0da4a188;
    --color-secondary: #f7aea7; /* Coral */
    --color-text: #374151; /* Dark Gray */
    --color-link: #83fffd; /* Deep Teal for links */
    --color-link-hover: #FF6F61; /* Coral on hover */
    --color-link-blue: #1D4ED8; /* Blue for specific links */
    --color-link-blue-hover: #3B82F6; /* Lighter blue on hover */
    --color-link-dark: #374151; /* Dark Gray for dark links */
    --color-link-dark-hover: #FF6F61; /* Coral on hover */
    --color-button: #0A5C5A; /* Deep Teal for buttons */
    --color-button-hover: #FF6F61; /* Coral on button hover */
    --card-background: #FFFFFF; /* White for cards */
    --extra-button-color: #FF6F61; /* Coral for extra buttons */
    --extra-button-hover-color: #374151; /* Dark Gray on hover */
    --card-button-color: #0A5C5A; /* Deep Teal for card buttons */
    --card-button-color-hover: #FF6F61; /* Coral on hover */
    --button-color: #0A5C5A; /* Deep Teal for buttons */
    --button-color-hover: #FF6F61; /* Coral on hover */
    --footer-background: #374151; /* Dark Gray for footer */
    --border-radius-xxl: 30px; /* Slightly larger radius */
    --accordion-rounded-xxl: 30px; /* Adjusted for accordion */
    --accordion-rounded-button-bottom-xxl: 0px;
}

body {
    min-height: 100vh;
    color: var(--color-text);
    background-color: var(--color-background);
    font-family:  Funnel Display, 'Inter', sans-serif;
    font-size: 16px !important;
    overflow-x: hidden;
    display: flex;
    flex-flow: column nowrap;
}

/* Elementary classes */
.bg-light {
    background-color: var(--color-background) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-primary-semi-transparent {
    background-color: var(--color-primary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.text-normal {
    color: var(--color-text) !important;
}

.text-link {
    color: var(--color-link) !important;
}

.text-link-hover {
    color: var(--color-link-hover) !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5 {
    font-family: Aref Ruqaa;
}

#faq .h2 {
    text-align: left;
    font-weight: 700;
    margin-left: 1.5em;
}

#faq {
    margin-bottom: 2.5em;
}

#faq ul {
    margin-top: 1.5em;
    padding-bottom: 1.5em;
    display: flex;
    flex-flow: column nowrap;
    gap: 1.2em;
    border-bottom: 1px solid var(--color-text);
}

#faq ul li {
    list-style-type: none;
}

#faq details summary {
    font-size: 1.15em;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 0.8em;
}

#faq details p {
    padding: 1.2em 2.5em;
    margin-left: 3em;
    border-bottom: 1px solid #E5E7EB;
}

/* General document styles */
a {
    text-decoration: none;
    color: var(--color-link);
    transition: all 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

.ml-05 {
    margin-left: 0.5em;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 3em;
    margin-bottom: 5em;
}

main section {
    position: relative;
    padding: 0 50px;
}

main section::after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-text);
}

.body-bg {
    background-color: var(--color-background);
    color: var(--color-text);
}

.word-nowrap {
    text-wrap: nowrap;
}

.section.rent-out {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 30px;
}

.children-text-left * {
    text-align: left;
}

.step {
    flex: 1 1 32%;
    min-width: 280px;
    background-color: #FFFFFF;
    border-radius: var(--border-radius-xxl);
    padding: 1.5em;
}

.step-icon {
    position: relative;
}

.step-icon:before {
    content: '';
    z-index: 5;
    position: absolute;
    top: -0.5em;
    left: calc(100% - 3.5em);
    width: 80px;
    height: 80px;
    background-image: url('/static/img/simple_chip.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #FFFFFF;
}

.step-icon:after {
    z-index: 6;
    position: absolute;
    top: 25px;
    left: calc(100% - 0.5em);
    content: counter(step-counter);
    counter-increment: step-counter;
    font-size: 1.4em;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

h3 {
    margin-bottom: 12px;
    font-weight: 600;
}

ul {
    padding-left: 25px;
}

/* Button styles */
.button {
    background-color: var(--color-button);
    color: #FFFFFF;
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-weight: 600;
    font-size: 1.1em;
    padding: 0.8em 1.5em;
    border-radius: var(--border-radius-xxl);
}

.button:hover {
    background-color: var(--color-button-hover);
    transform: translateY(-2px);
}

a.link-dark {
    color: var(--color-link-dark);
    text-decoration: none !important;
}

a.link-dark:hover {
    color: var(--color-link-dark-hover);
    text-decoration: underline !important;
}

.section-highlight {
    background-color: var(--color-secondary);
    padding: 2em;
}

.button-container {
    display: flex;
    width: 100%;
}

/* Menu styles */
nav.main-menu,
nav.main-menu * {
    list-style-type: none;
}

.main-menu {
    background-color: var(--color-primary);
    padding: 15px;
}

img.main-menu.logo {
    width: auto;
    height: 100px;
    overflow: visible !important;
    position: relative;
    padding: 0;
    background-color: transparent;
}
footer .logo img {
    height: 200px;
    width: auto;
}

.card-filter {
    flex-flow: row wrap;
}

.last-spacer::after {
    content: '';
    flex: 0.85 1 150px;
}

.filter-column {
    flex: 1 1 15em;
}

.filter-item {
    justify-content: end;
    min-height: 5em;
}

.asc::after,
.desc::after {
    content: '';
    position: absolute;
    left: calc(100% - 15px);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.asc::after {
    border-bottom: 4px solid var(--color-link);
}

.desc::after {
    border-top: 4px solid var(--color-link);
}

.card-filter-group {
    width: 160px !important;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: baseline;
}

.card-filter-group > .form-label {
    font-size: 0.95em;
}

.link-blue {
    text-decoration: none !important;
    font-weight: 600;
    color: var(--color-link-blue);
}

.link-blue:hover {
    color: var(--color-link-blue-hover);
}

.link-bold {
    font-weight: 700;
    text-decoration: none;
    color: var(--color-link);
}

.link-bold:hover {
    color: var(--color-link-hover);
}

a.main-menu.link {
    font-size: 1.25em;
}

.status-free {
    background: #CFF4FC !important;
}

.status-occupied {
    background: #FEE2E2 !important;
}

.status-liberating {
    background: #FEF3C7 !important;
}

.font-bigger {
    font-size: 1.25em;
}

.font-smaller {
    font-size: 0.95em;
}

.font-smaller h3 {
    font-size: 1.35em;
}

.path-row {
    height: calc(100% - 10em);
    counter-reset: step-counter;
}

.sub-line-text {
    position: absolute;
    top: calc(100% + 0.7em);
    left: 0;
}

.step h3 {
    font-weight: 600;
}

.step ul {
    position: relative;
    list-style: none;
    margin-left: 2.5em;
    border-left: 2px dashed #E5E7EB;
    padding-left: 1.5em;
}

.step ul::after {
    content: '';
    position: absolute;
    width: 6em;
    height: 10px;
    top: 0;
    left: -6em;
    border-top: 2px dashed #E5E7EB;
}

.step ul li {
    position: relative;
}

.step ul li:after {
    content: '';
    position: absolute;
    width: 0.6em;
    height: 1px;
    top: 50%;
    left: -1.5em;
    border-bottom: 2px dashed #E5E7EB;
}

.step ul li:before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    top: calc(50% - 3px);
    left: -1em;
    border-radius: 50%;
    background-color: var(--color-text);
}

/* Block styles */
.bg-block {
    background-color: #FFFFFF;
}

/* Table styles */
.table {
    width: 100%;
    border-collapse: collapse;
}

.th,
.td {
    border: 1px solid #E5E7EB;
    padding: 12px;
    text-align: left;
}

.th {
    background-color: var(--color-primary);
    color: #FFFFFF;
}

/* Footer styles */

.transition {
    transition: all 0.3s;
}

.border-right-dotted {
    border-right: 2px dotted #E5E7EB;
}

.border-top-dotted {
    border-top: 2px dotted #E5E7EB;
}

.border-bottom-bold {
    border-bottom: 3px solid var(--color-text) !important;
}

.side-borders {
    border-left: 1px solid #E5E7EB !important;
    border-right: 1px solid #E5E7EB !important;
}

.border-top-thin {
    border-top: 1px solid #E5E7EB !important;
}

.border-bottom {
    border-bottom: 1px solid #E5E7EB !important;
}

.border-top {
    border-top: 3px solid var(--color-text) !important;
}

.rounded-xl {
    border-radius: var(--border-radius-xxl);
}

.rounded-bottom-xl {
    border-bottom-left-radius: var(--border-radius-xxl);
    border-bottom-right-radius: var(--border-radius-xxl);
}

.shadow-xl {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}

.main-courses-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    height: 460px;
    width: 100%;
}

.why-choose-us__features {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-around;
}

.feature {
    background: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-xxl);
    padding: 2.5rem;
    max-width: 320px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
}
.feature:before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 4px solid var(--color-primary);
    opacity: 0.2;
    border-radius: var(--border-radius-xxl);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature__icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.course-item-layout__about .feature__icon img {
    transform: translate(10px, -10px);
}

.feature h3 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}

.feature p {
    margin-top: 1.5em;
    font-size: 1rem;
    color: #4B5563;
    flex-grow: 1;
}

.feature .btn {
    margin-top: auto;
}

.btn-primary {
    background-color: var(--button-color);
    border: 0;
    border-radius: var(--border-radius-xxl);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--button-color-hover);
    color: #FFFFFF;
}

.faq-block {
    padding: 50px 25px;
    background-color: #E5E7EB;
}

.faq-block .wrapper {
    max-width: 850px;
    margin: 0 auto;
}

.faq-block .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: var(--accordion-rounded-xxl);
    background-color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-block .accordion-header button {
    font-weight: 600;
    background-color: var(--card-button-color);
    color: #FFFFFF;
    border: none;
    border-radius: var(--accordion-rounded-xxl) !important;
    padding: 15px 25px;
    text-align: left;
}

.faq-block .accordion-header button:not(.collapsed) {
    border-top-left-radius: var(--accordion-rounded-xxl);
    border-top-right-radius: var(--accordion-rounded-xxl);
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    background-color: var(--card-button-color-hover);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
}

.faq-block .accordion-header button.collapsed {
    background-color: #FFFFFF;
    color: var(--color-text);
}

.faq-block .accordion-body {
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 20px 25px;
    color: #4B5563;
}

.faq-block .h2 {
    font-size: 2.2rem;
    color: var(--color-text);
    font-weight: 700;
}

.page-footer__cookie {
    text-align: left;
}

.page-footer__cookie p {
    margin: 0;
}

.page-footer {
    font-size: 0.95em;
    padding: 2.5em;
    background-color: var(--color-primary);
    color: #FFFFFF;
    padding: 20px;
    text-align: center;
}


.page-footer .footer-documents {
    margin: 0.6em 0;
}

.page-footer .footer-documents ul {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    gap: 0.4em;
}

.card.contact-us {
    width: 100%;
    max-width: 700px;
    border-radius: var(--border-radius-xxl);
    padding: 2.5em;
    position: relative;
    background: transparent;
    border: none;
    margin-bottom: 2.5em;
}

.card.contact-us .card-title {
    text-transform: capitalize;
}

p, .review-text, .course-card .d-block, .feature p {
    color: #4B5563 !important;
}

.card.contact-us .btn {
    margin-top: auto;
    margin-right: 0;
    margin-left: auto;
    margin-bottom: 0;
    max-height: 3.2em;
    width: max-content;
    padding: 0.6em 1.2em;
    font-size: 1.15em;
    position: relative;
}

.icon-envelope {
    background-repeat: no-repeat;
    background-size: contain;
}

.card.contact-us .icon {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 90px;
    height: 90px;
    z-index: -1;
    opacity: 0.15;
    transform: rotate(10deg) translateX(1.5em);
}

.position-sticky {
    position: sticky;
    top: 0;
    z-index: 10000;
}

.page_anchor {
    position: relative;
    top: -4.5em;
}

.mt-auto {
    margin-top: auto !important;
}

.course-item-layout__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: max(45vh, 45vw);
}

.course-item-layout__header::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(85%, 85vh);
    height: min(85%, 85vw);
    background-color: var(--color-secondary);
    z-index: 1;
    border-radius: 50%;
    opacity: 0.2;
}

.course-item-layout__header .container.course-text {
    z-index: 5;
    width: min(70%, 70vh);
}

.course-short-description p {
    font-size: 1.05em;
    color: #4B5563;
}

.course-short-description {
    padding-left: 0.6em;
    margin-top: 1.2em;
}

.course-short-description h2,
.course-short-description h3,
.course-short-description h4 {
    font-size: 1.25em;
    font-weight: 700;
}

.font-size-bigger {
    font-size: 1.5em;
}

.course-item-layout__about {
    flex-flow: column nowrap;
}

.course-item-layout__about .h5 {
    font-size: 1.25em;
    font-weight: 700;
}

.course-item-layout__about .text-block {
    order: 1;
}

.course-item-layout__about .properties {
    order: 2;
    flex: 0 0 320px;
}

.course-item-layout__about .feature__icon {
    margin: 1.5em 1.5em 0 0;
}

.course-item-layout {
    display: flex;
    flex-direction: column;
    gap: 2.5em;
}

.course-item-layout section.course-reviews {
    padding: 0em 0em !important;
}

.course-header-background,
.course-CTA-background {
    background-position: 0 30%;
    background-size: cover;
    background-repeat: no-repeat;
    color: #FFFFFF;
}

.course-CTA-background {
    height: 100%;
    background-position: 45% center;
}

.course-item-layout__purchase {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: max(45vw, 45vh);
    overflow: hidden;
    gap: 1.2em;
}

.course-item-layout__purchase .container {
    z-index: 2;
    margin: 0 0 0 auto !important;
    text-align: right !important;
    width: 55%;
    flex-grow: 0;
    color: #FFFFFF !important;
}

.CTA-btn {
    flex: 0 0 3.2em;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: end;
    z-index: 2;
}

.CTA-btn .button {
    width: max-content;
}

.course-item-layout__skills .skill-list {
    display: flex;
    justify-content: center;
}

.course-item-layout__skills .skill-list > ul {
    display: flex;
    flex-flow: column wrap;
    max-height: 55vh;
    column-gap: 4.5em;
    row-gap: 0.3em;
}

.course-item-layout__for_who .for_who-list {
    display: flex;
    justify-content: center;
}

.course-item-layout__for_who .for_who-list > ul {
    display: flex;
    flex-flow: column wrap;
    max-height: 55vh;
    column-gap: 4.5em;
    row-gap: 0.3em;
}

.course-item-layout__for_who .for_who-list > ul > li {
    width: 22em;
}

.course-item-layout__program h2 {
    margin-top: 1.2em;
}

.course-item-layout__program h3 {
    margin-top: 1.2em;
}

.course-item-layout__program hr {
    margin-top: 2.5em;
    margin-bottom: 2.5em;
}

.hidden {
    display: none;
}

.layout__purchase_content {
    display: flex;
    flex-flow: row wrap;
    gap: 2.5em;
}

.layout__purchase_content.card {
    background-color: var(--color-secondary) !important;
}

.layout__purchase_head .course_properties {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #FFFFFF;
    padding: 2.5em;
}

.layout__purchase_form {
    display: flex;
    flex-flow: column nowrap;
    gap: 1.2em;
    flex: 1 0 12vh;
}

.layout__purchase_form .checkbox {
    accent-color: var(--color-secondary);
    width: 1.4em;
    height: 1.4em;
    margin: 0.4em;
}

.layout__purchase_form .btn {
    padding: 0.6em;
    font-size: 1.25em;
}

.forms__input.dadata__email {
    margin-top: 0 !important;
    height: 3.2em;
    padding: 1.2em;
    width: 100%;
    border-radius: var(--border-radius-xxl);
}

.about_us__img {
    float: left;
    max-width: 500px;
    border-radius: var(--border-radius-xxl);
    margin: 1.2em 2.5em 1.2em 0;
}

.contact-us-layout__form {
    background-color: var(--color-secondary);
}

.forms__field input {
    height: 3.2em;
}

.forms__field input,
.forms__field textarea {
    padding: 0.6em;
    margin-top: 1.2em;
    border-radius: var(--border-radius-xxl);
}

.forms__field textarea {
    height: 12em;
}

.contact-us-layout__form button {
    margin-top: 2.5em;
    height: 3.2em;
}

.lead {
    font-size: 1.1em;
    color: white !important;
}

.courses-slider,
.reviews-block {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.reviews-block::before,
.reviews-block::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    background-repeat: no-repeat;
    background-size: 40% auto;
    z-index: -1;
}

.reviews-block::after {
    background-position: center bottom;
}

/* Course card styles */
.card .icon-time {
    width: 28px;
    height: 28px;
}

.card.course-card {
    border-radius: var(--border-radius-xxl);
    width: 320px;
    height: 420px;
    margin: 15px 0;
    overflow: hidden;
    position: relative;
    background: var(--card-background);
    box-shadow: 0 0px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

.card.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card a.img {
    display: block;
}

.card .card-content {
    box-sizing: border-box;
    border: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    gap: 0.6em;
    justify-content: space-between;
}

.card .card-top {
    order: 0;
    height: 210px;
    position: relative;
}

.card .text {
    margin: 0 1.2em;
    z-index: 2;
    order: 1;
    flex-grow: 1;
    font-size: 0.95em;
    line-height: 1.3em;
}

.card .text .duration {
    font-size: 0.85em;
}

.course-card .properties {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    height: 100%;
}

.course-card .level {
    font-size: 1.05em;
    text-align: right;
    background: linear-gradient(90deg, transparent 0%, transparent 20%, var(--color-secondary) 90%, transparent 100%);
    padding: 0 3.5em;
    margin-bottom: 2.5em;
}

.card .card-top .img {
    height: 210px;
}

.card .course-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    z-index: 1;
}

.card .card-top .tags {
    position: absolute;
    font-size: 0.85em;
    bottom: 0;
    left: 0;
    width: calc(100% - 3.5em);
    margin-left: 0;
    margin-bottom: 0.3em;
    padding: 0;
    z-index: 3;
    background-color: transparent;
    transition: 0.3s;
    cursor: pointer;
    display: flex;
    flex-flow: row wrap;
    justify-content: start;
    row-gap: 0.3em;
}

.card .card-top .tags .tag {
    font-size: 1.05em;
    position: relative;
    bottom: 0;
    left: 0;
    margin-left: 0.6em;
    margin-bottom: 0.6em;
    padding: 0.2em 1.2em;
    z-index: 3;
    border-radius: var(--border-radius-xxl);
    transition: 0.3s;
    cursor: pointer;
}

.card .card-top .tag {
    position: absolute;
    font-size: 0.85em;
    bottom: 0;
    left: 0;
    margin-left: 1.5em;
    margin-bottom: 0.6em;
    padding: 0.2em 1.2em;
    z-index: 3;
    border-radius: var(--border-radius-xxl);
    background-color: var(--color-secondary);
    color: #FFFFFF;
    transition: 0.3s;
    cursor: pointer;
}

.card .card-top .tag:hover {
    background-color: var(--extra-button-color);
}

.card .offers {
    order: 10;
}

.card .course-buttons {
    flex: 0 0 3.2em;
    order: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: center;
}

.card .button {
    cursor: pointer;
    transition: 0.3s;
    padding-top: 0.6em;
    background-color: var(--card-button-color);
    color: #FFFFFF;
}

.card .big-button {
    border-radius: 0;
    flex-grow: 1;
    font-size: 1.05em;
}

.card .extra-button {
    background-color: var(--extra-button-color);
    color: #FFFFFF;
}

.card .button:hover {
    background-color: var(--card-button-color-hover);
    color: #FFFFFF;
}

.card .extra-button:hover {
    background-color: var(--extra-button-hover-color);
}

.block-decor {
    font-size: 1.6rem;
    text-transform: uppercase;
    margin-bottom: 25px;
    text-align: left;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 35px;
    width: 80%;
}

.arrow-to-courses {
    margin-left: 12px;
}

.hero-section {
    position: relative;
    z-index: 2;
    min-height: 65vh;
    max-height: 85vh;
    padding: 120px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    color: var(--color-text) !important;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    z-index: 5;
    width: 65%;
    margin: 0 0 0 5em;
}

@media (max-width: 768px) {
    .course-item-layout__about {
        flex-flow: column nowrap;
    }

    .col-sm-12 {
        width: 100% !important;
    }

    .CTA-decor {
        position: absolute;
        z-index: 1;
        top: -180%;
        left: 50%;
        width: 200%;
        height: 400%;
        transform: rotate(-25deg);
        background-color: var(--color-background);
        opacity: 100%;
    }
}

.course-item-layout__program .section-title {
    position: relative;
    border-radius: var(--border-radius-xxl);
    background: none;
    transition: 0.3s;
}

.course-item-layout__program .content {
    background: linear-gradient(180deg, transparent 0%, var(--color-secondary) 20%, var(--color-secondary) 100%);
    border: 1px solid #E5E7EB;
    padding: 0em 2.5em 2.5em 2.5em;
    border-radius: var(--border-radius-xxl);
}

.course-item-layout__program .section-title:hover {
    cursor: pointer;
    background: var(--color-primary);
    color: #FFFFFF;
}

.course-item-layout__program .section-title::after {
    position: absolute;
    content: "<";
    left: 50%;
    top: 1.6em;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-family: 'Inter', sans-serif;
    font-size: 2.3em;
    transition: 0.3s;
    color: #E5E7EB;
}

.course-item-layout__program .section-title:hover::after {
    top: calc(1.6em + 6px);
}

.layout__purchase_head .img {
    width: 480px;
    height: auto;
}

.course-item-layout__about .container {
    row-gap: 1.2em;
}

@media (min-width: 768px) {

    .main-page-layout__certificate .container {
        min-height: 400px;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: row;
        -webkit-box-pack: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: space-between;
        gap: 2em;
    }

    .main-page-layout__certificate .certificate {
        margin: 0;
        flex: 1 0 50vw;
    }
    .course-item-layout__about .text-block {
        order: 1;
        flex: 1 0 320px !important;
    }

    .course-item-layout__about .container {
        flex-flow: row nowrap;
        column-gap: 4.5em;
    }

    .course-item-layout__skills .skill-list > ul > li {
        width: 22em;
    }

    .course-short-description {
        padding-left: 2.5em;
    }

    .col-md-6 {
        width: 50% !important;
    }

    .course-short-description p {
        margin-left: 3.5em;
    }

    .course-item-layout section.course-item-layout__program,
    .course-item-layout section.course-item-layout__about {
        padding: 0em 9em;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .layout__purchase_head {
        flex-basis: 360px;
    }

    .layout__purchase_head .img {
        width: 360px;
        height: auto;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 100%;
        padding: 0 0 !important;
    }

    body {
        margin: 0 !important;
    }

    .section {
        padding: 0 25px !important;
    }

    .section.hero-section {
        padding: 0 0 !important;
    }
}

.border-left-radius-0 {
    border-top-left-radius: var(--border-radius-xxl);
    border-bottom-left-radius: var(--border-radius-xxl);
}

.border-right-radius-0 {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.border-left-0 {
    border-left: 0;
}

.border-right-0 {
    border-right: 0;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.review-text {
    color: #4B5563 !important;
}

.reviewer-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.reviewer-details {
    flex-grow: 1;
}

.reviewer-name {
    font-weight: 600;
}

.review-date {
    color: #6B7280;
    font-size: 0.95rem;
}

.reviews-swiper {
    margin: 2.5em 0;
}

.reviews-item .rate {
    color: #FFFFFF;
    height: 40px;
    width: 30px;
    padding: 0;
    border-radius: 6px;
    margin: 0 0.15em;
    background-image: url('/static/beautyscholar/img/thumb_up.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.reviews-list {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.reviews-item {
    width: 32%;
    padding: 25px;
    border-radius: var(--border-radius-xxl);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #E5E7EB;
    border-right: 1px solid #E5E7EB;
    background-color: #FFFFFF;
}

.reviewer-photo {
    width: 110px;
    height: 110px;
    border-radius: var(--border-radius-xxl);
    object-fit: cover;
    border: 3px solid var(--color-primary);
}

.hero-background {
    top: 0;
    left: 0%;
    width: 120%;
    height: 110%;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: 90% 0%;
    position: absolute;
    z-index: 0;
}

.hero-decor {
    display: none;
}

.main-courses-swiper .swiper-decor {
    position: absolute;
    top: 50%;
    transform: translate(220px, -50%);
    border-radius: var(--border-radius-xxl);
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    background-color: transparent;
    transition: background 0.3s;
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.main-courses-swiper .swiper-decor:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.container {
    max-width: 100% !important;
    padding: 0;
}

.why-choose-us {
    padding: 5rem 2.5rem;
    background: linear-gradient(135deg, #E5E7EB, #FFFFFF);
    text-align: center;
}

.why-choose-us__header h2 {
    font-size: 2.7rem;
    margin-bottom: 1.2rem;
}

.why-choose-us__header p {
    font-size: 1.25rem;
    color: #6B7280;
    margin-bottom: 2.5rem;
}

.layout__purchase_head {
    display: flex;
    flex-flow: column nowrap;
    gap: 1.2em;
}

.reviews-item .reviewer-details {
    overflow: hidden;
}

@media (max-width: 576px) {
    .reviews-item {
        width: 100%;
    }

    .card.contact-us .icon {
        position: absolute;
        width: 80px;
        height: 80px;
        left: 0;
        bottom: 2.5em;
    }

    .support-block .card.contact-us {
        font-size: 0.95em;
    }

    .hero-section .hero-decor {
        transform: none;
        width: 100% !important;
        height: 100% !important;
        top: 0;
        left: 0;
    }

    .reviews-item .rate {
        width: 30px;
        height: 40px;
    }

    .hero-section .container {
        width: 100%;
        margin: 0;
    }

    .feature .title {
        position: relative;
        width: 100%;
    }

    .feature .title h3 {
        width: calc(100% - 1.2em);
        font-size: 1.25em;
    }

    .feature .feature__icon {
        position: absolute;
        top: 50%;
        right: -1.2em;
        transform: translate(-50%, -50%);
    }

    .feature .feature__icon img {
        width: 42px;
        height: 42px;
    }

    .feature .btn {
        margin-top: 2.5em;
    }

    .main-courses-swiper .swiper-slide {
        width: 320px;
    }

    .card.course-card {
        width: 280px !important;
    }
}

@media (max-width: 768px) {
    .why-choose-us__features {
        gap: 2.5em;
    }

    .layout__purchase_head {
        flex-grow: 1;
    }

    .layout__purchase_content {
        flex-flow: column;
    }

    .layout__purchase_head .img {
        width: 100%;
        height: auto;
    }
}


.main-page-layout__certificate {
    position: relative;
    line-height: 2em
}

.main-page-layout__certificate .block-decor {
    font-size: 150px;
    line-height: 168px;
    letter-spacing: -.02em;
    top: 0;
    width: 1080px
}

.main-page-layout__certificate .certificate {
    margin: 30px 0 20px;
    font-size: 0;
    line-height: 0
}

.main-page-layout__certificate .certificate img {
    max-width: 100%
}
.navbar-brand {
    padding: 0 !important;
}