/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 4rem;

  /*========== Colors ==========*/
  --primary-color: #CAFF74;
  --secondary-color: #161B21;
  --white-color: #FFFFFF;
  --black-color: #000000;
  --gray-color: #8892B0;
  --gray-light: #CCD6F6;
  --dark-color: #0A0E13;
  --success-color: #22C55E;
  --warning-color: #F59E0B;
  --error-color: #EF4444;

  /*========== Font and typography ==========*/
  --body-font: 'Montserrat', sans-serif;
  --biggest-font-size: 5.5rem;
  --h1-font-size: 3rem;
  --h2-font-size: 2rem;
  --h3-font-size: 1.5rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== Spacing ==========*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Responsive typography */
@media screen and (max-width: 768px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
  
  .home__title {
    font-size: 2rem;
    line-height: 1.2;
    min-height: 120px;
    padding: 0 1rem;
    max-width: calc(100vw - 2rem);
  }
  
  #typewriter-text {
    font-size: inherit;
    line-height: inherit;
  }
}

@media screen and (max-width: 576px) {
  .home__title {
    font-size: 1.75rem;
    line-height: 1.3;
    min-height: 100px;
    padding: 0 0.5rem;
    max-width: calc(100vw - 1rem);
  }
}

@media screen and (max-width: 320px) {
  .home__title {
    font-size: 1.5rem;
    line-height: 1.4;
    min-height: 80px;
    padding: 0 0.25rem;
    max-width: calc(100vw - 0.5rem);
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--secondary-color);
  color: var(--white-color);
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--white-color);
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  overflow-x: hidden;
}

.section {
  padding: 5rem 0 2rem;
}

.section__header {
  text-align: center;
  margin-bottom: var(--mb-2-5);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--primary-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1);
  background: linear-gradient(135deg, var(--white-color) 0%, var(--gray-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}

.button:hover::before {
  left: 100%;
}

.button--primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #A8E045 100%);
  color: var(--black-color);
  box-shadow: 0 8px 24px rgba(202, 255, 116, 0.3);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(202, 255, 116, 0.4);
}

.button--ghost {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button--ghost:hover {
  background: var(--primary-color);
  color: var(--black-color);
  transform: translateY(-2px);
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(22, 27, 33, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: var(--z-fixed);
  transition: all 0.3s ease;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
}

.header.scroll-header {
  background: rgba(22, 27, 33, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav {
  height: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--font-bold);
  color: var(--white-color);
  transition: transform 0.3s ease;
}

.nav__logo:hover {
  transform: scale(1.05);
}

.nav__logo-img {
  width: 240px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.nav__menu {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3rem;
  padding: 1rem 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav__logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.nav__logo:hover {
  transform: scale(1.05);
}

.nav__logo-img {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.nav__list {
  display: flex;
  gap: 2rem;
  margin: 0;
}

.nav__link {
  color: var(--gray-light);
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  position: relative;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), #A8E045);
  transition: width 0.3s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav__link:hover {
  color: var(--primary-color);
  background: rgba(202, 255, 116, 0.1);
}

.nav__link:hover::after {
  width: 80%;
}

.nav__link.active-link {
  color: var(--primary-color);
  background: rgba(202, 255, 116, 0.15);
}

.nav__link.active-link::after {
  width: 80%;
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.5rem;
  color: var(--white-color);
  cursor: pointer;
}

/*=============== HOME ===============*/
.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
  position: relative;
  overflow: hidden;
}

.home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23CAFF74" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.home__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
}

.home__content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 4rem;
  width: 100%;
  max-width: 100%;
}

.home__data {
  max-width: 800px;
  width: 100%;
  padding: 0 1rem;
}

.home__title {
  font-size: 3.5rem;
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-1);
  line-height: 1.1;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 100%;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  overflow-wrap: break-word;
}

#typewriter-text {
  border-right: 3px solid var(--primary-color);
  overflow: hidden;
  animation: blink-caret 0.75s step-end infinite;
  max-width: 100%;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

.home__title-accent {
  background: linear-gradient(135deg, var(--primary-color) 0%, #A8E045 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home__description {
  color: var(--gray-light);
  margin-bottom: var(--mb-2);
  font-size: 1.125rem;
  line-height: 1.6;
}

.home__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.home__scroll {
  text-align: center;
}

.home__scroll-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-light);
  font-size: var(--small-font-size);
  transition: all 0.3s ease;
}

.home__scroll-button:hover {
  color: var(--primary-color);
  transform: translateY(-4px);
}

.home__scroll-button i {
  font-size: 1.5rem;
  animation: scroll-down 2s ease-in-out infinite;
}

/*=============== SERVICES ===============*/
.services {
  background: var(--dark-color);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: var(--mb-2-5);
}

.services__card {
  background: linear-gradient(135deg, rgba(202, 255, 116, 0.05) 0%, rgba(202, 255, 116, 0.1) 100%);
  border: 1px solid rgba(202, 255, 116, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.services__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(202, 255, 116, 0.1) 0%, rgba(202, 255, 116, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services__card:hover::before {
  opacity: 1;
}

.services__card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 16px 48px rgba(202, 255, 116, 0.2);
}

.services__card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #A8E045 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
  position: relative;
  z-index: 2;
}

.services__card-icon i {
  font-size: 2rem;
  color: var(--black-color);
}

.services__card-icon span {
  font-size: 2rem;
  color: var(--black-color) !important;
  filter: grayscale(100%) brightness(0%);
}

.services__card-title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  position: relative;
  z-index: 2;
}

.services__card-description {
  color: var(--gray-light);
  margin-bottom: var(--mb-1-5);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.services__card-link {
  color: var(--primary-color);
  font-weight: var(--font-medium);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.services__card-link:hover {
  gap: 1rem;
}

/*=============== ABOUT ===============*/
.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about__description {
  color: var(--gray-light);
  margin-bottom: var(--mb-2);
  line-height: 1.6;
}

.about__features {
  margin-bottom: var(--mb-2);
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--mb-1);
  color: var(--gray-light);
}

.about__feature-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #A8E045 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(202, 255, 116, 0.3);
  transition: all 0.3s ease;
}

.about__feature-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(202, 255, 116, 0.4);
}

.about__feature-icon span {
  color: var(--black-color);
  font-size: 0.875rem;
  font-weight: var(--font-bold);
  line-height: 1;
}

.about__button {
  align-self: flex-start;
}

.about__image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.about__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about__image:hover .about__img {
  transform: scale(1.05);
}

.about__image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(202, 255, 116, 0.2) 0%, rgba(22, 27, 33, 0.4) 100%);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.stats__item {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(202, 255, 116, 0.05) 0%, rgba(202, 255, 116, 0.1) 100%);
  border-radius: 1rem;
  border: 1px solid rgba(202, 255, 116, 0.2);
  transition: all 0.3s ease;
}

.stats__item:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.stats__number {
  font-size: var(--h1-font-size);
  color: var(--primary-color);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-0-5);
}

.stats__text {
  color: var(--gray-light);
  font-weight: var(--font-medium);
}

/*=============== BENEFITS ===============*/
.benefits {
  background: var(--dark-color);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: var(--mb-2-5);
}

.benefits__card {
  background: var(--secondary-color);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(202, 255, 116, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefits__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(202, 255, 116, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefits__card:hover::before {
  opacity: 1;
}

.benefits__card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.benefits__card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #A8E045 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
  position: relative;
  z-index: 2;
}

.benefits__card-icon i {
  font-size: 1.5rem;
  color: var(--black-color);
}

.benefits__card-icon span {
  font-size: 1.5rem;
  color: var(--black-color) !important;
  filter: grayscale(100%) brightness(0%);
}

.benefits__card-title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  position: relative;
  z-index: 2;
}

.benefits__card-description {
  color: var(--gray-light);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/*=============== TESTIMONIALS ===============*/
.testimonials {
  background: var(--dark-color);
}

.testimonials__slider {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  margin-top: var(--mb-2-5);
}

.testimonials__wrapper {
  display: flex;
  transition: transform 0.5s ease;
  width: 1000%;
}

.testimonials__slide {
  width: 10%;
  flex-shrink: 0;
  padding: 0 1rem;
}

.testimonials__card {
  background: linear-gradient(135deg, rgba(202, 255, 116, 0.05) 0%, rgba(202, 255, 116, 0.1) 100%);
  border: 1px solid rgba(202, 255, 116, 0.2);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonials__quote {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.3;
  font-family: serif;
  line-height: 1;
}

.testimonials__text {
  color: var(--gray-light);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--mb-2);
  font-size: 1.1rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.testimonials__author {
  margin-top: auto;
}

.testimonials__name {
  font-size: var(--h3-font-size);
  color: var(--white-color);
  margin-bottom: var(--mb-0-25);
  font-weight: var(--font-semi-bold);
}

.testimonials__position {
  color: var(--primary-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.testimonials__navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: var(--mb-2);
}

.testimonials__arrow {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #A8E045 100%);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(202, 255, 116, 0.3);
}

.testimonials__arrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(202, 255, 116, 0.4);
}

.testimonials__arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.testimonials__arrow span {
  font-size: 1.5rem;
  color: var(--black-color);
  font-weight: var(--font-bold);
}

.testimonials__dots {
  display: flex;
  gap: 0.5rem;
}

.testimonials__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(202, 255, 116, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonials__dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.testimonials__dot:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

/*=============== CONTACT ===============*/
.contact__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__description {
  color: var(--gray-light);
  margin-bottom: var(--mb-2);
  line-height: 1.6;
}

.contact__info {
  margin-top: var(--mb-2);
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--mb-1-5);
}

.contact__info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #A8E045 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(202, 255, 116, 0.3);
  transition: all 0.3s ease;
}

.contact__info-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(202, 255, 116, 0.4);
}

.contact__info-icon svg {
  width: 24px;
  height: 24px;
  color: var(--black-color);
  transition: all 0.3s ease;
}

.contact__info-icon:hover svg {
  transform: scale(1.1);
}

.contact__info-item h4 {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 0.25rem;
}

.contact__info-item span {
  color: var(--gray-light);
  font-size: var(--small-font-size);
}

.contact__info-item a {
  color: var(--primary-color);
  font-size: var(--small-font-size);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact__info-item a:hover {
  color: #A8E045;
  text-decoration: underline;
}

.contact__form {
  background: linear-gradient(135deg, rgba(202, 255, 116, 0.05) 0%, rgba(202, 255, 116, 0.1) 100%);
  border: 1px solid rgba(202, 255, 116, 0.2);
  border-radius: 1rem;
  padding: 2rem;
}

.contact__form-group {
  margin-bottom: var(--mb-1-5);
}

.contact__form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: var(--white-color);
  font-family: var(--body-font);
  transition: all 0.3s ease;
}

.contact__form-input::placeholder {
  color: var(--gray-color);
}

.contact__form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(202, 255, 116, 0.2);
}

.contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__form-button {
  width: 100%;
  justify-content: center;
}

/*=============== FOOTER ===============*/
.footer {
  background: var(--dark-color);
  padding: 4rem 0 2rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__bottom-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--mb-1);
  justify-content: center;
}

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


.footer__description {
  color: var(--gray-light);
  margin-bottom: var(--mb-1-5);
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background: rgba(202, 255, 116, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background: var(--primary-color);
  color: var(--black-color);
  transform: translateY(-4px);
}

.footer__links-title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--white-color);
}

.footer__links-list li {
  margin-bottom: 0.5rem;
}

.footer__links-list a {
  color: var(--gray-light);
  transition: color 0.3s ease;
}

.footer__links-list a:hover {
  color: var(--primary-color);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer__copy {
  color: var(--gray-color);
  font-size: var(--small-font-size);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: 3rem;
  background: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: var(--z-tooltip);
  box-shadow: 0 8px 24px rgba(202, 255, 116, 0.3);
  opacity: 1;
  visibility: visible;
}

.scrollup span {
  font-size: 1.5rem;
  color: var(--black-color);
  font-weight: var(--font-bold);
}

.scrollup:hover {
  background: #A8E045;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(202, 255, 116, 0.4);
}

.scrollup.show-scroll {
  bottom: 3rem;
  opacity: 1;
  visibility: visible;
}

.scrollup.hide-scroll {
  bottom: -20%;
  opacity: 0;
  visibility: hidden;
}

/*=============== SCROLL PROGRESS INDICATOR ===============*/
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  width: 4px;
  height: 10%;
  background: linear-gradient(180deg, var(--primary-color) 0%, #A8E045 100%);
  z-index: var(--z-fixed);
  transition: height 0.1s ease;
  border-radius: 0 0 2px 2px;
  box-shadow: 0 0 10px rgba(202, 255, 116, 0.5);
  display: block;
}

.scroll-progress::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
  border-radius: inherit;
}

/*=============== SCROLLBAR ===============*/
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: transparent;
}

::-webkit-scrollbar-thumb:hover {
  background: transparent;
}

/* Hide scrollbar for Firefox */
html {
  scrollbar-width: none;
}

/* Hide scrollbar for IE and Edge */
body {
  -ms-overflow-style: none;
}

/*=============== ANIMATIONS ===============*/
@keyframes cardWave {
  0% {
    transform: translateY(0) scale(1) rotateX(0deg);
  }
  30% {
    transform: translateY(-10px) scale(1.02) rotateX(-2deg);
  }
  60% {
    transform: translateY(-5px) scale(1.01) rotateX(1deg);
  }
  100% {
    transform: translateY(0) scale(1) rotateX(0deg);
  }
}

@keyframes smoothFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(3px);
  }
  50% {
    opacity: 0.7;
    transform: translateY(10px) scale(0.98);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

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

@keyframes scroll-down {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes typewriter {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 0; }
}

@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: var(--primary-color);
  }
}
.fade-in-up {
/*=============== SCROLL REVEAL CLASSES ===============*/
.reveal-element {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-element.reveal-left {
  transform: translateX(-50px) translateY(20px);
}

.reveal-element.reveal-right {
  transform: translateX(50px) translateY(20px);
}

.reveal-element.reveal-scale {
  transform: scale(0.8) translateY(30px);
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Улучшенные переходы для разных типов анимаций */
.reveal-element.reveal-left.revealed {
  transform: translateX(0) translateY(0);
}

.reveal-element.reveal-right.revealed {
  transform: translateX(0) translateY(0);
}

.reveal-element.reveal-scale.revealed {
  transform: scale(1) translateY(0);
}

/* Специальные эффекты для карточек */
.services__card.reveal-element,
.benefits__card.reveal-element {
  transform: translateY(60px) scale(0.95);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.services__card.reveal-element.revealed,
.benefits__card.reveal-element.revealed {
  transform: translateY(0) scale(1);
}

/* Анимация для статистики */
.stats__item.reveal-element {
  transform: translateY(40px) scale(0.8);
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.stats__item.reveal-element.revealed {
  transform: translateY(0) scale(1);
}

  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-left {
  animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
  animation: fadeInRight 0.8s ease forwards;
}

.fade-in-scale {
  animation: fadeInScale 0.8s ease forwards;
}

/*=============== GRADIENTS ===============*/
#homeGradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, #A8E045 100%);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 1200px) {
  .container {
    max-width: 968px;
  }
  
  .home__content {
    gap: 3rem;
  }
  
  .about__content {
    gap: 3rem;
  }
  
  .contact__content {
    gap: 3rem;
  }
}

/* For medium devices */
@media screen and (max-width: 968px) {
  .container {
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
  }
  
  .nav {
    padding: 0 1rem;
  }
  
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background: rgba(22, 27, 33, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 4rem 2rem 2rem;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
  }
  
  .nav__logo {
    order: -1;
    margin-bottom: 1rem;
  }
  
  .nav__logo-img {
    width: 200px;
  }
  
  .nav__menu.show-menu {
    right: 0;
  }
  
  .nav__list {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  
  .nav__link {
    font-size: var(--h3-font-size);
    padding: 1rem;
    border-radius: 0.5rem;
  }
  
  .nav__close {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .nav__close:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  .nav__toggle {
    display: block;
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .nav__toggle:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  .about__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .testimonials__navigation {
    gap: 1rem;
  }
  
  .testimonials__arrow {
    width: 40px;
    height: 40px;
  }
  
  .testimonials__arrow span {
    font-size: 1.25rem;
  }
}

/* For small devices */
@media screen and (max-width: 576px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: calc(100vw - 2rem);
  }
  
  .section {
    padding: 4rem 0 1rem;
  }
  
  .home__data {
    padding: 0 0.5rem;
    max-width: calc(100vw - 1rem);
  }
  
  .nav__menu {
    width: 100%;
    padding: 6rem 1.5rem 2rem;
  }
  
  .home__buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .button {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }
  
  .services__grid {
    grid-template-columns: 1fr;
  }
  
  .benefits__grid {
    grid-template-columns: 1fr;
  }
  
  .about__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer__column {
    text-align: center;
  }
  
  .footer__social {
    justify-content: center;
  }
  
  .testimonials__card {
    padding: 2rem 1.5rem;
    min-height: 250px;
  }
  
  .testimonials__text {
    font-size: 1rem;
  }
  
  .testimonials__quote {
    font-size: 3rem;
    top: 0.5rem;
    right: 1rem;
  }
}

@media screen and (max-width: 320px) {
  .container {
    margin-left: var(--mb-0-75);
    margin-right: var(--mb-0-75);
  }
  
  .about__stats {
    grid-template-columns: 1fr;
  }
}