/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #000; /* темный базовый фон */
  color: #fff;
  line-height: 1.2;
  background:       url('images/bgr_chat.jpg') center center / 400px 400px repeat; 
  text-align: center;
  align-items: center;
}

a {
    text-decoration: none; /* Убирает подчеркивание */
}

/* Контейнер для контента */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation Bar */
.navbar {
  background: rgba(0, 102, 204, 0.9); /* синий цвет логотипа */
  padding-top: 5px;
  /* position: fixed; */
  width: 100%;
  top: 0;
  z-index: 1000;
  margin-bottom: 5px;
  box-shadow: 0px 2px 10px 0px #333;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  max-width: 120px;
}

.nav-menu {
  list-style: none;
  display: flex;
}

.nav-menu li {
  margin-left: 30px;
  margin-bottom:15px;
}

.nav-menu li a {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 10px;
  transition: background 0.3s ease;
}

.nav-menu li a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

/* Hero Section */
.hero {
/*  position: relative;*/
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /*padding-top: 100px; *//* для учета фиксированного меню */
  margin-left: 10px;
  margin-right: 10px;
  max-width:100%;
  width:100%;
}

.hero-overlay {
/*  position: absolute;*/
  top: 90px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 102, 204, 0.5); /* overlay с использованием синего цвета */
  z-index: 1;
  /* border-radius: 10px; */
  height:auto;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 20px;
}

.cta-btn {
  background: #004080;
  color: #fff;
  padding: 15px 30px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: #003366;
}

/* Section Styling */
.section {
  padding: 100px 10px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  margin: 10px;
  border-radius: 10px;
}

.section h2 {
  font-size: 36px;
  color: #66ccff; /* светло-синий акцент */
  margin-bottom: 20px;
}

.section p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 20px;
}

/* Solutions Section */
.solutions-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.solution {
  background: #111;
  margin: 15px;
  padding: 30px;
  width: 280px;
  border: 1px solid #004080;
  /*border-radius: 10px;*/
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.solution h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #66ccff;
}

.solution p {
  font-size: 16px;
  color: #aaa;
}

/* Footer */
footer {
  background: rgba(0, 102, 204, 0.9);
  padding: 40px 0;
  text-align: center;
  margin: 10px;
  border-radius: 10px;
}

footer p {
  font-size: 14px;
  margin-top: 20px;
}

footer .social-links a {
  color: #fff;
  margin: 0 10px;
  font-size: 18px;
  transition: color 0.3s ease;
}

footer .social-links a:hover {
  color: #66ccff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
  }
  
  .nav-menu li {
    margin: 5px 0;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .hero-content p {
    font-size: 18px;
  }
}

    /* Стили для модального окна */
    .modal-container {
      display: none; /* скрыто по умолчанию */
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      z-index: 2000;
      justify-content: center;
      align-items: center;
    }
    .modal-content {
      position: relative;
      width: 95%;
      height: 95%;
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
    }
    .modal-content iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
    .close-modal {
      position: absolute;
      top: 1px;
      right: 2px;
      font-size: 24px;
      color: #888;
	  background:solid;
	  background-color:fff;
	  
      cursor: pointer;
      z-index: 2100;
    }
    .form-group {
      font-size: 24px;
      color: #888;
	  background:solid;
	  background-color:fff;
	  text-align:center;
    }

    .inputs {
	  width:400px;
	  height:30px;
    }

    #message {
	  margin-top: 7px;
	  width:400px;
	  height:100px;
    }
