body {
  overflow-x: hidden;
}

.em-logo-link {
  display: inline-flex !important;
  align-items: center;
  height: 100px;
  line-height: 1 !important;
}

.em-logo-link img {
  width: 214px;
  max-width: 214px;
  height: auto;
  display: block;
}

.background-header .em-logo-link,
.header-area.header-sticky .em-logo-link {
  height: 80px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #4b8ef1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
}

.main-banner .left-content h2 {
  max-width: 620px;
}

.main-banner .left-content p {
  max-width: 600px;
  line-height: 1.85;
}

.hero-device img,
.studio-image img {
  filter: drop-shadow(0 24px 40px rgba(43, 92, 181, 0.16));
}

.course-matrix {
  margin-top: 46px;
}

.course-card,
.flow-card,
.note-card {
  height: calc(100% - 30px);
  min-height: 250px;
  margin-bottom: 30px;
  border-radius: 24px;
  padding: 30px 28px;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.course-card:hover,
.flow-card:hover,
.note-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 34px rgba(75, 142, 241, 0.16);
}

.course-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(105deg, #4b8ef1 0%, #2ec7ff 100%);
  font-size: 23px;
  margin-bottom: 20px;
}

.course-card h5,
.flow-card h5,
.note-card h5 {
  color: #2a2a2a;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 13px;
}

.course-card p,
.flow-card p,
.note-card p {
  line-height: 1.85;
  margin-bottom: 0;
}

.lab-flow {
  padding: 70px 0 30px;
  background:
    linear-gradient(180deg, rgba(75, 142, 241, 0.08), rgba(255, 255, 255, 0.92)),
    url("../images/service-bg.jpg") center/cover no-repeat;
}

.flow-card {
  min-height: 230px;
  position: relative;
  overflow: hidden;
}

.flow-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(105deg, #4b8ef1 0%, #00c6ff 100%);
}

.field-notes {
  padding: 30px 0 80px;
}

.note-card {
  min-height: 270px;
  border: 1px solid rgba(75, 142, 241, 0.14);
}

.note-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: #4b8ef1;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.contact-panel {
  padding: 28px;
  margin-bottom: 60px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

footer .contact-panel input,
footer .contact-panel textarea {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.96);
  color: #2a2a2a;
  padding: 0 22px;
  font-size: 15px;
  margin-bottom: 18px;
  outline: none;
}

footer .contact-panel textarea {
  min-height: 128px;
  height: 128px;
  resize: vertical;
  padding-top: 16px;
}

footer .contact-panel input::placeholder,
footer .contact-panel textarea::placeholder {
  color: #777;
}

.toast-message {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  max-width: 360px;
  padding: 16px 20px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(105deg, #4b8ef1 0%, #00c6ff 100%);
  box-shadow: 0 18px 35px rgba(0, 74, 173, 0.26);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}

.toast-message.show {
  transform: translateY(0);
  opacity: 1;
}

.legal-hero {
  padding: 170px 0 70px;
  background:
    linear-gradient(120deg, rgba(75, 142, 241, 0.16), rgba(46, 199, 255, 0.08)),
    url("../images/slider-left-dec.png") left top/420px auto no-repeat;
}

.legal-hero h1 {
  font-size: 46px;
  font-weight: 800;
  color: #2a2a2a;
  margin-bottom: 18px;
}

.legal-hero p {
  max-width: 760px;
  line-height: 1.85;
}

.legal-content {
  padding: 60px 0 90px;
}

.legal-card {
  padding: 36px;
  margin-bottom: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

.legal-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: #2a2a2a;
  margin-bottom: 16px;
}

.legal-card p,
.legal-card li {
  line-height: 1.85;
}

.legal-card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.simple-footer {
  padding: 36px 0;
  background: linear-gradient(105deg, #4b8ef1 0%, #2ec7ff 100%);
  color: #fff;
}

.simple-footer a {
  color: #fff;
}

@media (max-width: 1200px) {
  .em-logo-link img {
    width: 188px;
  }

  .header-area .main-nav .nav li {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 991px) {
  .em-logo-link img {
    width: 190px;
  }

  .main-banner .left-content {
    margin-right: 0;
  }

  .main-banner .left-content h2 {
    font-size: 42px;
  }

  .course-card,
  .flow-card,
  .note-card {
    min-height: auto;
  }

  .legal-hero {
    padding-top: 140px;
  }
}

@media (max-width: 767px) {
  .em-logo-link {
    height: 100px;
  }

  .em-logo-link img {
    width: 172px;
  }

  .main-banner .left-content h2 {
    font-size: 34px;
    line-height: 1.25;
  }

  .white-button {
    margin-bottom: 12px;
  }

  .contact-panel {
    padding: 22px 18px;
  }

  .legal-hero h1 {
    font-size: 36px;
  }

  .toast-message {
    left: 18px;
    right: 18px;
    max-width: none;
  }
}
