* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 10px;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--main-color);
  color: black;
}

ul,
ol {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  width: 100%;
  margin: 0 auto;
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-semibold);
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-medium);
}

p {
  font-weight: var(--font-weight-regular);
}

:root {
  --main-color: #fafafa;
  --second-color: #02b2a0;
  --text-color: #00100a;

  --font-size-main: 16px;
  --font-size-h1: 30px;
  --font-size-h2: 25px;
  --font-size-h3: 20px;

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --border-radius: 5px;
  --box-shadow: 0 3px 3px rgba(146, 168, 22, 0.8);
}

.container {
  width: 375px;
  padding: 10px;
  margin: 0 auto;
}




.policy-container {
  padding-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-color);
}

.policy-container h1,
.policy-container h2 {
  font-size: x-large;
  font-weight: bold;
}

.terms-policy-contact-link {
  color: var(--second-color);
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.5s ease;
}

.terms-policy-contact-link:hover {
  border-bottom: 1px solid var(--second-color);
}



@media screen and (min-width: 768px) {
  body {
    font-size: 18px;
  }

  :root {
    --font-size-h1: 34px;
    --font-size-h2: 28px;
    --font-size-h3: 24px;
  }

  .container {
    width: 768px;
    padding: 15px;
  }
}

@media screen and (min-width: 1024px) {
  body {
    font-size: 20px;
  }

  :root {
    --font-size-h1: 36px;
    --font-size-h2: 30px;
    --font-size-h3: 26px;
  }

  .container {
    width: 1024px;
    padding: 20px;
  }

 

  .page-contact-wrapper > div {
    flex-direction: row;
    gap: 40px;
  }

  .page-contact-wrapper > div > div {
    justify-content: space-between;
    height: 100%;
  }

  .page-contact-wrapper > div > div > img {
    height: 400px;
  }
}

@media screen and (min-width: 1440px) {
  body {
    font-size: 22px;
  }

  :root {
    --font-size-h1: 40px;
    --font-size-h2: 34px;
    --font-size-h3: 30px;
  }

  .container {
    width: 1440px;
    padding: 25px;
  }

}

.policy-container {
  padding-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-contact-wrapper {
  padding-top: 90px;
}


/* Hero */
@keyframes slow-zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@keyframes fade-in-up {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-down {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-slow-zoom {
  animation: slow-zoom 20s linear infinite alternate;
}

.animate-fade-in-up {
  animation: fade-in-up 1s ease-out forwards;
}

.animate-fade-in-down {
  animation: fade-in-down 0.8s ease-out forwards;
}

.animate-pulse-slow {
  animation: pulse 6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.delay-200 { animation-delay: 0.2s; }
.delay-500 { animation-delay: 0.5s; }

/* Sect2 */

/* Плавний градієнтний контур */
.group:hover {
  background: linear-gradient(145deg, rgba(30,41,59,0.8) 0%, rgba(15,23,42,0.9) 100%);
  transform: translateY(-10px);
}

/* Ефект неонового тексту при ховері */
.group:hover h3 {
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Покращення для іконок */
.group svg {
  filter: drop-shadow(0 0 8px currentColor);
}


/* Sect expertise */

#expertise .group {
  /* Створюємо ефект плавної появи контенту всередині */
  perspective: 1000px;
}

#expertise h2 {
  /* Ексклюзивний шрифт для преміальності */
  letter-spacing: -0.02em;
}

#expertise .group:nth-child(2) h3 {
  /* Градієнт для заголовку в темному блоці */
  background: linear-gradient(to right, #fff, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sect4 */
#features .group {
  /* Тінь, яка посилюється при наведенні */
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
}

#features .group:hover {
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.3);
}

/* Ефект плавного розкриття тексту */
#features .group p {
  transform: translateY(10px);
  transition: all 0.5s ease-in-out;
}

#features .group:hover p {
  transform: translateY(0);
}