body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  background: #f6f6f9;
  color: #222;
}

header {
  background: #000;
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px #0002;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  height: 90px;
}

.nav-logo img {
  height: 60px;
  vertical-align: middle;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

nav a:hover {
  color: #ec2427;
}

.hero {
  background: linear-gradient(180deg, #0f0f0f 0%, rgba(255, 255, 255, 0) 100%), url('images/office.webp') center/cover no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
}

.hero-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 48px 32px;
  border-radius: 18px;
  max-width: 600px;
  margin: 60px 0;
  animation: fadeInUp 1s;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 28px;
}

.hero-content .cta-btn {
  background: #ec2427;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 38px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.hero-content .cta-btn:hover {
  background: #b71c1c;
}

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

.section-title {
  color: #0d2235;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 36px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #e0e0e0;
  padding: 32px 24px;
  flex: 1 1 320px;
  max-width: 340px;
  min-width: 260px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fadeInUp 1s;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px #d32f2f33;
}

.card i,
.card img {
  font-size: 2.5rem;
  color: #ec2427;
  margin-bottom: 18px;
}

.card h3 {
  color: #ec2427;
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 600;
}

.card p {
  color: #444;
  font-size: 1rem;
}

footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 40px 10px 20px 10px;
  margin-top: 60px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 10px;
}

.partners-carousel {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #e0e0e0;
  padding: 20px 0;
}

.partners-track {
  display: flex;
  gap: 40px;
  align-items: center;
  animation: slidePartners 20s linear infinite;
  width: max-content;
}

.partners-carousel img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.3s;
  background: #fff;
  border-radius: 8px;
  padding: 8px 16px;
}

.partners-carousel img:hover {
  filter: grayscale(0);
}

@keyframes slidePartners {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 20px 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .partners-carousel img {
    height: 40px;
  }

  .partners-track {
    gap: 20px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

#contact {
  background: linear-gradient(135deg, #ec2427 0%, #0d2235 100%);
  border-radius: 18px;
  box-shadow: 0 4px 32px #ec242733;
  margin-bottom: 40px;
  padding-bottom: 40px;
}

.contact-modern {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 2px 16px #0002;
}

.contact-info {
  flex: 1 1 220px;
  color: #fff;
  font-size: 1.08rem;
  padding-right: 20px;
}

.contact-info p {
  margin: 18px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.contact-info i {
  color: #fff;
  background: #ec2427;
  border-radius: 50%;
  padding: 8px;
  font-size: 1.2em;
  margin-right: 8px;
  box-shadow: 0 2px 8px #ec242755;
}

.contact-form {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: none;
  font-size: 1.08rem;
  background: #fff;
  color: #222;
  box-shadow: 0 2px 8px #ec242722;
  outline: none;
  transition: box-shadow 0.2s, border 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 2px solid #ec2427;
  box-shadow: 0 2px 16px #ec242744;
}

.contact-form textarea {
  min-height: 90px;
  resize: vertical;
}

.contact-form .cta-btn {
  background: linear-gradient(90deg, #ec2427 60%, #0d2235 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px #ec242744;
  transition: background 0.2s, box-shadow 0.2s;
  width: 100%;
}

.contact-form .cta-btn:hover {
  background: linear-gradient(90deg, #0d2235 0%, #ec2427 100%);
  box-shadow: 0 4px 16px #0d223544;
}

@media (max-width: 700px) {
  .contact-modern {
    flex-direction: column;
    padding: 24px 8px;
    gap: 18px;
  }

  .contact-info {
    padding-right: 0;
    text-align: center;
  }
}