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

body, html {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Montserrat, sans-serif;
  background-color: #f0f0f0;
  color: #333;
  line-height: 1.6;
}

footer {
  background-color: #036;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
}

footer p {
  margin: 0;
  padding: 10px 0;
}

footer br {
  margin: 5px 0;
}

a {
  color: #333;
  text-decoration: none;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Link button inside course card */
.course-info a {
  display: inline-block;
  padding: 8px 15px;
  background-color: #036;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

footer a:active {
  color: #e67e22;
}

footer a:hover {
  color: #f39c12;
  transform: scale(1.1);
}

.submenu li a {
  color: #333;
  padding: 10px;
  display: block;
  white-space: nowrap;
}

.course-info a:hover {
  background-color: rgb(0, 25.5, 51);
}

.submenu li a:hover {
  background-color: #036;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  color: #fff;
  background-color: #036;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

header {
  background-color: #036;
  padding: 15px 0;
  z-index: 100;
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
header nav {
  display: flex;
  justify-content: center;
  align-items: center;
}
header nav .main-menu {
  list-style: none;
  display: none;
  gap: 20px;
}
header nav .main-menu li {
  position: relative;
  list-style-type: none;
}
header nav .main-menu li a {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  display: inline-block;
}
header nav .main-menu li a:hover {
  color: #cccccc;
}
header nav .main-menu li:hover .submenu {
  display: block;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 999;
}
.burger-menu .burger-line {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 5px;
}

@media (width <= 768px) {
  .main-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #036;
    z-index: 2;
    padding: 10px 0;
  }
  li {
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }
  li a {
    color: #fff;
    text-decoration: none;
  }
  .main-menu.active {
    display: flex;
  }
  .burger-menu {
    display: flex;
  }
}
@media (width >= 769px) {
  .main-menu {
    display: flex !important;
  }
  .burger-menu {
    display: none;
  }
}
.slider {
  position: relative;
  width: 100%;
  margin: 40px auto;
  overflow: hidden;
  height: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.slide {
  position: relative;
  min-width: 100%;
}
.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
}

.text-overlay {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 20px 25px;
  border-radius: 8px;
  max-width: 100%;
  font-family: Montserrat, sans-serif;
}
.text-overlay h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 600;
}
.text-overlay p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

#prevs {
  left: 20px;
}

#nexts {
  right: 20px;
}

#prevs,
#nexts {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #036;
  color: #fff;
  border: none;
  padding: 10px 14px;
  font-size: 1.2rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.3s ease;
  transition: transform 0.1s ease-in-out;
}
#prevs:active,
#nexts:active {
  transform: translateY(-50%) translateY(5px);
}
#prevs:hover,
#nexts:hover {
  background-color: rgb(0, 25.5, 51);
}

@keyframes scale-up {
  to {
    transform: scale(1.2);
  }
}
.about {
  text-align: center;
  padding: 40px 10px;
  padding-bottom: 0;
}
.about h1 {
  margin-bottom: 10px;
  transform: scale(1);
  animation: scale-up 1s ease-out forwards;
}

/* Gallery container */
.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Filters section */
.filters {
  margin-bottom: 20px;
}

#search {
  padding: 10px;
  width: 200px;
  margin-right: 10px;
  margin-top: 10px;
  border: 3px solid #036;
  border-radius: 5%;
}

#sort {
  padding: 5px;
  margin-right: 10px;
  margin-top: 10px;
  height: 40px;
  border: 3px solid #036;
  border-radius: 5%;
}

/* Gallery grid */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* Course card */
.course-card {
  width: 300px;
  height: auto;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px;
  transition: transform 0.1s ease-in-out;
  filter: brightness(0.95) contrast(1.1) saturate(1.2);
}
.course-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  filter: contrast(1.2);
}

/* Image inside course card */
.course-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 3%;
  filter: brightness(0.85) contrast(1.1) saturate(1.2);
}

/* Information inside course card */
.course-info {
  padding: 10px;
  background-color: #fff;
}

.course-info h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.course-info p {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* Show More button */
.show-more {
  background-color: #036;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
}

.show-more:hover {
  background-color: rgb(0, 25.5, 51);
}

/* Pagination styles */
.pagination {
  margin-top: 20px;
  text-align: center;
  margin-bottom: 10px;
}

button {
  background-color: #036;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  margin: 0 5px;
  border-radius: 5px;
}

button:disabled {
  background-color: #ccc;
}

button:hover {
  background-color: rgb(0, 25.5, 51);
}

/* Media queries for responsiveness */
@media (width <= 768px) {
  .gallery {
    flex-direction: column;
    align-items: center;
  }
  .course-card {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
  }
  #search,
  #sort {
    width: 100%;
  }
}
/* Contacts Section */
#contacts {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

#contacts h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info {
  text-align: center;
  margin-bottom: 20px;
}

#map {
  width: 100%;
  height: 400px;
  margin-top: 20px;
}

/* Responsive for smaller screens */
@media (width <= 768px) {
  #map {
    height: 300px;
  }
}
/* For screens above 1024px */
@media (width >= 1024px) {
  .course-card {
    width: 280px;
  }
}

/*# sourceMappingURL=style.css.map */
