@import url(./general.css);

/**************/
/* HEADER */
/**************/
.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  margin: 0 auto;
}
.logo-holder-header {
  flex: 2;
  max-width: 120px;
}

.logo.header-logo {
  max-width: 50px;
  vertical-align: middle;
}

.burger-menu-btn {
  display: block;
  background-color: transparent;
  fill: var(--color-blue);
  width: 44px;
  height: 44px;
  border-radius: 6px;
}

.burger-menu-btn:active,
.burger-menu-btn:hover,
.burger-menu-btn:focus {
  background-color: rgba(241, 233, 220, 0.7);
  box-shadow: inset 0 0 4px var(--color-blue);
  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.icon.burger-icon {
  width: 38px;
  height: 38px;
  fill: var(--color-blue);
}

/* MOBILE NAV MENU */

.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: var(--color-beige);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  z-index: 50;
}

.close-mob-nav {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  top: 34px;
  right: 34px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: transparent;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateX(100%);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
}

.icon.close-nav-icon {
  width: 32px;
  height: 32px;
  fill: var(--color-blue);
}

.close-mob-nav:hover,
.close-mob-nav:focus {
  border: 1px solid var(--color-light-blue);
}

.close-mob-nav:active {
  box-shadow: inset 0 0 12px var(--color-blue);
}

.nav-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translate(0);
}

.nav-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 100px;
}

.nav-link {
  padding: 8px 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
}

.nav-item:not(:last-child)::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-blue);
  opacity: 0;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-item:not(:last-child):hover:after,
.nav-item:not(:last-child):focus:after {
  opacity: 1;
}

.nav-item:not(:last-child):active:after {
  background-color: var(--color-beige);
}

.nav-item .cta-btn {
  margin-top: 12px;
  padding: 8px 24px;
}

.nav-item:not(:last-child) {
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-item:not(:last-child):hover,
.nav-item:not(:last-child):focus {
  color: var(--color-blue);
}

.nav-item:not(:last-child):active {
  color: var(--color-beige);
}

/**************/
/* HERO*/
/**************/

.section-hero {
  padding-top: 16px;
  padding-bottom: 36px;
}

.hero-container {
  position: relative;
  padding: 0;
  margin: 0 auto;
  height: 700px;
  border-radius: 8px;
  background-color: var(--color-beige);
  overflow: hidden;
}

.box-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(241, 233, 220, 0.1);
  z-index: 1;
  pointer-events: none;
}

.hero-img-box {
  position: absolute;
  top: -10px;
  width: 100%;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-text-box {
  position: absolute;
  top: 170px;
  width: 100%;
  padding: 20px 10px;
  text-align: center;
  color: #222;
  background: linear-gradient(
    to top,
    rgba(241, 233, 220, 1) 95%,
    rgba(241, 233, 220, 9) 96%,
    rgba(241, 233, 220, 0.8) 97%,
    rgba(241, 233, 220, 0.6) 98%,
    rgba(241, 233, 220, 0.1) 99%,
    rgba(241, 233, 220, 0) 100%
  );
  z-index: 3;
}

.main-header {
  max-width: 280px;
  font-size: 38px;
  line-height: 1.2;
  margin: 0 auto 18px;
  padding-top: 10px;
}

.hero-text {
  max-width: 270px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
  margin: 0 auto;
}

.hero-span-text {
  font-family: var(--font-accent);
  font-size: 24px;
  margin-top: 8px;
}

.hero-btn-holder {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 3;
}

.cta-btn.btn-light-bg {
  padding: 6px 12px;
  color: var(--color-light-beige);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-btn.btn-light-bg:hover,
.cta-btn.btn-light-bg:focus {
  color: var(--color-blue);
  background-color: var(--color-light-beige);
  box-shadow: inset 0 0 4px var(--color-blue);
}

.cta-btn.btn-light-bg:active {
  box-shadow: inset 0 0 12px var(--color-blue);
}

.learn-more-btn {
  padding: 6px 12px;
  color: var(--color-blue);
  font-weight: 600;
  font-size: 22px;
  background-color: rgba(254, 253, 252, 0.9);
  color: #222;
  border-radius: 6px;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.learn-more-btn:hover,
.learn-more-btn:focus {
  box-shadow: inset 0 0 10px var(--color-blue);
}

.learn-more-btn:active {
  box-shadow: inset 0 0 12px var(--color-blue);
}

/**************/
/* ABOUT US*/
/**************/
.section-about {
  padding: 24px 0 36px;
}

.about-holder {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 10px;
}

.about-img-holder {
  max-width: 380px;
  padding: 16px;
  flex: 1;
  background-color: rgba(46, 74, 99, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.about-img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 1px 0 10px var(--color-blue);
  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.about-img:hover {
  transform: scale(1.04);
}
.about-text-holder {
  flex: 2;
}

.about-text {
  font-size: 16px;
}

.about-text:not(:last-child) {
  margin-bottom: 16px;
}

/**************/
/* COURSES*/
/**************/
.section-courses {
  padding: 24px 0 36px;
}

.courses-intro-wrapper {
  margin-bottom: 24px;
  padding: 0 10px;
}

.intro-text {
  margin-bottom: 24px;
  font-size: 18px;
}

.intro-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.intro-item {
  font-size: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #888;
}

.intro-span {
  font-weight: 800;
}

.courses-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.courses-card {
  padding: 12px;
  background-color: var(--color-beige);
  border-radius: 6px;
  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.courses-card:hover {
  transform: translateY(-18px);
  box-shadow: 0 12px 24px rgba(46, 74, 99, 0.5);
}

.course-name {
  font-family: var(--font-accent);
  font-size: 32px;
}

.course-name::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 12px;
  margin-bottom: 18px;
  background-color: var(--color-accent);
  filter: blur(1px);
}

.course-text {
  margin-bottom: 12px;
}

.course-descr-item:not(:last-child) {
  margin-bottom: 12px;
}

/**************/
/* TESTIMONIALS*/
/**************/
.section-testimonials {
  padding: 0 0 20px;
}

.container.testimonials-container {
  min-width: 320px;
  padding: 0 20px;
  z-index: 1;
}
.testimonials-header {
  visibility: hidden;
  font-size: 12px;
  margin: 0;
}

.testimonial-name {
  font-family: var(--font-accent);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 6px;
}

.testimonials-span {
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 12px;
}

.testimonial-link {
  font-family: var(--font-text);
  text-decoration: underline 1px;
}

.testimonial-link:hover {
  color: var(--color-light-blue);
}
.testimonial-link:active {
  color: var(--color-beige);
}

.swiper {
  position: relative;
  height: 650px;
  box-shadow: 3px 3px 8px rgba(46, 74, 99, 0.3);
  border-radius: 8px;
  background-color: rgba(254, 253, 252, 0.2);
}

.swiper-slide .slide-txt-wrapper {
  height: 600px;
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  font-size: 16px;
}

.slide-scrollable {
  height: 100%;
  overflow-y: auto;
  padding-right: 12px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: none;
  display: none;
}

.swiper-button-next.icon-next,
.swiper-button-prev.icon-prev {
  position: absolute;
  bottom: 16px;
  top: auto;
  width: 44px;
  height: 44px;
  background-color: var(--color-beige);
  border-radius: 50%;
  box-shadow: inset 0 0 4px var(--color-blue);
  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-button-next.icon-next {
  right: 50px;
}

.swiper-button-prev.icon-prev {
  left: 50px;
}

.swiper-button-next.icon-next:hover,
.swiper-button-prev.icon-prev:hover,
.swiper-button-next.icon-next:focus,
.swiper-button-prev.icon-prev:focus {
  box-shadow: inset 0 0 12px var(--color-blue);
}

.swiper-button-next.icon-next:active,
.swiper-button-prev.icon-prev:active {
  background-color: rgb(171, 183, 193, 0.6);
}

.icon.arrow-left,
.icon.arrow-right {
  width: 24px;
  height: 24px;
  fill: var(--color-blue);
  vertical-align: middle;
}

.swiper-pagination {
  display: none;
}

/**************/
/* TWO SECTIONS HOLDER*/
/**************/
.two-sections-holder {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  margin-top: 36px;
  border-radius: 8px;
  background-image: linear-gradient(
    to bottom,
    rgba(241, 233, 220, 1) 0%,
    rgba(241, 233, 220, 0.8) 20%,
    rgba(241, 233, 220, 0.6) 50%,
    rgba(241, 233, 220, 0.2) 80%,
    rgba(241, 233, 220, 0) 100%
  );
}

/**************/
/* PRICES*/
/**************/
.section-prices {
  flex: 1;
  padding: 24px 0 0;
}

.section-header.prices-header {
  text-align: center;
  margin-bottom: 32px;
  margin-top: 0;
}

.prices-item-header {
  margin-bottom: 16px;
  font-family: var(--font-accent);
  font-size: 36px;
}

.prices-txt-holder {
  margin-bottom: 24px;
}

.prices-text-bold {
  font-weight: 800;
}

.prices-item-header::before,
.prices-item-header::after {
  content: "";
  display: block;
  width: 100%;
  height: 0.5px;
  margin-top: 8px;
  margin-bottom: 8px;
  background-color: #abb7c1;
}

/**************/
/* CONTACT FORM*/
/**************/

.section-enroll {
  flex: 1;
  padding: 24px 0;
  margin-bottom: 24px;
}
.enroll-container {
  margin: 0 auto;
}
.section-enroll .section-header {
  margin-bottom: 32px;
  margin-top: 0;
  text-align: center;
}
.section-enroll-text {
  max-width: 580px;
  margin-bottom: 32px;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}

.enroll-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 24px;
  width: 100%;
}

.form-label {
  margin-bottom: 8px;
}

.form-input {
  padding: 6px 12px;
  margin-bottom: 16px;
  background-color: var(--color-light-beige);
  color: var(--color-blue);
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid var(--color-light-beige);
  outline: none;
}

.form-input::placeholder {
  color: #888;
  font-size: 16px;
}

.form-input:focus {
  border-color: var(--color-blue);
}

.form-btn {
  padding: 10px 16px;
  width: 60%;
  margin: 24px auto 0;
}

/**************/
/* FOOTER*/
/**************/

.footer {
  width: 100%;
  color: var(--color-beige);
  background-color: var(--color-blue);
  padding: 32px 0 0;
}

.container.footer-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 0 36px;
}

.logo-holder-footer {
  width: 200px;
  margin-bottom: 32px;
}

.contact-holder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 16px;
}

.icon.footer-mail-icon,
.icon.footer-tel-icon {
  fill: var(--color-beige);
  width: 24px;
  height: 24px;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.social-media-holder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 48px;
  height: 48px;
}

.icon.icon-facebook,
.icon.icon-instagram {
  width: 36px;
  height: 36px;
  fill: var(--color-beige);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-tel-number,
.footer-email-address {
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-tel-number:hover,
.footer-tel-number:hover .footer-tel-icon,
.footer-tel-number:active,
.footer-tel-number:active .footer-tel-icon,
.footer-email-address:hover,
.footer-email-address:hover .footer-mail-icon,
.footer-email-address:active,
.footer-email-address:active .footer-mail-icon {
  color: var(--color-light-blue);
  fill: var(--color-light-blue);
}

.facebook-link:hover .icon-facebook,
.facebook-link:active .icon-facebook,
.instagram-link:hover .icon-instagram,
.instagram-link:active .icon-instagram {
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  fill: var(--color-light-blue);
}

.copyright {
  margin-top: auto;
  text-align: center;
}

.copyright-text {
  font-size: 12px;
}

.icon.icon-copyright {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  fill: var(--color-beige);
}
.developer-link {
  text-decoration: underline;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.developer-link:hover,
.developer-link:active {
  color: var(--color-light-blue);
}

/**************/
/* DISCOUNT MODAL*/
/**************/

.discount-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 32px 0;
}
.discount-text {
  font-size: 20px;
}

.discount-text-span {
  text-decoration: 1px underline;
}

.cta-btn.cta-btn-modal {
  background-color: var(--color-light-beige);
  color: var(--color-blue);
  box-shadow: inset 0 0 12px var(--color-accent);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-btn.cta-btn-modal:hover,
.cta-btn.cta-btn-modal:focus {
  background-color: var(--bg-main);
}

.cta-btn.cta-btn-modal:active {
  color: var(--color-light-beige);
  background-color: var(--color-blue);
}

.discount-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 32px 0;
}
.discount-text {
  font-size: 20px;
}

.discount-text-span {
  text-decoration: 1px underline;
}

.cta-btn.cta-btn-modal {
  padding: 10px 16px;
  background-color: var(--color-light-beige);
  color: var(--color-blue);
  box-shadow: inset 0 0 12px var(--color-accent);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-btn.cta-btn-modal:hover,
.cta-btn.cta-btn-modal:focus {
  background-color: var(--bg-main);
}

.cta-btn.cta-btn-modal:active {
  color: var(--color-light-beige);
  background-color: var(--color-blue);
}
