@font-face {
  font-family: "Grotesk";
  src: url("./fonts//cy-grotesk-grand-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url("./fonts/Gilroy-Regular.ttf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "LindseySignature";
  src: url("./fonts/LindseySignature.ttf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

:root {
  --blue: #06275a;
  --orange: #fc6a02;
  --blue-light: #99bee6;
  --white: #ffffff;
  --black: #333333;
  --font-heading: "Grotesk", sans-serif;
  --font-text: "Gilroy", sans-serif;
  --font-signature: "LindseySignature", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:focus {
  outline: none;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
  font-size: 18px;
  line-height: 1.6;
}

body {
  font-family: var(--font-text);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  padding: 0 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

.header::after {
  position: absolute;
  content: "";
  background-image: url(images/back.png);
  background-repeat: no-repeat;
  background-size: contain;
  right: -36vw;
  top: 150px;
  height: 70vh;
  width: 63vw;
  z-index: -1;
  opacity: 0.3;
}

.header__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100vw;
  padding: 0 15px;
  max-width: 1300px;
  margin: auto;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.logo img {
  height: 575px;
  object-fit: contain;
  object-position: 25px -50px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.nav-list {
  display: flex;
  gap: 50px;
}

.nav-list a {
  font-size: 17px;
  transition: 0.3s;
  color: var(--black);
  font-family: var(--font-heading);
}

.nav-list a:hover {
  color: var(--orange);
}

.btn-join {
  padding: 8px 14px 12px;
  background: var(--orange);
  color: var(--white);
  border-radius: 0;
  font-size: 20px;
}

nav a.btn-join {
  padding: 8px 14px 12px;
  background: var(--blue-light);
  color: var(--white);
  border-radius: 0;
  font-size: 20px;
  font-weight: 300;
}

.btn-join i {
  padding-right: 15px;
  font-size: 20px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding-top: 25px;
}

.burger span {
  width: 25px;
  height: 2px;
  background: var(--blue);
  transition: 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1200px) and (min-width: 1048px) {
  .nav-list a {
    font-size: 14px;
  }
  .nav-list {
    gap: 10px;
  }
}
@media (max-width: 1048px) {
  .nav {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--blue);
    height: 70vh;
    width: 100%;
    display: none;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    z-index: 100000;
  }
  .nav-list a {
    color: var(--white);
    font-size: 15px;
  }
  .nav.open {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .burger {
    display: flex;
    position: relative;
    right: 0;
    z-index: 1000000;
  }
  .open .burger span {
    background: var(--white);
  }
  .logo img {
    height: 300px;
    object-fit: contain;
    object-position: -5px -28px;
  }

  .header::after {
    display: none;
  }
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding-top: 60px;
}

.hero > img {
  max-height: 60vh;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 735px;
  animation: fadeUp 1.3s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.hero-container h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--blue);
  margin-bottom: 10px;
  text-transform: uppercase;
  font-family: var(--font-heading);
  text-align: center;
  background-color: #c4dbf3;
  padding: 10px;
}

.hero__title {
  font-size: 40px;
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-align: center;
}

.hero__title span {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 33px;
  display: block;
  margin-top: -10px;
  color: var(--blue-light);
  font-weight: 500;
  margin: 5px auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.hero__text {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  margin-top: 20px;
  position: relative;
  display: block;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  padding: 12px 25px;
  font-size: 20px;
  text-transform: uppercase;
  border-radius: 130px;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background-color: var(--orange);
}

.btn i {
  font-size: 30px;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1048px) {
  .header {
    height: auto;
    min-height: 100vh;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0)
      ),
      url("images/header-m.png") center/cover no-repeat;
  }
  .hero > img {
    display: none;
  }
  .hero__title {
    font-size: 14px;
    margin-bottom: 0;
  }
  .hero__title span {
    font-size: 25px;
    margin: 5px auto;
    color: var(--blue);
  }
  .header__top .mobile {
    display: none;
  }
  .hero-container {
    position: absolute;
    bottom: 0;
    margin: 20px;
    display: flex;
    background-color: rgba(255, 255, 255, 0.4);
    padding: 15px;
  }
  .hero__text {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 600;
    margin-top: 0;
  }
  .btn i {
    font-size: 15px;
  }
  .btn {
    font-size: 12px;
    margin: auto;
  }
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 40px;
}

.social a {
  font-size: 1.2rem;
  color: var(--white);
  background-color: var(--blue-light);
  width: 50px;
  height: 50px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  box-shadow: -4px 3px 27px -3px rgba(0, 0, 0, 0.75);
}

.social a:hover {
  color: var(--blue);
}

.lang-switcher {
  display: flex;
  gap: 5px;
  align-items: center;
  padding-top: 40px;
}

.lang-btn {
  padding: 12px;
  background: var(--blue-light);
  color: var(--white);
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: 8px;
  transition: 0.3s;
  font-size: 14px;
}

.lang-btn:hover {
  background: var(--orange);
  color: var(--white);
}

.lang-btn.active {
  background: var(--orange);
  color: var(--white);
}

@media (min-width: 1047px) {
  .nav .mobile {
    display: none;
  }
}

section {
  padding: 140px 0 70px;
}
.experience {
  position: relative;
  background: var(--bg-cream);
  overflow: hidden;
  color: #fff;
  padding-bottom: 0;
}

.experience::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%;
  background-image: url("images/about-back.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(0);
  transition: transform 0.2s linear;
  will-change: transform;
  z-index: 0;
}

.services.experience::before {
  background-image: url("images/services-back.png");
}

.experience .container {
  position: relative;
  z-index: 2;
}

.exp-bg {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    var(--accent-terracotta) 0%,
    transparent 70%
  );
  opacity: 0.15;
  filter: blur(100px);
  z-index: 1;
}

.exp-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}

h2 {
  font-size: 42px;
  letter-spacing: -0.5px;
  color: var(--blue);
  margin-bottom: 10px;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.exp-header p {
  font-size: 18px;
  color: var(--text-muted);
}

.exp-card p span {
  color: var(--orange);
  font-size: 20px;
  text-transform: uppercase;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  color: var(--black);
}

.exp-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  position: relative;
}

.exp-num {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 56px;
  font-weight: 700;
  opacity: 0.5;
  color: var(--blue-light);
  font-family: "Oswald", sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--blue);
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.exp-card p {
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 17px;
}
.experience .logo {
  margin-top: 50px;
}
@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  h2 {
    font-size: 30px;
    text-align: center;
  }

  .exp-card {
    padding: 28px 24px;
  }

  .exp-num {
    font-size: 42px;
  }
}

.clients {
  color: var(--blue);
  position: relative;
}

.clients::after {
  position: absolute;
  content: "";
  background-image: url(images/back.png);
  background-repeat: no-repeat;
  background-size: contain;
  left: -18px;
  top: 0;
  height: 118vh;
  width: 73vw;
  z-index: -1;
  opacity: 0.4;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
}

.clients-grid .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.clients-grid .card p {
  margin-bottom: -70px;
  text-align: center;
  padding: 15px;
}
.clients-grid .card .logo img {
  height: 256px;
  object-fit: contain;
  object-position: -5px 80px;
}

.client-card {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: top;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.client-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  transition: background 0.3s ease;
}

.client-card:hover .client-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.client-overlay h3 {
  margin-bottom: 15px;
  font-size: 20px;
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1.6;
}

.client-btn {
  position: absolute;
  bottom: 20px;
  background: var(--white);
  color: var(--blue);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.client-btn:hover {
  background: var(--orange);
  color: #fff;
}

.btn-small {
  background: var(--white);
  color: var(--blue);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
  border: 1px solid var(--blue);
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-small:hover {
  background: var(--orange);
  color: #fff;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  overflow-y: auto;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  position: relative;
  margin: 40px auto;
  max-height: 90vh;
  overflow-y: auto;
}

.modal .btn {
  font-size: 16px;
  text-transform: lowercase;
  margin-top: 30px;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .client-card {
    height: 300px;
  }

  .client-overlay h3 {
    font-size: 18px;
  }
}

.certs {
  position: relative;
  padding: 10px 10px 20px;
  max-width: 800px;
  margin: 30px auto;
}

.certs h3 {
  margin-top: 40px;
  color: #fff;
  text-align: center;
}

.certs p {
  text-align: center;
}

.certs-carousel {
  position: relative;
  max-width: 100%;
  margin: 12px auto 0;
}

#reviews .certs-carousel {
  max-width: 800px;
}
.certs-viewport {
  position: relative;
  overflow: visible;
  perspective: 100%;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  padding: 30px;
}
.certs-slide {
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(200px, 36vw, 300px);
  aspect-ratio: 4/3;
  transform: translate3d(-50%, 0, 0);
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.35s ease, filter 0.35s ease;
  will-change: transform;
  z-index: 1;
  opacity: 0.85;
}
.certs-slide.is-active {
  z-index: 30;
  opacity: 1;
}
.certs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18),
    0 6px 20px rgba(107, 107, 107, 0.25);
  border: 1px solid #00000010;
  pointer-events: auto;
  cursor: pointer;
}

.certs-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--orange);
  color: #fff;
  box-shadow: -4px 3px 29px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 40;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.certs-btn.prev {
  left: -6px;
}
.certs-btn.next {
  right: -6px;
}

.certs-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 16px;
  height: 16px;
  margin: auto;
  background: #fff;
  clip-path: polygon(30% 50%, 70% 20%, 70% 80%);
  transform: rotate(180deg);
}
.certs-btn.next::before {
  transform: none;
}

.certs-btn:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 18px 34px rgba(133, 133, 133, 0.55);
  filter: saturate(1.05);
}
.certs-btn:active {
  transform: translateY(-50%) scale(0.98);
  box-shadow: 0 10px 20px rgba(127, 126, 126, 0.5);
}
.certs-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(129, 129, 129, 0.85);
}
@media (max-width: 1048px) {
  .certs-btn.prev {
    left: 4px;
  }
  .certs-btn.next {
    right: 4px;
  }
}
@media (max-width: 560px) {
  .certs-btn {
    width: 40px;
    height: 40px;
  }
}

.certs-dots {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: -50px;
}
.certs-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d7d7d7;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.certs-dot[aria-selected="true"] {
  background: var(--accent);
  transform: scale(1.35);
  box-shadow: 0 0 0 6px rgba(171, 165, 166, 0.15);
}

.certs-progress {
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  margin: 14px auto 0;
  max-width: 680px;
}
.certs-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 6px 16px rgba(160, 155, 156, 0.45);
}

@media (max-width: 560px) {
  .certs {
    padding: 0 15px;
  }
  .certs-viewport {
    padding: 34px 0 48px;
  }
}

.experience h2 {
  color: #fff;
}

.services .exp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.services .exp-card img {
  margin: -60px 20px 20px;
  width: 100%;
  height: 250px;
  border-radius: 20px;
  border: 1px solid;
  object-fit: cover;
}

.exp-card h4 {
  color: var(--orange);
}

.services .container .exp-grid {
  margin-bottom: 140px;
}

.services .exp-card .btn-small {
  position: absolute;
  bottom: -70px;
  width: 90%;
}

.services .container .exp-grid:last-child {
  margin-top: 60px;
}
@media (max-width: 1048px) {
  .services .container .exp-grid:last-child {
    margin-top: -60px;
  }
}

.process-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  text-align: center;
}

.process .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.process .container > p {
  font-size: 20px;
  max-width: 600px;
  margin: auto;
}

.process .container > a {
  margin-bottom: 50px;
}

.process-step {
  background: #fff;
  border-radius: 24px;
  padding: 40px 30px;
  width: 260px;
  text-align: center;
  transform: translateY(40px);
  opacity: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.process-step.in-view {
  transform: translateY(0);
  opacity: 1;
}

.step-num {
  font-size: 64px;
  font-weight: 700;
  color: var(--orange);
  font-family: var(--font-heading);
  margin-bottom: 20px;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
}

.step-text h3 {
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.step-text p {
  font-size: 17px;
  color: var(--black);
  line-height: 1.6;
}

.process-step:hover {
  transform: translateY(-10px) scale(1.05);
}

@media (max-width: 768px) {
  .process-grid {
    flex-direction: column;
    align-items: center;
  }
  .process-step {
    width: 90%;
  }
}
.process {
  position: relative;
  overflow-x: hidden;
}

.process-grid::after {
  position: absolute;
  content: "";
  background-image: url(images/back.png);
  background-repeat: no-repeat;
  background-size: contain;
  right: -18px;
  top: 0;
  height: 118vh;
  width: 73vw;
  z-index: -1;
  opacity: 0.4;
}

#reviews {
  background-image: url(images//about-back.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  position: relative;
}

#reviews .certs {
  position: relative;
  z-index: 100;
  max-width: 100vw;
  color: #fff;
}

#reviews .certs h2 {
  color: #fff;
}

#reviews .certs-track {
  height: 420px;
}

#reviews .section-subtitle {
  max-width: 600px;
  margin: auto;
}

#reviews .certs-dots {
  margin-top: 0;
}

.review-card {
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 2px solid var(--blue);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 400px;
  text-align: center;
  font-family: var(--font-main);
}

.review-text {
  font-style: italic;
  color: var(--blue);
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 16px;
}

.review-author {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .review-text {
    font-size: 12px;
  }
  .btn-read {
    font-size: 12px;
    width: 130px;
    padding: 5px 10px;
    border-radius: 4px;
    margin: 10px auto;
  }
  .review-author {
    font-size: 12px;
  }
  #reviews .certs-viewport {
    padding: 10px 0 0;
  }
}

.btn-read {
  background: var(--blue);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-read:hover {
  background: var(--orange);
  color: #fff;
}
.close {
  position: absolute;
  right: 10px;
  top: 10px;
}

@media (max-width: 1048px) {
  #reviews .certs {
    padding: 70px 15px;
  }
  #reviews {
    overflow-x: hidden;
  }
  .modal-text {
    font-size: 14px;
  }
  .modal .btn {
    font-size: 14px;
  }
}

.faq {
  background: #fff;
  padding: 100px 15px;
}
.faq .section-title {
  text-align: center;
  margin-bottom: 40px;
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 20px;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: #2b2017;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}
.faq-question:hover {
  color: var(--orange);
}
.faq-icon {
  font-size: 28px;
  color: var(--orange);
  transition: transform 0.3s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
  opacity: 0;
  padding: 0 20px;
}
.faq-answer p,
.faq-answer ul {
  color: var(--blue);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.faq-item.active .faq-answer {
  max-height: 1000px;
  opacity: 1;
  padding-bottom: 15px;
}
.faq-item.active .faq-answer {
  color: var(--orange);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  content: "−";
}

.faq-answer strong {
  color: var(--orange);
}

.faq-answer h6 {
  font-size: 16px;
}
@media (max-width: 700px) {
  .faq {
    padding: 50px 15px;
  }
  .faq-question {
    font-size: 18px;
    padding: 18px 10px;
  }
  .faq-icon {
    font-size: 24px;
  }
  .authors-section {
    padding-top: 50px;
  }
}

footer {
  background-color: var(--blue);
  color: var(--white);
  padding: 50px 0 0;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .container > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 25%;
  margin-top: -70px;
}

footer .container > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 25%;
}

footer .container > div:first-child .lang-switcher {
  margin: -80px auto 0;
}

footer .nav {
  display: flex;
  background: transparent;
  position: relative;
  height: auto;
}

footer .nav-list {
  gap: 15px;
}

footer .nav-list a {
  color: var(--white);
  font-size: 14px;
}

footer .logo img {
  object-position: -5px 14px;
}

.bottom-footer {
  margin-top: 50px;
  padding: 5px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--orange);
}

.acc {
  width: 70px;
  margin: 30px 0 0;
}

.contac {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  margin-bottom: 20px;
}

.contracts {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  font-size: 15px;
  margin-top: 20px;
  font-family: var(--font-heading);
}

.contracts a {
  transition: color 0.3s ease;
}

.contracts a:hover {
  color: var(--orange);
}

.contac p {
  color: var(--orange);
  transition: all 0.3s ease;
}

.contac p:hover a {
  color: var(--white);
}

.text {
  font-size: 14px;
}

@media (max-width: 1048px) {
  footer .container {
    flex-direction: column;
  }
  .contac {
    margin-top: 30px;
  }
  footer .container > div,
  footer .container > div:last-child,
  footer .container > div:first-child {
    width: 95vw;
  }
  .text {
    max-width: 300px;
  }
  .contracts {
    flex-direction: column;
    margin-bottom: 30px;
  }
}

.contract header {
  background: none;
  height: auto;
  min-height: max-content;
  box-shadow: none;
}

.contract header::after {
  display: none;
}

.contract .section {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contract .section::after {
  position: absolute;
  content: "";
  background-image: url(images/back.png);
  background-repeat: no-repeat;
  background-size: contain;
  right: -36vw;
  top: 150px;
  height: 70vh;
  width: 63vw;
  z-index: -1;
  opacity: 0.3;
}

.contract .section .contac {
  text-align: left;
  align-items: flex-start;
}

#privacy a {
  color: var(--orange);
  transition: color 0.3s ease;
}

.contract .section .contac a:hover,
#privacy a:hover {
  color: var(--blue);
}

.contract .section {
  padding-top: 0;
  margin-top: 0px;
}

.contract .section h3 {
  margin-top: 30px;
}
@media (max-width: 1048px) {
  .contract .section {
    padding-top: 0;
    margin-top: -80px;
  }
  .contract .header__top {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .contract .header__top .logo {
    margin-top: 40px;
  }
  .contract .header__top .lang-switcher,
  .contract .header__top .social {
    display: none;
  }
  .contract .section h2 {
    margin-bottom: 30px;
    font-size: 20px;
  }
  .contract .section h3 {
    font-size: 16px;
  }
  .hero-container h2 {
    font-size: 12px;
  }
}
.review-video {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.review-video:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.review-author {
  margin-top: 14px;
  font-style: italic;
  color: #444;
  font-size: 0.95rem;
  text-align: center;
}

.review-card.video-card {
  padding: 0;
  padding-bottom: 20px;
  border-radius: 20px;
  overflow: hidden;
}

/* === Карусель === */
.certs-carousel {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  perspective: 1000px;
}

.certs-viewport {
  overflow: visible;
  position: relative;
  padding: 40px 0;
}

.certs-track {
  list-style: none;
  position: relative;
  height: 200px;
}

.certs-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 260px;
  height: 180px;
  transform: translate3d(-50%, 0, 0);
  transition: transform 0.5s ease, opacity 0.5s ease;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
}

.certs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Активний (середній) */
.certs-slide.is-active {
  z-index: 10;
  transform: translate3d(-50%, 0, 100px) scale(1.1);
  opacity: 1;
}

/* Кнопки */
.certs-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #ff7f50;
  color: #fff;
  cursor: pointer;
  z-index: 20;
}

.certs-btn.prev {
  left: -20px;
}
.certs-btn.next {
  right: -20px;
}

.certs-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 12px;
  background: #fff;
  clip-path: polygon(30% 50%, 70% 20%, 70% 80%);
  transform: rotate(180deg);
}

.certs-btn.next::before {
  transform: none;
}

.certs-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.certs-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.certs-dot[aria-selected="true"] {
  background: #ff7f50;
}

/* Модалка */
.cert-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.cert-modal.open {
  display: flex;
}

.cert-modal-img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

.cert-modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .certs-slide {
    width: 90%;
    height: 220px;
    transform: translate3d(-50%, 0, 0) !important;
  }
}

.rblock-section {
  position: relative;
  padding: 60px 20px 100px;
  background: #faf8f5;
  overflow: hidden;
}

.rblock-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.rblock-track {
  display: flex;
  transition: transform 0.5s ease;
}

.rblock-slide {
  flex: 0 0 33.333%;
  box-sizing: border-box;
  padding: 20px;
}

@media (max-width: 768px) {
  .rblock-slide {
    flex: 0 0 100%;
  }
  .rblock-section {
    padding: 80px 0;
  }
  #reviews .certs {
    padding: 0;
    margin: 0;
  }
}

#reviews .btn {
  margin-top: 30px;
  text-transform: none;
  background-color: var(--orange);
}

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

.rblock-content {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.rblock-text {
  font-size: 16px;
  color: #444;
  margin-bottom: 12px;
  min-height: 60px;
}

.rblock-author {
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 14px;
}

.rblock-btn {
  position: relative;
  bottom: 0;
  background: var(--orange);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.rblock-btn:hover {
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}
.rblock-prev,
.rblock-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--orange);
  color: #fff;
  box-shadow: -4px 3px 29px 4px rgba(0, 0, 0, 0.25);

  cursor: pointer;
}
.rblock-prev {
  left: 10px;
}
.rblock-next {
  right: 10px;
}

.rblock-video-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.rblock-video-wrap video {
  height: 320px;
  display: block;
  border-radius: 20px;
  margin: 0 auto 20px;
}
.rblock-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  cursor: pointer;
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 20px; /* відступи, щоб не прилипав до країв */
  overflow-y: auto; /* дозволяє скрол, якщо контент перевищує висоту */
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  animation: popupShow 0.3s ease;
}

.popup-close {
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #444;
  transition: 0.3s;
}
.popup-close:hover {
  color: #000;
  transform: scale(1.1);
}

.popup-body img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.popup-body p {
  font-size: 17px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.popup-body video {
  max-height: 400px;
  width: 100%;
  border-radius: 10px;
  display: block;
  margin-bottom: 15px;
}

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

@media (max-width: 600px) {
  .popup-content {
    padding: 20px;
    max-width: 95%;
    max-height: 85vh;
  }

  .popup-body p {
    font-size: 15px;
  }

  .popup-close {
    font-size: 24px;
  }
  #reviews .btn:last-child {
    margin-top: 15px;
  }
  #reviews .btn {
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.pt-5 {
  padding-top: 50px !important;
}
