* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
}

body {
    background: #fff5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

header {
    background: #b30000;
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px; 
}

.logo-img {
    height: 50px; 
    width: auto;
    border-radius: 5px;
}

.logo-text {
    font-weight: bold;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: 1px;
    border-bottom: 2px solid transparent;
    transition: 0.3s ease;
    cursor: pointer;
}

.logo-text:hover {
  border-bottom: 2px solid white;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a, nav button {
    color: #fff;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

nav a:hover, nav button:hover {
    opacity: 0.8;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: 8px;
  padding: 5px 0;
  margin: 0;
  list-style: none;
  min-width: 200px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: #333333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
  background: #b30000; 
  color: #ffffff; 
  transform: translateX(5px); 
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.btn-outline {
    border: 2px solid #fff;
    padding: 6px 12px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.btn-outline:hover {
    background-color: #fff;
    color: #b30000;
}

.hero {
    background: linear-gradient(to right, #ff4d4d, #ff9999);
    color: #fff;
    padding: 60px 0;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.hero-text {
    flex: 1;
    min-width: 260px;
}

.hero-text h1 {
    font-size: 30px;
    margin-bottom: 15px;
}

.hero-text p {
    margin-bottom: 25px;
    font-size: 18px;
}

.btn {
    background: #fff;
    color: #b30000;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
}

.btn:hover {
    background-color: #f0f0f0;
}

.hero-img img {
    max-width: 340px;
    border-radius: 50% 10% 30% 10%;
    box-shadow: 20px 20px 24px rgba(0, 0, 0, 0.25);
}

.stats {
    background: #ffe6e6;
    padding: 40px 0;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat h2 {
    color: #b30000;
    font-size: 28px;
    margin-bottom: 5px;
}

.stat p {
    font-size: 16px;
}

.partners {
    padding: 40px 0;
    background: #fff0f0;
    text-align: center;
}

.partners h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #b30000;
}

.partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.partners-logos img {
    max-height: 60px;
    margin: 10px;
    transition: transform 0.3s ease;
}

.partners-logos img:hover {
    transform: scale(1.1);
}

.news {
    padding: 60px 0;
}

#news_in_main_page {
    background-color: #fff;
}

.news h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #b30000;
}

.news-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.news-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-photo {
    height: 180px;
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.news-topic {
    text-align: center;
    font-size: 18px;
    color: #b30000;
    margin-bottom: 10px;
}

.read-more-wrapper {
    text-align: center;
}

.read-more-btn {
    display: inline-block;
    margin-top: 15px;
    background-color: #b30000;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(179, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    background-color: #990000;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(153, 0, 0, 0.2);
}

.about-section {
    padding: 60px 0;
    line-height: 1.6;
    color: #333;
}

.about-section section:hover {
    transform: translateY(-5px);
}

.about-section .container {
    position: relative;
    z-index: 1;
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section h1 {
    text-align: left;
    font-size: 32px;
    color: #b30000;
    margin-bottom: 40px;
}

.about-section section {
    max-width: 100%;
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 4px 8px rgba(179, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

#twix {
  display: flex;
  gap: 20px;
}

#twix section {
  width: 50%;
}

.about-section section h2 {
    color: #b30000;
    margin-bottom: 10px;
    font-size: 24px;
    text-align: left;
}

.about-section section ul {
  padding: 10px 25px;
  list-style: none;
  display: block;
  gap: 20px;
  align-items: left;
}

.about-section p {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

.about-section img {
    border-radius: 10px;
    max-width: 100%;
    margin-top: 15px;
} 

.about-section section img {
  height: 10%;
  display: block;
  margin: auto;
}

.directions {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #b30000;
    margin-bottom: 40px;
}

.direction-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    background-color: #fff5f5;
}

.direction-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 400px;
}

.direction-card:hover {
    transform: translateY(-5px);
}

.direction-card img {
    height: 200px;
    margin: 0 auto 15px;
    border-radius: 10px;
}

.direction-card h3 {
    color: #b30000;
    font-size: 16px;
    margin-bottom: 10px;
}

.direction-card h2 {
    color: #c42f2f;
    font-size: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid #8f0000;
}

.direction-card p {
    font-size: 14px;
    color: #555;
    flex-grow: 1; 
}

.contacts {
    background-color: #fff0f0;
    padding: 60px 0;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 280px;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.contact-info a {
    color: #b30000;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 5px;
}

.contact-map {
    flex: 1;
    min-width: 280px;
}

.volunteer-form-section {
    position: relative;
    background: url('Images/Be_Volunteer_BG.png') center center / cover no-repeat;
    padding: 50px 0;
    text-align: center;
    color: white;
    overflow: hidden;
}

.volunteer-form-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 245, 245, 0.8);
    z-index: 0;
}

.volunteer-form-section .container {
    position: relative;
    z-index: 1;
}

.volunteer-form-section h2 {
    color: #b30000;
    font-size: 32px;
    margin-bottom: 30px;
}

.volunteer-form {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #ffcccc;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(179, 0, 0, 0.1);
}

.volunteer-form label {
    display: block;
    text-align: left;
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

.volunteer-form input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.volunteer-form input:focus {
    border-color: #b30000;
    outline: none;
}

select {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    font-size: 16px;
    font-family: inherit;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

select:focus {
    outline: none;
    border-color: #b30000;
    box-shadow: 0 0 0 3px rgba(179, 0, 0, 0.2);
}


form button[type="submit"] {
    display: block;
    margin: 30px auto 0 auto;
    background-color: #b30000;
    color: white;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

form button[type="submit"]:hover {
    background-color: #990000;
    transform: scale(1.03);
}

form button[type="submit"]:active {
    transform: scale(0.98);
}

#submitPreQuiz {
  display: block;
  margin: 20px auto 0;
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 5px;
  cursor: not-allowed;
  transition: background-color 0.3s ease;
}

#submitPreQuiz.active {
  background: #4caf50;
  cursor: pointer;
}

.video-lessons {
  display: flex;
  flex-direction: row;
  margin: 40px 20px;
  align-items: center; 
}

.video-sidebar {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 55vh;
}

.video-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.video-sidebar li {
  margin-bottom: 15px;
  cursor: default;
  padding: 12px 14px;
  border-radius: 8px;
  background-color: #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.video-sidebar li h1 {
  text-align: center;
  width: 100%;
  font-weight: 400;
}

.video-sidebar li.active {
  background-color: #ffeaea;
  font-weight: bold;
}

.video-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.video-content iframe {
  border-radius: 10px;
  width: 100%;
  max-width: 720px;
  height: 405px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.video-buttons {
  padding: 12px 24px;
  background-color: #d80027;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.video-buttons:hover {
  background-color: #b30020;
}

.checkmark {
  color: green;
  visibility: hidden;
}

.checkmark.visible {
  visibility: visible;
}

.btn-reset {
  background-color: #fff;
  color: #b10000;
  border: 2px solid #b10000;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
  margin: auto;
}

.reset-btn-wrapper {
  text-align: center;
  margin-top: 20px;
  list-style: none;
}


.btn-reset:hover {
  background-color: #b10000;
  color: #fff;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  max-width: 500px;
  width: 100%;
  position: relative;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

#certificate {
  display: block;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.news-history {
    display: block;
    padding: 60px 0;
}

.news-history h2 {
    text-align: left;
    color: #b30000;
    font-size: 18px;
    
}

.news-history section {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(179, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-history section:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.news-history .texts {
    display: block;
    padding: 0 20px;
}

.news-history .texts ul {
  padding: 0 40px;
}

.news-history .texts ul li {
  font-size: 14px;
}

.news-history img {
    height: 150px;
    width: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.news-history .container {
    max-width: 960px;
}

.news-history p {
    text-align: left;
    color: #000;
    font-size: 14px;
}

.news-card section:hover {
    transform: translateY(-5px);
}

.news-history .news-photo {
  width: 300px;
  height: 100%;
  border-radius: 10px;
  display: block;
  margin-top: auto;
  margin-bottom: auto;
}

.news-history h2 {
  color: #b30000;
  margin-bottom: 10px;
  font-size: 20px;
}

#download_documents {
  color: #b30000;
  margin-bottom: 10px;
  font-size: 20px;
  width: 100%;
  text-align: center;
}

.news-history .texts {
  flex: 1;
}

#show-more-btn {
  background-color: #b30000;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#show-more-btn:hover {
  background-color: #8f0000;
  transform: translateY(-2px);
}

#show-more-btn:active {
  transform: scale(0.98);
}

.show-more-container {
  margin-top: 20px;
  text-align: center;
}

.podcast-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.podcast-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  margin-bottom: 40px;
  transition: transform 0.3s ease;
}

.podcast-card:hover {
  transform: translateY(-5px);
}

.podcast-card iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.podcast-info {
  padding: 20px;
}

.podcast-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #b30000;
}

.podcast-info p {
  font-size: 16px;
  color: #444;
}

.skills-group {
  border: none;
  padding: 0;
  margin: 1em 0;
}

.skills-group legend {
  font-weight: bold;
  margin-bottom: 0.5em;
  display: block;
}

.checkbox-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
  cursor: pointer;
  user-select: none;
}

.checkbox-item input[type="checkbox"] {
  /* убираем стандарт */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 18px;
  height: 18px;
  border: 2px solid #555;
  border-radius: 4px;
  margin-right: 8px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-item input[type="checkbox"]:checked {
  background-color: #B30000;
  border-color: #B30000;
}

.checkbox-item input[type="checkbox"]:checked::after {
  content: "✔";
  color: #fff;
  font-size: 14px;
  position: absolute;
  left: 2px;
  top: -1px;
}

.checkbox-item span {
  font-size: 15px;
}


.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

#quizQuestionContainer {
  font-size: 18px;
  line-height: 1.6;
}

#quizQuestionContainer label {
  display: block;
  margin-top: 8px;
  cursor: pointer;
}

#quizQuestionContainer input[type="radio"] {
  margin-right: 10px;
}

.progress-bar {
    height: 12px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
  }

  .progress-fill {
    height: 100%;
    width: 0%;
    background-color: #4CAF50;
    transition: all ease 0.3s;
  }

  #quizContent h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

.answer {
    display: block;
    background: #f1f1f1;
    margin: 8px 0;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
  }

  .answer:hover {
    background-color: #e0e0e0;
  }

  .answer.selected {
    background-color: #cce5ff;
  }

#quizSection {
  display: none;
  background-color: #f9f9f9;
  padding: 40px 20px;
  max-width: 700px;
  margin: 40px auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', sans-serif;
}

#quizSection h2 {
  font-size: 24px;
  color: #b30000;
  margin-bottom: 25px;
  text-align: center;
}

#quizForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quiz-question {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.quiz-question h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.quiz-question label {
  display: block;
  margin: 5px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 6px 10px;
  border-radius: 8px;
}

.quiz-question input[type="radio"] {
  margin-right: 10px;
}

.quiz-question label:hover {
  background-color: #ffe5e5;
}

#submitQuizBtn {
  display: block;
  margin: 30px auto 0;
  padding: 12px 30px;
  font-size: 16px;
  background-color: #b30000;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#submitQuizBtn:hover {
  background-color: #990000;
}

#nextQuestionBtn {
  display: block;
  margin: 20px auto 0;
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 5px;
  cursor: not-allowed;
  transition: background-color 0.3s ease;
}

.gallery-section h2 {
  text-align: center;
  color: #b30000;
}

.gallery-section h1 {
  color: #b30000;
}

#gallery-container {
  width: 90%;
  margin: auto;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 20px 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 20px;
  padding: 10px 0;
  scroll-behavior: smooth;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  list-style: none;
}

.carousel-track li {
  list-style: none;
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 600px;
  height: 400px;
}

.carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#AboutUsPhoto {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */

.burger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 768px) {
  .nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background-color: #b30000;
    padding: 15px;
    z-index: 100;
  }

  .about-section .container {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 auto; 
    padding: 0px;
  }

  .nav ul.active {
    display: flex;
  }

  .burger {
    display: block;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .stats-container,
  .contact-content {
    flex-direction: column;
    align-items: center;
  }

  #twix {
    flex-direction: column;
  }

  #twix section {
    width: 100%;
  }

  #AboutUsPhoto {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  }

  .video-lessons {
    flex-direction: column;
  }

  .news-history section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    max-height: 200px;
    overflow: hidden;
  }

  .news-history .news-photo {
    width: 40%;
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    margin: auto 0;
    display: block;
    padding-left: 15px;
  }

  .news-history .texts {
    width: 60%;
    overflow: hidden;
    padding: 0px;
  }

  .news-history .texts h2 { 
    font-size: 1.5vh;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .news-history .texts p {
    font-size: 1vh;
    line-height: 1.4;
  }

  .carousel-track li {
    width: 90vw;
    height: auto;
  }

  .about-section section {
    max-width: 100%;
    background: #fff;
    padding: 25px 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 4px 8px rgba(179, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
  }

  .dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: white; 
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
  }

  .dropdown-menu li a:hover {
    background: #b30000;
    color: white;
    transform: none;
  }

  .news-history section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    max-height: none;
    overflow: visible;
  }

  .news-history .news-photo {
    width: 80%; 
    max-width: 300px;
    height: auto; 
    border-radius: 8px;
    margin: 0 auto;
  }

  .news-history .texts {
    width: 100%;
    padding: 0 15px;
    text-align: center; 
  }

  .news-history .texts h2 {
    font-size: 16px;
    line-height: 1.3;
     margin-bottom: 10px;
  }

   .news-history .texts ul {
    margin-bottom: 10px;
  }

  .news-history .texts ul li {
    font-size: 14px;
    text-align: left;
  }

  .news-history .texts p {
    font-size: 14px;
    margin-top: 10px;
  }

  .video-content iframe {
    border-radius: 10px;
    width: 100%;
    max-width: 720px;
    height: 300px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
  }

  .logo-img {
    height: 40px; 
    width: auto;
    border-radius: 5px;
  }
}