/* =========================================
   ФУТЕР (MAIN FOOTER) — СВЕТЛАЯ ТЕМА (ПО УМОЛЧАНИЮ)
   ========================================= */
.main-footer {
  background: #f8f9fa; /* Мягкий светло-серый фон */
  padding: 40px 0 20px;
  color: #003a69; /* Твой фирменный темный синий */
  border-top: 1px solid #e9ecef;
}

.main-footer .footer-logo {
  margin-bottom: 5px;
  font-weight: 600;
  color: #003a69;
}

.main-footer .footer-motto {
  margin-bottom: 0;
  font-size: 0.9em;
  opacity: 0.8;
}

.main-footer .footer-nav a {
  color: #003a69; 
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.main-footer .footer-nav a:hover {
  opacity: 0.7;
}

/* Общие стили для иконок */
.main-footer .social-icon {
  display: inline-block;
  margin-left: 10px;
  color: #495057; 
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Брендовые цвета при наведении (работают и в светлой, и в темной теме) */
.main-footer .social-icon.youtube-icon:hover {
  transform: translateY(-3px);
  color: #ff0000; /* Фирменный красный YouTube */
}

.main-footer .social-icon.telegram-icon:hover {
  transform: translateY(-3px);
  color: #24a1de; /* Фирменный голубой Telegram */
}

.main-footer .footer-bottom {
  font-size: 0.8em;
  opacity: 0.6;
  padding-top: 15px;
  border-top: 1px solid #dee2e6;
}


 /* =========================================
   СТРАНИЦА ABOUT (СВЕТЛАЯ ТЕМА)
   ========================================= */
.about-section {
  background-color: #faf9f9; /* Тот самый светлый фон */
  color: #212529;
  padding: 80px 0 60px;
  min-height: 80vh;
}

.about-heading {
  color: #003a69; /* Фирменный темный синий */
  font-weight: 700;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
}

.about-manifesto {
  font-size: 1.15rem;
  font-style: italic;
  color: #6c757d;
  border-left: 4px solid #003a69;
  padding-left: 20px;
  margin: 30px 0;
}

.project-card-main {
  position: relative;
  border-radius: 12px;
  height: 100%;
  min-height: 350px;
  overflow: hidden; /* Обрезает видео по закругленным углам */
  box-shadow: 0 8px 25px rgba(0, 58, 105, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}
.project-card-main:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 58, 105, 0.2);
}
.card-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.card-content-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 15, 30, 0.65); /* Темно-синий полупрозрачный слой для читаемости текста */
  width: 100%;
  height: 100%;
  padding: 72px 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 0.3s ease;
}
@media (max-width: 1000px) {
  .card-content-overlay {
  padding: 72px 10px;
}
}
.project-card-main:hover .card-content-overlay {
  background: rgba(0, 15, 30, 0.5); /* При наведении видео становится чуть светлее */
}

.project-badge {
  display: inline-block;
  background: #003a69;
  color: #fff;
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
}

.project-card-title {
  color: #003a69;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.project-card-title:hover {
  color: #a5d2ff;
}
.project-card-main:hover .card-content-overlay {
  background: rgba(0, 15, 30, 0.5); /* При наведении видео становится чуть светлее */
}

.project-card-text {
  color: #495057;
  font-size: 1.05rem;
  line-height: 1.6;
}

.btn-outline-brand {
  color: #003a69;
  border: 1px solid #003a69;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-brand:hover {
  background: #003a69;
  color: #ffffff;
}

.other-projects-title {
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: #6c757d;
}

.other-projects-link {
  color: #003a69;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.other-projects-link:hover {
  color: #a5d2ff;
  border-bottom-color: #a5d2ff;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 12px 30px;
  border-radius: 50px; /* Скругленная форма "таблетки" */
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.btn-youtube {
  background-color: #ff0000;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-youtube:hover {
  color: #ffffff;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.5);
}

.btn-telegram {
  background-color: #24a1de;
  box-shadow: 0 4px 15px rgba(36, 161, 222, 0.3);
}

.btn-telegram:hover {
  color: #ffffff;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 25px rgba(36, 161, 222, 0.5);
}