* {
  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: #f8f8fc;
  --second-color: #57585c;
  --text-color: #1d192e;

  --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(32, 22, 168, 0.8);
}

.container {
  width: 375px;
  padding: 10px;
  margin: 0 auto;
}



/* Footer */
.footer-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
  color: var(--second-color);
  background-color: var(--main-color);
}

.footer-logo-image {
  width: 90px;
}

.footer-nav > li > a {
  color: var(--second-color);
  transition: color 0.5s ease-in-out;
}

.footer-nav > li > a:hover,
.contact-address-info > p > a:hover {
  color: var(--text-color);
}

.policy-container {
  padding-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-color);
}

.page-contact-adr {
  display: none;
}

.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);
}

/* Animation */
.reveal-section {
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.6s ease-in-out;
}

.scale-up {
  transform: scale(1);
  opacity: 1;
}



/* Blog Theme */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up .card-item {
  animation: fadeUp 0.6s ease-out forwards;
}

.section-write-topics.animate-fade-up {
  opacity: 1;
}

.animate-fade-up .card-item:nth-child(1) {
  animation-delay: 0.1s;
}

.animate-fade-up .card-item:nth-child(2) {
  animation-delay: 0.2s;
}

.animate-fade-up .card-item:nth-child(3) {
  animation-delay: 0.3s;
}

.animate-fade-up .card-item:nth-child(4) {
  animation-delay: 0.4s;
}

.animate-fade-up .card-item:nth-child(5) {
  animation-delay: 0.5s;
}

.animate-fade-up .card-item:nth-child(6) {
  animation-delay: 0.6s;
}

/* Voice */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fade-up 0.8s ease-out forwards;
}
@keyframes bounceSlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.animate-bounce-slow {
  animation: bounceSlow 6s infinite ease-in-out;
}

@keyframes moveXSlow {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(20px);
  }
}

.animate-move-x-slow {
  animation: moveXSlow 10s infinite ease-in-out;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up .quote-card {
  animation: fadeSlideUp 0.6s ease-out forwards;
}

.section-voices-uk.animate-slide-up {
  opacity: 1;
}

.animate-slide-up .quote-card:nth-child(1) {
  animation-delay: 0.1s;
}
.animate-slide-up .quote-card:nth-child(2) {
  animation-delay: 0.2s;
}
.animate-slide-up .quote-card:nth-child(3) {
  animation-delay: 0.3s;
}
.animate-slide-up .quote-card:nth-child(4) {
  animation-delay: 0.4s;
}
.animate-slide-up .quote-card:nth-child(5) {
  animation-delay: 0.5s;
}
.animate-slide-up .quote-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Contact section */
@keyframes float-slow {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse-slow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.1;
  }
}

.animate-float-slow {
  animation: float-slow 6s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 5s ease-in-out infinite;
}

@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;
  }

  
  /* Footer */
  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 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;
  }

 

  /* Footer */
  .footer-container {
    gap: 30px;
    justify-content: start;
  }
}

@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;
}

.policy-container h1,
.policy-container h2 {
  font-size: x-large;
  font-weight: bold;
}

.animate-gradient-background {
  background: linear-gradient(-45deg, #454349, #9092a1, #5633f1, #382ecc);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Основные стили хедера */
.custom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

/* Десктопная навигация */
.desktop-nav {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: #3b82f6; /* Electric Blue */
}

/* Бургер-кнопка */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.burger-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 40px 24px;
}

.mobile-menu.active {
    right: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.menu-footer {
    margin-top: auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    .burger-btn {
        display: flex;
    }
}