html {
  font-size: 62.5%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*::after,
*::before {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul,
ol,
li {  
  padding: 0;
  list-style: none;  
}

/* New class to show list style */
.show-list-style {
  list-style: initial; /* Or use 'disc', 'decimal', etc. depending on your needs */
  padding: 0;  
  margin-left: 2rem; 
}


.hero__btn {
  padding: 1.5rem 3.6rem;
}


p {
  margin: 0;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

button {
  display: inline-block;
  margin: 0;
  background-color: transparent;
  border: none;
  text-align: center;
  cursor: pointer;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
  background-color: #f8f8f8; 
  color: #111010; 
  overflow-x: hidden;
}

body.lock {
  overflow: hidden;
}

[class*="__container"] {
  max-width: 1230px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}

/* ---Preloader--- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #111010;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 10000;
  -webkit-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
}

.preloader__content {
  width: 6rem;
  height: 6rem;
  border: 0.5rem dotted #037682; /* #037682; */
  border-top-color: transparent;
  border-radius: 50%;
  animation: preloader 2s infinite;
}

@keyframes preloader {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ---Heading--- */
.heading {
  text-align: center;
}

.heading__title {
  margin-bottom: 1.5rem;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.heading__subtitle {
  font-family: "Dancing Script", cursive;
  font-size: 4.8rem;
  font-weight: 700;
  color: #037682; /*#037682;*/
  text-transform: capitalize;
}

.xme_logo {
  /* width: 200px; */ 
  width: 160px;
  height: auto; /* 50%; */   
  -o-object-fit: cover;
  object-fit: cover;
}


/* Btn */
.btn {
  min-height: 5rem;
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: capitalize;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: #f8f8f8;
  -webkit-box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.15);
  box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.15);
  border-radius: 5rem;
  position: relative;
  overflow: hidden;
}

.btn span {
  position: relative;
  z-index: 2;
  -webkit-transition: color 0.2s;
  -o-transition: color 0.2s;
  transition: color 0.2s;
}

.btn:hover span {
  color: #f8f8f8;
}

.btn::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #037682;
  width: 100%;
  height: 0;
  -webkit-transition: height 0.2s;
  -o-transition: height 0.2s;
  transition: height 0.2s;
}

.btn:hover::before {
  height: 100%;
}

/* ---Header--- */
.header {
  position: fixed;
  top: 2rem;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
}

.header__container {
  -webkit-box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.15);
  box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.15);
  background-color: #f8f8f8;
}

.header__inner {
  padding: 1.3rem 10rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap; /* Prevent wrapping */
}

.header__burger {
  display: none;
}

/* ---Menu--- */
.menu__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 1.5rem;  /* gap: 1.5rem; */
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.menu__link {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #111010;
  letter-spacing: 0.04em;
  -webkit-transition: color 0.2s linear;
  -o-transition: color 0.2s linear;
  transition: color 0.2s linear;
}

.menu__link:not(.menu__link.active):hover {
  color: #037682; /*#037682;*/
}

.menu__link.active {
  color: #037682; /*#037682;*/
}

/* ---Main--- */
.main {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

.main__hero,
.main__about,
.main__services,
.main__gallery,
.main__classes,
.main__testimonials,
.main__team,
.main__service,
.main__questions {
  margin-bottom: 12rem;
}

.main__team {
  margin-bottom: 10rem;
}

.main__registration,
.page-hero {
  margin-bottom: 6rem;
}


/* ---Hero--- */
.hero {
  background: 
    linear-gradient(to right, rgba(244, 241, 234, 0.9) 0%, rgba(244, 241, 234, 0.9) 50%, rgba(244, 241, 234, 0) 50%, rgba(244, 241, 234, 0) 100%),
    url("../images/placeholder-bg-1.jpg") no-repeat;
  background-position: center;
  background-size: cover;
}



.hero__container {
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.hero__content {
  padding: 18rem 0 10rem 0;
  max-width: 43%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
}


.hero__title {
  margin-bottom: 2rem;
  font-family: "Dancing Script", cursive;
  font-size: 6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  /* color: #545454; /* Dark Grey color */
}

/*
.hero__title {
  margin-bottom: 2rem;
  font-family: "Dancing Script", cursive;
  font-size: 6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: capitalize;
}
*/

.hero__text {
  margin-bottom: 7rem;
  font-size: 2rem;
}

.hero__btn {
  padding: 1.5rem 3.6rem;
}

/* ---About--- */
.about__heading {
  margin-bottom: 4rem; /* 6rem; */
}

.about__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.about__img {
  margin-right: 6rem; /* 10rem; */
  -webkit-box-flex: 0;
  -ms-flex: 0 0 40%;
  flex: 0 0 40%;
}

.about__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.about__info {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 60%;
  flex: 0 0 60%;
  max-width: 66rem; /* 46rem; */
}

.info-about__title {
  margin-bottom: 3rem;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
}

.info-about__text {
  margin-bottom: 4rem;
}

.info-about__text > *:not(:last-child) {
  margin-bottom: 0.6rem;
}

.info-about__signature {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4rem;
}

.signature__name {
  font-size: 1.8rem;
  font-weight: 700;
}

.signature__prof {
  text-transform: capitalize;
}

.xme-image-cropper {
    width: 48rem; /* Equivalent to 500px (500 / 16 = 31.25) */
    height: 60rem; /* Equivalent to 600px (600 / 16 = 37.5) */
    overflow: hidden; /* Hides the excess parts of the image */
    position: relative; /* Needed for absolute positioning of the image */
}

.xme-image-cropper img {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for centering */
    min-width: 100%; /* Ensure the image fills the width */
    min-height: 100%; /* Ensure the image fills the height */
    object-fit: cover; /* Maintain the aspect ratio and cover the div */
}


/* ---Event Packages--- */
.services {
  position: relative;
}

.services__heading {
  margin-bottom: 6rem;
}


.services__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -2.5rem;
  row-gap: 2.5rem;
  counter-reset: counter; 
}

.services__content {
  padding-left: 2.5rem;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 33.333%;
  flex: 0 0 33.333%;
  position: relative;
  /* counter-increment: counter; */
  overflow: hidden;
}

.services__xme {
  position: absolute; 
  bottom: -6.5rem; 
  right: 0; 
  font-size: 20rem; 
  font-weight: 800; 
  /* faded x, m, e */
  /* color: rgba(102, 178, 178, 0.2); */
  color: #F4F1EA; 
}

/*
.services__content::before {
  content: "0" counter(counter);
  position: absolute;
  bottom: -7.5rem;
  right: 0;
  font-size: 20rem;
  font-weight: 800;
  */
  /* color: #C9A63B; /* rgba(251, 248, 248, 0.3); */
  /*
  color: rgba(201, 166, 59, 0.2);
}
*/

.item-service {
  padding: 6rem 3rem;
  /* background of x m e boxes */
  background-color: #66B2B2; /* rgba(102, 178, 178, 0.4); /* rgba(201, 166, 59, 0.4);  ----  #66b2b2; ----  original: #dccecf; */
  height: 100%;
  -webkit-box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.15);
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.15);
  -webkit-transition: background-color 0.3s, color 0.3s;
  -o-transition: background-color 0.3s, color 0.3s;
  transition: background-color 0.3s, color 0.3s;
}

.item-service:hover {
  background-color: #037682; /*#037682;*/
  color: #F4F1EA;
  /* color: #f8f8f8; */
  
}



.item-service__title {
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: capitalize;
}

.item-service__text {
  margin-bottom: 8.4rem;
}

.item-service__link {
  padding-right: 3.6rem;
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: capitalize;
}

.item-service__link::before {
  /* content: ""; */
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}




















/* ---Services--- */
.service__heading {
  margin-bottom: 5rem;
}

.micro-slider {
  width: 100%;
  /* height: 58rem; */
  position: relative;
}

/* Adjust height for testimonials */
.testimonials .micro-slider {
  height: 45rem; /* Adjusted height for testimonials */
}

/* Default height for services */
.services .micro-slider {
  height: 58rem; /* Keeps the height for services */
}

.slider-wrapper {
  height: 58rem;
  overflow: hidden;
  position: relative;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform-origin: 0 50%;
  -ms-transform-origin: 0 50%;
  transform-origin: 0 50%;
}

.slider-item {
  /* width: 58rem; */
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0.2rem;
  display: none;
  padding: 3rem;
}

/* Services specific style */
.services__item {
  width: 38rem;
  -webkit-box-shadow: 0 0.2rem 2rem rgba(0, 0, 0, 0.15);
  box-shadow: 0 0.2rem 2rem rgba(0, 0, 0, 0.15);
}

.slider-item:not(.active) {
  cursor: pointer;
}

.slider-item:not(.active) {
  border: 0rem dashed #037682;
}

.slider-item__content {
  border: 0.1rem dashed #037682;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  border-radius: 0.2rem;
  height: 100%; /* affects the dashed border */
  padding: 3rem;
}

.slider-item__logo {
  margin-bottom: 2rem;
}

.slider-item__img {
  margin-bottom: 2rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  overflow: hidden;
}

.slider-item__img img {
  width: 200px;
  height: 100px;
  -o-object-fit: cover;
  object-fit: cover;
}

.slider-item__info > *:not(:last-child) {
  margin-bottom: 0.7rem;
}

.slider-item__name {
  font-size: 1.8rem;
  font-weight: 700;
}




/* Context-specific styles for Testimonials */
.testimonials__heading {
  margin-bottom: 5rem;
  text-align: center;
}

.testimonials__slider .slider-item__logo img {
  border-radius: 50%;
  width: 8rem;
  height: 8rem;
  object-fit: cover;
}

.testimonials__slider .slider-item__info {
  font-style: italic;
}

.testimonials__slider .slider-item__name {
  font-weight: bold;
  font-size: 1.6rem;
}

.testimonials__item {
  width: 70rem;
  -webkit-box-shadow: 0 0.2rem 2rem rgba(0, 0, 0, 0.05);
  box-shadow: 0 0.2rem 2rem rgba(0, 0, 0, 0.05);
}

/* Context-specific styles for Testimonials */
.slider-item__title {
  font-size: 0.9em;
  font-style: italic;
  font-weight: bold; /* This makes the text bold */
  color: #037682; 
  margin: 5px 0;
}

.slider-item__rating {
  margin: 10px 0;
}

.slider-item__rating .star {
  font-size: 1.2em;
  color: #C9A63B; /* gold; */
}



/* Indicator Info for Sliders */
.indicators {
    bottom: -64px;
    left: 50%;
    list-style-type: none;
    margin: 0 0 0 -77px;
    padding: 0;
    position: absolute;
}

.indicators li {
    color: #FFF;
    float: left;
    height: 16px;
    margin-right: 8px;
    text-align: center;
    width: 16px;
}

.indicators li:last-child {
    margin: 0;
}

.indicators a {
    background: #FFF;
    border-radius: 8px;
    border: 1px solid #E6E9EC;
    color: #FFF;
    display: inline-block;
    height: 16px;
    width: 16px;
}

.indicators .active a {
    background: #E6E9EC;
}
















/* ---Gallery--- */
.gallery__heading {
  margin-bottom: 5rem;
}

.gallery__trigger {
  margin: 0 auto 6rem;
}

.trigger {
  padding: 0.5rem;
  max-width: 90rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.5rem 0.2rem;
  border: 0.1rem solid #037682; /*#037682;*/
  border-radius: 5rem;
}

.trigger__link {
  padding: 1rem 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

.trigger__link:not(.trigger__link.active) {
  overflow: hidden;
  background: -webkit-gradient(linear, left top, right top, from(#037682), color-stop(50%, #037682), color-stop(50%, #111010));
  background: -o-linear-gradient(left, #037682, #037682 50%, #111010 50%);
  background: linear-gradient(to right, #037682, #037682 50%, #111010 50%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  background-position: 100%;
}

.trigger__link:not(.trigger__link.active):hover {
  background-position: 0 100%;
}

.trigger__link.active {
  background-color: #037682;
  border-radius: 2rem;
  color: #f8f8f8;
}

.gallery__body {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1rem 1fr 1rem 1fr 1rem 1fr 1rem 1fr 1rem 1fr 1rem 1fr 1rem 1fr;
  grid-template-columns: repeat(8, 1fr);
  gap: 1rem;
}

.gallery__item {
  -ms-grid-column-span: 2;
  grid-column: span 2;
}

.gallery__item.hide {
  display: none;
}

.gallery__item--v1 {
  -ms-grid-row-span: 2;
  grid-row: span 2;
}

.gallery__item--v2 {
  -ms-grid-row-span: 3;
  grid-row: span 3;
}

.gallery__img {
  height: 100%;
}

.gallery__img img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}


























/* ---Frequently Asked Questions--- */
.questions__heading {
  margin-bottom: 5rem;
}

.block {
  max-width: 96rem;
  margin: 0 auto;
}

.block__item {
  -webkit-box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
  /* background-color: rgba(102, 178, 178, 0.2);  /* #037682; /* #c9a63b66; /* #dccecf; */
  background-color: #66B2B2;  /* #037682; /* #c9a63b66; /* #dccecf; */
}

.block__item:not(:last-child) {
  margin-bottom: 1.5rem;
}

.block__label {
  padding: 2.7rem 7.5rem 2.7rem 4rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  border-radius: 0.2rem;
  cursor: pointer;
  position: relative;
}

.block__label::after {
  content: "";
  width: 1.8rem;
  height: 1.8rem;
  background: url("../images/arrow-open.svg") no-repeat;
  position: absolute;
  top: 50%;
  right: 4rem;
  -webkit-transition: -webkit-transform 0.3s linear;
  transition: -webkit-transform 0.3s linear;
  -o-transition: transform 0.3s linear;
  transition: transform 0.3s linear;
  transition: transform 0.3s linear, -webkit-transform 0.3s linear;
  -webkit-transform: translateY(-50%) rotate(-180deg);
  -ms-transform: translateY(-50%) rotate(-180deg);
  transform: translateY(-50%) rotate(-180deg);
}

.block__label.active::after {
  -webkit-transform: translateY(-50%) rotate(0);
  -ms-transform: translateY(-50%) rotate(0);
  transform: translateY(-50%) rotate(0);
}

.block__text {
  padding: 4rem;
  display: none;
  border-top: 0.1rem solid rgba(190, 118, 139, 0.5);
  color: #111010;
}

.block__text > *:not(:last-child) {
  margin-bottom: 1rem;
}

.block__text p a {
  border-bottom: 0.1rem dotted #037682;
}

/* ---Contacts--- */
.contacts {
  padding: 10rem 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.7))), url("../images/XME_Contact.jpg") no-repeat;
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("../images/XME_Contact.jpg") no-repeat;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("../images/XME_Contact.jpg") no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.contacts__heading {
  margin-bottom: 5rem;
}

.contacts__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-left: -2.5rem;
  row-gap: 2.5rem;
}

.contacts__info {
  padding-left: 2.5rem;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 45%;
  flex: 0 0 45%;
}

.info-contact__content {
  padding: 8rem;
  background-color: #f8f8f8;
  height: 100%;
}

.info-contact__box:not(:last-child) {
  margin-bottom: 7.5rem;
}

.info-contact__title {
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: capitalize;
}

.contact__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.5rem;
}

.contact__item:not(:last-child) {
  margin-bottom: 2rem;
}

.contact__icon {
  width: 3rem;
  height: 3rem;
  fill: #111010;
  -webkit-transition: fill 0.2s;
  -o-transition: fill 0.2s;
  transition: fill 0.2s;
}

.contact__link {
  -webkit-transition: color 0.2s;
  -o-transition: color 0.2s;
  transition: color 0.2s;
}

.contact__item:hover .contact__link {
  color: #037682;
}

.contact__item:hover .contact__icon {
  fill: #037682;
}

.info-contact__social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
}

.social__link {
  width: 3.6rem;
  height: 3.6rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border: 0.1rem solid rgba(17, 16, 16, 0.7);
  border-radius: 50%;
  -webkit-transition: border-color 0.2s, background-color 0.2s;
  -o-transition: border-color 0.2s, background-color 0.2s;
  transition: border-color 0.2s, background-color 0.2s;
}

.social__link:hover {
  background-color: #037682;
  border-color: #037682;
}

.social__icon {
  width: 1.8rem;
  height: 1.8rem;
  fill: #111010;
  -webkit-transition: fill 0.2s;
  -o-transition: fill 0.2s;
  transition: fill 0.2s;
}

.social__link:hover .social__icon {
  fill: #f8f8f8;
}

.contacts__form {
  padding-left: 2.5rem;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 55%;
  flex: 0 0 55%;
}

.form-contact__content {
  padding: 5rem 8rem;
  background-color: #f8f8f8;
  height: 100%;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 2rem 3rem;
  border: 0.1rem dashed #037682;
  background-color: transparent;
  border-radius: 0.2rem;
  outline: none;
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 400;
  color: #111010;
}

.form__input:focus,
.form__textarea:focus {
  border: 0.1rem solid #037682;
}

.form__input::-webkit-input-placeholder,
.form__textarea::-webkit-input-placeholder {
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 400;
  color: #111010;

}

.form__input::-moz-placeholder,
.form__textarea::-moz-placeholder {
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 400;
  color: #111010;
  text-transform: capitalize;
}

.form__input:-ms-input-placeholder,
.form__textarea:-ms-input-placeholder {
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 400;
  color: #111010;
  text-transform: capitalize;
}

.form__input::-ms-input-placeholder,
.form__textarea::-ms-input-placeholder {
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 400;
  color: #111010;
  text-transform: capitalize;
}

.form__input::placeholder,
.form__textarea::placeholder {
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 400;
  color: #111010;
  text-transform: capitalize;
}

.form__input {
  margin-bottom: 2rem;
}

.form__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 2rem;
  -moz-column-gap: 2rem;
  column-gap: 2rem;
}

.form__textarea {
  resize: vertical;
  height: 18rem;
}

.form__btn {
  margin-top: 5rem;
  padding: 1.5rem 5.2rem;
  min-height: 5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  background-color: #037682;
  font-size: 1.6rem;
  font-weight: 600;
  color: #f8f8f8;
  border-radius: 5rem;
  -webkit-box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.1);
  text-transform: capitalize;
  position: relative;
  overflow: hidden;
}

.form__btn span {
  position: relative;
  z-index: 2;
}

.form__btn::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #bcb1b2;
  width: 100%;
  height: 0;
  -webkit-transition: height 0.2s;
  -o-transition: height 0.2s;
  transition: height 0.2s;
}

.form__btn:hover::before {
  height: 100%;
}

/* ---Page Hero--- */
.page-hero {
  min-height: 36rem;
  background: url("../images/XME_Contact.jpg") no-repeat;
  background-position: center;
  background-size: cover;
}

/* ---Registration--- */
.registration__heading {
  margin-bottom: 3rem;
}

.registration__text {
  max-width: 40rem;
  margin: 0 auto 3rem;
  text-transform: capitalize;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

.registration__form {
  margin: 0 auto;
  max-width: 72rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* ---Footer--- */
.footer {
  padding: 2rem 0;
  background-color: #f8f8f8;
}

.footer__copyright {
  text-align: center;
}

.copyright {
  font-size: 1.4rem;
}

/* ---Scroll Up--- */
.scroll-up {
  width: 4rem;
  height: 4rem;
  background-color: #037682;
  border-radius: 50%;
  position: fixed;
  right: 2rem;
  bottom: 1rem;
  z-index: 1000;
  display: none;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.15);
  box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.15);
  opacity: 0.9;
}

.scroll-up:hover {
  background-color: #bcb1b2;
}

.scroll-up:active {
  -webkit-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
}

.scroll-up__icon {
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  fill: #f8f8f8;
  -webkit-transition: fill 0.3s;
  -o-transition: fill 0.3s;
  transition: fill 0.3s;
}

.scroll-up:hover .scroll-up__icon {
  fill: rgba(0, 0, 0, 0.5);
}
























/* ---Responsive--- */
@media (max-width: 1400px) {
  /* Hero */
  .hero {
    background: 
      -webkit-gradient(linear, left top, right top, from(rgba(244, 241, 234, 0.9)), color-stop(44%, rgba(244, 241, 234, 0.9)), color-stop(44%, transparent), to(transparent)), 
      url("../images/placeholder-bg-1.jpg") no-repeat;
    background: 
      -o-linear-gradient(left, rgba(244, 241, 234, 0.9) 0%, rgba(244, 241, 234, 0.9) 44%, transparent 44%, transparent 100%), 
      url("../images/placeholder-bg-1.jpg") no-repeat;
    background: 
      linear-gradient(to right, rgba(244, 241, 234, 0.9) 0%, rgba(244, 241, 234, 0.9) 44%, transparent 44%, transparent 100%), 
      url("../images/placeholder-bg-1.jpg") no-repeat;
    background-position: center;
    background-size: cover;
  }
  





  /* Classes */
  .classes {
    background: -webkit-gradient(linear, left top, right top, from(#dccecf), color-stop(44%, #dccecf), color-stop(44%, rgba(220, 206, 207, 0.4)), to(rgba(220, 206, 207, 0.4))), url("../images/placeholder-bg-2.jpg") no-repeat;
    background: -o-linear-gradient(left, #dccecf 0%, #dccecf 44%, rgba(220, 206, 207, 0.4) 44%, rgba(220, 206, 207, 0.4) 100%), url("../images/placeholder-bg-2.jpg") no-repeat;
    background: linear-gradient(to right, #dccecf 0%, #dccecf 44%, rgba(220, 206, 207, 0.4) 44%, rgba(220, 206, 207, 0.4) 100%), url("../images/placeholder-bg-2.jpg") no-repeat;
    background-position: center;
    background-size: cover;
  }
}

@media (max-width: 1180px) {
  /* Header */
  .header {
    top: 0;
  }

  .header__inner {
    padding: 1.3rem 0;
  }
}

@media (max-width: 992px) {
  /* About */
  .about__inner {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .about__img {
    margin: 0 0 5rem 0;
  }

  .about__info {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
  }

  /* Gallery */
  .gallery__item {
    -ms-grid-row-span: 2;
    grid-row: span 2;
  }

  /* Contacts */
  .info-contact__content,
  .form-contact__content {
    padding: 5rem;
  }

  /* Registration */
  .registration::before {
    display: none;
  }
}

@media (max-width: 900px) {
  /* Hero */
  .hero {
    background: 
      -webkit-gradient(linear, left top, right top, from(rgba(244, 241, 234, 0.9)), color-stop(60%, rgba(244, 241, 234, 0.9)), color-stop(60%, transparent), to(transparent)), 
      url("../images/placeholder-bg-1.jpg") no-repeat;
    background: 
      -o-linear-gradient(left, rgba(244, 241, 234, 0.9) 0%, rgba(244, 241, 234, 0.9) 60%, transparent 60%, transparent 100%), 
      url("../images/placeholder-bg-1.jpg") no-repeat;
    background: 
      linear-gradient(to right, rgba(244, 241, 234, 0.9) 0%, rgba(244, 241, 234, 0.9) 60%, transparent 60%, transparent 100%), 
      url("../images/placeholder-bg-1.jpg") no-repeat;
    background-position: center;
    background-size: cover;
  }

  .hero__content {
    max-width: 55%;
  }

  /* Services */
  .services__content {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
  }

  /* Classes */
  .classes {
    background: -webkit-gradient(linear, left top, right top, from(#dccecf), color-stop(60%, #dccecf), color-stop(60%, rgba(220, 206, 207, 0.4)), to(rgba(220, 206, 207, 0.4))), url("../images/placeholder-bg-2.jpg") no-repeat;
    background: -o-linear-gradient(left, #dccecf 0%, #dccecf 60%, rgba(220, 206, 207, 0.4) 60%, rgba(220, 206, 207, 0.4) 100%), url("../images/placeholder-bg-2.jpg") no-repeat;
    background: linear-gradient(to right, #dccecf 0%, #dccecf 60%, rgba(220, 206, 207, 0.4) 60%, rgba(220, 206, 207, 0.4) 100%), url("../images/placeholder-bg-2.jpg") no-repeat;
    background-position: center;
    background-size: cover;
  }

  .classes__content {
    max-width: 55%;
  }
}

@media (max-width: 850px) {
  /* Header */
  .header__burger {
    display: block;
    width: 3rem;
    height: 2rem;
    position: relative;
  }

  .header__burger span,
  .header__burger::before,
  .header__burger::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0.2rem;
    left: 0;
    background-color: #111010;
    -webkit-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
  }

  .header__burger span {
    top: calc(50% - 0.1rem);
    width: 70%;
  }

  .header__burger::before {
    top: 0;
  }

  .header__burger::after {
    bottom: 0;
  }

  .header__burger.active span {
    width: 0;
  }

  .header__burger.active::before {
    top: calc(50% - 0.1rem);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .header__burger.active::after {
    top: calc(50% - 0.1rem);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  /* Menu */
  .menu {
    padding: 5rem 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    width: 50%;
    max-height: 70vh;
    position: absolute;
    top: 12rem;
    right: 0;
    background-color: #f8f8f8;
    -webkit-box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.15);
    box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.15);
    -webkit-transition: opacity 0.3s, visibility 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, visibility 0.3s, -webkit-transform 0.3s;
    -o-transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s, -webkit-transform 0.3s;
    -webkit-transform: translateX(100%) rotate(90deg);
    -ms-transform: translateX(100%) rotate(90deg);
    transform: translateX(100%) rotate(90deg);
    opacity: 0;
    visibility: hidden;
    overflow: auto;
  }

  .menu.active {
    -webkit-transform: translateX(0) rotate(0);
    -ms-transform: translateX(0) rotate(0);
    transform: translateX(0) rotate(0);
    opacity: 1;
    visibility: visible;
  }

  .menu__list {
    width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0;
  }

  .menu__item {
    border-bottom: 0.1rem solid rgba(220, 206, 207, 0.5);
  }

  .menu__item:first-child {
    border-top: 0.1rem solid rgba(220, 206, 207, 0.5);
  }

  .menu__link {
    display: block;
    text-align: right;
    width: 100%;
    padding: 1.5rem 1rem;
  }

  .menu__link.active {
    background-color: #dccecf;
    color: #111010;
  }

  /* Contacts */
  .contacts__form {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .contacts__info {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }
}

@media (max-width: 768px) {
  /* Gallery */
  .gallery__body {
    -ms-grid-columns: (1fr) [6];
    grid-template-columns: repeat(6, 1fr);
  }

  .gallery__img {
    height: 40rem;
  }

  .trigger {
    border: none;
    padding: 0.5rem 0;
  }
}

@media (max-width: 600px) {
  /* Menu */
  .menu {
    width: 90%;
  }

  /* Services */
  .services__content {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  /* ---Page Hero--- */
  .page-hero {
    min-height: 28rem;
  }
}

@media (max-width: 580px) {
  /* Hero */
  .hero {
    background: 
      -webkit-gradient(linear, left top, right top, from(rgba(244, 241, 234, 0.9)), color-stop(85%, rgba(244, 241, 234, 0.9)), color-stop(85%, transparent), to(transparent)), 
      url("../images/placeholder-bg-1.jpg") no-repeat;
    background: 
      -o-linear-gradient(left, rgba(244, 241, 234, 0.9) 0%, rgba(244, 241, 234, 0.9) 85%, transparent 85%, transparent 100%), 
      url("../images/placeholder-bg-1.jpg") no-repeat;
    background: 
      linear-gradient(to right, rgba(244, 241, 234, 0.9) 0%, rgba(244, 241, 234, 0.9) 85%, transparent 85%, transparent 100%), 
      url("../images/placeholder-bg-1.jpg") no-repeat;
    background-position: center;
    background-size: cover;
  }

  .hero__content {
    max-width: 80%;
  }

  /* Gallery */
  .gallery__body {
    -ms-grid-columns: (1fr) [4];
    grid-template-columns: repeat(4, 1fr);
  }

  /* Classes */
  .classes {
    background: -webkit-gradient(linear, left top, right top, from(#dccecf), color-stop(90%, #dccecf), color-stop(90%, rgba(220, 206, 207, 0.4)), to(rgba(220, 206, 207, 0.4))), url("../images/placeholder-bg-2.jpg") no-repeat;
    background: -o-linear-gradient(left, #dccecf 0%, #dccecf 90%, rgba(220, 206, 207, 0.4) 90%, rgba(220, 206, 207, 0.4) 100%), url("../images/placeholder-bg-2.jpg") no-repeat;
    background: linear-gradient(to right, #dccecf 0%, #dccecf 90%, rgba(220, 206, 207, 0.4) 90%, rgba(220, 206, 207, 0.4) 100%), url("../images/placeholder-bg-2.jpg") no-repeat;
    background-position: center;
    background-size: cover;
  }

  .classes__content {
    max-width: 95%;
  }
}

@media (max-width: 550px) {
  /* About */
  .about__img {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  /* Contacts */
  .info-contact__content,
  .form-contact__content {
    padding: 4rem;
  }

  .form__wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  /* Heading */
  .heading__title {
    font-size: 3.2rem;
  }

  .headeing__subtitle {
    font-size: 3.8rem;
  }

  /* About */
  .info-about__signature {
    gap: 0.5rem;
  }

  /* Gallery */
  .gallery__body {
    -ms-grid-columns: (1fr) [2];
    grid-template-columns: repeat(2, 1fr);
  }

  /* Team */
  .slider-item {
    width: 100%;
  }

  /* Contacts */
  .info-contact__content,
  .form-contact__content {
    padding: 4rem 2rem;
  }
}
