/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Шапка */
.main-header {
  position: relative;
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, white 0%, #1a4b8c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Титулка */
.main-header img {
  width: 100%;
}

.language-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: white;
  border-radius: 9999px;
  padding: 4px;
  display: flex;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.language-btn {
  padding: 6px 12px;
  border-radius: 9999px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}

.language-btn.active {
  background-color: #2563eb;
  color: white;
}

/* Навигация с выпадающими подразделами */
.main-nav {
  background-color: #1f2937;
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  width: 100%;
  padding: 12px 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.nav-item {
  position: relative;
  flex: 1 0 auto;
  text-align: center;
}


.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 4px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-link:hover {
  color: #93c5fd;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1f2937;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu,
.submenu:hover {
  opacity: 1;
  visibility: visible;
}

.submenu a {
  color: white;
  padding: 10px 15px;
  display: block;
  text-decoration: none;
  transition: background-color 0.2s;
  font-size: 0.9rem;
}

.submenu a:hover {
  background-color: #374151;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 10px;
  cursor: pointer;
}

/* Основной контент */
.main-content {
  padding: 40px 0;
}

/* Стили для подразделов */
.subsection {
  margin-bottom: 30px;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subsection-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1e3a8a;
  border-bottom: 2px solid #1e3a8a;
  padding-bottom: 5px;
}

/* Общие стили для слайдшоу */
.main-container {
  display: flex;
  gap: 1%;
}

.conditions1,
.conditions2 {
  display: grid;
}

/* Слайдеры */
.slideshow-container-1,
.slideshow-container-2,
.slideshow-container-3,
.slideshow-container-4,
.slideshow-container-5 {
  position: relative;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
  height: 400px;
  width: 100%;
  max-width: 800px;
}

.slideshow-container-1 img,
.slideshow-container-2 img,
.slideshow-container-3 img,
.slideshow-container-4 img,
.slideshow-container-5 img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.slideshow-container-1 h3,
.slideshow-container-2 h3,
.slideshow-container-3 h3,
.slideshow-container-4 h3,
.slideshow-container-5 h3 {
  font-size: 1.5rem;
  color: #1e3a8a;
  margin: 10px 0;
  text-align: center;
}

.slideshow-container-1 p,
.slideshow-container-2 p,
.slideshow-container-3 p,
.slideshow-container-4 p,
.slideshow-container-5 p {
  font-size: 1rem;
  color: #6b7280;
  margin: 0 0 15px;
  padding: 0 15px;
  text-align: center;
  max-height: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mySlides1 {
  padding: 0;
  margin: 0;
}

/* Кнопки навигации */
.prev,
.next {
  position: absolute;
  top: 65%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.prev:hover,
.next:hover {
  background-color: rgba(255, 255, 255, 1);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Модальное окно */
#zat {
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  z-index: 999;
  cursor: pointer;
}

#modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  height: auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

#modal img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* Видеоролик */
.video-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
  height: 400px;
  overflow: hidden;

}

.video-container h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #1e3a8a;
}

.video-container p {
  color: #6b7280;
  margin-bottom: 15px;
}

.video-container video {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 4px;
}

/* Видео-слайдер */
.video-slider-section {
  margin-bottom: 50px;
}

.video-slider-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}

.video-slider {
  position: relative;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 400px;
}

.video-slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.video-slider-nav-btn {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
}

.video-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;/
}

.video-slide.active {
  display: flex;
}

.video-slide video {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.video-slide h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.video-slide p {
  color: #6b7280;

}

.video-pagination {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
  margin-top: 10px;
}

.video-pagination-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #d1d5db;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.video-pagination-btn.active {
  background-color: #2563eb;
}

.video-info {
  text-align: center;
  margin: 10px 0;
}

.video-title {
  font-size: 1.25rem;
  color: #1e3a8a;
}

.video-description {
  color: #6b7280;
  font-size: 1rem;
}

/* Раздел "О нас" */
.about-section {
  margin-bottom: 50px;
}

.about-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.about-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 24px;
}

.about-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.about-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #1e3a8a;
}

.about-card p {
  color: #6b7280;
}

/* Галерея */
.gallery-section {
  margin-bottom: 50px;
}

.gallery-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.gallery-item {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 16px;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}

.gallery-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.slideshow-container-new {
  position: relative;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
  height: 400px;
  /* Установите высоту по вашему усмотрению */
}

.slideshow-container-new h3 {
  font-size: 1.5rem;
  color: #1e3a8a;
  margin: 10px 0;
  text-align: center;
}

.slideshow-container-new p {
  font-size: 1rem;
  color: #6b7280;
  margin: 0 0 15px;
  padding: 0 15px;
  text-align: center;
  max-height: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mySlidesNew {
  display: none;
  /* Скрыть все слайды по умолчанию */
}

.mySlidesNew img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.mySlidesNew .prev,
.mySlidesNew .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mySlidesNew .prev:hover,
.mySlidesNew .next:hover {
  background-color: rgba(255, 255, 255, 1);
}

.mySlidesNew .prev {
  left: 10px;
}

.mySlidesNew .next {
  right: 10px;
}

/* Подразделы галереи */
.gallery-subsection {
  margin-bottom: 40px;
}

/* Стили для контейнера "Сделать заказ" */
.order-section {
  margin: 50px 0;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.order-section h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: #1e3a8a;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group textarea {
  resize: none;
}

.submit-btn {
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #1d4ed8;
}

/* Футер */
.footer {
  background-color: #1f2937;
  color: white;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 1.25rem;
  font-weight: 6
}

.footer-column p {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-column p i {
  width: 20px;
  text-align: center;
}

.newsletter-form {
  display: flex;
  margin-top: 16px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 4px 0 0 4px;
}

.newsletter-btn {
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 8px 16px;
  cursor: pointer;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.social-links a {
  color: white;
  font-size: 1.25rem;
  transition: color 0.2s;
}

.social-links a:hover {
  color: #93c5fd;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  color: #9ca3af;
}

.footer-bottom a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: white;
}

.scroll-to-top {
  position: fixed;
  bottom: 2%;
  right: 2%;
  background-color: #2563eb;
  color: white;
  border-radius: 50%;
  width: 5vw;
  height: 5vw;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top:hover {
  background-color: #1d4ed8;
  transform: scale(1.1);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* No select */
body h2,
body h3,
body h4,
body p,
footer h2,
footer h3,
footer h4,
footer p,
header h2,
header h3,
header h4,
header p {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}


/* Адаптация для мобильных устройств */

/* Адаптивность для экранов 1024px min */
@media (min-width: 1024px) {
  .slideshow-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Адаптивность для экранов 912px */
@media (max-width: 912px) {

  .slideshow-container-1,
  .slideshow-container-2,
  .slideshow-container-3,
  .slideshow-container-4,
  .slideshow-container-5 {
    position: relative;
    height: 300px;
  }

  .slideshow-container-1 img,
  .slideshow-container-2 img,
  .slideshow-container-3 img,
  .slideshow-container-4 img,
  .slideshow-container-5 img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .video-container {
    height: 300px;
  }

  .video-container video {
    height: 150px;
  }

}

/* Адаптивность для экранов 768px min */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);

  }

  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-link {
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .nav-links {
    flex-wrap: nowrap;

  }

  .nav-item {
    flex: 1;
  }
}

/* Адаптивность для экранов 768px */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  .conditions1,
  .conditions2 {
    width: 100%;
  }
}

/* Адаптивность для экранов 767px */
@media (max-width: 767px) {
  .main-header {
    height: 200px;
  }

  .main-header h1 {
    font-size: 1.8rem;
    margin-top: 40px;
  }

  .language-switcher {
    top: 10px;
    right: 10px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    width: 100%;
  }

  .nav-links.active {
    max-height: 500px;
  }

  .nav-item {
    text-align: left;
    border-bottom: 1px solid #374151;
  }

  .nav-link {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .submenu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #374151;
    border-radius: 0;
  }

  .nav-item.active .submenu {
    max-height: 300px;
  }

  .submenu a {
    padding: 10px 25px;
  }

  .slideshow-info h3 {
    font-size: 1.1rem;
  }

  .video-slider-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .about-section h2,
  .gallery-section h2,
  .video-slider-section h2 {
    font-size: 1.5rem;
  }

  .subsection-title {
    font-size: 1.3rem;
  }
}

/* Адаптивность для экранов 640px */
@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Адаптивность для экранов 540px */
@media (max-width: 540px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    width: 100%;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-item {
    text-align: left;
    border-bottom: 1px solid #374151;
  }

  .nav-link {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .submenu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-item.active .submenu {
    opacity: 1;
    visibility: visible;
  }

  .submenu a {
    padding: 10px 25px;
  }
}

/* Адаптивность для экранов 480px */
@media (max-width: 480px) {
  .main-header {
    height: 180px;
  }

  .main-header h1 {
    font-size: 1.5rem;
  }

  .language-switcher {
    padding: 2px;
  }

  .language-btn {
    padding: 3px 6px;
    font-size: 0.7rem;
  }

  .about-grid,
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .gallery-item.wide {
    grid-column: 1;
  }

  .video-slider-nav {
    padding: 0 5px;
  }

  .video-slider-nav-btn {
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
  }

  .video-slide h3 {
    font-size: 1.1rem;
  }

  .video-slide p {
    font-size: 0.9rem;
  }

  .footer-column h3 {
    font-size: 1.1rem;
  }

  .footer-column p {
    font-size: 0.9rem;
  }

  .submenu {
    max-height: 0;
    transition: max-height 0.3s ease;
    overflow: hidden;

  }

}

/* Адаптивность для экранов 430px */
@media (max-width: 430px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    width: 100%;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-item {
    text-align: left;
    border-bottom: 1px solid #374151;
  }

  .nav-link {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .submenu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-item.active .submenu {
    opacity: 1;
    visibility: visible;
  }

  .submenu a {
    padding: 10px 25px;
  }
}

/* Адаптивность для экранов 414px */
@media (max-width: 414px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    width: 100%;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-item {
    text-align: left;
    border-bottom: 1px solid #374151;
  }

  .nav-link {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .submenu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-item.active .submenu {
    opacity: 1;
    visibility: visible;
  }

  .submenu a {
    padding: 10px 25px;
  }

  .slideshow-container-1,
  .slideshow-container-2,
  .slideshow-container-3,
  .slideshow-container-4,
  .slideshow-container-5 {
    position: relative;
    height: 300px;
  }

  .slideshow-container-1 img,
  .slideshow-container-2 img,
  .slideshow-container-3 img,
  .slideshow-container-4 img,
  .slideshow-container-5 img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .prev,
  .next {
    top: 70%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
  }

}

/* Адаптивность для экранов 375px */
@media (max-width: 375px) {

  .slideshow-container-1,
  .slideshow-container-2,
  .slideshow-container-3,
  .slideshow-container-4,
  .slideshow-container-5 {
    position: relative;
    height: 300px;
  }

  .slideshow-container-1 img,
  .slideshow-container-2 img,
  .slideshow-container-3 img,
  .slideshow-container-4 img,
  .slideshow-container-5 img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .prev,
  .next {
    top: 70%;
    transform: translateY(-50%);
  }
}

/* Адаптивность для экранов 360px */
@media (max-width: 360px) {
  .main-header {
    height: 180px;
  }

  .main-header h1 {
    font-size: 1.5rem;
  }

  .language-switcher {
    padding: 2px;
  }

  .language-btn {
    padding: 3px 6px;
    font-size: 0.7rem;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    width: 100%;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-item {
    text-align: left;
    border-bottom: 1px solid #374151;
  }

  .nav-link {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .submenu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-item.active .submenu {
    opacity: 1;
    visibility: visible;
  }

  .submenu a {
    padding: 10px 25px;
  }

  .slideshow-info h3 {
    font-size: 1.1rem;
  }

  .about-section h2,
  .gallery-section h2,
  .video-slider-section h2 {
    font-size: 1.5rem;
  }

  .subsection-title {
    font-size: 1.3rem;
  }

  .slideshow-container-1,
  .slideshow-container-2,
  .slideshow-container-3,
  .slideshow-container-4,
  .slideshow-container-5 {
    position: relative;
    height: 300px;
  }

  .slideshow-container-1 img,
  .slideshow-container-2 img,
  .slideshow-container-3 img,
  .slideshow-container-4 img,
  .slideshow-container-5 img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .prev,
  .next {
    top: 70%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
  }

  .modal {
    max-height: 80%;
    overflow-y: auto;
    padding: 10px;
  }

  .modal-content {
    max-height: 100%;
    overflow: hidden;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 10px;
  }

  .modal-body {
    max-height: calc(80vh - 100px);
    overflow-y: auto;
  }
}