*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --main-beige: #e5e6d9;
  --main-red: #a21a1b;
  --base-font-color: #121212;
  --base-gray: #676767;
  --base-cream: #fdf6e3;
}

html {
  scroll-behavior: smooth;
}

.sections {
  scroll-margin-top: 100px;
}

body {
  margin: 0;
  padding: 0;
  color: var(--base-font-color);
  font-family: "Inter", system-ui, sans-serif;
  background-color: var(--main-beige);
}
div {
  cursor: default;
}
p {
  margin: 0;
  padding: 0;
  cursor: default;
}

a {
  color: var(--base-font-color);
  text-decoration: none;
}

ul,
li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.sections,
.footer-wrapper {
  padding: 56px 20px;
}

.container {
  max-width: 1520px;
  width: 100%;
  margin: auto;
}
/* HEADER  */
.header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background-color: var(--main-beige);
  background-color: rgba(229, 230, 217, 0.8);
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: Archivo, system-ui, sans-serif;
  font-size: 1.125rem;
  width: 100%;
  margin: auto;
}

.header.scrolled {
  border-bottom: 1px solid rgba(103, 103, 103, 0.2);
}

.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 22px;
  line-height: 31px;
  text-decoration: none;
  color: var(--base-font-color);
  font-weight: 500;
  max-width: 200px;
}

.logo span {
  color: var(--main-red);
}

.header-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.header-menu a {
  font-size: 18px;
  line-height: 20px;
  color: var(--base-font-color);
  text-decoration: none;
  transition: all 0.3s ease-out;
}

.header-menu a:hover {
  color: var(--main-red);
  text-decoration: underline;
}

.header-menu a.active {
  color: var(--main-red);
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--base-font-color);
}

.btn {
  display: flex;
  justify-content: center;
  color: #fff;
  background: var(--main-red);
  border-radius: 32px;
  border: none;
  padding: 8px 12px;
  height: 44px;
  min-width: 200px;
  font-size: 16px;
  line-height: 26px;
  line-height: 28px;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.btn:hover {
  background: var(--base-font-color);
}

.button-header {
  position: absolute;
  right: 20px;
}
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.footer {
  background: var(--main-red);
  padding: 20px 10px;
  color: var(--main-beige);
}
/* Hide hamburger on desktop */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0;
}

/* Hamburger lines */
.menu-toggle span {
  position: absolute;
  left: 8px;
  width: 26px;
  height: 1.5px;
  background: var(--base-font-color);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 11px;
}

.menu-toggle span:nth-child(2) {
  top: 19px;
}

.menu-toggle span:nth-child(3) {
  top: 27px;
}

/* Animate into X */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 19px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 19px;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HOME */
.home-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.home-boxes {
  max-width: 800px;
  width: 100%;
}

.home-left-box {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.home-subText {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--base-gray);
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
}

.home-line {
  width: 40px;
  height: 1px;
  background-color: var(--main-red);
}
.home-dot {
  margin-top: -10px;
}

.home-title {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 62px;
  font-weight: 900;
  line-height: 72px;
  margin: 0;
  padding: 0;
}

.title-red {
  color: var(--main-red);
}

.sub-it {
  font-size: 30px;
  line-height: 40px;
  font-weight: 500;
  font-style: italic;
}

.home-desc {
  font-size: 17px;
  line-height: 26px;
  max-width: 500px;
}

.home-right-box {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.home-right-box img {
  border-radius: 32px;
  min-width: 400px;
}

.home-left-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-services {
  background-color: unset;
  border: 1px solid var(--base-font-color);
  color: var(--base-font-color);
  display: flex;
  justify-content: center;
}

.img-box {
  background-color: var(--main-beige);
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 16px;
}
.txt-wrap {
  display: flex;
  gap: 4px;
  flex-direction: column;
}

.book-txt {
  font-size: 10px;
  line-height: 20px;
  letter-spacing: 2px;
  color: var(--base-gray);
}

.book {
  color: var(--main-red);
  font-size: 10px;
  line-height: 20px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* SERVICES  */

.section-services {
  background-color: var(--base-font-color);
}

.section-services-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.services-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 56px;
}

.services-boxes {
  max-width: 800px;
  width: 100%;
}

.services-left-box {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.services-title {
  font-family: Archivo, system-ui, sans-serif;
  color: #fff;
  font-size: 62px;
  font-weight: 900;
  line-height: 72px;
  margin: 0;
  padding: 0;
}

.services-title-right {
  font-size: 18px;
  line-height: 28px;
  color: var(--base-cream);
  max-width: 500px;
  align-self: flex-end;
  justify-self: flex-end;
}

.services-title .title-red {
  font-weight: 500;
  font-style: italic;
}

.services-right-box {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.training-boxes {
  border-radius: 32px;
  border: 1px solid rgba(229, 230, 217, 0.1);
  position: relative;
}

.train-img {
  border-radius: 16px 16px 0 0;
  width: 100%;
  aspect-ratio: 6/4;
  object-fit: cover;
  display: block;
}

.info-pill {
  position: absolute;
  top: 20px;
  right: 20px;
  border-radius: 32px;
  padding: 4px 12px;
  border: 1px solid rgba(229, 230, 217, 0.4);
  color: var(--base-cream);
  font-size: 12px;
  line-height: 22px;
  letter-spacing: 2px;
  background-color: rgba(0, 0, 0, 0.3);
}

.train-wrapper {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 32px;
  background-color: rgba(103, 103, 103, 0.1);
}

.train-info {
  border-radius: 16px;
  border: 1px solid var(--main-red);
  background-color: rgba(162, 26, 27, 0.1);
  padding: 16px;
}

.train-title {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 32px;
  line-height: 42px;
  font-weight: 900;
  color: var(--base-cream);
}

.train-desc {
  color: var(--base-cream);
  font-size: 16px;
  line-height: 26px;
}

.train-info-title {
  color: var(--main-red);
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.train-info-txt {
  color: var(--base-cream);
  margin-top: 8px;
  font-size: 16px;
  line-height: 26px;
}

.btn-info-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-info {
  background-color: unset;
  width: fit-content;
  letter-spacing: 2px;
  transition: all 0.3s ease-out;
}

.btn-info:hover {
  color: var(--main-red);
}

.btn-info-line {
  width: 40px;
  height: 1px;
  background-color: var(--base-cream);
  transition: all 0.3s ease-out;
}

.btn-info:hover + .btn-info-line {
  background-color: var(--main-red);
}

/* PROGRAMS  */

.section-programs-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.programs-title {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 62px;
  font-weight: 900;
  line-height: 72px;
  margin: 0;
  padding: 0;
}

.programs-title-right {
  font-size: 18px;
  line-height: 28px;
  max-width: 500px;
  align-self: flex-end;
  justify-self: flex-end;
}

.programs-title .title-red {
  font-weight: 400;
  font-style: italic;
}

/* TOGGLE SWITCH  */

.switch-container {
  margin-top: 56px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 360px;
  height: 50px;
  user-select: none;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50px;
  background-color: #d9dbcb;
  border: 1px solid rgba(103, 103, 103, 0.2);
  transition: 0.3s ease;
  border-radius: 32px;
}

.slider::before {
  content: "ΔΕΥΤΕΡΑ - ΠΑΡΑΣΚΕΥΗ";
  position: absolute;
  left: 33px;
  top: 50%;
  transform: translateY(-50%);
  font-family: Archivo, system-ui, sans-serif;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 2px;
  z-index: 2;
  transition: 0.3s;
}

.slider::after {
  content: "ΣΑΒΒΑΤΟ";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: Archivo, system-ui, sans-serif;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 2px;
  z-index: 2;
  transition: 0.3s;
}

.slider-knob {
  position: absolute;
  height: 32px;
  width: 240px;
  left: 4px;
  bottom: 9px;
  background-color: var(--base-font-color);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 30px;
  z-index: 1;
}

input:checked + .slider .slider-knob {
  transform: translateX(250px);
  width: 100px;
}

input:checked + .slider::before {
  color: var(--base-gray);
}

input:checked + .slider::after {
  color: var(--main-beige);
}

input:not(:checked) + .slider::before {
  color: var(--main-beige);
}

/* --- Tab Content Styling --- */
.tabcontent {
  display: none;
  margin-top: 56px;
  animation: fadeEffect 0.4s;
}

.tab-left {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.tab-left-boxes {
  border-radius: 32px;
  background-color: #d9dbcb;
  border: 1px solid rgba(103, 103, 103, 0.2);
}

.tab-left-boxes-top {
  padding: 24px;
  border-bottom: 1px solid rgba(103, 103, 103, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tab-left-boxes-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tab-left-boxes-title-txt {
  color: var(--main-red);
  font-family: Archivo, system-ui, sans-serif;
  font-size: 12px;
  line-height: 22px;
  letter-spacing: 3px;
}

.tab-left-boxes-title-class {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 30px;
  line-height: 40px;
  font-weight: 800;
}

.tab-left-boxes-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  gap: 12px;
  border-bottom: 1px solid rgba(103, 103, 103, 0.2);
  transition: all 0.3s ease-out;
}

.tab-left-boxes-wrap:hover {
  background-color: var(--main-beige);
}

.tab-left-boxes-wrap:last-child {
  border-bottom: unset;
}

.tab-left-boxes-wrap-txt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}

.tab-left-boxes-hours {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 18px;
  line-height: 28px;
}

.tab-left-boxes-info {
  font-size: 10px;
  line-height: 20px;
}

.btn-program {
  background-color: var(--base-font-color);
  color: var(--base-cream);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-width: unset;
  height: unset;
  padding: 5px 23px;
  font-size: 11px;
  line-height: 21px;
  transition: all 0.3s ease-out;
}

.btn-program:hover {
  background-color: var(--main-red);
}
/* ABOUT  */
.about-title {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 62px;
  font-weight: 900;
  line-height: 72px;
  margin: 0;
  padding: 0;
}

.about-title .title-red {
  font-weight: 500;
  font-style: italic;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.about-texts {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
  width: 100%;
}

.about-top-txt {
  margin-top: 32px;
}

.about-texts p {
  font-size: 17px;
  line-height: 27px;
  padding-bottom: 8px;
}

.about-texts p:last-child {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--base-gray);
}

.about-img {
  display: flex;
  align-items: center;
  position: relative;
}

.about-img img {
  border-radius: 32px;
  min-width: 400px;
  max-width: 800px;
  position: relative;
}

.about-img-txt {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background-color: rgba(18, 18, 18, 0.9);
  border-radius: 20px;
  padding: 18px;
  max-width: 280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-img-years {
  color: var(--main-red);
  font-size: 36px;
  line-height: 46px;
  font-family: Archivo, system-ui, sans-serif;
}

.about-img-info {
  color: var(--base-cream);
  font-size: 10px;
  line-height: 20px;
  letter-spacing: 2px;
}

.about-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 500px;
}

.about-bottom-box {
  display: flex;
  flex-direction: column;
}

.about-bottom-num {
  font-size: 10px;
  line-height: 10px;
  letter-spacing: 3px;
  color: var(--main-red);
}
.about-bottom-info {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 18px;
  line-height: 28px;
  margin-top: 8px;
  margin-bottom: 1px;
}

.about-bottom-rsl {
  font-size: 12px;
  line-height: 12px;
  margin-top: 4px;
}

/* FACILITIES  */

.fac-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.fac-title {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 62px;
  font-weight: 900;
  line-height: 72px;
  margin: 0;
  padding: 0;
}

.fac-desc {
  font-size: 18px;
  line-height: 28px;
  max-width: 435px;
}

.fac-wrap {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 44px;
}
.fac-img {
  position: relative;
}
.fac-img img {
  border-radius: 32px;
  min-height: 550px;
  max-width: 750px;
}

.fac-img-txt {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  flex-direction: column;
}

.fac-img-txt-one {
  font-size: 10px;
  line-height: 20px;
  letter-spacing: 3px;
  color: var(--base-font-color);
}

.fac-img-txt-two {
  font-size: 36px;
  line-height: 46px;
  color: var(--base-font-color);
  margin-top: 12px;
}
.fac-img-txt-three {
  font-size: 36px;
  line-height: 46px;
  color: var(--base-font-color);
}

.fac-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.fac-info-box {
  background-color: rgba(103, 103, 103, 0.1);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-radius: 16px;
  border: 1px solid rgba(103, 103, 103, 0.2);
}

.fac-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--main-beige);
  border: 1px solid rgba(103, 103, 103, 0.2);
  flex-shrink: 0;
}

.fac-txt {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 18px;
  line-height: 28px;
}

/* GALLERY  */
.section-gal {
  background-color: var(--base-font-color);
}

.section-gal img {
  border-radius: 32px;
}

.gal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.gal-title {
  font-family: Archivo, system-ui, sans-serif;
  color: #fff;
  font-size: 62px;
  font-weight: 900;
  line-height: 72px;
  margin: 0;
  padding: 0;
}

.gal-desc {
  font-size: 16px;
  line-height: 26px;
  color: var(--base-cream);
  max-width: 330px;
}

.gallery-container {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-container-top {
  display: flex;
  gap: 16px;
}

.gallery-top-left {
  position: relative;
  display: flex;
}

.gallery-top-left img {
  border-radius: 32px;
}

.gallery-top-left-txt {
  position: absolute;
  left: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--base-cream);
  font-size: 48px;
  font-weight: 58px;
}

.gallery-color {
  font-family: Archivo, system-ui, sans-serif;
  color: var(--main-red);
}

.gallery-top-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-top-right img {
  border-radius: 32px;
}

.gallery-top-right-bottom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gallery-top-right-bottom-txt {
  border-radius: 32px;
  padding: 24px;
  background: var(--main-red);
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  color: var(--base-cream);
  max-height: 260px;
}

.gallery-top-right-bottom img {
  max-height: 260px;
}

.gallery-top-right-lg {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 48px;
  line-height: 58px;
}

.gallery-top-right-sm {
  font-size: 10px;
  line-height: 20px;
  letter-spacing: 2px;
}

.gallery-bottom {
  display: grid;
  grid-template-columns: auto auto;
  gap: 16px;
}

.gallery-bottom-wrap {
  display: grid;
  grid-template-columns: auto auto;
  gap: 16px;
}

.gallery-bottom-txt {
  max-width: 360px;
  width: 100%;
  border-radius: 32px;
}

.gallery-bottom-it {
  font-size: 18px;
  line-height: 28px;
  font-style: italic;
  font-weight: 500;
}

/* CONTACT */
.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-title {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 62px;
  font-weight: 900;
  line-height: 62px;
  margin: 0;
  padding: 0;
}

.color-title {
  color: var(--main-red);
}

.contact-left-txt {
  font-size: 16px;
  line-height: 26px;
  max-width: 400px;
}

.btn-contact {
  max-width: 216px;
  height: 48px;
  transition: all 0.3s ease-out;
}

.btn-contact:hover {
  background-color: var(--base-font-color);
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-right-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-right-cont {
  max-width: 298px;
  width: 100%;
  padding: 28px;
  background-color: #d9dbcb;
  border: 1px solid rgba(103, 103, 103, 0.2);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
}

.contact-right-cont-title {
  font-size: 10px;
  line-height: 20px;
  letter-spacing: 3px;
  color: var(--base-gray);
}

.contact-right-cont-txt {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 18px;
  line-height: 28px;
  margin-top: 12px;
}

.contact-right-cont-title-sec {
  margin-top: 16px;
}

.contact-right-program {
  background-color: var(--base-font-color);
  border-radius: 20px;
  padding: 24px;
}

.contact-right-program-title {
  font-size: 10px;
  line-height: 20px;
  letter-spacing: 2px;
  color: var(--base-cream);
}

.contact-right-program-main {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}

.contact-right-program-txt {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(103, 103, 103, 0.2);
  color: var(--base-cream);
  font-family: Archivo, system-ui, sans-serif;
  font-size: 18px;
  line-height: 28px;
}

.contact-right-program-txt:last-child {
  border-bottom: unset;
  padding-bottom: unset;
}

.contact-right-map {
  padding: 16px;
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(103, 103, 103, 0.2);
  background-color: rgba(103, 103, 103, 0.2);
}

iframe {
  border-radius: 20px;
  height: 300px;
}

/* FOOTER  */

.footer-wrapper {
  background-color: var(--base-font-color);
  color: var(--base-cream);
}

.footer-cont {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(103, 103, 103, 0.2);
}

.footer-top-one {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-top-logo {
  font-size: 24px;
  line-height: 34px;
  font-family: Archivo, system-ui, sans-serif;
  margin-top: 4px;
  color: var(--main-red);
}

.footer-top-logo span {
  color: var(--base-cream);
}

.footer-top-one-txt {
  font-size: 16px;
  line-height: 26px;
  font-style: italic;
}

.footer-top-title {
  font-size: 12px;
  line-height: 22px;
  letter-spacing: 2px;
  color: rgba(103, 103, 103, 1);
}

.footer-wrapper ul {
  margin-top: 12px;
}

.footer-wrapper ul li {
  font-size: 14px;
  line-height: 24px;
  padding-bottom: 8px;
}

.footer-wrapper ul li a {
  color: var(--main-beige);
  transition: all 0.3s ease-out;
}

.footer-wrapper ul li a:hover {
  color: var(--main-red);
}

.footer-top-four {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-icon {
  border-radius: 100px;
  border: 1px solid var(--base-cream);
  color: var(--base-cream);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  color: rgba(103, 103, 103, 1);
  font-size: 12px;
  line-height: 22px;
}

.footer-bottom a {
  color: rgba(103, 103, 103, 1);
}

.footer-privacy {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-privacy a:hover {
  transition: all 0.3s ease-out;
}

.footer-privacy a:hover {
  color: var(--main-red);
}

.footer-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--main-beige);
  font-size: 14px;
  line-height: 24px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease-out;
}

.footer-link:hover {
  color: var(--main-red);
}

.tab-left-boxes-slots-txt {
  white-space: nowrap;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tabcontent.active {
  display: grid;
}
@media (max-width: 1200px) {
  .header-menu {
    gap: 12px;
  }
}
@media (max-width: 1150px) and (min-width: 767px) {
  /* HEADER  */
  .header {
    justify-content: center;
    position: relative;
    padding: 30px;
  }

  .logo {
    position: absolute;
    left: 20px;
  }

  .button-header {
    position: static;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
  }
  .nav-wrapper {
    position: absolute;
    top: 100%;
    opacity: 0;
    width: 100%;
    transform: translateY(-15px);
    pointer-events: none;
    background: var(--main-beige);
    padding: 16px 16px 16px 20px;
    border-top: 1px solid #9a9a9a;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .nav-wrapper.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    align-items: start;
    width: 100%;
    background: var(--main-beige);
    padding: 16px 16px 32px 20px;
    border-top: 1px solid var(--base-gray);
    border-bottom: 1px solid var(--base-gray);
    z-index: 1;
  }

  .header-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Hide duplicate button inside the menu */
  .nav-wrapper .button-header {
    display: none;
  }
}

@media (max-width: 1024px) {
  .home-title {
    font-size: 52px;
    line-height: 62px;
  }

  .home-wrapper {
    flex-direction: column;
  }

  .home-boxes {
    max-width: unset;
  }

  .services-title,
  .programs-title,
  .about-title,
  .fac-title,
  .gal-title,
  .contact-title {
    font-size: 52px;
    line-height: 62px;
  }

  .tab-left-boxes-title-class {
    font-size: 27px;
    line-height: 37px;
  }

  .tab-left-boxes-wrap-txt {
    gap: 16px;
  }
  .fac-wrap {
    margin-top: 32px;
    flex-direction: column;
  }

  .about-container {
    flex-direction: column;
    gap: 32px;
  }
  .fac-top {
    flex-direction: column;
    align-items: unset;
  }

  /* PROGRAMS  */
  .section-programs-top {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 32px;
  }

  .programs-title-right {
    max-width: unset;
    align-self: unset;
    justify-self: unset;
  }

  /* GALLERY  */

  .gal-desc {
    max-width: unset;
  }

  .gal-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .gallery-top-left-txt {
    font-size: 36px;
    font-weight: 46px;
  }

  .gallery-top-right-lg {
    font-size: 36px;
    line-height: 46px;
  }

  .gallery-container-top {
    flex-direction: column;
  }

  .gallery-bottom {
    grid-template-columns: auto;
  }

  /* CONTACT  */

  .contact-container {
    flex-direction: column;
  }
  .contact-right-cont {
    max-width: unset;
  }

  /* FOOTER */
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top-four {
    align-items: flex-start;
  }

  .fac-img img {
    max-width: unset;
    min-height: unset;
  }
}

@media (max-width: 767px) {
  .sections,
  .footer-wrapper {
    padding: 32px 16px;
  }
  /* HEADER  */
  .header {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 16px;
  }
  .logo,
  .button-header {
    position: unset;
  }
  .menu-toggle {
    display: block;
  }
  .nav-wrapper.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nav-wrapper {
    position: absolute;
    left: 0;
    top: 100%;
    opacity: 0;
    width: 100%;
    transform: translateY(-15px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    pointer-events: none;
    background: var(--main-beige);
    padding: 16px 16px 16px 20px;
    border-top: 1px solid #9a9a9a;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .nav-wrapper.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    align-items: start;
    width: 100%;
    background: var(--main-beige);
    padding: 16px 16px 32px 20px;
    border-top: 1px solid var(--base-gray);
    border-bottom: 1px solid var(--base-gray);
    z-index: 1;
  }

  .header-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .button-header {
    width: fit-content;
  }
  .desktop-tablet-btn {
    display: none;
  }
  /* HOME */
  .home-wrapper {
    flex-direction: column;
  }
  .home-boxes {
    max-width: unset;
  }

  .home-title {
    font-size: 32px;
    line-height: 42px;
  }
  .home-subText {
    font-size: 12px;
    line-height: 22px;
    gap: 4px;
  }
  .sub-it {
    font-size: 24px;
    line-height: 34px;
  }
  .home-desc {
    font-size: 15px;
    line-height: 25px;
    max-width: unset;
  }
  .home-left-box {
    gap: 24px;
  }
  .home-left-btns {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-right-box {
    justify-content: center;
  }
  .home-right-box img {
    min-width: unset;
  }
  /* SERVICES  */
  .section-services-top {
    flex-direction: column;
  }
  .services-title,
  .programs-title,
  .about-title,
  .fac-title,
  .gal-title,
  .color-title {
    font-size: 32px;
    line-height: 42px;
  }
  .services-title-right,
  .programs-title-right {
    font-size: 16px;
    line-height: 26px;
    max-width: unset;
    align-self: unset;
    justify-self: unset;
  }

  .section-services-top {
    gap: 32px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .services-wrapper {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 32px;
    margin-top: 32px;
  }
  .services-left-box,
  .services-right-box {
    gap: 24px;
  }

  .train-wrapper {
    padding: 24px;
    gap: 16px;
  }

  .train-title {
    font-size: 24px;
    line-height: 34px;
  }
  .train-desc {
    font-size: 14px;
    line-height: 24px;
  }

  .train-info-title {
    font-size: 12px;
    line-height: 22px;
  }
  .train-info-txt {
    font-size: 14px;
    line-height: 24px;
  }

  /* TOGGLE SWITCH  */

  .switch-container {
    margin-top: 32px;
  }
  .tab-left {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .tab-left-boxes-title-txt {
    font-size: 10px;
    line-height: 20px;
  }

  .tab-left-boxes-title-class {
    font-size: 24px;
    line-height: 34px;
  }

  .tab-left-boxes-wrap-hours {
    font-size: 16px;
    line-height: 26px;
  }
  .tab-left-boxes-wrap-txt {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .switch {
    width: 320px;
  }

  input:checked + .slider .slider-knob {
    transform: translateX(210px);
  }

  .slider::before {
    left: 19px;
  }
  .slider-knob {
    width: 210px;
  }

  .tab-left-boxes-wrap {
    padding: 16px 24px;
  }
  .tab-left-boxes-top {
    padding: 20px;
  }
  .about-texts {
    gap: 12px;
    max-width: unset;
  }

  .about-top-txt {
    margin-top: 24px;
  }

  .about-texts p {
    font-size: 15px;
    line-height: 25px;
    padding-bottom: 84x;
  }
  .about-bottom-info {
    font-size: 18px;
    line-height: 28px;
  }
  .about-img img {
    min-width: unset;
  }
  /* FACILITIES */
  .fac-desc {
    font-size: 16px;
    line-height: 26px;
    max-width: unset;
  }
  .fac-txt {
    font-size: 16px;
    line-height: 26px;
  }
  .fac-info {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  /* GALLERY  */
  .gallery-container {
    margin-top: 32px;
  }

  .gallery-top-left-txt {
    font-size: 24px;
    font-weight: 34px;
  }

  .gallery-top-left-txt {
    bottom: 20px;
    left: 20px;
  }

  .gallery-top-right-lg {
    font-size: 24px;
    line-height: 24px;
  }

  /* CONTACT  */
  .contact-right-cont-txt {
    font-size: 18px;
    line-height: 28px;
  }
  .contact-right-program-txt {
    font-size: 16px;
    line-height: 26px;
  }

  .contact-right-program-txt-hours {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    text-align: right;
    gap: 10px;
  }

  .contact-right-cont {
    padding: 24px;
  }

  iframe {
    min-height: 200px;
  }
  /* FOOTER */
  .footer-top {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-top: unset;
  }
  .footer-privacy {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-bottom-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 530px) {
  .contact-right-info {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .home-right-box img {
    min-width: unset;
  }
}

/* MODAL  */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}

.modal.show {
  opacity: 1;
}

.modal-content {
  position: relative;
  width: 50vw;
  background-color: var(--main-beige);
  border-radius: 8px;
  padding: 32px;
  transform: translateY(-30px) scale(0.96);
  transition: transform 0.3s ease;
}

.modal-content-main {
  margin-top: 16px;
  font-size: 18px;
  line-height: 28px;
}

/* The Close Button */
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--base-gray);
  font-size: 28px;
  line-height: 38px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: var(--base-font-color);
  text-decoration: none;
  cursor: pointer;
}

.button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

@media (max-width: 767px) {
  .modal-content {
    width: 90vw;
  }
}

.modal-price {
  margin-left: 30px;
}
.modal-step {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.modal-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.modal-back {
  position: absolute;
  top: 10px;
  left: 10px;
  background: none;
  border: none;
  color: var(--base-gray);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease-out;
}

.modal-back:hover {
  color: var(--main-red);
}

.modal-step-title {
  font-weight: 600;
}

main,
.footer-wrapper {
  transition: filter 0.3s ease;
}

body.menu-open main,
body.menu-open .footer-wrapper {
  filter: blur(100px);
  pointer-events: none;
}

.legal-section {
  padding: 80px 20px 100px;
}

.legal-container {
  max-width: 860px;
}

.legal-title {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 62px;
  margin: 0 0 40px;
}

.legal-content h2 {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 22px;
  line-height: 32px;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 12px;
  color: var(--base-font-color);
}

.legal-content ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.legal-content ul li {
  font-size: 16px;
  line-height: 26px;
  list-style-type: disc;
  padding-bottom: 4px;
}

.legal-back-btn {
  display: inline-flex;
  margin-top: 48px;
  width: fit-content;
  min-width: unset;
  padding: 10px 24px;
}

@media (max-width: 767px) {
  .legal-section {
    padding: 40px 16px 60px;
  }

  .legal-title {
    font-size: 36px;
    line-height: 46px;
  }

  .legal-content h2 {
    font-size: 18px;
    line-height: 28px;
  }
}
