:root {
  --primary-blue: #1976d2;
  --light-blue: #e3f2fd;
  --dark-blue: #0d47a1;
  --light-gray: #f8f9fa;
  --border-color: #dee2e6;
  --success-green: #46933d;
  --dark-gray: #404040;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

.header-s {
  background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
  text-align: center;
  padding: 60px 20px;
  margin-bottom: 0;
}

.header-s h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header-s p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 15px 0;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark-blue) !important;
  padding: 8px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background-color: var(--light-blue);
  color: var(--dark-blue) !important;
}

.navbar-nav .nav-link.active {
  background-color: var(--primary-blue);
  color: white !important;
}

section {
  padding: 60px 20px;
}

section h2 {
  color: var(--dark-blue);
  margin-bottom: 25px;
  font-size: 2rem;
  font-weight: 600;
}

.feature-item {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
}

.feature-item i {
  color: var(--primary-blue);
  font-size: 1.2rem;
  margin-right: 15px;
  min-width: 24px;
  margin-top: 4px;
}

.feature-item span {
  flex: 1;
}

.highlight {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.15rem;
}

.registry-link {
  color: #5a5353;
  font-weight: 500;
  display: flex;
  align-items: center;
  margin-top: 5px;
}

.registry-link i {
  margin-right: 8px;
  color: var(--primary-blue);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.image-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background: white;
}

.image-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.image-item img {
  width: 100%;
  height: auto;
  display: block;
}

.image-item .caption {
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  background: var(--light-gray);
}

.download-item {
  background: var(--light-gray);
  padding: 15px;
  /*border-radius: 8px;*/
  margin-bottom: 12px;
  border-left: 4px solid var(--primary-blue);
}

.contact-info {
  background: var(--light-gray);
  padding: 25px;
  border-radius: 10px;
  margin-top: 20px;
}

.contact-info p {
  margin-bottom: 15px;
}

.email {
  color: #28a745;
  font-weight: 700;
  font-size: 1.1rem;
}

footer {
  background: var(--dark-blue);
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
}

footer p {
  margin: 8px 0;
  opacity: 0.8;
}

.modal .modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

.modal .modal-body {
  padding: 20px;
}

.modal img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
}

@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        --bs-modal-width: 85vw;
    }
}

@media (max-width: 768px) {
  .header-s h1 {
    font-size: 2rem;
  }

  .header-s p {
    font-size: 1rem;
  }

  section {
    padding: 40px 15px;
  }

  .feature-item {
    flex-direction: column;
    margin-bottom: 25px;
  }

  .feature-item i {
    margin-bottom: 10px;
    margin-right: 0;
  }
}


/*ТГ*/
.soft__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.soft__steps-item {
    background-color: var(--dark-gray);
    border-radius: 12px;
    color: whitesmoke;
    font-weight: 600;
    padding: 25px;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.soft__steps-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.soft__steps-number {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ffd700;
    text-align: center;
}

.soft__steps-info {
    font-size: 1.1rem;
    line-height: 1.5;
}

.soft__steps-timing {
    display: block;
    font-size: 1.05rem;
    margin-top: 10px;
    opacity: 0.9;
}

.soft__steps-title {
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.end_step {
    background-color: var(--success-green);
}

