/* Hero Main Section */
.hero-main {
  background-image: url("/images/about-lib-main-bg.svg");
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 30px;
  position: relative;
  max-width: 1435px;
  margin: 50px auto 0;
  padding-top: 44px;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 50px;
  height: auto;
}

.hero-main-title {
  font-family: "Inter";
  font-weight: 900;
  font-size: 76px;
  color: #ffffff;
}

.hero-main-subtitle {
  font-family: "Inter";
  font-weight: 900;
  font-size: 48px;
  color: #b0e881;
  text-transform: uppercase;
  margin-top: 30px;
}

.hero-main-description {
  font-family: "Inter";
  font-weight: 400;
  font-size: 24px;
  color: #fff;
  max-width: 552px;
  margin-top: 20px;
}

.hero-main-action {
  display: flex;
  align-items: flex-start;
  margin-top: 50px;
  gap: 20px;
}

.hero-main-action a {
  text-decoration: none;
}

.hero-main-below-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.hero-main-left {
  flex: 0 1 auto;
  min-width: 0;
}

.hero-main-image {
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  max-height: 420px;
  height: auto;
  position: relative;
}

.hero-main-bg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  z-index: 1;
}

.hero-main-image .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
  opacity: 0.5;
  z-index: 2;
}

.hero-main-image:hover > .play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 100%;
  cursor: pointer;
}

.hero-main-illustration {
  position: absolute;
  top: -136px;
  right: 33px;
  height: auto;
  z-index: 10;
  pointer-events: none;
}

.hero-video-link {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 50px;
  text-decoration: none;
  display: inline-block;
}

.hero-video-link:hover {
  color: #b0e881;
}

.video-link-arrow {
  width: 32px;
  height: 32px;
  transition: all 0.3s ease;
}

.hero-main-action:hover .video-link-arrow {
  transform: translateX(4px);
}

@media screen and (max-width: 1490px) {
  .hero-main {
    margin: 0 40px 0;
    margin-top: 40px;
    padding: 40px;
  }

  .hero-main-image {
    max-width: 650px;
    justify-self: end;
  }

  .hero-main-below-content {
    justify-content: space-between;
  }

  .hero-main-illustration {
    width: 250px;
    top: -92px;
  }

  .hero-main-title {
    font-size: 60px;
  }

  .hero-main-subtitle {
    font-size: 30px;
  }

  .hero-main-description {
    font-size: 20px;
    max-width: 450px;
  }

  .hero-video-link {
    font-size: 20px;
    margin-top: 20px;
  }

  .video-link-arrow img {
    width: 200px;
  }

  .hero-main-image .play-icon {
    width: 120px;
  }
}

@media screen and (max-width: 1150px) {
  .hero-main {
    padding: 30px;
  }

  .hero-main-image {
    max-width: 550px;
  }

  .hero-main-illustration {
    width: 220px;
    top: -81px;
  }

  .hero-main-title {
    font-size: 55px;
  }

  .hero-main-subtitle {
    font-size: 25px;
  }

  .hero-main-description {
    font-size: 20px;
    max-width: 420px;
  }

  .hero-main-action {
    margin-top: 30px;
  }

  .hero-video-link {
    font-size: 18px;
    margin-top: 20px;
  }

  .video-link-arrow img {
    width: 160px;
  }

  .hero-main-image .play-icon {
    width: 100px;
  }
}

@media screen and (max-width: 1024px) {
  .hero-main {
    padding: 25px;
  }

  .hero-main-image {
    max-width: 450px;
  }

  .hero-main-illustration {
    width: 180px;
    top: -66px;
  }

  .hero-main-title {
    font-size: 50px;
  }

  .hero-main-subtitle {
    font-size: 23px;
  }

  .hero-main-description {
    font-size: 18px;
    max-width: 380px;
  }

  .hero-main-action {
    margin-top: 10px;
  }

  .hero-video-link {
    font-size: 16px;
    margin-top: 20px;
  }

  .video-link-arrow img {
    width: 140px;
  }

  .hero-main-image .play-icon {
    width: 80px;
  }
}

@media screen and (max-width: 950px) {
  .hero-main {
    margin: 30px;
  }

  .hero-main-image {
    max-width: 350px;
  }

  .hero-main-illustration {
    width: 140px;
    top: -51.5px;
  }

  .hero-main-title {
    font-size: 40px;
  }

  .hero-main-subtitle {
    font-size: 20px;
    margin-top: 10px;
  }

  .hero-main-description {
    font-size: 16px;
    max-width: 450px;
    margin-top: 10px;
  }

  .hero-video-link {
    font-size: 16px;
    margin-top: 20px;
  }

  .video-link-arrow img {
    width: 140px;
  }

  .hero-main-image .play-icon {
    width: 70px;
  }
}

@media screen and (max-width: 768px) {
  .hero-main {
    margin: 30px 20px 0;
    padding: 20px;
  }

  .hero-main-title {
    font-size: 42px;
  }

  .hero-main-below-content {
    flex-direction: column;
    gap: 30px;
  }

  .hero-main-left {
    flex: none;
  }

  .hero-main-image {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-main-subtitle {
    font-size: 28px;
  }

  .hero-main-description {
    font-size: 18px;
  }

  .hero-video-link {
    font-size: 20px;
  }

  .video-link-arrow {
    display: none;
  }

  .hero-main-illustration {
    width: 200px;
    top: -74px;
  }

  .hero-main-image .play-icon {
    width: 100px;
  }
}

@media screen and (max-width: 580px) {
  .hero-main-title {
    font-size: 32px;
    line-height: 1.1;
  }

  .hero-main-subtitle {
    font-size: 24px;
    margin-top: 20px;
  }

  .hero-main-description {
    font-size: 16px;
    margin-top: 16px;
  }

  .hero-main-action {
    margin-top: 20px;
    gap: 16px;
  }

  .hero-video-link {
    font-size: 18px;
    margin-top: 0;
  }

  .video-link-arrow {
    width: 28px;
    height: 28px;
  }

  .hero-main-image .play-icon {
    width: 50px;
    height: 50px;
  }

  .hero-main-illustration {
    width: 150px;
    top: -55px;
  }

  .hero-main-below-content {
    gap: 20px;
  }
}

@media screen and (max-width: 440px) {
  .hero-main-title {
    font-size: 24px;
  }

  .hero-main-subtitle {
    font-size: 20px;
  }

  .hero-main-description {
    font-size: 14px;
  }

  .hero-video-link {
    font-size: 16px;
  }

  .hero-main-illustration {
    width: 100px;
    top: -37px;
    right: 10px;
  }

  .hero-main-below-content {
    gap: 10px;
  }
}

@media screen and (max-width: 360px) {
  .hero-main-illustration {
    display: none;
  }
}

/* Possibilities Section */
.possibilities-section {
  background-image: url("/images/about-lib-bg2.svg");
  padding: 100px 40px;
  margin-top: 100px;
  position: relative;
}

.possibilities-header {
  margin-bottom: 30px;
}

.possibilities-title {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 36px;
  color: #0c6ed6;
  text-transform: uppercase;
}

.possibilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
  margin: 0 auto;
  margin-bottom: 100px;
  align-items: stretch;
}

.possibility-card {
  background-color: #b0e881;
  border-radius: 20px;
  padding: 40px 0 43px 40px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card-icon {
  position: absolute;
  top: 20px;
  right: 20px;
}

.possibility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(126, 211, 33, 0.3);
}

.card-title {
  font-family: "Inter";
  font-weight: 900;
  font-size: 32px;
  color: #183b59;
  text-transform: uppercase;
}

.card-description {
  font-family: "Inter";
  font-weight: 400;
  font-size: 24px;
  color: #183b59;
  padding-right: 70px;
  margin-top: 25px;
  margin-bottom: 27px;
  flex-grow: 1;
}

.card-description-other-padding-right {
  padding-right: 30px;
}

.card-button {
  background: #0c6ed6;
  font-family: "Inter";
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  padding: 18px 65px;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: none;
  margin-top: auto;
  cursor: pointer;
  align-self: flex-start;
  text-decoration: none;
  color: #ffffff;
}

.card-button:hover {
  background: #2f7cf0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 124, 233, 0.4);
}

.card-button:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

@media (max-width: 1650px) {
  .possibilities-section {
    padding: 50px 40px;
  }

  .card-icon img {
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 1440px) {
  .card-title {
    font-size: 26px;
  }

  .possibility-card {
    padding-right: 40px;
  }
}

@media (max-width: 1284px) {
  .possibilities-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 50px;
    gap: 24px;
  }

  .card-title {
    padding-right: 0;
    font-size: 28px;
  }

  .possibility-card {
    padding: 30px 40px 30px 30px;
  }

  .card-title {
    font-size: 28px;
  }

  .card-description {
    font-size: 18px;
    margin-top: 20px;
  }

  .card-button {
    font-size: 16px;
    padding: 14px 50px;
  }
}

@media (max-width: 1024px) {
  .possibilities-section {
    margin-top: 60px;
  }
}

@media (max-width: 950px) {
  .possibilities-section {
    padding: 40px 30px;
  }
}

@media (max-width: 840px) {
  .possibilities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
    max-width: 100%;
  }

  .possibility-card {
    padding: 25px 20px 25px 20px;
  }

  .card-title {
    font-size: 24px;
  }

  .card-description {
    font-size: 16px;
  }

  .card-icon img {
    width: 40px;
    height: 40px;
  }

  .card-icon {
    top: 15px;
    right: 15px;
  }

  .card-button {
    font-size: 14px;
    padding: 12px 40px;
  }
}

@media (max-width: 768px) {
  .possibilities-section {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .possibilities-grid {
    margin-bottom: 30px;
  }

  .possibilities-title {
    font-size: 28px;
  }

  .possibility-card {
    padding: 20px 15px 20px 15px;
  }

  .card-title {
    font-size: 20px;
  }

  .card-description {
    font-size: 14px;
  }

  .card-icon img {
    width: 36px;
    height: 36px;
  }

  .card-button {
    width: 100%;
    font-size: 12px;
    padding: 15px 30px;
  }
}

/*  */
.flow-section {
  max-width: 1435px;
  margin: 0 auto;
}

.flow-title {
  color: #0c6ed6;
  font-family: "Inter";
  font-weight: 900;
  font-size: 36px;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.flow-subtitle {
  font-family: "Inter";
  font-size: 32px;
  color: #183b59;
  font-weight: 800;
  margin-bottom: 32px;
}

.flow-desc {
  font-family: "Inter";
  color: #183b59;
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 22px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 80px 20px;
  z-index: 10;
  position: relative;
}

.flow-section {
  max-width: 1435px;
  margin: 0 auto;
  position: relative;
}

.timeline {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1920px;
  max-width: 100vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 80px 20px;
  max-width: 1435px;
  margin: 0 auto;
  position: relative;
}

.flow-card {
  font-family: "Inter";
  border-radius: 14px;
  color: #fff;
  justify-content: flex-start;
  position: relative;
  min-height: 200px;
}

.flow-card img {
  width: 100%;
  height: auto;
  display: block;
}

.flow-card p {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 10px;
  font-family: "Inter";
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(14px, 1.2vw, 20px);
}

@media (max-width: 1200px) {
  .flow-section {
    margin-top: 60px;
  }

  .flow-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
  }

  .timeline {
    left: -10%;
    width: 120%;
  }

  .flow-title {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .flow-card p {
    font-size: 22px;
  }

  .flow-subtitle {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .flow-desc {
    font-size: 20px;
  }

  .timeline {
    display: none;
  }
}

@media (max-width: 1024px) {
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .flow-card p {
    font-size: 26px;
    top: 15px;
    left: 15px;
    right: 15px;
  }
}

@media (max-width: 768px) {
  .flow-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .flow-card p {
    font-size: 40px;
  }
}

@media (max-width: 576px) {
  .flow-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 40px 20px;
  }

  .flow-section {
    margin-top: 30px;
  }

  .flow-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .flow-subtitle {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .flow-desc {
    font-size: 16px;
  }

  .flow-grid {
    gap: 20px;
  }

  .flow-card {
    min-height: 120px;
  }

  .flow-card p {
    font-size: 30px;
  }
}

@media (max-width: 420px) {
  .flow-card p {
    font-size: 20px;
    top: 10px;
    left: 10px;
    right: 10px;
  }
}

/* teachers slider section */
.teachers-slider-section {
  max-width: 1550px;
  margin: 0 auto;
  margin-top: 80px;
  margin-bottom: 80px;
}

.slider-header {
  max-width: 1435px;
  margin: 0 auto;
  margin-bottom: 24px;
}

.slider-title {
  font-family: "Inter";
  font-weight: 800;
  font-size: 32px;
  color: #183b59;
  margin-bottom: 31px;
}

.slider-desc {
  font-family: "Inter";
  font-weight: 400;
  font-size: 24px;
  color: #183b59;
  line-height: 1.4;
}

.slider-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.slider-btn-prev,
.slider-btn-next {
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  z-index: 10;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn-prev:hover,
.slider-btn-next:hover {
  transform: scale(1.1);
}

.slider-btn-prev:active,
.slider-btn-next:active {
  transform: scale(0.95);
}

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

.swiper-button-prev,
.swiper-button-next {
  position: static;
  width: auto;
  height: auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 10px 15px;
}

.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.slider-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: 10px;
}

.teacher-card {
  background: #fff;
  border-radius: 24px;
  padding: 39px 40px 30px 39px;
  height: auto;
  box-sizing: border-box;
  cursor: pointer;
}

.teacher-card-top-content {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.teacher-name {
  font-family: "Inter";
  font-size: 32px;
  font-weight: 900;
  color: #0c6ed6;
}

.teacher-about {
  font-family: "Inter";
  font-size: 16px;
  font-weight: 400;
  color: #183b59;
  margin-top: 15px;
}

.teacher-card-below-card {
  font-family: "Inter";
  font-size: 20px;
  font-weight: 400;
  color: #183b59;
}

.teacher-card-below-card p {
  margin-top: 17px;
}

.teacher-photo {
  width: 183px;
  height: 184px;
  border-radius: 50%;
}

.interesting-fact-other-mt {
  margin-top: 26px;
}

.teacher-card-below-card ul {
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
}

.teacher-card-below-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  list-style: none;
  font-size: 20px;
}

.teacher-card-below-card li a {
  color: #0c6ed6;
  font-weight: 500;
}

.teacher-card-below-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 6px;
  height: 6px;
  background-color: #0c6ed6;
  border-radius: 1px;
  flex-shrink: 0;
}

.teacher-card-interesting-fact {
  font-family: "Inter";
  font-weight: 600;
  font-size: 20px;
  color: #0c6ed6;
}

.teacher-card-below-card .teacher-card-additional-info {
  margin-bottom: 10px;
}

.teacher-card-below-card .teacher-card-additional-info p {
  /* margin-top: 5px; */
  /* IF NEED */
}

@media screen and (max-width: 1440px) {
  .slider-title {
    font-size: 28px;
  }

  .slider-desc {
    font-size: 20px;
  }

  .teacher-name {
    font-size: 26px;
  }

  .teacher-card-below-card,
  .teacher-card-below-card li {
    font-size: 18px;
  }

  .teacher-card-interesting-fact {
    font-size: 18px;
  }
}

@media screen and (max-width: 1330px) {
  .teacher-name {
    font-size: 22px;
  }
}

@media screen and (max-width: 1250px) {
  .slider-title {
    font-size: 22px;
  }

  .slider-desc {
    font-size: 17px;
  }

  .slider-desc br {
    display: none;
  }

  .teacher-name {
    font-size: 20px;
  }

  .teacher-card-below-card,
  .teacher-card-below-card li {
    font-size: 16px;
  }

  .teacher-card-interesting-fact {
    font-size: 16px;
  }

  .teacher-card-below-card p {
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .teacher-photo {
    width: 110px;
    height: 110px;
  }
}

@media screen and (max-width: 850px) {
  .teachers-slider-section {
    margin-top: 60px;
  }

  .slider-header {
    margin-bottom: 20px;
  }

  .teachers-slider-section {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .slider-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .slider-desc {
    font-size: 18px;
  }

  .teacher-card {
    padding: 30px 24px 24px 24px;
  }

  .teacher-name {
    font-size: 22px;
  }

  .teacher-card-below-card,
  .teacher-card-below-card li {
    font-size: 16px;
  }

  .teacher-card-interesting-fact {
    font-size: 16px;
  }
}

@media screen and (max-width: 600px) {
  .teachers-slider-section {
    margin-top: 40px;
  }

  .slider-title {
    font-size: 20px;
  }

  .slider-desc {
    font-size: 16px;
  }

  .teacher-card {
    padding: 24px 20px 20px 20px;
    border-radius: 20px;
  }

  .teacher-card-top-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .teacher-name {
    font-size: 20px;
    text-align: left;
  }

  .teacher-about {
    font-size: 14px;
    text-align: left;
  }

  .teacher-card-below-card,
  .teacher-card-below-card li {
    font-size: 14px;
  }

  .teacher-card-interesting-fact {
    font-size: 14px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    padding: 8px 10px;
  }

  .swiper-button-prev img,
  .swiper-button-next img {
    width: 70%;
  }

  .slider-container {
    gap: 5px;
  }
}

/* exersice slider */
.exercises-slider-section {
  max-width: 1550px;
  margin: 0 auto;
}

.exercises-slider-section .slider-btn-prev,
.exercises-slider-section .slider-btn-next {
  transform: translateY(-50%);
}

.exercises-slider-section .slider-btn-prev,
.exercises-slider-section .slider-btn-next {
  transform: translateY(30px);
}

.exercise-card {
  border-radius: 20px;
  text-align: center;
  height: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.exercise-card img {
  border-radius: 20px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.exercise-slider-main-content {
  position: relative;
}

.exercise-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
  opacity: 0.5;
  z-index: 2;
  max-width: 86px;
}

.exercise-slider-main-content:hover .exercise-play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 100%;
  cursor: pointer;
}

.exercise-card p {
  font-family: "Inter";
  font-weight: 600;
  font-size: 20px;
  color: #0c6ed6;
  text-align: center;
  padding-bottom: 12px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 1440px) {
  .exercise-card p {
    font-size: 18px;
  }
}

@media screen and (max-width: 850px) {
  .exercise-card p {
    font-size: 16px;
    padding-bottom: 7px;
  }

  .exercise-card {
    border-radius: 16px;
  }
}

@media screen and (max-width: 600px) {
  .exercises-slider-section {
    margin-top: 40px;
  }

  .exercise-card p {
    font-size: 14px;
  }

  .exercise-card {
    border-radius: 14px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    padding: 8px 10px;
  }

  .swiper-button-prev svg,
  .swiper-button-next svg {
    width: 70%;
  }

  .slider-container {
    gap: 5px;
  }
}

@media screen and (max-width: 430px) {
  .exercise-card p {
    font-size: 13px;
  }
}

/* reviews popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.popup-content {
  position: relative;
  background: #fff;
  max-width: 465px;
  width: 90%;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: visible;
}

.popup-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.popup-close-btn:hover {
  transform: scale(1.2);
}

.popup-review-card {
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: none;
}

.popup-review-card .reviews-card-top-content {
  flex-shrink: 0;
}

.popup-review-card .full-review-text {
  font-family: "Inter";
  font-weight: 400;
  font-size: 16px;
  white-space: normal;
  margin-top: 15px;
  line-height: 1.5;
  color: #183b59;
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.popup-review-card .full-review-text::-webkit-scrollbar {
  width: 6px;
}

.popup-review-card .full-review-text::-webkit-scrollbar-track {
  background: transparent;
}

.popup-review-card .full-review-text::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.popup-review-card .full-review-text::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

/* review */
.reviews-slider-section {
  max-width: 1550px;
  margin: 0 auto;
  margin-top: 80px;
}

.review-title {
  font-family: "Inter";
  font-weight: 900;
  font-size: 36px;
  color: #0c6ed6;
  padding-bottom: 12px;
  margin: 0;
}

.reviews-card {
  background: #fff;
  border-radius: 24px;
  padding: 20px 20px 28px 20px;
  height: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.reviews-card-top-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.review-photo {
  max-width: 182px;
  border-radius: 50%;
}

.review-right-info {
  flex: 1;
}

.review-name {
  font-family: "Inter";
  font-size: 32px;
  font-weight: 900;
  line-height: 33px;
  color: #183b59;
}

.review-about {
  font-family: "Inter";
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  color: #183b59;
  margin-top: 17px;
}

.review-card-below-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.review-card-below-card p {
  font-family: "Inter";
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  color: #183b59;
  margin-bottom: 0;
  flex-grow: 1;
}

.review-card-below-card div {
  font-family: "Inter";
  font-size: 20px;
  font-weight: 600;
  color: #0c6ed6;
  /* 10 + 10 px */
  margin-top: 10px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.review-card-below-card div:hover {
  opacity: 0.8;
}

.leave-review {
  text-align: center;
}

.leave-review-btn {
  font-family: "Inter";
  font-size: 32px;
  font-weight: 900;
  background-color: #0c6ed6;
  margin-top: 20px;
  border-radius: 20px;
  color: #fff;
  padding: 23px 78px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.leave-review-btn:hover {
  background-color: #0956b3;
  transform: translateY(-2px);
}

@media screen and (max-width: 1660px) {
}

@media screen and (max-width: 1250px) {
  .review-photo {
    width: 110px;
    height: 110px;
  }
}

@media screen and (max-width: 1440px) {
  .review-title {
    font-size: 32px;
  }

  .review-name {
    font-size: 28px;
    line-height: 32px;
  }

  .review-name br {
    display: none;
  }

  .review-card-below-card p {
    font-size: 18px;
    line-height: 22px;
  }

  .review-card-below-card div {
    font-size: 18px;
  }

  .leave-review-btn {
    font-size: 28px;
    padding: 20px 60px;
  }
}

@media screen and (max-width: 850px) {
  .reviews-slider-section {
    margin-top: 60px;
  }

  .slider-header {
    margin-bottom: 20px;
  }

  .review-title {
    font-size: 28px;
  }

  .reviews-card {
    padding: 30px 24px 24px 24px;
  }

  .review-photo {
    margin: 0 auto;
  }

  .review-name {
    font-size: 24px;
    line-height: 28px;
  }

  .review-about {
    font-size: 15px;
  }

  .review-card-below-card p {
    font-size: 16px;
    line-height: 20px;
  }

  .review-card-below-card div {
    font-size: 16px;
  }

  .leave-review-btn {
    font-size: 24px;
    padding: 18px 50px;
    border-radius: 16px;
  }
}

@media screen and (max-width: 600px) {
  .reviews-slider-section {
    margin-top: 40px;
  }

  .reviews-card-top-content {
    flex-direction: column;
    gap: 15px;
  }

  .review-title {
    font-size: 24px;
  }

  .reviews-card {
    padding: 24px 20px 20px 20px;
    border-radius: 20px;
  }

  .review-name {
    font-size: 20px;
    line-height: 24px;
  }

  .review-about {
    font-size: 14px;
  }

  .review-card-below-card p {
    font-size: 15px;
    line-height: 19px;
  }

  .review-card-below-card div {
    font-size: 15px;
  }

  .leave-review-btn {
    font-size: 20px;
    padding: 16px 40px;
    border-radius: 14px;
    margin-top: 15px;
  }

  .leave-review {
    margin-top: 30px;
  }

  .slider-container {
    gap: 5px;
  }
}

@media screen and (max-width: 430px) {
  .review-title {
    font-size: 22px;
  }

  .reviews-card {
    padding: 20px 16px 16px 16px;
  }

  .review-name {
    font-size: 18px;
    line-height: 22px;
  }

  .review-about {
    font-size: 13px;
  }

  .review-card-below-card p {
    font-size: 14px;
    line-height: 18px;
  }

  .review-card-below-card div {
    font-size: 14px;
  }

  .leave-review-btn {
    font-size: 18px;
    padding: 14px 35px;
  }
}

/* numbers section */
.numbers-section {
  max-width: 1435px;
  margin: 0 auto;
  margin-top: 100px;
}

.numbers-header {
  text-align: left;
  margin-bottom: 32px;
}

.numbers-title {
  font-family: "Inter";
  font-weight: 900;
  font-size: 36px;
  color: #0c6ed6;
  text-transform: uppercase;
}

.numbers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 22px;
  margin: 0 auto;
  grid-template-areas:
    "main main coverage coverage"
    "main main visits   visits"
    "authors formats materials materials";
}

.numbers-item.main {
  grid-area: main;
}
.numbers-item.coverage {
  grid-area: coverage;
}
.numbers-item.visits {
  grid-area: visits;
}
.numbers-item.authors {
  grid-area: authors;
}
.numbers-item.formats {
  grid-area: formats;
}
.numbers-item.materials {
  grid-area: materials;
}

.numbers-item {
  background: #b0e881;
  border-radius: 36px;
  padding: 38px 40px 24px 38px;
  font-family: "Inter";
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.numbers-item.main {
  grid-area: main;
  background: #b0e881;
  font-size: 28px;
}

.main-number {
  font-size: 128px;
  word-spacing: 4%;
  color: #0c6ed6;
  font-weight: 900;
  line-height: 1;
}

.main-label {
  font-size: 60px;
  color: #183b59;
  font-family: "Inter";
  font-weight: 400;
  margin-bottom: 22px;
}

.main-description {
  font-family: "Inter";
  font-size: 36px;
  font-weight: 400;
  color: #183b59;
}

.main-description span {
  font-family: "Inter";
  color: #0c6ed6;
  font-weight: 900;
  font-size: 36px;
}
.numbers-item.coverage,
.numbers-item.visits {
  font-size: 44px;
  font-weight: 900;
  color: #0c6ed6;
  background: #b9ee87;
  text-align: center;
}

.numbers-item .coverage {
  padding: 36px 40px 36px 38px;
}

.numbers-item .visits {
  padding: 33px 40px 32px 38px;
}

.numbers-item .number {
  font-size: 72px;
  font-weight: 900;
  color: #0c6ed6;
}
.numbers-item .numbers-desc {
  font-size: 40px;
  color: #183b59;
  font-weight: 400;
}

.numbers-item.authors,
.numbers-item.formats,
.numbers-item.materials {
  text-align: center;
  align-items: center;
}

.numbers-item.authors .number,
.numbers-item.formats .number,
.numbers-item.materials .number {
  font-size: 72px;
  font-weight: 900;
  color: #0c6ed6;
}

.numbers-item.authors .numbers-desc,
.numbers-item.formats .numbers-desc,
.numbers-item.materials .numbers-desc {
  font-size: 40px;
  color: #183b59;
  font-weight: 400;
}

.numbers-flex-container {
  display: flex;
  gap: 22px;
}

.numbers-flex-item {
  flex: 1;
  background: #b0e881;
  border-radius: 36px;
  padding: 37px 40px 37px 38px;
  font-family: "Inter";
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.numbers-flex-item .main {
  padding: 37px 40px 24px 38px;
}

.numbers-flex-item .authors,
.numbers-flex-item .formats,
.numbers-flex-item .materials {
  padding: 37px 40px 37px 38px;
}

.numbers-flex-item .number {
  font-size: 72px;
  font-weight: 900;
  color: #0c6ed6;
}

.numbers-flex-item .numbers-desc {
  font-size: 40px;
  color: #183b59;
  line-height: 38.5px;
  font-weight: 400;
}

@media screen and (max-width: 1440px) {
  .main-number {
    font-size: 98px;
  }

  .numbers-item.main {
    font-size: 28px;
  }

  .main-label {
    font-size: 44px;
  }

  .numbers-item.coverage,
  .numbers-item.visits {
    font-size: 40px;
  }
  .numbers-item .number,
  .numbers-item.authors .number,
  .numbers-item.formats .number,
  .numbers-item.materials .number {
    font-size: 50px;
  }

  .numbers-item .numbers-desc,
  .numbers-item.authors .numbers-desc,
  .numbers-item.formats .numbers-desc,
  .numbers-item.materials .numbers-desc {
    font-size: 30px;
  }

  .numbers-flex-item .number {
    font-size: 50px;
  }

  .numbers-flex-item .numbers-desc {
    font-size: 30px;
  }
}

@media screen and (max-width: 1180px) {
  .numbers-section {
    margin-top: 60px;
  }

  .numbers-title {
    font-size: 28px;
  }

  .numbers-header {
    margin-bottom: 24px;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 16px;
    grid-template-areas:
      "main main"
      "coverage visits";
  }

  .numbers-item {
    padding: 26px 28px;
    border-radius: 24px;
  }

  .numbers-item.main {
    padding: 32px 30px;
  }

  .main-number {
    font-size: 90px;
  }

  .main-label {
    font-size: 50px;
  }

  .main-description {
    font-size: 45px;
  }

  .main-description span {
    font-size: 45px;
  }

  .numbers-item .number {
    font-size: 50px;
  }

  .numbers-item .numbers-desc {
    font-size: 35px;
  }

  .numbers-flex-container {
    gap: 16px;
    margin-top: 16px;
  }

  .numbers-flex-item {
    padding: 26px 28px;
    border-radius: 24px;
  }

  .numbers-flex-item .number {
    font-size: 50px;
  }

  .numbers-flex-item .numbers-desc {
    font-size: 35px;
  }
}

@media screen and (max-width: 768px) {
  .numbers-section {
    margin-top: 50px;
  }

  .numbers-title {
    font-size: 40px;
  }

  .numbers-header {
    margin-bottom: 30px;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    grid-template-areas:
      "main"
      "coverage"
      "visits";
  }

  .numbers-item {
    padding: 24px 26px;
    border-radius: 20px;
  }

  .numbers-item.main {
    padding: 30px 28px;
  }

  .main-number {
    font-size: 68px;
  }

  .main-label {
    font-size: 50px;
    margin-bottom: 12px;
  }

  .main-description {
    font-size: 40px;
    line-height: 1.5;
  }

  .main-description span {
    font-size: 40px;
  }

  .numbers-item .number {
    font-size: 58px;
  }

  .numbers-item .numbers-desc {
    font-size: 35px;
  }

  .numbers-flex-container {
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
  }

  .numbers-flex-item {
    padding: 24px 26px;
    border-radius: 20px;
  }

  .numbers-flex-item .number {
    font-size: 58px;
  }

  .numbers-flex-item .numbers-desc {
    font-size: 35px;
  }
}

@media screen and (max-width: 600px) {
  .numbers-section {
    margin-top: 45px;
  }

  .numbers-title {
    font-size: 40px;
  }

  .numbers-header {
    margin-bottom: 18px;
  }

  .numbers-grid {
    gap: 12px;
  }

  .numbers-item {
    padding: 22px 24px;
    border-radius: 18px;
  }

  .numbers-item.main {
    padding: 28px 26px;
  }

  .main-number {
    font-size: 65px;
  }

  .main-label {
    font-size: 45px;
    margin-bottom: 10px;
  }

  .main-description {
    font-size: 40px;
  }

  .main-description span {
    font-size: 40px;
  }

  .numbers-item .number {
    font-size: 50px;
  }

  .numbers-item .numbers-desc {
    font-size: 35px;
  }

  .numbers-flex-container {
    gap: 12px;
    margin-top: 12px;
  }

  .numbers-flex-item {
    padding: 22px 24px;
    border-radius: 18px;
  }

  .numbers-flex-item .number {
    font-size: 50px;
  }

  .numbers-flex-item .numbers-desc {
    font-size: 35px;
  }
}

@media screen and (max-width: 480px) {
  .numbers-section {
    margin-top: 40px;
  }

  .numbers-title {
    font-size: 30px;
  }

  .numbers-header {
    margin-bottom: 16px;
  }

  .numbers-grid {
    gap: 10px;
  }

  .numbers-item {
    padding: 20px 22px;
    border-radius: 16px;
  }

  .numbers-item.main {
    padding: 26px 24px;
  }

  .main-number {
    font-size: 52px;
  }

  .main-label {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .main-description {
    font-size: 30px;
  }

  .main-description span {
    font-size: 30px;
  }

  .numbers-item .number {
    font-size: 40px;
  }

  .numbers-item .numbers-desc {
    font-size: 22px;
  }

  .numbers-item.authors .number,
  .numbers-item.formats .number,
  .numbers-item.materials .number {
    font-size: 50px;
  }
  .numbers-item.authors .numbers-desc,
  .numbers-item.formats .numbers-desc,
  .numbers-item.materials .numbers-desc {
    font-size: 30px;
  }

  .numbers-flex-container {
    gap: 10px;
    margin-top: 10px;
  }

  .numbers-flex-item {
    padding: 20px 22px;
    border-radius: 16px;
  }

  .numbers-flex-item .number {
    font-size: 40px;
  }

  .numbers-flex-item .numbers-desc {
    font-size: 22px;
  }
}

@media screen and (max-width: 375px) {
  .numbers-section {
    margin-top: 35px;
  }

  .numbers-title {
    font-size: 18px;
  }

  .numbers-header {
    margin-bottom: 14px;
  }

  .numbers-grid {
    gap: 8px;
  }

  .numbers-item {
    padding: 18px 20px;
    border-radius: 14px;
  }

  .numbers-item.main {
    padding: 24px 22px;
  }

  .main-number {
    font-size: 46px;
  }

  .main-label {
    font-size: 26px;
  }

  .main-description {
    font-size: 28px;
  }

  .main-description span {
    font-size: 28px;
  }

  .numbers-item .number {
    font-size: 36px;
  }

  .numbers-item .numbers-desc {
    font-size: 20px;
  }

  .numbers-item.authors .number,
  .numbers-item.formats .number,
  .numbers-item.materials .number {
    font-size: 40px;
  }
  .numbers-item.authors .numbers-desc,
  .numbers-item.formats .numbers-desc,
  .numbers-item.materials .numbers-desc {
    font-size: 20px;
  }

  .numbers-flex-container {
    gap: 8px;
    margin-top: 8px;
  }

  .numbers-flex-item {
    padding: 18px 20px;
    border-radius: 14px;
  }

  .numbers-flex-item .number {
    font-size: 36px;
  }

  .numbers-flex-item .numbers-desc {
    font-size: 20px;
  }
}

/* faq section */
.faq-section {
  max-width: 1435px;
  margin: 0 auto;
  margin-top: 100px;
}

.faq-title {
  color: #0c6ed6;
  font-family: "Inter";
  font-weight: 900;
  font-size: 36px;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.faq-desc {
  color: #183b59;
  font-family: "Inter";
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 32px;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border-radius: 20px;
  background-color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.faq-question {
  background: none;
  border: none;
  outline: none;
  color: #0c6ed6;
  font-family: "Inter";
  font-size: 24px;
  font-weight: 600;
  padding: 26px 40px;
  text-align: left;
  cursor: pointer;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}

.faq-item.open .faq-question {
  padding-bottom: 20px;
}

.faq-toggle {
  font-size: 40px;
  font-weight: 900;
  background: #fff;
  color: #2089e7;
  border-radius: 14px;
  width: 49px;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-answer {
  background: #ffffff;
  color: #183b59;
  font-family: "Inter";
  font-size: 20px;
  font-weight: 400;
  padding: 0 42px 28px;
  display: none;
  animation: fadeIn 0.3s;
}

.answer-text p {
  font-family: "Inter";
  font-size: 20px;
  font-weight: 400;
  color: #183b59;
}

.faq-answer-screen {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-top: 15px;
}

.faq-answer-screen-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 0;
  min-width: 0;
}

.faq-answer-screen-text {
  display: flex;
  align-items: flex-start;
  align-items: start;
  font-family: "Inter";
  font-size: 20px;
  font-weight: 400;
  color: #183b59;
  margin-bottom: 15px;
}

.faq-answer-screen-text strong {
  font-weight: 900;
  /* margin-top: 3px; */
  font-size: 20px;
  line-height: 24px;
}

.faq-answer-screen-number {
  margin-right: 15px;
  font-weight: 900;
  line-height: 19px;
}

.faq-answer-screen-image {
  width: 100%;
  max-width: 667px;
}

.faq-answer-screen-odd {
  margin-top: 20px;
}

.faq-answer-screen-image-odd {
  width: calc(50% - 10px);
  margin-top: 10px;
}

.faq-answer-screen-image img,
.faq-answer-screen-image-odd img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: block;
}

.faq-answer > ul {
  list-style-type: none;
  margin-left: 0;
  padding: 0;
  margin-top: 15px;
  margin-bottom: 15px;
}

.faq-answer a {
  color: inherit;
  text-decoration: underline;
}

.faq-answer > ul > li {
  font-family: "Inter";
  font-size: 20px;
  font-weight: 400;
  padding-left: 1.5rem;
  margin-bottom: 3px;
  position: relative;
}

.faq-answer > ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  background-color: #0c6ed6;
  border-radius: 0;
}

.faq-answer-screen-last-q {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/*  */

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-toggle {
  background: #2089e7;
  color: #fff;
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .faq-section {
    margin-top: 50px;
  }

  .faq-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .faq-desc {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .faq-question {
    font-size: 20px;
    padding: 14px 18px;
  }

  .faq-answer {
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 16px;
  }

  .faq-answer p,
  .faq-answer-screen-text,
  .faq-answer > ul > li {
    font-size: 18px;
  }

  .faq-answer > ul {
    margin-top: 5px;
  }

  .faq-item.open .faq-question {
    padding-bottom: 10px;
  }
}

@media screen and (max-width: 778px) {
  .faq-answer-screen,
  .faq-answer-screen-last-q {
    flex-direction: column;
  }

  .faq-answer-screen-image-odd {
    width: calc(100% - 0px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* popup form review */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.popup.active {
  display: block;
}

.popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.popup__content {
  position: relative;
  background: white;
  margin: 50px auto;
  padding: 0;
  border-radius: 30px;
  max-width: 700px;
  width: calc(100% - 40px);
  max-height: 90vh;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: popupShow 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@keyframes popupShow {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popup__header {
  position: relative;
  flex-shrink: 0;
  padding: 20px 40px 0;
  z-index: 2;
}

.popup__body {
  flex: 1;
  overflow-y: auto;
  padding: 0 40px 40px;
  margin-bottom: 20px;
}

.popup__close {
  position: absolute;
  background-color: #ffffff;
  border: none;
  cursor: pointer;
  top: 20px;
  right: 20px;
}

.popup__close:hover {
  transform: scale(1.2);
}

.popup__title {
  font-family: "Inter";
  font-weight: 900;
  font-size: 32px;
  color: #183b59;
  margin: 0 0 20px 0;
  padding-top: 10px;
}

.popup__subtitle {
  font-family: "Inter";
  font-weight: 400;
  font-size: 16px;
  color: #183b59;
  margin: 0 0 25px 0;
  line-height: 1.4;
}

.popup__body::-webkit-scrollbar {
  width: 8px;
}

.popup__body::-webkit-scrollbar-track {
  background: transparent;
  margin: 10px 0;
}

.popup__body::-webkit-scrollbar-thumb {
  background: #d1d1d1;
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.popup__body::-webkit-scrollbar-thumb:hover {
  background: #b8b8b8;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.popup__body::-webkit-scrollbar-thumb:active {
  background: #a0a0a0;
}

.popup__body {
  scrollbar-width: thin;
  scrollbar-color: #d1d1d1 transparent;
}

/* form */
.form-group {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.form-input,
.form-textarea {
  font-family: "Inter";
  padding: 18px 20px;
  border: 2px solid #0c6ed6;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #ffffff;
  color: #183b59;
}

.form-input {
  border-radius: 20px;
}

.form-textarea {
  border-radius: 30px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  font-family: "Inter";
  font-weight: 400;
  font-size: 16px;
  color: #86bcfc;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #007bff;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
  font-family: "Inter", sans-serif;
  /* 20 + 10 */
  margin-bottom: 20px;
}

/* checkbox */
.checkbox-group {
  margin: 10px 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  gap: 13px;
}

.checkbox-input {
  display: none;
}

.checkbox-custom {
  width: 14px;
  height: 14px;
  border: 2px solid #183b59;
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
  background: #f8faff;
  margin-top: 2px;
}

.checkbox-input:checked + .checkbox-custom {
  border-color: #183b59;
}

.checkbox-input:checked + .checkbox-custom::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: ffffff;
  font-size: 14px;
  font-weight: bold;
}

.checkbox-text,
.agreement-text {
  font-family: "Inter";
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  color: #183b59;
}

.agreement-text {
  margin-top: 30px;
}

.checkbox-link,
.agreement-link {
  color: inherit;
  text-decoration: underline;
}

/* submit btn */
.submit-btn {
  color: white;
  background-color: #0c6ed6;
  border: none;
  padding: 17px 40px;
  border-radius: 20px;
  font-size: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  font-family: "Inter";
  text-transform: uppercase;
  width: 100%;
  max-width: 420px;
  display: block;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
  background: linear-gradient(135deg, #0056b3, #004085);
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* error message */
.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 8px;
  display: none;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  padding-left: 5px;
}

.error-message.show {
  display: block;
}

.form-input.error,
.form-textarea.error {
  border-color: #dc3545;
  background: #fff5f5;
}

.checkbox-label.error .checkbox-custom {
  border-color: #dc3545;
  background: #fff5f5;
}

/* success notification */
.notification {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.notification.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification__content {
  background: white;
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 450px;
  width: 90%;
  animation: notificationShow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes notificationShow {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.notification__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.notification__title {
  margin: 0 0 15px 0;
  color: #183b59;
  font-size: 24px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
}

.notification__text {
  margin: 0 0 30px 0;
  color: #666;
  line-height: 1.6;
  font-size: 16px;
  font-family: "Inter", sans-serif;
}

.notification__close {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
  min-width: 120px;
}

.notification__close:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

@media (max-width: 768px) {
  .popup__content {
    margin: 20px auto;
    width: 95%;
    max-height: 95vh;
  }

  .popup__header {
    padding: 15px 20px 0;
  }

  .popup__body {
    padding: 0 20px 30px;
  }

  .popup__title {
    font-size: 28px;
    margin: 0 0 15px 0;
    padding-top: 5px;
    padding-right: 50px;
  }

  .popup__subtitle {
    font-size: 14px;
    margin: 0 0 20px 0;
  }

  .popup__close {
    top: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .popup__content {
    margin: 10px auto;
    width: 98%;
    border-radius: 20px;
    max-height: 98vh; /* Еще больше увеличиваем на очень маленьких экранах */
  }

  .popup__header {
    padding: 12px 15px 0;
  }

  .popup__body {
    padding: 0 15px 25px;
  }

  .popup__title {
    font-size: 24px;
    margin: 0 0 12px 0;
  }

  .popup__subtitle {
    font-size: 13px;
    margin: 0 0 15px 0;
  }

  .popup__close {
    top: 12px;
    right: 12px;
  }

  .submit-btn {
    padding: 18px 30px;
    font-size: 16px;
  }
}

/*  */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.modal-content {
  display: flex;
  gap: 14px;
  background: white;
  padding: 40px 10px 50px 40px;
  border-radius: 30px;
  max-width: 700px;
  width: 100%;
  margin-right: 20px;
  margin-left: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
}

.modal-close:hover {
  transform: scale(1.2);
}

.modal-title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 30px;
  max-width: 420px;
  color: #183b59;
}

.modal-text {
  max-width: 420px;
  margin-bottom: 10px;
  color: #183b59;
  font-size: 16px;
  font-weight: 400;
}

.download-btn {
  color: white;
  background-color: #0c6ed6;
  display: block;
  border: none;
  padding: 19px 0;
  border-radius: 20px;
  font-size: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 30px;
  font-family: "Inter";
  text-transform: uppercase;
  width: 100%;
  max-width: 420px;
  display: block;
  text-decoration: none;
  text-align: center;
}

.download-btn span {
  letter-spacing: -1.8px;
}

.download-btn:hover {
  background-color: #2588f1;
}

.popup-img {
  position: absolute;
  bottom: 0;
  right: 40px;
}

@media screen and (max-width: 768px) {
  .modal-content {
    flex-direction: column;
    padding: 25px;
    gap: 15px;
    max-width: 90%;
  }

  .modal-content div {
    width: 100%;
  }

  .email-input {
    max-width: 100%;
  }

  .modal-title {
    width: 92%;
  }

  .modal-text {
    max-width: 100%;
    font-size: 14px;
  }

  .download-btn {
    font-size: clamp(18px, 5vw, 32px);
    padding: 15px 10px;
    max-width: 100%;
  }

  .popup-img {
    display: none;
  }
}

/* popup */
.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
  box-sizing: border-box;
}

.video-popup .popup-container {
  position: relative;
  width: 90%;
  max-width: 1100px;
  max-height: 95vh;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
}

#hero-popup-video {
  width: 100%;
  height: auto;
  max-height: calc(95vh - 40px);
  display: block;
  background: #000;
}

.popup-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.popup-close-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.popup-close-btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .video-popup {
    padding: 10px;
  }

  .video-popup .popup-container {
    width: 95%;
    max-height: 90vh;
  }

  #hero-popup-video {
    max-height: calc(90vh - 40px);
  }
}
