﻿  /* Общие стили */
  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Arial', sans-serif;
  }

  body {
      color: #333;
      line-height: 1.6;
  }

  .container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
  }

  /* Шапка */
  header {
      background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
      color: white;
      padding: 20px 0;
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .logo {
    height: 100px;
    width: 260px;
    left: 0;
    top: 0;
    background:  url(logo.svg) left center no-repeat;
    background-size: contain;
  }

  .logo span {
      color: #4CAF50;
  }

  nav ul {
      display: flex;
      list-style: none;
  }

  nav ul li {
      margin-left: 30px;
  }

  nav ul li a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s;
  }

  nav ul li a:hover {
      color: #4CAF50;
  }

  .mobile-menu {
      display: none;
      font-size: 24px;
      cursor: pointer;
  }

  /* Герой секция */
  .hero {
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('bg.jpg') no-repeat center center/cover;
      height: 100vh;
      display: flex;
      align-items: center;
      text-align: center;
      color: white;
      margin-top: 60px;
  }

  .hero-content h1 {
      font-size: 48px;
      margin-bottom: 20px;
  }

  .hero-content p {
      font-size: 20px;
      margin-bottom: 30px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
  }

  .btn {
      display: inline-block;
      background: #4CAF50;
      color: white;
      padding: 12px 30px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s;
  }

  .btn:hover {
      background: #45a049;
  }

  /* Услуги */
  .services {
      padding: 80px 0;
      background: #f9f9f9;
  }

  .section-title {
      text-align: center;
      margin-bottom: 50px;
  }

  .section-title h2 {
      font-size: 36px;
      color: #333;
  }

  .section-title p {
      color: #777;
      font-size: 18px;
  }

  .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
  }

  .service-card {
      background: white;
      border-radius: 8px;
      padding: 30px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s, box-shadow 0.3s;
  }

  .service-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .service-icon {
      font-size: 50px;
      color: #4CAF50;
      margin-bottom: 20px;
  }

  .service-card h3 {
      font-size: 24px;
      margin-bottom: 15px;
  }

  /* Тарифы */
  .pricing {
      padding: 80px 0;
  }

  .pricing-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 50px;
  }

  .pricing-card {
      background: white;
      border-radius: 8px;
      padding: 30px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      text-align: center;
      transition: transform 0.3s;
  }

  .pricing-card:hover {
      transform: scale(1.05);
  }

  .pricing-card.popular {
      border: 2px solid #4CAF50;
      position: relative;
  }

  .popular-tag {
      position: absolute;
      top: -15px;
      right: 20px;
      background: #4CAF50;
      color: white;
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 14px;
  }

  .pricing-card h3 {
      font-size: 24px;
      margin-bottom: 20px;
  }

  .price {
      font-size: 48px;
      font-weight: bold;
      color: #4CAF50;
      margin-bottom: 20px;
  }

  .price span {
      font-size: 16px;
      color: #777;
  }

  .pricing-features {
      list-style: none;
      margin-bottom: 30px;
  }

  .pricing-features li {
      padding: 10px 0;
      border-bottom: 1px solid #eee;
  }

  /* О нас */
  .about {
      padding: 80px 0;
      background: #f9f9f9;
  }

  .about-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
  }

  .about-text h2 {
      font-size: 36px;
      margin-bottom: 20px;
  }

  .about-text p {
      margin-bottom: 20px;
      color: #555;
  }

  .about-image img {
      width: 100%;
      border-radius: 8px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  /* Контакты */
  .contact {
      padding: 80px 0;
  }

  .contact-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
  }

  .contact-info h3 {
      font-size: 24px;
      margin-bottom: 20px;
  }

  .contact-info p {
      margin-bottom: 30px;
      color: #555;
  }

  .contact-details {
      margin-bottom: 30px;
  }

  .contact-details div {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
  }

  .contact-details i {
      margin-right: 15px;
      color: #4CAF50;
      font-size: 20px;
  }

  .contact-form input,
  .contact-form textarea {
      width: 100%;
      padding: 15px;
      margin-bottom: 20px;
      border: 1px solid #ddd;
      border-radius: 5px;
  }

  .contact-form textarea {
      height: 150px;
  }

  /* Футер */
  footer {
      background: url('bg.jpg') no-repeat center center/cover;
      color: white;
      padding: 50px 0 20px;
  }

  .footer-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 30px;
      margin-bottom: 40px;
  }

  .footer-col h3 {
      font-size: 20px;
      margin-bottom: 20px;
      position: relative;
      padding-bottom: 10px;
  }

  .footer-col h3::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 50px;
      height: 2px;
      background: #4CAF50;
  }

  .footer-col ul {
      list-style: none;
  }

  .footer-col ul li {
      margin-bottom: 10px;
  }

  .footer-col ul li a {
      color: #bbb;
      text-decoration: none;
      transition: color 0.3s;
  }

  .footer-col ul li a:hover {
      color: #4CAF50;
  }

  .social-links {
      display: flex;
      gap: 15px;
  }

  .social-links a {
      color: white;
      background: #333;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s;
  }

  .social-links a:hover {
      background: #4CAF50;
  }

  .copyright {
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid #333;
      color: #bbb;
      font-size: 14px;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}
.modal-content {
    background: white;
    margin: 10% auto;
    padding: 30px;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
}
.close {
    float: right;
    font-size: 28px;
    cursor: pointer;
}

  /* Адаптивность */
  @media (max-width: 992px) {

      .about-content,
      .contact-container {
          grid-template-columns: 1fr;
      }

      .about-image {
          order: -1;
      }
  }

  @media (max-width: 768px) {
      nav ul {
          display: none;
      }

      .mobile-menu {
          display: block;
      }

      .hero-content h1 {
          font-size: 36px;
      }

      .hero-content p {
          font-size: 18px;
      }
  }