/* Основные стили */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

.title {
  font-size: 2.3em;
  font-weight: bold;
  text-align: center;
}

.description {
  font-size: 1.3em;
  text-align: start;
}

.cta-button {
  display: inline-block;
  background-color: #c62828;
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  margin-top: 20px;
  min-width: 44px;
  min-height: 44px;
  text-align: center;
}

.cta-button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
  transition: all 0.2s ease;
}

.cta-button:focus {
  outline: 2px solid #0056b3;
  outline-offset: 2px;
}

.container {
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header */
header {
  height: 90vh;
  background-position: center;
  background-image: url('img/army.png');
  color: rgb(255, 255, 255);
  padding: 80px 20px;
  text-align: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header-title {
  font-size: 4em;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
}

.header-description {
  font-size: 2.1em;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
}

.cta-button__header {
  font-size: 3em;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6), 0 0 12px rgba(0, 0, 0, 0.4);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(0, 0, 0, 0.3);
}

/* About */
.cards-container {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin-top: 30px;
  width: 90%;
  margin-left: 5%;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-left: 5px solid #c62828;
  padding: 20px;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 50px;
  margin-bottom: 15px;
}

.card-title {
  margin-top: 0;
  font-size: 1.6em;
  text-align: center;
}

.card-description {
  text-align: center;
  font-size: 1.2em;
}

.cards-image {
  min-width: 130px;
  min-height: 130px;
  margin-bottom: 15px;
  position: relative;
  left: 4.5em;
}

.stats {
  display: flex;
  justify-content: center;
  margin-top: 2.9em;
}

.stat {
  margin: 0 20px;
  text-align: center;
  font-size: 2.7em;
}

/* History */
.description__history {
  margin-bottom: 0;
}

.timeline {
  border-left: 5px solid #c62828;
  padding-left: 20px;
  margin-top: 0px;
}

.event {
  margin-bottom: 20px;
}

.event h4 {
  margin: 0;
  color: #c62828;
}

.quote__history {
  text-align: end;
  font-size: 1.2em;
  font-weight: 700;
}

.quote-author__history {
  background-color: #c62828;
  color: #fff;
  text-align: end;
  font-size: 0.8em;
  font-weight: 300;
  width: auto;
  max-width: 80%;
  left: auto;
  right: 0;
}

/* Bridge */
.bridge-section {
  padding: 0;
  text-align: center;
  position: relative;
}

.description__bridge {
  margin: 0 2em;
  font-size: 1.5em;
  color: #000000;
}

.bridge-section blockquote {
  font-size: 1.2em;
  font-style: italic;
  color: #555;
  margin-top: 30px;
  border-left: 9px solid #c62828;
  padding-left: 15px;
  max-width: 800px;
  margin-right: auto;
}

.quote__bridge {
  background-color: transparent;
  color: #b84141;
  text-align: start;
  font-size: 1.2em;
  margin-top: 0.8em;
  width: 80%;
  position: relative;
  left: 0;
}

.quote-author__bridge {
  background-color: #c62828;
  color: #fff;
  text-align: end;
  font-size: 0.9em;
  margin-top: 0.8em;
  position: relative;
  left: 0;
}

/* Patriot */
.slider-container {
  position: relative;
  width: 65%;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
  transform: translateX(0);
  height: auto;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  display: none;
  flex-direction: column;
  align-items: center;
  background: white;
  padding-bottom: 20px;
  font-size: 2.0em;
  min-height: 500px;
}

.slide img {
  width: 100%;
  height: auto;
  max-height: 500px;
  border-bottom: 1px solid #ddd;
  object-fit: cover;
}

.slide p {
  padding: 15px;
  font-size: 1em;
  color: #333;
}

.slide.active {
  display: flex;
}

.prev,
.next {
  position: absolute;
  top: 35%;
  font-size: 2em;
  color: #fdfdfd;
  background: none;
  border: none;
  transform: translateY(-50%);
  opacity: 0.5;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.prev:focus,
.next:focus {
  color: #f2dfdf;
  outline-offset: 2px;
  outline: none;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Quotes Section */
.quotes {
  padding: 40px 20px;
  background-color: #f5f5f5;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;
}

.title__quotes {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #c62828;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.quote__history {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #c62828;
  transition: transform 0.3s ease;
}

.quote__history:hover {
  transform: translateY(-3px);
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #0056b3;
  margin-right: 15px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2em;
}

.comment-avatar::before {
  content: '💬';
}

.quote-text {
  font-style: italic;
  font-size: 1.2em;
  color: #333;
  margin: 0;
  flex-grow: 1;
}

.section-quote_quote {
  margin-top: 10px;
  font-weight: bold;
  font-size: 1em;
  color: #555;
  display: block;
}

.comment-meta {
  font-size: 0.9em;
  color: #777;
  margin-top: 5px;
  display: block;
}

.likes {
  color: #c62828;
  margin-left: 5px;
}

/* AOS Animation Adjustments */
[data-aos="zoom-in"] {
  opacity: 0;
  transform: scale(0.95);
  transition-property: opacity, transform;
}

[data-aos="zoom-in"].aos-animate {
  opacity: 1;
  transform: scale(1);
}

/* Highlight */
.highlight {
  background-color: #fff;
  padding: 40px 20px;
  margin: 40px auto;
  max-width: 1200px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-left: none;
}

.title__highlight {
  font-size: 2em;
  font-weight: bold;
  color: #c62828;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.description__highlight {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 0;
  list-style: none;
}

.highlight-item {
  background-color: #f5f5f5;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 1.2em;
  color: #333;
  flex: 1 1 280px;
  max-width: 320px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-button__highlight {
  font-size: 1.8em;
  padding: 15px 40px;
  background-color: #c62828;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button__highlight:hover {
  background-color: #0056b3;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.cta-button__highlight:focus {
  outline: 2px solid #0056b3;
  outline-offset: 2px;
}

/* Footer */
footer {
  background-color: #333;
  color: #aaa;
  text-align: center;
  padding: 20px;
}

/* Purpose Section */
.purpose {
  padding: 60px 20px;
  background: transparent;
  max-width: 105%;
  margin: 0 auto;
  position: relative;
}

.title__purpose {
  font-size: 2.5em;
  font-weight: 700;
  color: #b71c1c;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.survey-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: start;
}

.survey-question {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-left: 6px solid #b71c1c;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.survey-question:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.survey-question h3 {
  font-size: 1.6em;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  text-align: left;
}

.survey-question label {
  display: flex;
  align-items: center;
  font-size: 1.4em;
  color: #444;
  margin-bottom: 15px;
  text-align: left;
}

.survey-question input[type="text"],
.survey-question input[type="date"],
.survey-question input[type="tel"] {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-left: 10px;
  font-size: 1em;
  width: 250px;
  box-sizing: border-box;
}

.survey-question input[type="date"] {
  width: 180px;
}

.survey-question input[type="text"]:focus,
.survey-question input[type="date"]:focus,
.survey-question input[type="tel"]:focus {
  outline: none;
  border-color: #b71c1c;
  box-shadow: 0 0 5px rgba(183, 28, 28, 0.3);
}

.survey-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  position: relative;
  z-index: 1000;
}
input[type="radio"] {
  -webkit-appearance: none; /* Убираем стандартный вид */
  -moz-appearance: none;
  appearance: none;
  width: 20px; /* Увеличиваем размер */
  height: 20px;
  border: 2px solid #b71c1c; /* Красный бордер */
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.survey-question input[type="radio"]:checked {
  border-color: #b71c1c;
}

.survey-question input[type="radio"]:checked::before {
  content: '';
  width: 12px;
  height: 12px;
  background-color: #b71c1c; /* Заполняем красным при выборе */
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.survey-question input[type="radio"]:hover {
  border-color: #d32f2f; /* Более светлый красный при наведении */
}

.nav-button {
  background-color: #c62828;
  color: #ffffff;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.nav-button.prev {
  background-color: #555;
}

.nav-button.prev:hover {
  background-color: #444;
}

.nav-button:hover:not(:disabled) {
  background-color: #0056b3;
  
}

.nav-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Форма данных */
.form-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-section h3 {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #c62828;
  text-align: center;
}

.form-field,
.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 10px;
  justify-content: space-around;
}

.form-field label,
.form-group label {
  flex: 0 0 140px;
  font-weight: bold;
  text-align: right;
  font-size: 1.2em;
  color: #333;
  margin-right: 10px;
}

.form-field input,
.form-group input {
  flex: 1;
  padding: 8px;
  font-size: 1.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  width: 100%;
}

.form-field input[type="date"],
.form-group input[type="date"] {
  padding: 10px;
}

.form-field input[type="tel"],
.form-group input[type="tel"] {
  padding: 10px;
}

/* Прогресс-бар */
.progress-bar {
  width: 100%;
  height: 20px;
  background-color: #e0e0e0;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #b71c1c, #d32f2f);
  border-radius: 10px;
  transition: width 0.5s ease-in-out;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.progress-percentage {
  color: #fff;
  font-size: 0.9em;
  font-weight: 500;
  padding-right: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.progress-text {
  text-align: center;
  font-size: 1.2em;
  color: #666;
  margin-bottom: 30px;
}

/* Стили для блока благодарности */
.thank-you {
  text-align: center;
  margin-top: 30px;
}

.thank-you h2 {
  font-size: 2.2em;
  font-weight: 700;
  color: #b71c1c;
  margin-bottom: 20px;
}

.thank-you p {
  font-size: 1.4em;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

/* Адаптивность */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  header {
    height: 60vh;
  }
  .container {
    padding: 20px 15px;
    margin: 0 1em;
  }
  .input[type="radio"] {
    width: 18px;
    height: 18px;
  }
  .header-title {
    font-size: 3.5em;
  }
  .header-description {
    font-size: 2em;
  }
  .cta-button__header {
    font-size: 2em;
    padding: 12px 24px;
  }
  .title {
    font-size: 2.5em;
  }
  .description__bridge {
    margin: 0 1em;
    font-size: 1.2em;
  }
  .description {
    font-size: 1.4em;
  }
  .cards-container {
    gap: 5px;
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 90%;
    max-width: 90vw;
    margin-bottom: 20px;
  }
  .cards-image {
    display: block;
    margin: 0 auto;
  }
  .stats {
    flex-direction: column;
    align-items: center;
    font-size: 2em;
  }
  .stat {
    margin: 10px 0;
    font-size: 1.5em;
  }
  .timeline {
    border-left: 5px solid #c62828;
    padding-left: 10px;
  }
  .event h4 {
    font-size: 1.4em;
  }
  .quote__history {
    font-size: 1.4em;
  }
  .title__quotes,
  .title__purpose {
    font-size: 2em;
  }
  .section-quote_quote {
    padding: 15px;
    margin: 15px 10px;
  }
  .quote-text {
    font-size: 1.1em;
  }
  .comment-avatar {
    width: 32px;
    height: 32px;
  }
  .timeline {
    margin: 0 10px;
  }
  .description__bridge {
    font-size: 1.2em;
  }
  .bridge-section blockquote {
    font-size: 1em;
  }
  .slider-container {
    width: 100%;
  }
  .slide {
    min-height: 300px;
  }
  .slide img {
    height: 300px;
  }
  .slide p {
    font-size: 0.9em;
  }
  .prev,
  .next {
    font-size: 1.5em;
  }
  .survey-question {
    padding: 20px;
  }
  .survey-question h3 {
    font-size: 1.4em;
  }
  .survey-question label {
    font-size: 1em;
  }
  .survey-question input[type="text"],
  .survey-question input[type="date"],
  .survey-question input[type="tel"] {
    width: 100%;
    margin-left: 0;
    margin-top: 5px;
  }
  .nav-button {
    padding: 10px 20px;
    font-size: 16px;
    max-width: 140px;
  }
  .form-section,
  .survey-form {
    max-width: 90%;
  }
  .form-field,
  .form-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-field label,
  .form-group label {
    flex: 0 0 100%;
    text-align: left;
    margin-bottom: 5px;
    margin-right: 0;
  }
  .survey-navigation {
    flex-direction: column;
    gap: 10px;
  }
  .nav-button {
    width: 100%;
    padding: 12px;
  }
  .thank-you h2 {
    font-size: 1.8em;
  }
  .thank-you p {
    font-size: 1.2em;
  }
  .progress-bar {
    height: 18px;
  }
  .progress-percentage {
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  footer {
    font-size: 0.9em;
  }
  .container {
    padding: 15px 10px;
    margin: 0 0.5em;
  }
  .header-title {
    font-size: 2.5em;
  }
  .header-description {
    font-size: 1.5em;
  }
  .cta-button__header {
    font-size: 1.5em;
    padding: 10px 20px;
  }
  .title {
    font-size: 2em;
  }
  .description {
    font-size: 1.2em;
  }
  .card {
    width: 95%;
  }
  .input[type="radio"] {
    width: 15px;
    height: 15px;
  }
  
  .stats {
    font-size: 1.5em;
  }
  .quote__history {
    font-size: 1.2em;
  }
  .slide {
    min-height: auto;
  }
  .slide img {
    height: 200px;
  }
  .slide p {
    font-size: 0.8em;
  }
  .prev,
  .next {
    font-size: 1.2em;
  }
  .title__quotes,
  .title__purpose {
    font-size: 1.8em;
  }
  .section-quote_quote {
    padding: 10px;
    margin: 10px 5px;
  }
  .quote-text {
    font-size: 1em;
  }
  .survey-question {
    padding: 15px;
  }
  .survey-question h3 {
    font-size: 1.2em;
  }
  .survey-question input[type="text"],
  .survey-question input[type="date"],
  .survey-question input[type="tel"] {
    width: 100%;
    margin-left: 0;
    margin-top: 5px;
  }
  .highlight {
    padding: 20px 10px;
  }
  .title__highlight {
    font-size: 1.5em;
  }
  .highlight-item {
    font-size: 1em;
    padding: 12px 20px;
  }
  .cta-button__highlight {
    font-size: 1.3em;
  }
  .thank-you h2 {
    font-size: 1.6em;
  }
  .thank-you p {
    font-size: 1em;
  }
  .progress-bar {
    height: 16px;
  }
  .progress-percentage {
    font-size: 0.7em;
  }
}