/* Основные переменные и сброс стилей */
:root {
  --primary: #4a6fa5;   
  --secondary: #f9a826; 
  --accent: #6bb8b2;    
  --light: #f8f9fa;
  --dark: #2c3e50;
  --text: #333333;
  --gray: #6c757d;
  --error: #e74c3c;
  --success: #2ecc71;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #fff;
}

/* Типография */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark);
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style-position: inside;
}

/* Основные классы */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.section-title {
  position: relative;
  margin-bottom: 50px;
  font-size: 2.2rem;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 15px auto 0;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background: #e8971d;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(249, 168, 38, 0.4);
}

.btn-secondary {
  background: var(--primary);
}

.btn-secondary:hover {
  background: #3a5a8a;
  box-shadow: 0 5px 15px rgba(74, 111, 165, 0.4);
}

/* Секции */
section {
  padding: 80px 0;
  position: relative;
}

/* Шапка */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
  border-radius: 5px;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #dc7646;
}

.logo-text span {
  color: var(--accent);
}

/* Навигация */
nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 30px;
  position: relative;
}

nav a {
  color: var(--dark);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 5px 0;
  display: flex;
  align-items: center;
}

nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

nav a:hover:after,
nav a.active:after {
  width: 100%;
}

/* Мобильное меню */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  z-index: 1001;
}

/* Выпадающее меню */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 5px;
  min-width: 200px;
  display: none;
  z-index: 100;
  padding: 10px 0;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  padding: 10px 20px;
  display: block;
  transition: var(--transition);
  color: var(--dark);
}

.dropdown-menu a:hover {
  background: #f5f5f5;
  color: var(--primary);
}

.dropdown i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.dropdown:hover i {
  transform: rotate(180deg);
}

/* Hero секция */
.hero {
  height: 100vh;
  min-height: 700px;
  background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), 
              url('https://images.unsplash.com/photo-1543269865-cbf427effbad?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title-rest {
  color: white;
  display: block;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-contact {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
}

.hero-contact a {
  color: white;
  display: inline-block;
  margin: 0 15px;
  transition: var(--transition);
}

.hero-contact a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

.logo-orange {
  color: var(--secondary);
}

/* О нас */
.about {
  background: var(--light);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-points {
  margin-top: 30px;
}

.about-point {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.point-icon {
  background: var(--secondary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

/* Программы */
.programs {
  background: white;
}

.programs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.program-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid #eee;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-image {
  height: 200px;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
  transform: scale(1.1);
}

.program-content {
  padding: 25px;
}

.program-content h3 {
  color: var(--primary);
  font-size: 1.5rem;
}

.program-content ul {
  margin: 15px 0 20px;
  padding-left: 20px;
}

.program-content li {
  margin-bottom: 8px;
}

/* Преимущества */
.advantages {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.advantages-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.advantage-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  width: calc(33.333% - 30px);
  max-width: 300px;
  margin-bottom: 30px;
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  background: rgba(249, 168, 38, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--secondary);
  font-size: 2rem;
}

/* Команда */
.team {
  background: white;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-photo {
  height: 250px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .team-photo img {
  transform: scale(1.1);
}

.team-info {
  padding: 25px;
}

.team-info h3 {
  color: var(--primary);
  margin-bottom: 5px;
}

.position {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
}

/* Форма */
.contact-form {
  background: linear-gradient(135deg, var(--primary) 0%, #3a5a8a 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1516321497487-e288fb19713f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  opacity: 0.1;
}

.form-container {
  position: relative;
  z-index: 2;
}

.form-title {
  color: white;
}

.form-title:after {
  background: var(--accent);
}

.form-wrapper {
  display: flex;
  gap: 50px;
  align-items: center;
}

.form-text {
  flex: 1;
}

.form-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.form-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2);
}

.form-control.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.form-btn {
  width: 100%;
  padding: 14px;
  font-size: 1.125rem;
}

/* FAQ */
.faq {
  background: var(--light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.faq-question {
  background: white;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: white;
}

.faq-answer p {
  padding: 20px 0;
  border-top: 1px solid #eee;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Контакты */
.contacts {
  background: white;
}

.contacts-container {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-icon {
  background: var(--secondary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-text h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.contact-map {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  transform: translateY(-5px);
}

/* Подвал */
footer {
  background: var(--dark);
  color: white;
  padding: 50px 0 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  max-width: 200px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.footer-col h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bbb;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links i {
  margin-right: 8px;
  color: var(--accent);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bbb;
  font-size: 0.875rem;
}

/* Детальные секции */
.detailed-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.detailed-section .container {
  max-width: 900px;
}

.section-subtitle {
  font-size: 1.8rem;
  color: var(--primary);
  margin: 40px 0 20px;
  position: relative;
  padding-left: 20px;
}

.section-subtitle:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 80%;
  background: var(--secondary);
}

.section-minititle {
  font-size: 1.4rem;
  color: var(--accent);
  margin: 30px 0 15px;
  padding-left: 20px;
  border-left: 3px solid var(--secondary);
}

.content-block {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.feature-list {
  list-style-type: none;
  padding-left: 0;
}

.feature-list li {
  padding: 15px 0 15px 30px;
  position: relative;
  border-bottom: 1px solid #eee;
}

.feature-list li:before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--accent);
}

.methodology {
  background: rgba(107, 184, 178, 0.1);
  border-left: 4px solid var(--accent);
  padding: 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

.service-detail {
  margin-bottom: 40px;
}

.service-detail h4 {
  color: var(--primary);
  margin-bottom: 15px;
}

/* Пропустить навигацию */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 1rem;
  background: var(--primary);
  color: white;
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* Анимации */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .about-content, 
  .form-wrapper, 
  .contacts-container {
    flex-direction: column;
  }
  
  .about-image, 
  .form-text, 
  .form-box, 
  .contact-info, 
  .contact-map {
    width: 100%;
  }
  
  section {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .advantage-card {
    width: calc(50% - 30px);
  }
  
  .form-box {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav ul {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: left 0.3s ease;
  }
  
  nav ul.active {
    left: 0;
  }
  
  nav li {
    margin: 15px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  
  .advantage-card {
    width: 100%;
    max-width: 350px;
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    display: none;
    margin-top: 10px;
  }
  
  .dropdown-menu.show {
    display: block;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .form-box {
    padding: 20px;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
  
  .hero-contact {
    font-size: 1rem;
    flex-direction: column;
    gap: 10px;
  }
  
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .contact-icon {
    margin-bottom: 10px;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .program-card {
    min-width: 280px;
  }
}

/* Команда */
.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-photo {
    height: 250px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 160%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .team-photo img {
    transform: scale(1.05);
}

.team-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-info h3 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.team-member .team-details {
  max-height: 0;
  opacity: 0;
  transition: all 0.4s ease;
}

.team-member.active .team-details {
  max-height: 500px; 
  opacity: 1;
  padding-top: 15px;
  margin-top: 15px;
  border-top: 1px solid #eee;
}

.position {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    font-size: 0.9rem;
}

.short-info {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray);
    flex-grow: 1;
}

.toggle-details {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 0;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.toggle-details:hover {
    color: var(--accent);
}

.toggle-details i {
    transition: transform 0.3s ease;
}

.team-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    margin-top: 0;
    border-top: 0 solid #eee;
    transition: 
        max-height 0.4s ease,
        opacity 0.4s ease,
        padding-top 0.4s ease,
        margin-top 0.4s ease,
        border-top 0.4s ease;
}

.team-details ul {
    margin-bottom: 10px;
    padding-left: 20px;
}

.team-details li {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .team-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .team-container {
        grid-template-columns: 1fr;
    }
}

/* === Видеогалерея === */
.video-gallery {
    padding: 80px 0;
    background: var(--light);
    position: relative;
}

.video-gallery .section-title {
    margin-bottom: 50px;
}

.language-switcher {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.lang-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--secondary);
    transform: scale(1.05);
}

.lang-btn:hover:not(.active) {
    background: #3a5a8a;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 15px 0;
    color: var(--dark);
}

.blog-content {
    padding: 15px;
    position: relative;
}

.blog-text {
    display: none;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
    border-left: 3px solid var(--accent);
}

.blog-text.active {
    display: block;
}

.blog-text p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.blog-text ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.blog-text li {
    margin-bottom: 8px;
}

@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-text {
        max-height: 250px;
    }
}

@media (max-width: 576px) {
    .video-gallery {
        padding: 60px 0;
    }
    
    .lang-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}
