:root {
  --page-width: 1440px;
  --blue-900: #003246;
  --blue-800: #05668d;
  --blue-700: #17b8f9;
  --green-300: #dbff76;
  --white: #ffffff;
  --gray-900: #18191f;
  --shadow-blue: rgba(203, 229, 255, 0.25);
  --font-archivo: "Archivo", sans-serif;
  --font-inter: "Inter", sans-serif;
  --font-lato: "Lato", sans-serif;
  --testimonials-mask: url("https://www.figma.com/api/mcp/asset/12e6f3b1-55a7-47ea-bcf8-a747c8ffc473");
  --testimonials-title-size: 30px;
  --testimonials-subtitle-size: 12px;
  --nav-offset: clamp(80px, 12vw, 140px);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-inter);
  color: #ffffff;
  background: #003246;
  overflow-x: hidden;
}

body[data-theme="dark"] {
  color: #ffffff;
  background: #003246;
  --testimonials-mask: url("https://www.figma.com/api/mcp/asset/cd91fc14-312b-40f3-bd9f-c2005eb8b5a6");
}

body[data-theme="dark"] .hero__bg {
  background: #003246;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  border: none;
  background: none;
  color: inherit;
  font: inherit;
}

.landing-page {
  position: relative;
  overflow: visible;
  background: #003246;
}

.hero,
.features,
.testimonials,
.site-footer {
  scroll-margin-top: var(--nav-offset);
}

.hero {
  position: relative;
  min-height: 100svh;
  max-height: 100svh;
  padding: 0 clamp(16px, 2.5vw, 48px) clamp(24px, 3vw, 60px);
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
  background: #05668d;
}

.hero__bg img {
  position: absolute;
  pointer-events: none;
  object-fit: contain;
}

.hero__bg-base {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.hero__bg-circles {
  position: absolute;
  left: 50%;
  top: -12%;
  width: clamp(1080px, 144vw, 2209px);
  height: auto;
  transform: translate(-50%, -15%);
  min-width: 1080px;
}

.hero__bg-glow {
  position: absolute;
  left: 50%;
  bottom: -10%;
  top: auto;
  width: clamp(560px, 84vw, 1260px);
  height: auto;
  transform: translateX(-50%);
  opacity: 0.9;
}

.hero__nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.5vw, 48px);
  padding: clamp(8px, 1vw, 16px) clamp(16px, 2vw, 40px) 0;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding-top: 0;
}

.brand img {
  width: clamp(140px, 12vw, 172px);
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.34vw, 45px);
  flex-wrap: wrap;
  font-family: var(--font-archivo);
  font-size: clamp(14px, 1.25vw, 24px);
  font-weight: 500;
}

.nav-link {
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.25vw, 24px);
  flex-wrap: wrap;
  font-family: var(--font-archivo);
}

.nav-actions .nav-link {
  font-size: clamp(14px, 1.25vw, 24px);
  font-weight: 500;
  color: #dbff76;
}

.nav-button {
  background: var(--green-300);
  color: var(--blue-800);
  padding: clamp(4px, 0.42vw, 8px) clamp(12px, 0.94vw, 18px);
  border-radius: 24px;
  font-size: clamp(14px, 1.04vw, 20px);
  font-weight: 700;
}

.theme-switch {
  width: 72px;
  height: 28px;
  border-radius: 32px;
  background: #a2d1fd;
  border: 0.755px solid #6cb8ff;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 3px 5px #72bbff;
  padding: 0;
  flex-shrink: 0;
}

.theme-switch__mode {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.theme-switch__mode--dark {
  opacity: 0;
}

body[data-theme="dark"] .theme-switch {
  width: 72px;
  height: 28px;
  background: transparent;
  border: none;
  box-shadow: none;
}

body[data-theme="dark"] .theme-switch__mode--light {
  opacity: 0;
}

body[data-theme="dark"] .theme-switch__mode--dark {
  opacity: 1;
}

.theme-switch__track {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: #4f4f4f;
  border: 0.755px solid #000000;
}

.theme-switch__track-inner {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: #1f2533;
  box-shadow: inset 0 3px 5px #171b24;
}

.theme-switch__cloud,
.theme-switch__star,
.theme-switch__darkside,
.theme-switch__knob {
  position: absolute;
}

.theme-switch__darkside {
  width: 27px;
  height: 27px;
  background-image: url("/assets/images/homePage/image17.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}

.theme-switch__mode--light .theme-switch__cloud {
  width: 50.659px;
  height: 28.887px;
}

.theme-switch__mode--light .theme-switch__cloud--1 {
  left: 49.14px;
  top: 27.71px;
}

.theme-switch__mode--light .theme-switch__cloud--2 {
  left: 9.61px;
  top: 34.82px;
}

.theme-switch__mode--light .theme-switch__cloud--3 {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: none;
}

.theme-switch__mode--light .theme-switch__cloud--4 {
  left: 22.38px;
  top: 29.55px;
  width: 50.946px;
  height: 29.502px;
}


.theme-switch__mode--dark .theme-switch__star--1,
.theme-switch__mode--dark .theme-switch__star--2 {
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  transform: none;
  object-fit: cover;
}


.theme-switch__mode--light .theme-switch__darkside {
  left: 2px;
  top: 0.5px;
}

.theme-switch__mode--dark .theme-switch__star--1 {
  left: 0;
  top: 10%;
  width: calc(100% - 42px);
  height: 75%;
}

.theme-switch__star--1 {
  transform-origin: center;
  transform: none;
}

.theme-switch__mode--dark .theme-switch__star--2 {
  left: 26.41px;
  top: 9.86px;
  width: 22.638px;
  height: 27.165px;
}

.theme-switch__mode--dark .theme-switch__cloud--1 {
  left: 34.64px;
  top: 6.81px;
  width: 50.659px;
  height: 28.887px;
}

.theme-switch__mode--dark .theme-switch__cloud--2 {
  left: -138.39px;
  top: 13.92px;
  width: 50.659px;
  height: 28.887px;
}

.theme-switch__mode--dark .theme-switch__cloud--3 {
  left: 41.52px;
  top: -3.44px;
  width: 50.659px;
  height: 28.887px;
}

.theme-switch__mode--dark .theme-switch__cloud--4 {
  left: -125.62px;
  top: 8.65px;
  width: 50.946px;
  height: 29.502px;
}

.theme-switch__mode--dark .theme-switch__knob {
  width: 27px;
  height: 27px;
  left: auto;
  right: 2px;
  top: 0.5px;
  z-index: 2;
  object-fit: contain;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(8px, 1.5vw, 32px);
  max-width: min(100%, var(--page-width));
  margin: 0 auto;
  padding-top: clamp(4px, 1vw, 16px);
  align-items: center;
  flex: 1;
  min-height: 0;
}

.hero__text {
  max-width: min(100%, 720px);
  width: 100%;
  justify-self: start;
  grid-column: 1;
  grid-row: 1;
}

.hero__title {
  font-family: var(--font-archivo);
  font-size: clamp(36px, 4.76vw, 91.475px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  max-width: 72ch;
}

.hero__subtitle {
  font-family: var(--font-archivo);
  font-size: clamp(22px, 2.8vw, 53.806px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--green-300);
  margin: 0 0 24px;
  max-width: 40ch;
}

.hero__description {
  font-family: var(--font-archivo);
  font-size: clamp(14px, 1.4vw, 26.903px);
  line-height: 1.46;
  max-width: 70ch;
  margin: 0 0 32px;
}

.hero__cta {
  grid-column: 1 / -1;
  display: flex;
  gap: clamp(10px, 1.5vw, 30px);
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: clamp(4px, 0.5vw, 12px) auto 0;
}

.cta-button {
  background: var(--blue-900);
  border-radius: 114px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(4px, 0.5vw, 10px) clamp(12px, 1.3vw, 24px);
  min-width: clamp(140px, 12vw, 260px);
  height: clamp(36px, 3vw, 58px);
}

.cta-button__text {
  font-family: var(--font-archivo);
  font-size: clamp(16px, 1.8vw, 34px);
  font-weight: 400;
  line-height: 1;
}

.cta-button--primary .cta-button__text {
  color: var(--blue-700);
}

.cta-button--secondary .cta-button__text {
  color: var(--white);
}

.cta-button__icon {
  width: clamp(18px, 1.8vw, 34px);
  height: clamp(18px, 1.8vw, 34px);
}

.hero__icons {
  position: relative;
  width: clamp(200px, 38vw, 860px);
  max-width: 100%;
  height: clamp(200px, 26vw, 580px);
  transform: translateY(-10%);
  margin-top: 0;
  z-index: 5;
  overflow: visible;
  justify-self: center;
  grid-column: 2;
  grid-row: 1;
}

.floating-icon {
  position: absolute;
  width: clamp(100px, 13vw, 290px);
  height: clamp(100px, 13vw, 290px);
  z-index: 6;
}

.floating-icon__shape,
.floating-icon__symbol {
  position: absolute;
  object-fit: contain;
  left: 50%;
  top: 50%;
  z-index: 7;
}

.floating-icon__shape {
  width: clamp(100px, 13vw, 290px);
  height: clamp(100px, 13vw, 290px);
  transform: translate(-50%, -50%);
}

.floating-icon__symbol {
  width: 48px;
  height: 56px;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.floating-icon--book {
  right: 10px;
  top: 40px;
  animation: float-book 6s ease-in-out infinite;
  transform: rotate(20deg);
  transform-origin: center;
}

.floating-icon--book .floating-icon__shape {
  transform: translate(-50%, -50%) rotate(-10deg);
}

.floating-icon--book .floating-icon__symbol {
  transform: translate(-50%, -50%) rotate(-10deg);
  
}

.floating-icon--upload {
  right: clamp(60px, 7vw, 160px);
  top: clamp(120px, 11vw, 250px);
  width: clamp(100px, 13vw, 290px);
  height: clamp(100px, 13vw, 290px);
  animation: float-upload 7s ease-in-out infinite;
  animation-delay: 0.4s;
  transform: rotate(-10deg);
  transform-origin: center;
}

.floating-icon--upload .floating-icon__shape {
  width: clamp(100px, 13vw, 290px);
  height: clamp(100px, 13vw, 290px);
  transform: translate(-50%, -50%) rotate(18deg);
}

.floating-icon--upload .floating-icon__symbol {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(18deg);
}

.floating-icon--bookmark {
  right: 0;
  top: clamp(230px, 22vw, 525px);
  width: clamp(100px, 13vw, 290px);
  height: clamp(100px, 13vw, 290px);
  animation: float 6.5s ease-in-out infinite;
  animation-delay: 0.8s;
}

.floating-icon--bookmark .floating-icon__shape {
  width: clamp(100px, 13vw, 290px);
  height: clamp(100px, 13vw, 290px);
  transform: translate(-50%, -50%) rotate(-10deg);
}

.floating-icon--bookmark .floating-icon__symbol {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(-10deg);
}

body[data-theme="dark"] .floating-icon {
  filter: drop-shadow(0 30px 65px rgba(23, 184, 249, 0.32));
}

body[data-theme="dark"] .floating-icon::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  box-shadow: inset 0 0 52px rgba(23, 184, 249, 0.45);
  background: radial-gradient(circle, rgba(23, 184, 249, 0.4) 0%, rgba(23, 184, 249, 0) 78%);
  filter: blur(32px);
  z-index: 5;
  opacity: 0.85;
}

body[data-theme="dark"] .floating-icon__shape,
body[data-theme="dark"] .floating-icon__symbol {
  z-index: 6;
}

body[data-theme="light"] .floating-icon {
  filter: drop-shadow(0 30px 65px rgba(219, 255, 118, 0.32));
}

body[data-theme="light"] .floating-icon::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  box-shadow: inset 0 0 52px rgba(219, 255, 118, 0.45);
  background: radial-gradient(circle, rgba(219, 255, 118, 0.4) 0%, rgba(219, 255, 118, 0) 78%);
  filter: blur(32px);
  z-index: 5;
  opacity: 0.85;
}

body[data-theme="light"] .floating-icon__shape,
body[data-theme="light"] .floating-icon__symbol {
  z-index: 6;
}

.section-separator {
  position: absolute;
  top: 550px;
  left: -37.18px;
  width: calc(100% + 74.36px);
  height: 1100px;
  z-index: 3;
  pointer-events: none;
  padding-top: 120px;
  transform: translateY(32%);
}

.section-separator img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(4.5%);

}

.features {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 8vw, 200px) clamp(16px, 2.5vw, 48px)
    clamp(80px, 8vw, 240px);
  background: var(--white);
  overflow: hidden;
  max-height: none;
}

.features__decor {
  position: absolute;
  width: 74px;
  height: 77px;
  top: 140px;
  left: 18%;
}

body[data-theme="light"] .features__decor {
  display: none;
}

.features__card {
  position: relative;
  width: min(100%, 1180px);
  height: auto;
  margin: 0 auto;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: block;
  padding: 0;
  overflow: visible;
}

.features__title {
  position: static;
  font-family: var(--font-inter);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 clamp(18px, 2vw, 28px);
  text-align: center;
  color: var(--blue-800);
  width: auto;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 26px);
  justify-items: stretch;
  padding: 0 clamp(8px, 1.4vw, 18px);
  width: 100%;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  width: 100%;
  max-width: none;
  min-height: 260px;
  padding: clamp(14px, 1.4vw, 20px);
  border-radius: 18px;
  border: 1px solid rgba(5, 102, 141, 0.14);
  background: linear-gradient(180deg, rgba(23, 184, 249, 0.08), rgba(255, 255, 255, 0.96));
  box-shadow: 0 10px 28px rgba(5, 102, 141, 0.08);
}

.feature-item__title,
.feature-item__text {
  display: block;
  color: var(--gray-900);
}

.feature-item__title {
  margin: 0;
  text-align: left;
  font-family: var(--font-archivo);
  font-size: clamp(14px, 1.2vw, 19px);
  font-weight: 700;
  line-height: 1.3;
  color: #042f41;
  max-width: 30ch;
}

.feature-item__text {
  width: 100%;
  margin: 0;
  color: #294957;
  text-align: left;
  font-family: var(--font-archivo);
  font-size: clamp(12px, 0.95vw, 14px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.62;
}

.feature-icon {
  position: relative;
  width: clamp(54px, 4.2vw, 94px);
  height: clamp(54px, 4.2vw, 94px);
}

.feature-icon__base {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-icon__overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  width: 65% !important;
  height: 65% !important;
}

.testimonials {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 4vw, 90px) 0 clamp(60px, 6vw, 120px);
  background: var(--white);
  overflow: hidden;
  max-height: none;
}

.testimonials__frame {
  position: relative;
  width: min(100%, 975px);
  height: 878px;
  margin: 5% auto calc(-878px * 0.1) auto;
  transform: scale(0.9) translateX(10%);
  transform-origin: top center;
}

.testimonials__quote {
  position: absolute;
  left: 124.24px;
  top: calc(41.7px + 85px);
  width: 117.483px;
  height: 98.587px;
  opacity: 1;
  transform: translate(-75%, -205%);

}

.testimonials__quote img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.testimonials__heading-text {
  position: absolute;
  left: 124.24px;
  top: 41.7px;
  width: 363.379px;
  transform: translate(-7%, -50%);
}

.testimonials__title {
  font-family: var(--font-inter);
  font-size: var(--testimonials-title-size);
  font-weight: 800;
  line-height: 1.33;
  margin: 0 0 6px;
  color: #000000;
}

.testimonials__title .title-accent {
  color: #17b8f9;
}

.testimonials__title .title-main {
  color: inherit;
}

.testimonials__subtitle {
  font-family: var(--font-inter);
  font-size: var(--testimonials-subtitle-size);
  line-height: 1.5;
  margin: 0;
  color: #000000;
}

.testimonials__man {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translateX(-7%);
}

.testimonials__shadow {
  position: absolute;
  left: -202.55px;
  top: 670.24px;
  width: 630.11px;
  height: 153.636px;
  object-fit: contain;
}

.testimonials__boy-mask {
  position: relative;
  left: -215px;
  top: -36px;
  width: 645.803px;
  height: 862px;
  transform: translate(2%, -0.70%);
 
}

.testimonials__boy {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials__review {
  position: absolute;
  left: 19px;
  top: 187px;
  width: min(100%, 938px);
  height: 701px;
  transform: translateY(-13%);
}

.testimonials__dots {
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 12px;
  z-index: 4;
}

.testimonials__dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid #0f4c75;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 0.35s ease, border-color 0.35s ease,
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.testimonials__dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
}

.testimonials__dot.is-active {
  width: 34px;
  background: #17b8f9;
  border-color: #17b8f9;
  transform: translateY(-1px);
}

.testimonials__dot.is-active::after {
  background: var(--white);
}

body[data-theme="dark"] .testimonials__dot {
  border-color: #17b8f9;
  background: rgba(23, 184, 249, 0.2);
}

body[data-theme="dark"] .testimonials__dot.is-active {
  background: #dbff76;
  border-color: #dbff76;
}

.testimonial-card {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  background: var(--white);
  box-shadow: 0 0 20px 8px rgba(0, 0, 0, 0.07);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.65s ease,
    box-shadow 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, left, top, opacity, box-shadow;
}

.testimonial-card--large {
  width: 398px;
  height: 450px;
  left: 155px;
  top: 0;
  z-index: 2;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  transform: rotate(0deg) scale(1);
}

.testimonial-card--small {
  width: 280px;
  height: 306px;
  left: 642px;
  top: 76px;
  background: rgba(197, 197, 197, 0.5);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.07);
  z-index: 1;
  transform: rotate(0deg) scale(0.94);
  cursor: pointer;
}

.testimonial-card--hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(32px) scale(0.85);
}

.testimonial-card__avatar,
.testimonial-card__name,
.testimonial-card__role,
.testimonial-card__stars,
.testimonial-card__title,
.testimonial-card__text {
  position: absolute;
}

.testimonial-card__avatar {
  border-radius: 999px;
}

.testimonial-card__name {
  font-family: var(--font-lato);
  font-weight: 700;
  color: #000;
  line-height: normal;
}

.testimonial-card__role {
  font-family: var(--font-lato);
  font-weight: 400;
  color: #000;
  line-height: normal;
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
}

.testimonial-card__stars img {
  display: block;
}

.testimonial-card__header {
  position: absolute;
  display: flex;
  flex-direction: column;
}

.testimonial-card__title {
  font-family: var(--font-lato);
  font-weight: 700;
  color: #000;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.testimonial-card__text {
  font-family: var(--font-lato);
  font-weight: 400;
  color: #000;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.testimonial-card--large .testimonial-card__avatar {
  width: 91.144px;
  height: 91.144px;
  left: 22px;
  top: 37px;
}

.testimonial-card--large .testimonial-card__header {
  left: 130px;
  top: 44px;
  width: 260px;
  gap: 4px;
  align-items: flex-start;
}

.testimonial-card--large .testimonial-card__name {
  position: static;
  font-size: 24px;
  margin: 0;
}

.testimonial-card--large .testimonial-card__role {
  position: static;
  font-size: 18px;
  margin: 0;
}

.testimonial-card--large .testimonial-card__stars {
  position: static;
  margin-top: 4px;
}

.testimonial-card--large .testimonial-card__stars img {
  width: 22px;
  height: 22px;
}

.testimonial-card--large .testimonial-card__title {
  left: 50%;
  top: 134px;
  font-size: 24px;
  width: 355px;
  transform: translateX(-50%);
  display: block;
  overflow: visible;
  max-height: none;
}

.testimonial-card--large .testimonial-card__text {
  left: 50%;
  top: 210px;
  width: 355px;
  font-size: 18px;
  transform: translateX(-50%);
  display: block;
  overflow: visible;
  max-height: none;
}

.testimonial-card--small .testimonial-card__avatar {
  width: 75.954px;
  height: 75.954px;
  left: 17px;
  top: 29px;
}

.testimonial-card--small .testimonial-card__name {
  position: static;
  font-size: 18px;
  margin: 0;
}

.testimonial-card--small .testimonial-card__role {
  position: static;
  font-size: 12px;
  margin: 0;
}

.testimonial-card--small .testimonial-card__stars {
  position: static;
  margin-top: 3px;
}

.testimonial-card--small .testimonial-card__header {
  left: 100px;
  top: 38px;
  width: 163px;
  gap: 3px;
  align-items: flex-start;
}

.testimonial-card--small .testimonial-card__stars img {
  width: 15px;
  height: 15px;
}

.testimonial-card--small .testimonial-card__title {
  left: 50%;
  top: 113px;
  font-size: 18px;
  width: 247px;
  transform: translateX(-50%);
  display: block;
  overflow: visible;
  max-height: none;
}

.testimonial-card--small .testimonial-card__text {
  left: 50%;
  top: 172px;
  width: 247px;
  font-size: 12px;
  transform: translateX(-50%);
  display: block;
  overflow: visible;
  max-height: none;
}

.site-footer {
  position: relative;
  background: #05668d;
  color: var(--white);
  padding: clamp(14px, 2vw, 32px) clamp(16px, 5vw, 48px)
    clamp(10px, 1.5vw, 20px);
  margin-top: 0;
  z-index: 3;
  overflow: hidden;
}

.site-footer__divider {
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
  height: auto;
  display: none;
}

.site-footer__inner {
  max-width: var(--page-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  align-items: center;
  gap: 32px;
}

.site-footer__logo img {
  width: 180px;
  height: auto;
}

.site-footer__nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 32px;
}

.site-footer__link {
  color: var(--white);
}

.site-footer__social {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

.site-footer__social img {
  width: 32px;
  height: 32px;
}

.site-footer__bottom {
  max-width: var(--page-width);
  margin: 16px auto 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-inter);
  font-size: 14px;
  color: var(--blue-700);
}

body[data-theme="dark"] .landing-page {
  background: #003246;
}

body[data-theme="dark"] .nav-actions .nav-link {
  color: #dbff76;
}

body[data-theme="dark"] .nav-button {
  background: #05668d;
  color: #ffffff;
}

body[data-theme="dark"] .features {
  background: #003246;
}

body[data-theme="dark"] .features__decor {
  display: none;
}

body[data-theme="dark"] .features__card {
  background: transparent;
  border-color: transparent;
}

body[data-theme="dark"] .features__title {
  color: #dbff76;
}

body[data-theme="dark"] .feature-item__title,
body[data-theme="dark"] .feature-item__text {
  color: #ffffff;
}

body[data-theme="dark"] .feature-item {
  border-color: rgba(23, 184, 249, 0.34);
  background: linear-gradient(180deg, rgba(23, 184, 249, 0.16), rgba(5, 102, 141, 0.86));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

body[data-theme="dark"] .testimonials {
  background: #003246;
}

body[data-theme="dark"] .testimonials__title {
  color: #ffffff;
}

body[data-theme="dark"] .testimonials__title .title-accent {
  color: #17b8f9;
}

body[data-theme="dark"] .testimonials__subtitle {
  color: #ffffff;
}

body[data-theme="dark"] .testimonial-card--large {
  background: #dbff76;
  box-shadow: none;
}

body[data-theme="dark"] .testimonial-card--small {
  background: rgba(219, 255, 118, 0.5);
}

body[data-theme="dark"] .site-footer {
  background: #000000;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes float-book {
  0% {
    transform: rotate(20deg) translateY(0);
  }
  50% {
    transform: rotate(20deg) translateY(-14px);
  }
  100% {
    transform: rotate(20deg) translateY(0);
  }
}

@keyframes float-upload {
  0% {
    transform: rotate(-10deg) translateY(0);
  }
  50% {
    transform: rotate(-10deg) translateY(-14px);
  }
  100% {
    transform: rotate(-10deg) translateY(0);
  }
}

/* Scale testimonials frame based on available width to keep proportions locked */
@media (max-width: 1799px) and (min-width: 1501px) {
  .testimonials__frame {
    transform: scale(0.78);
    margin-bottom: calc(-878px * 0.22);
  }
}

@media (max-width: 1500px) and (min-width: 1401px) {
  .testimonials__frame {
    transform: scale(0.68);
    margin-bottom: calc(-878px * 0.32);
  }
}

@media (max-width: 1400px) {
  .hero__content {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .hero__text {
    justify-self: center;
    max-width: 90%;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__icons {
    width: clamp(240px, 50vw, 720px);
    height: clamp(240px, 40vw, 540px);
    transform: none;
    margin: clamp(16px, 3vw, 40px) auto 0;
    justify-self: center;
  }

  .floating-icon,
  .floating-icon__shape {
    width: clamp(100px, 18vw, 258px);
    height: clamp(100px, 18vw, 258px);
  }

  .floating-icon--book {
    right: 5vw;
    top: 20px;
  }

  .floating-icon--upload {
    right: 18vw;
    top: clamp(100px, 16vw, 210px);
  }

  .floating-icon--bookmark {
    right: 4vw;
    top: clamp(200px, 30vw, 390px);
  }

  .testimonials__frame {
    transform: none;
    margin: 5% auto 0 auto;
  }

  .section-separator {
    left: 0;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-items: center;
    text-align: center;
    padding: clamp(8px, 2vw, 20px) clamp(16px, 4vw, 48px) 0;
  }

  .nav-links,
  .nav-actions {
    justify-content: center;
  }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__text {
    justify-self: center;
    max-width: 90%;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__bg-circles {
    width: clamp(620px, 140vw, 1600px);
    min-width: 0;
    top: -18%;
  }

  .hero__bg-glow {
    width: clamp(360px, 90vw, 900px);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    max-height: none;
  }

  .hero__content {
    grid-template-columns: 1fr;
  }

  .hero__text,
  .hero__icons,
  .hero__cta {
    grid-column: 1;
  }

  .hero__text {
    grid-row: 1;
  }

  .hero__cta {
    grid-row: 2;
    transform: none;
  }

  .hero__icons {
    grid-row: 3;
  }
}

@media (min-width: 1500px) {
  .hero {
    padding: 0 32px clamp(24px, 3vw, 60px);
  }

  .hero__nav {
    grid-template-columns: 200px 1fr auto;
    gap: 45px;
    padding: clamp(8px, 1vw, 16px) 24px 0;
    max-width: 100%;
  }

  .hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    padding-top: 10px;
    align-items: center;
  }

  .hero__text {
    max-width: 800px;
  }
}

@media (max-width: 1200px) {
  .hero__content {
    grid-template-columns: 1fr;
    padding-top: clamp(40px, 12vw, 160px);
    text-align: center;
  }

  .hero__icons {
    width: min(100%, 600px);
    height: clamp(360px, 70vw, 600px);
    margin: 24px auto 0;
    transform: none;
    justify-self: center;
  }

  .floating-icon--book,
  .floating-icon--upload,
  .floating-icon--bookmark {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .floating-icon--upload {
    top: 170px;
  }

  .floating-icon--bookmark {
    top: 360px;
  }

  .features__card {
    height: auto;
    padding: 0;
  }

  .features__title {
    position: static;
    transform: none;
    width: auto;
    margin-bottom: 24px;
  }

  .features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 60px) clamp(8px, 2vw, 40px);
    padding: 0 clamp(16px, 3vw, 60px);
  }

  body[data-theme="dark"] .features__card {
    height: auto;
    padding: 0;
  }

  body[data-theme="dark"] .features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 60px) clamp(8px, 2vw, 40px);
    padding: 0 clamp(16px, 3vw, 60px);
  }

  .testimonials__frame {
    width: 100%;
    height: auto;
    padding: 0 32px;
    transform: none;
    margin: 0 auto;
  }

  .testimonials__quote,
  .testimonials__heading-text,
  .testimonials__man,
  .testimonials__review {
    position: static;
  }

  .testimonials__quote {
    width: 96px;
    height: auto;
    margin-bottom: 12px;
  }

  .testimonials__heading-text {
    width: auto;
    margin-bottom: 24px;
  }

  .testimonials__man {
    position: relative;
    height: 420px;
    margin-bottom: 32px;
    transform: none;

  }

  .testimonials__shadow {
    left: 20px;
    top: auto;
    bottom: 0;
    transform: none;

  }

  .testimonials__boy-mask {
    left: 0;
    top: 0;
    width: 100%;
    height: 420px;
  
  }

  /* .testimonials__boy {
    object-fit: contain;
  } */

  .testimonials__review {
    position: relative;
    width: 100%;
    height: auto;
  }

  .testimonial-card--large,
  .testimonial-card--small {
    position: static;
    width: 100%;
    height: auto;
    margin-bottom: 24px;
    padding: 32px 24px;
    text-align: left;
  }

  .testimonial-card__avatar,
  .testimonial-card__name,
  .testimonial-card__role,
  .testimonial-card__stars,
  .testimonial-card__title,
  .testimonial-card__text {
    position: static;
    transform: none;
  }

  .testimonial-card__avatar {
    width: 72px;
    height: 72px;
  }

  .testimonial-card__name {
    margin-top: 8px;
  }

  .testimonial-card__role {
    margin-top: 4px;
  }

  .testimonial-card__stars {
    margin-top: 12px;
  }

  .testimonial-card__title {
    margin-top: 18px;
    width: 100%;
  }

  .testimonial-card__text {
    margin-top: 16px;
    margin-bottom: 10px;
    width: 100%;
  }

  body[data-theme="dark"] .testimonial-card--large,
  body[data-theme="dark"] .testimonial-card--small {
    position: static;
    width: 100%;
    height: auto;
    margin-bottom: 24px;
    padding: 32px 24px;
    text-align: left;
  }

  body[data-theme="dark"] .testimonial-card__avatar,
  body[data-theme="dark"] .testimonial-card__name,
  body[data-theme="dark"] .testimonial-card__role,
  body[data-theme="dark"] .testimonial-card__stars,
  body[data-theme="dark"] .testimonial-card__title,
  body[data-theme="dark"] .testimonial-card__text {
    position: static;
    transform: none;
  }

  body[data-theme="dark"] .testimonial-card__avatar {
    width: 72px;
    height: 72px;
  }

  body[data-theme="dark"] .testimonial-card__name {
    margin-top: 8px;
  }

  body[data-theme="dark"] .testimonial-card__role {
    margin-top: 4px;
  }

  body[data-theme="dark"] .testimonial-card__stars {
    margin-top: 12px;
  }

  body[data-theme="dark"] .testimonial-card__title {
    margin-top: 18px;
    width: 100%;
  }

  body[data-theme="dark"] .testimonial-card__text {
    margin-top: 16px;
    margin-bottom: 10px;
    width: 100%;
  }

  .testimonials__dots {
    position: static;
    margin: 24px auto 0;
    transform: none;
    justify-content: center;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__social {
    justify-content: center;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
}

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

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-actions {
    flex-wrap: wrap;
  }

  .section-separator {
    display: none;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 10px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .feature-item {
    gap: 8px;
    min-height: 0;
    max-width: none;
    border-radius: 14px;
    padding: 12px;
  }

  .feature-item__title {
    font-size: 14px;
  }

  .feature-item__text {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-icon {
    animation: none;
  }
}
