* {
  box-sizing: border-box;
}

:root {
  --header-bg: #10375c;
  --main-blue: #1369ef;
  --white: #ffffff;
  --dark: #22282e;
  --dark-2: #6e7689;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-size: 1.6rem;
  font-family: 'DM Sans', sans-serif;
}

/* Common */
a {
  text-decoration: none;
}

input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 1192px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

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

.logo__img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.logo__text {
  margin-left: 0.4rem;
  background: var(--Gradient, linear-gradient(93deg, #0ecdfe 0.31%, #115dfc 100.31%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo__brand {
  text-align: center;
  font-family: Inter;
  font-size: 2.4rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.logo__brand--small {
  font-size: 1.2rem;
  font-weight: 300;
}

.btn {
  --height: 45px;
  --btn-login-bg: var(--white);
  --btn-login-color: var(--main-blue);
  --btn-login-border: var(--main-blue);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 24px;
  height: var(--height);
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  line-height: var(--height);
  color: #fff;
  background: var(--main-blue);
  border-radius: 8px;
  border: 1px solid var(--main-blue);
}

.btn:hover {
  opacity: 0.9;
  cursor: pointer;
}

.header-action__login {
  background: var(--btn-login-bg);
  color: var(--btn-login-color);
  border: 1px solid var(--btn-login-border);
  text-wrap: nowrap;
}

.btn:hover {
  opacity: 0.9;
  cursor: pointer;
}

.section-heading {
  color: var(--dark);
  font-size: 3.6rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.section-desc {
  margin-top: 12px;
  color: var(--dark-2);
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.control {
  display: flex;
  column-gap: 18px;
}

.control__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #575f66;
  outline: none;
  color: #575f66;
  background: #fff;
  transition: 0.25s;
}

.control__btn:hover {
  color: #fff;
  background: #2e80ce;
  border-color: #2e80ce;
  cursor: pointer;
}

.control__next-icon {
  rotate: 180deg;
}

/* Header */
.header {
  min-height: 100vh;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  overflow-x: auto;
}

.navbar {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  margin-right: 56px;
}

.header-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__list {
  display: flex;
}

.navbar__link {
  display: flex;
  align-items: center;
  padding: 0 24px;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: var(--dark);
}

.navbar__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.header-action__login {
  margin-right: 12px;
}

.navbar__link:hover,
.navbar__link--active {
  text-shadow: 1px 0 0 currentColor;
}

.navbar__link--active::before {
  position: relative;
  top: -2px;
  left: -8px;
  content: ' ';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50px;
  background: #fff;
}

.navbar__item--has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background-color: white;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 10;
  padding: 8px 0;
}

.dropdown__item {
  padding: 0;
}

.dropdown__link {
  display: block;
  padding: 12px 24px;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: var(--dark);
  white-space: nowrap;
}

.dropdown__link:hover {
  background-color: #f5f5f5;
}

.navbar__item--has-dropdown:hover .dropdown {
  display: block;
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  position: relative;
  height: 100vh;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(270deg, rgba(43, 51, 60, 0) 0%, rgba(43, 51, 60, 0.32) 30.2%, rgba(43, 51, 60, 0.8) 100%);
}

.hero__content {
  position: relative;
  width: 40%;
  flex-shrink: 0;
  z-index: 1;
}

.hero__media {
  flex-grow: 1;
}

.hero__heading {
  font-size: 4.8rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: var(--white);
  text-shadow: 0px 0px 2px rgba(43, 51, 60, 0.64);
}

.hero__desc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin: 12px 0 32px;
  gap: 12px;
}

.hero__desc-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
}

.hero__desc-item p {
  font-size: 2.4rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: var(--white);
  text-shadow: 0px 0px 2px rgba(43, 51, 60, 0.64);
}

.hero__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.inner-border {
  display: inline-block;
  padding: 2px;
  width: 100%;
  border: 2px solid #cbc4c7;
  border-radius: 12px;
}

.hero-action__white {
  background-color: var(--white);
  color: var(--dark);
  border: 1px solid var(--white);
  width: 100%;
  display: block;
  text-align: center;
}

.hero__action-group {
  width: 100%;
  display: flex;
  gap: 16px;
}

.hero-action__transform {
  flex: 1;
  text-align: center;
  color: var(--white);
  border: 1px solid var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Work */
.work {
  padding: 72px 0;
  background: var(--white);
}

.work__heading {
  text-align: center;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 40px;
  margin-top: 56px;
}

.work-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.work-item__icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto;
}

.work-item__heading {
  margin-top: 16px;
  text-align: center;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: var(--dark);
}

.work-item__desc {
  margin-top: 4px;
  text-align: center;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: var(--dark-2);
}

.work-item__learn-more {
  display: inline-block;
  margin-top: 18px;
  color: #2e80ce;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.75;
  /* 175% */
}

/* Service */
.service {
  padding: 80px 0 86px;
  background: var(--white);
}

.service__heading,
.service__desc {
  text-align: center;
}

.service__desc {
  margin-top: 12px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  margin-top: 56px;
}

.service-item {
  padding: 24px;
  border-radius: 12px;
}

.service-item__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.service-item__heading {
  margin-top: 16px;
  color: var(--dark);
  font-size: 2.4rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.service-item__desc {
  margin-top: 4px;
  color: var(--dark-2);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.service-item__learn-more {
  display: inline-block;
  margin-top: 18px;
  color: #2e80ce;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.75;
  /* 175% */
}

.email-container {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--Gray-3, #f8f8f8);
  border-radius: 8px;
  padding-right: 16px;
}

.info-icon {
  color: #007bff;
  cursor: pointer;
  font-weight: normal;
  width: 16px;
  height: 16px;
}

.info-icon:hover {
  text-decoration: underline;
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.error-message {
  color: red;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

input.invalid,
select.invalid,
textarea.invalid {
  border: 1px solid red;
}

.modal-content {
  border-radius: 16px;
  background: var(--White, #fff);
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 32px;
  margin: 15% auto;
  padding: 40px;
  width: 640px;
  /* text-align: center; */
  position: relative;
  /* Matches the tooltip width */
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: #22282e;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  /* Size of the circle */
  height: 24px;
  /* Size of the circle */
  background-color: #ccc;
  /* Gray background */
  border-radius: 50%;
  /* Makes it a circle */
  text-align: center;
  line-height: 24px;
  /* Centers the × vertically */
  font-size: 16px;
  cursor: pointer;
  color: #000;
}

.close-modal:hover {
  color: #000;
}

.modal-wrapper {
  border-radius: 16px;
  background: var(--White, #fff);
  display: flex;
  flex-direction: column;
  margin: 15% auto;
  width: 640px;
  position: relative;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: #22282e;
}

.modal-wrapper .modal-body {
  padding: 40px;
  border: none;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.success-icon {
  display: inline-block;
  width: 80px;
  height: auto;
}

.modal-wrapper .modal-body h2 {
  color: var(--Dark-1, #22282e);
  text-align: center;
  font-family: 'DM Sans';
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.modal-wrapper .modal-body p {
  color: var(--Dark-2, #6e7689);
  text-align: center;
  font-family: 'DM Sans';
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.modal-wrapper .modal-footer {
  border-top: 1px solid #e5e7eb;
  padding: 24px 40px;
}

.modal-wrapper .modal-footer .close-btn {
  background: #1369ef;

  color: var(--White, #fff);
  text-align: center;
  font-family: 'DM Sans';
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.close-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
}

.close-btn:hover {
  background-color: #0056b3;
  /* Darker blue on hover */
}

.email-container input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
}

.email-container input:focus {
  outline: none;
  box-shadow: none;
}

.email-suffix {
  color: #64748b;
  font-size: 16px;
  white-space: nowrap;
}

/* Feature */
.feature {
  padding: 72px 0;
  background: #fbfbfb;
}

.feature__heading,
.feature__desc {
  text-align: center;
}

.feature__desc {
  margin-top: 12px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 16px;
  margin-top: 56px;
}

.feature-item {
  position: relative;
  width: 386px;
  height: 381px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .feature-item {
    margin: 0 auto;
  }
}

.feature-item-content {
  border-radius: 10px;
  padding: 56px 24px 24px 24px;
  background: linear-gradient(180deg, rgba(43, 51, 60, 0) 0%, rgba(43, 51, 60, 0.64) 100%);
}

.feature-item__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.feature-item__heading {
  color: var(--white);
  font-size: 2.4rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.feature-item__desc {
  margin-top: 8px;
  color: var(--white);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.feature-item__learn-more {
  display: inline-block;
  margin-top: 18px;
  color: #2e80ce;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.75;
  /* 175% */
}

/* Privacy */
.privacy {
  padding: 72px 0;
}

.privacy__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 80px;
}

.privacy__img {
  width: 550px;
  height: 343px;
  object-fit: cover;
}

.privacy__desc {
  padding: 2px 0 32px;
}

.privacy__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.privacy__list-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.privacy__list-item p {
  color: var(--dark-2);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.privacy-cta {
  margin-top: 32px;
  display: inline-flex;
  justify-content: center;
}

.privacy-cta-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-left: 4px;
}

/* Footer */
.footer {
  background: #f8f8f8;
  padding: 48px 0 24px;
}

.footer .logo {
  justify-content: flex-start;
}

.footer__row {
  display: grid;
  column-gap: 120px;
  grid-template-columns: 2fr 1fr 1fr;
}

.footer_column:first-child {
  margin-right: 80px;
}

.footer__desc {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

.footer__desc p {
  color: var(--dark);
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.footer__heading {
  display: block;
  margin-bottom: 12px;
  color: var(--dark);
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.footer__list {
}

.footer__item {
  margin-bottom: 12px;
}

.footer__link {
  color: var(--dark);
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__social {
  display: flex;
  column-gap: 12px;
  margin-top: 24px;
}

.footer__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--main-blue);
  background: #fff;
  transition: 0.25s;
}

.footer__social-btn:hover {
  color: #fff;
  background: var(--main-blue);
}

.footer-form {
  display: flex;
  column-gap: 12px;
  margin-top: 10px;
}

.footer-form__input {
  width: 212px;
  height: 46px;
  padding: 0 10px;
  color: #fff;
  background: transparent;
  outline: none;
  border-radius: 4px;
  border: 1px solid #406181;
}

.footer-form__input::placeholder {
  color: #9ca8b1;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.86;
}

.footer-form__submit {
  font-size: 1.4rem;
  --height: 46px;
  min-width: 108px;
  border-radius: 4px;
}

.footer__copyright {
  margin-top: 32px;
}

.footer__copyright-text {
  color: #afb5c0;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.form-wrapper {
  display: flex;
  padding: 80px 124px 32px 124px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  align-self: stretch;
  background: linear-gradient(180deg, #f8f8f8 -45.04%, rgba(248, 248, 248, 0) 88.56%);
}

/* University Section */
.university-section {
  background: linear-gradient(180deg, #f8f8f8 -45.04%, rgba(248, 248, 248, 0) 88.56%);

  margin-bottom: 24px;
}

.university-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.university-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 60px;
}

.university-section p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* Form Section */
.form-section {
  background: var(--White, #fff);

  border-radius: 12px;
  background: var(--White, #fff);
}

.form-container {
  display: flex;
  padding: 56px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  align-self: stretch;

  border-radius: 12px;
  background: var(--White, #fff);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: #2b333c;
  align-self: stretch;
  margin-bottom: 4px;
}

.form-group label .required {
  color: #ef4444;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  display: flex;
  padding: 10px 16px;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  background: var(--Gray-3, #f8f8f8);
  border: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 20px 0;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 14px;
  color: #22282e;
  line-height: 1.5;
}

.btn-submit {
  display: flex;
  padding: 12px 56px;
  justify-content: center;
  align-items: center;
  gap: 4px;

  border-radius: 8px;
  background: var(--Main-blue, #1369ef);
  border: none;
  color: #fff;
}

.btn-submit:hover {
  cursor: pointer;
  background: #4096ff;
}

.uni-modal-submited .modal-content {
  gap: 0;
  padding: 0;
}

.uni-modal-submited .uni-modal-submited__content {
  width: 100%;
  padding: 40px;
  text-align: center;
}

.uni-modal-submited .uni-modal-submited__content .icon {
  margin-bottom: 8px;
}

.uni-modal-submited .uni-modal-submited__content .title {
  color: #22282e;
  text-align: center;
  font-family: 'DM Sans';
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 8px;
}

.uni-modal-submited .uni-modal-submited__content .text {
  color: #6e7689;
  text-align: center;
  font-family: 'DM Sans';
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}

.uni-modal-submited .uni-modal-submited__footer {
  width: 100%;
  border-top: 1px solid #edeef1;
  display: flex;
  padding: 24px 40px;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  align-self: stretch;
}

.uni-modal-submited .uni-modal-submited__footer .close-btn {
  border-radius: 8px;
  background: #1369ef;
  display: flex;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-family: 'DM Sans';
  font-size: 16px;
  font-weight: 600;
}

.phone-prefix {
  color: #1369ef;
}

.phone-prefix::placeholder {
  color: #1369ef;
}

@media (max-width: 1240px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
  }

  .feature-item {
    width: auto;
  }
}

@media (max-width: 1024px) {
  .work-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-item {
    justify-content: start;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy__inner {
    flex-direction: column;
    row-gap: 40px;
  }

  .form-wrapper {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero__content {
    width: 80%;
  }
}

@media (max-width: 814px) {
  .navbar {
    margin-right: 12px;
    margin-left: 12px;
  }

  .navbar__link {
    padding: 0 12px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px 32px;
  }

  .form-group {
    gap: 2px;
  }

  .form-container {
    padding: 54px 12px;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  .feature-list {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .feature-item {
    width: auto;
  }

  .footer__row {
    column-gap: 0;
  }

  .form-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .hero__content {
    width: 90%;
  }
}

.university-section .container,
.form-section .container {
  width: unset;
}

@media (max-width: 568px) {
  .privacy__img {
    width: 100%;
    object-fit: contain;
  }
}

@media (max-width: 476px) {
  .service-list {
    grid-template-columns: 1fr;
  }

  .footer_column:first-child {
    margin-right: 40px;
  }

  .btn.hero-action__white {
    padding: 0 12px;
  }

  .hero__content {
    width: 95%;
  }
}
