   /* Basic reset */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
  }

  body {
    font-family: Arial, sans-serif;
    background-color: #E3EED4;
  }

  /* Navbar styling */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: transparent; /* Transparent background */
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow effect */
    transition: background-color 0.3s;
  }

  .navbar .logo img {
    height: 40px;
    width: auto;
  }

  .navbar ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    left:-50px;
  }

  .navbar ul li {
    position: relative;
  }

  .navbar a {
    position: relative;
    text-decoration: none;
    color: white;
    font-size: 1rem;
    transition: color 0.3s;
    overflow: hidden;
        display: inline-block;
    padding: 7px ; /* Задаем постоянные отступы */
    border-radius: 5px; /* Скругление углов */
    transition: background-color 0.3s, color 0.3s;
  }


.navbar a:hover {
    color: white;
    background-color: #6B9071;
}
  
  /* Snowfall Effect */
  .navbar a::before,
  .navbar a::after {
    content: "🍀"; /* Snowflake symbol */
    position: absolute;
    font-size: 1.2rem;
    color: #ffffff80; /* Light snowflake color with some transparency */
    top: -20px; /* Start above the link */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .navbar a::before {
    animation: snowflake-fall 1.5s linear infinite;
  }
  
  .navbar a::after {
    animation: snowflake-fall 2s linear infinite;
    animation-delay: 0.5s;
  }
  
  .navbar a:hover::before,
  .navbar a:hover::after {
    opacity: 1;
  }
  
  /* Keyframes for snowfall animation */
  @keyframes snowflake-fall {
    0% {
      opacity: 1;
      transform: translateX(-50%) translateY(-20px) scale(0.8) rotate(0deg);
    }
    100% {
      opacity: 0;
      transform: translateX(-50%) translateY(40px) scale(1) rotate(360deg);
    }
  }

  /* Navbar style when scrolled */
.navbar.scrolled {
    background-color: #0F2A1D; /* Change this color to whatever you'd like */
  }
  
  /* Hamburger menu (hidden on desktop) */
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }

  .hamburger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px;
    transition: 0.4s;
  }

  /* Mobile menu (hidden by default) */
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 1rem;
    border-radius: 0 0 10px 10px;
  }

  /* Show nav-links on mobile */
  .nav-links.active {
    display: flex;
  }

  /* Hamburger animation for active state */
  .hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Responsive Styles */
  @media (max-width: 768px) {
    .navbar ul {
      display: none;
    }
    
    .hamburger {
      display: flex;
    }
  }


/* Style for the dropdown button */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  text-decoration: none;
  color: inherit;
  padding: 10px;
}

/* Dropdown content (hidden by default) */
li.dropdown .dropdown-content {
  display: none; 
  position: absolute;
  background-color: #0F2A1D;
  min-width: 120px;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.dropdown-content li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.dropdown-content li a {
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content li a:hover {
  background-color: #375534;
}

/* Show the dropdown content only on hover */
.dropdown:hover .dropdown-content {
  display: block;
}


/* Language Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown .dropbtn {
  color: white;
  padding: 8px 0;
  text-decoration: none;
  cursor: pointer;
  
}

.dropdown .dropdown-content {
  display: none;
  position: relative;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  gap: 0.5rem;
}

.dropdown .dropdown-content a {
  color:white;
  padding: 10px;
  text-decoration: none;
}

@media(max-width:768px){
  .dropdown .dropdown-content a {
    text-decoration:underline;
    color:#375534;
  }
}

.dropdown .dropdown-content a:hover {
  background-color: #375534;
  border-radius: 5px;
}

/* Show dropdown-content on mobile within the nav-links */
@media (max-width: 768px) {
  /* Show dropdown content inside mobile nav-links */
  .dropdown:hover .dropdown-content {
      display: flex;
  }
  
  /* Adjust dropdown style for mobile */
  .nav-links .dropdown .dropdown-content {
      position: relative;
      top: 0;
      left: 0;
      background-color: transparent;
      box-shadow: none;
  }
}


/* header */

.carousel {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
}

.carousel img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: slideAnimation 21s infinite; /* 7 seconds per image */
}

.carousel img:nth-child(1) {
  animation-delay: 0s;
}
.carousel img:nth-child(2) {
  animation-delay: 7s;
}
.carousel img:nth-child(3) {
  animation-delay: 14s;
}

/* Overlay text on carousel */
.carousel-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.3); /* Slightly darkened background */
  padding: 1rem 2rem;
  border-radius: 5px;
}

/* Keyframes for fading in and out with a slight delay */
@keyframes slideAnimation {
  0% { opacity: 0; }
  10% { opacity: 1; } /* Fade in */
  30% { opacity: 1; } /* Stay fully visible */
  40% { opacity: 0; } /* Fade out */
  100% { opacity: 0; } /* Fully transparent */
}


/* three divs */

    /* Winter Divs Section */
    /* Общий фон */
.spring_divs {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 30vh;
    padding: 20px;
}

/* Контейнер для блоков */
.spring-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Карточки */
.spring-box {
    position: relative;
    width: 400px;
    padding: 20px;
    border-radius: 15px;
    background: #6B9071; /* Кремово-персиковый */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    opacity: 0; /* Для анимации появления */
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* При скролле добавляется класс "show" */
.spring-box.show {
    opacity: 1;
    transform: translateY(0);
}

/* Hover-эффект: подъём */
.spring-box:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Анимированные лепестки */
.spring-box::before, .spring-box::after {
    content: "🌸";
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.7;
    animation: float 6s infinite ease-in-out;
}

.spring-box::before {
    left: 20%;
    animation-duration: 5s;
}

.spring-box::after {
    left: 80%;
    animation-duration: 7s;
}

/* Анимация плавного движения лепестков */
@keyframes float {
    0% { transform: translateY(0); opacity: 0.8; }
    50% { transform: translateY(-15px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 0.8; }
}

/* Стили иконок */
.icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Заголовки */
.title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #0F2A1D;
}

/* Текст */
.text {
    font-size: 1rem;
    color: white;
}

/* Кнопка */
.spring-button {
    background: #40A4D8; /* Бирюзовый */
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.spring-button:hover {
    box-shadow: 0 0 10px rgba(64, 164, 216, 0.7);
}

      /* Keyframes for falling snowflakes */
      @keyframes snowflake-fall {
        0% {
          top: -50px;
          transform: rotate(0deg);
        }
        100% {
          top: 250px;
          transform: rotate(360deg);
        }
      }
  
      /* Responsive Layout for Mobile */
      @media (max-width: 768px) {
    .spring-container {
        flex-direction: column;
        align-items: center;
    }
    
    .spring-box {
        width: 90%;
        max-width: 400px;
        margin-bottom: 15px; /* Отступ между карточками */
    }
}





  /* body snowfall */


  .snowfall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
  }

  /* Individual snowflake styling */
  .snowflake {
    position: absolute;
    top: -10vh;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    animation: fall linear infinite;
    opacity: 0.8;
    user-select: none;
  }

  /* Snowflake fall animation with wind effect */
  @keyframes fall {
    0% {
      transform: translateX(0) translateY(0) rotate(0deg);
    }
    100% {
      transform: translateX(20vw) translateY(100vh) rotate(360deg);
    }
  }
  
  /* Generate multiple snowflakes with different sizes and animation durations */
  /* Adjust the duration and size for variation */
  .snowflake:nth-child(1) { left: 10%; animation-duration: 10s; font-size: 2rem; }
  .snowflake:nth-child(2) { left: 20%; animation-duration: 12s; font-size: 1rem; }
  .snowflake:nth-child(3) { left: 30%; animation-duration: 8s; font-size: 3rem; }
  .snowflake:nth-child(4) { left: 40%; animation-duration: 14s; font-size: 2rem; }
  .snowflake:nth-child(5) { left: 50%; animation-duration: 10s; font-size: 1.3rem; }
  .snowflake:nth-child(6) { left: 60%; animation-duration: 12s; font-size: 1.5rem; }
  .snowflake:nth-child(7) { left: 70%; animation-duration: 9s; font-size: 2rem; }
  .snowflake:nth-child(8) { left: 80%; animation-duration: 15s; font-size: 1.2rem; }
  .snowflake:nth-child(9) { left: 90%; animation-duration: 11s; font-size: 1rem; }
  .snowflake:nth-child(10) { left: 95%; animation-duration: 13s; font-size: 1.3rem; }
  .snowflake:nth-child(11) { left: 5%; animation-duration: 10s; font-size: 1.2rem; }
  .snowflake:nth-child(12) { left: 2%5; animation-duration: 12s; font-size: 1rem; }
  .snowflake:nth-child(13) { left: 35%; animation-duration: 8s; font-size: 1.4rem; }
  .snowflake:nth-child(14) { left: 45%; animation-duration: 14s; font-size: 1.1rem; }
  .snowflake:nth-child(15) { left: 55%; animation-duration: 10s; font-size: 2rem; }
  .snowflake:nth-child(16) { left: 65%; animation-duration: 12s; font-size: 1.5rem; }
  .snowflake:nth-child(17) { left: 75%; animation-duration: 9s; font-size: 1.1rem; }
  .snowflake:nth-child(18) { left: 85%; animation-duration: 15s; font-size: 3rem; }
  .snowflake:nth-child(19) { left: 95%; animation-duration: 11s; font-size: 1rem; }
  .snowflake:nth-child(20) { left: 95%; animation-duration: 13s; font-size: 1.3rem; }
  .snowflake:nth-child(21) { left: 0%; animation-duration: 10s; font-size: 1.2rem; }
  .snowflake:nth-child(22) { left: 7%; animation-duration: 12s; font-size: 2rem; }
  .snowflake:nth-child(23) { left: 13%; animation-duration: 8s; font-size: 1.4rem; }
  .snowflake:nth-child(24) { left: 23%; animation-duration: 14s; font-size: 1.1rem; }
  .snowflake:nth-child(25) { left: 33%; animation-duration: 10s; font-size: 3rem; }
  .snowflake:nth-child(26) { left: 43%; animation-duration: 12s; font-size: 1.5rem; }
  .snowflake:nth-child(27) { left: 72%; animation-duration: 9s; font-size: 2rem; }
  .snowflake:nth-child(28) { left: 97%; animation-duration: 15s; font-size: 1.2rem; }
  .snowflake:nth-child(29) { left: 83%; animation-duration: 11s; font-size:3rem; }
  .snowflake:nth-child(30) { left: 95%; animation-duration: 13s; font-size: 1.3rem; }



/* Services section */
.services{
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

  /* Container for 3x3 grid */
  .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    width: 1200px;
  }

  @media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 500px) {
    .grid-container {
        grid-template-columns: repeat(1, 1fr);
        width: 400px;
    }
  }

  /* Individual grid box */
.grid-item {
    position: relative;
    background-color: #6B9071;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
    height: 100%;
    border-radius: 20px;
    border: 2px dashed #0F2A1D;
    clip-path: polygon(0% 10%, 10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%);
}

.grid-item:hover {
    transform: translateY(-5px);
}

      /* Snowflake effect on hover */
      .grid-item:hover  .snowflakes {
        animation: snowflake-fall 2s linear infinite;
      }
  
      /* Icon styling */
      .icon {
        font-size: 2rem;
        margin-bottom: 10px;
      }
  
      /* Title and text */
      .title {
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 10px;
      }
  
      .text {
        font-size: 0.9rem;
        color: white;
      }
  
      /* Snowflake styling and animation */
      .snowflakes {
        position: absolute;
        top: -20px;
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.8);
        opacity: 0;
        animation: none;
        user-select: none;
      }
  
      .snowflakes:nth-child(2) { left: 20%; animation-delay: 0.5s; }
      .snowflakes:nth-child(3) { left: 40%; animation-delay: 1s; }
      .snowflakes:nth-child(4) { left: 60%; animation-delay: 1.5s; }
      .snowflakes:nth-child(5) { left: 80%; animation-delay: 2s; }
  
      /* Snowflake fall animation */
      @keyframes snowflake-fall {
        0% {
          opacity: 1;
          transform: translateY(0) rotate(0deg);
        }
        100% {
          opacity: 0;
          transform: translateY(120px) rotate(360deg);
        }
      }


.section_footer{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #0F2A1D;
    color: white;
}


    /* Footer Styling */
     /* Footer Styling */
     footer {
        background-color: #0F2A1D;
        color: #fff;
        padding: 40px 20px;
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        text-align: center;
      }
  
      /* Footer Columns */
      .footer-column {
        flex: 1;
        max-width: 250px;
        margin: 20px;
        padding: 10px;
      }
  
      /* Column Titles */
      .footer-column h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: #b0dbb7;
        text-transform: uppercase;
        letter-spacing: 1px;
      }
  
      /* Footer Links */
      .footer-column ul {
        list-style: none;
      }
  
      .footer-column ul li a {
        color: #b0c4de;
        text-decoration: none;
        display: inline-block;
        margin: 5px 0;
        transition: color 0.3s;
      }
  
      .footer-column ul li a:hover {
        color: #fff;
      }
  
      /* Social Icons */
      .footer-column .social-icons {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
      }
  
      .footer-column .social-icons a {
        color: #b0c4de;
        font-size: 1.5rem;
        transition: transform 0.3s, color 0.3s;
      }
  
      .footer-column .social-icons a:hover {
        color: #b0dbb7;
        transform: scale(1.2);
      }
  
      /* Bottom Note */
      .footer-bottom {
        text-align: center;
        margin-top: 20px;
        font-size: 0.9rem;
        color: white;
      }




/* about us */


      .about-section {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 50px 20px;
      }
  
      /* Styling for alternating layout */
      .about-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        max-width: 1200px;
        width: 100%;
        gap: 20px;
        color: #fff;
        border-radius: 30px;
        background-color: #6B9071;
        height: 400px;
      }
  
      .about-image, .about-text {
        flex: 1;
      }
  
      .about-image img {
        padding-top: 4px;
        width: 100%;
        height: 400px;
        border-radius: 30px 0 0 30px;
      }
      .about-image .image-rad{
        border-radius: 0 30px 30px 0;
      }
  
      .about-text {
        text-align: left;
      }
  
      .about-title {
        font-size: 2rem;
        color: #fff;
        margin-bottom: 15px;
      }
  
      .about-description {
        font-size: 1rem;
        color: #fff;
        line-height: 1.6;
        text-align: justify;
      }
  
      /* Alternate section styling */
      .about-section:nth-child(2) .about-content {
        flex-direction: row-reverse;
      }
  @media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .about-image img {
    height: auto;
    border-radius: 30px;
    width: 100%;
  }
        .about-image .image-rad{
        border-radius: 30px;
      }
          .about-section:nth-child(even) .about-content {
          flex-direction: column;
        }
}

/* Планшеты (ширина экрана от 768px до 1024px) */
@media (max-width: 1024px) {
  .about-content {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .about-image img {
    height: auto;
    border-radius: 30px;
    width: 100%;
  }
        .about-image .image-rad{
        border-radius: 30px;
      }
}


.contacts{
    color: #fff;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
  }

  .contact-header {
    text-align: center;
    margin-bottom: 40px;
  }

  .contact-header h1 {
    font-size: 2.5rem;
    color: #0F2A1D;
  }

  .contact-header p {
    color: #0F2A1D;
    font-size: 1.1rem;
  }

  /* Contact Information and Form */
  .contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
  }

  .contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .contact-info h2, .contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0F2A1D;
  }

  .contact-info p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #0F2A1D;
  }

  .contact-info .info-item {
    margin-bottom: 15px;
  }

  .contact-info .info-item strong {
    font-weight: bold;
    color: #0F2A1D;
  }

  .contact-form form {
    display: flex;
    flex-direction: column;
  }

  .contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
  }

  .contact-form textarea {
    min-height: 120px;
  }

  .contact-form button {
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: #58755d;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .contact-form button:hover {
    background-color: #0F2A1D;
  }

  /* Map Section */
  .map {
    margin-top: 40px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  /* Responsive */
  @media (max-width: 768px) {
    .contact-section {
      flex-direction: column;
    }
  }


/* footer */


.team-section {
    padding: 50px 0;
  }
  
  .team-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
  }
  
  .team-member {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    width: 300px;
  }
  
  .team-member img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #ddd;
  }
  
  .member-info {
    padding: 20px;
  }
  
  .member-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .member-info p {
    font-size: 1rem;
    color: #555;
  }
  
  .team-member:hover {
    transform: translateY(-10px);
  }
  
  @media (max-width: 768px) {
    .team-container {
      grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
  }
  
  @media (max-width: 480px) {
    .team-container {
      grid-template-columns: 1fr; /* 1 column on mobile */
    }
  }
  

/* Courses Section */
.courses {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 50px;
    text-align: center;

  }
  
  /* Course Button */
  .apply-btn {
    background-color: #6B9071;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
  }
  
  .apply-btn:hover {
    background-color:#0F2A1D;
  }
  
  /* Responsive Design for Mobile */
  @media (max-width: 768px) {
    .course-container {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 480px) {
    .course-container {
      grid-template-columns: 1fr;
    }
  }
  

  /* application */

  .application-form-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
  .form-container {
    background-color: #fff;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  
  h2 {
    text-align: center;
    color: #000;
    margin-bottom: 20px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #000;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="date"],
  input[type="tel"] {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="date"]:focus,
  input[type="tel"]:focus {
    border-color: #1b2a40;
    outline: none;
  }
  
  .submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #6B9071;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .submit-btn:hover {
    background-color: #0F2A1D;
  }
  
  /* Responsive design for smaller screens */
  @media (max-width: 480px) {

    .form-container {
      padding: 20px;
    }
  }

  .application_section{
    display: flex;
    color: #0F2A1D;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-top: 5%;
    margin-bottom: 5%;
    flex-direction: column;
  }
  .summary {
    border: 1px solid #ccc;
    padding: 16px;
    width: 300px;
    background-color: #6B9071;
    border-radius: 8px;
    margin:2%;
  }
  
  .summary h3 {
    margin-top: 0;
  }
  
  .summary p {
    margin: 8px 0;
  }
  
  .buttons {
    display: flex;
    justify-content: space-between;
  }
  
  button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  #acceptBtn {
    background-color:  #6B9071;
    color: white;
  }
  
  #deleteBtn {
    background-color: #0F2A1D;
    color: white;
  }
  

  .filter {
    padding: 16px;
    color: #0F2A1D;
    width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .filter-group {
    margin-top: 10px;
  }
  
  .filter-group label {
    display: block;
    margin-bottom: 5px;
    color:#0F2A1D;
  }
  
  .filter-group select {
    width: 100%;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
  }
  
  a{
    text-decoration: none;
  }

  @media(max-width:500px){
    .HappyNewYear{
      font-size: 20px;
    }
    #countdown{
      font-size: 20px;
    }
    #timer{
      font-size: 20px;
    }
  }

  .wrapper-card{
    width: 90%;
    margin: 0 auto;
    max-width: 80rem;
  }
  
  .cols-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
}

.col-card {
    width: calc(25% - 2rem);
    margin: 1rem;
    cursor: pointer;
}

.container-card {
    margin: 10px;
    transform-style: preserve-3d;
    perspective: 1000px;
}
.front,
  .back{
    background-size: cover;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.25);
    border-radius: 10px;
      background-position: center;
      -webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
      transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
      -o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
      transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
      transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
      -webkit-backface-visibility: hidden;
              backface-visibility: hidden;
      text-align: center;
      min-height: 280px;
      height: auto;
      border-radius: 10px;
      color: #fff;
      font-size: 1.5rem;
  }

/* Картинка внутри карточки */
.front {
    position: relative;
    width: 100%;
    height: 100%;
}

.front img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняет карточку без искажений */
    border-radius: 10px; /* Округляет углы */
}



/* Задняя сторона карточки */
.back{
    background: #cedce7;
    background: -webkit-linear-gradient(45deg,  #cedce7 0%,#596a72 100%);
    background: -o-linear-gradient(45deg,  #cedce7 0%,#596a72 100%);
    background: linear-gradient(45deg,  #cedce7 0%,#596a72 100%);
  }

  
  .front:after{
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      width: 100%;
      height: 100%;
      content: '';
      display: block;
      opacity: .6;
      background-color: #000;
      -webkit-backface-visibility: hidden;
              backface-visibility: hidden;
      border-radius: 10px;
  }
  .container-card:hover .front,
  .container-card:hover .back{
      -webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
      transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
      -o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
      transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
      transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
  }
  
  .back{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
  }
  
  .inner{
      -webkit-transform: translateY(-50%) translateZ(60px) scale(0.94);
              transform: translateY(-50%) translateZ(60px) scale(0.94);
      top: 50%;
      position: absolute;
      left: 0;
      width: 100%;
      padding: 2rem;
      -webkit-box-sizing: border-box;
              box-sizing: border-box;
      outline: 1px solid transparent;
      -webkit-perspective: inherit;
              perspective: inherit;
      z-index: 2;
  }
  
  .container-card .back{
      -webkit-transform: rotateY(180deg);
              transform: rotateY(180deg);
      -webkit-transform-style: preserve-3d;
              transform-style: preserve-3d;
  }
  
  .container-card .front{
      -webkit-transform: rotateY(0deg);
              transform: rotateY(0deg);
      -webkit-transform-style: preserve-3d;
              transform-style: preserve-3d;
  }
  
  .container-card:hover .back{
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
  }
  
  .container-card:hover .front{
    -webkit-transform: rotateY(-180deg);
            transform: rotateY(-180deg);
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
  }
  
  .front .inner p{
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
  }
  
  .front .inner p:after{
    content: '';
    width: 4rem;
    height: 2px;
    position: absolute;
    background: #C6D4DF;
    display: block;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -.75rem;
  }
  
  .front .inner span{
    color: rgba(255,255,255,0.7);
    font-family: 'Montserrat';
    font-weight: 300;
  }
  
  @media screen and (max-width: 64rem){
    .col-card{
      width: calc(33.333333% - 2rem);
    }
  }
  
  @media screen and (max-width: 48rem){
    .col-card{
      width: calc(50% - 2rem);
    }
  }
  
  @media screen and (max-width: 32rem){
    .col-card{
      width: 100%;
      margin: 0 0 2rem 0;
    }
  }