/* Variables */
:root {
  --color-bg: #1B1B3A;
  --color-accent: #F75C70;
  --color-hover: #E5F77D;
  --color-text: #F4F4F9;
  --color-card: #2C2C34;
  --font-main: 'Poppins', sans-serif;
  --transition: all 0.3s ease;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-hover);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  background: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-text);
}

.btn--primary:hover {
  background-color: var(--color-hover);
  color: var(--color-bg);
  transform: translateY(-3px);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-accent);
}

.btn--secondary:hover {
  background-color: var(--color-accent);
  color: var(--color-text);
  transform: translateY(-3px);
}

.section {
  padding: 8rem 0;
}

.section-title {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 8rem;
  height: 4px;
  background-color: var(--color-accent);
  margin: 2rem auto;
}

.section-subtitle {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(27, 27, 58, 0.9);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8rem;
}

.logo {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
}

.nav__item:not(:last-child) {
  margin-right: 3rem;
}

.nav__link {
  font-size: 1.6rem;
  font-weight: 500;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-text);
  transition: var(--transition);
}

.burger-menu.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 8rem;
  left: 0;
  width: 100%;
  height: calc(100vh - 8rem);
  background-color: var(--color-bg);
  z-index: 999;
  padding: 2rem;
  transform: translateX(100%);
  transition: var(--transition);
  display: none;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
}

.mobile-menu__item:not(:last-child) {
  margin-bottom: 2rem;
}

.mobile-menu__link {
  font-size: 2rem;
  font-weight: 600;
}

/* Hero Section */
.hero {
  padding: 180px 0;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(27, 27, 58, 0.7), rgba(27, 27, 58, 0.9)), url('./img/1GSN7S.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero__content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease;
}

.hero__description {
  font-size: 2rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.hero__btn {
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

.hero__shape {
  position: absolute;
  right: -10%;
  bottom: -10%;
  width: 40%;
  height: 40%;
  background-color: rgba(247, 92, 112, 0.1);
  border-radius: 50%;
  animation: pulse 8s infinite;
}

/* About Section */
.about {
  position: relative;
}

.about__inner {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.about__image {
  flex: 0 0 45%;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.about__image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  border-top: 4px solid var(--color-accent);
  border-left: 4px solid var(--color-accent);
  z-index: 1;
}

.about__image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  border-bottom: 4px solid var(--color-accent);
  border-right: 4px solid var(--color-accent);
  z-index: 1;
}

.about__content {
  flex: 0 0 50%;
}

.about__title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: left;
}

.about__title::after {
  margin-left: 0;
}

.about__description {
  margin-bottom: 3rem;
}

/* Services Section */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
}

.service-card {
  background-color: var(--color-card);
  border-radius: 10px;
  padding: 3rem;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:hover::before {
  transform: scale(1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(247, 92, 112, 0.1) 0%, rgba(27, 27, 58, 0.1) 100%);
  z-index: -1;
  transform: scale(0);
  transform-origin: bottom right;
  transition: transform 0.5s ease;
}

.service-card__icon {
  width: 70px;
  height: 70px;
  background-color: rgba(247, 92, 112, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.service-card__icon svg {
  width: 40px;
  height: 40px;
  fill: var(--color-accent);
}

.service-card__title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.service-card__description {
  margin-bottom: 2rem;
}

/* Benefits Section */
.benefits {
  background-color: var(--color-card);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 3rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.benefit-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(247, 92, 112, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.benefit-card:hover .benefit-card__icon {
  transform: rotateY(180deg);
  background-color: var(--color-accent);
}

.benefit-card__icon svg {
  width: 30px;
  height: 30px;
  fill: var(--color-accent);
  transition: var(--transition);
}

.benefit-card:hover .benefit-card__icon svg {
  fill: var(--color-text);
}

.benefit-card__title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Process Section */
.process__steps {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 30px;
  height: calc(100% + 3rem);
  width: 2px;
  background-color: var(--color-accent);
}

.process-step__number {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  background-color: var(--color-accent);
  color: var(--color-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  z-index: 2;
}

.process-step__content {
  flex: 1;
}

.process-step__title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--color-card);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
}

.testimonial-card {
  background-color: var(--color-bg);
  border-radius: 10px;
  padding: 3rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 8rem;
  font-family: serif;
  color: rgba(247, 92, 112, 0.2);
  line-height: 1;
}

.testimonial-card__content {
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
}

.testimonial-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1.5rem;
  border: 2px solid var(--color-accent);
}

.testimonial-card__name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.testimonial-card__position {
  font-size: 1.4rem;
  opacity: 0.7;
}

/* Contact Form */
.contact-form {
  background-color: var(--color-card);
  border-radius: 10px;
  padding: 4rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 1.2rem;
  background-color: var(--color-bg);
  border: 1px solid rgba(244, 244, 249, 0.1);
  border-radius: 5px;
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 1.6rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(247, 92, 112, 0.2);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23F4F4F9' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.checkbox-input {
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.checkbox-label a {
  color: var(--color-accent);
}

.checkbox-label a:hover {
  color: var(--color-hover);
}

/* Footer */
.footer {
  background-color: var(--color-card);
  padding: 6rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer__description {
  margin-top: 2rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.footer__title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  position: relative;
}

.footer__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
}

.footer__contact-item svg {
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.footer__contact-item address {
  font-style: normal;
}

.footer__links-list li {
  margin-bottom: 1rem;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 244, 249, 0.1);
  text-align: center;
  font-size: 1.4rem;
  opacity: 0.8;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--color-card);
  padding: 2rem;
  z-index: 1001;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  transition: bottom 0.5s ease;
}

.cookie-popup.active {
  bottom: 0;
}

.cookie-popup__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-popup__content p {
  margin-right: 2rem;
}

.cookie-popup__content a {
  color: var(--color-accent);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Media Queries */
@media (max-width: 992px) {
  html {
    font-size: 55%;
  }
  
  .about__inner {
    flex-direction: column;
  }
  
  .about__image, 
  .about__content {
    flex: 0 0 100%;
  }
  
  .contact-form {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .hero__title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .services__grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-popup__content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-popup__content p {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero__title {
    font-size: 3.2rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Utility classes for animations */
.fade-in {
  animation: fadeInUp 1s ease;
}

.fade-in-delay-1 {
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.fade-in-delay-2 {
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

.fade-in-delay-3 {
  animation: fadeInUp 1s ease 0.6s;
  animation-fill-mode: both;
} 