@media screen and (min-width: 1201px) {
    .less-btn {
        display: none;
    }
}
@media screen and (max-width: 1200px) {
    .less-btn {
        display: flex;
    cursor: pointer;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    color: black;
    border:2px solid transparent;
    border-radius:10px;
    border-right-color:rgb(135, 13, 0);
    border-left-color:rgb(11, 5, 5);
    background:
      linear-gradient(to left,
        rgb(135, 13, 0) 0%, rgb(11, 5, 5) 70% ,
        rgb(135, 13, 0) 85%, rgb(11, 5, 5) 100%) top/100% 2px,
      linear-gradient(to top, rgb(135, 13, 0) 0%, rgb(11, 5, 5) 100%) bottom/100% 2px;
    background-repeat:no-repeat;
    }
    .less-btn:hover {
        opacity: 0.5;
        color: white;
        background:
        linear-gradient(to left,
            rgb(135, 13, 0) 0%, rgb(11, 5, 5) 70% ,
            rgb(135, 13, 0) 85%, rgb(11, 5, 5) 100%) top/100% 2px,
          linear-gradient(to top, rgb(135, 13, 0) 0%, rgb(11, 5, 5) 100%) bottom/100% 2px;
    }
   .navbar .btn-outline-primary {
        display: none;
    }
}
.page{
}
.image-gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 20px;
}
.image-gallery img {
    border-radius: 8px;
    cursor: pointer;
}
.image-gallery img:nth-child(1),
.image-gallery img:nth-child(2) {
    width: 635px;
    height: 450px;
}
.image-gallery img:nth-child(3),
.image-gallery img:nth-child(4),
.image-gallery img:nth-child(5),
.image-gallery img:nth-child(6) {
    width: 339px;
    height: 240px;
    max-width: calc(25% - 10px);
    margin-bottom: 10px;
}
@media (max-width: 1200px) {
    .image-gallery img:nth-child(1),
    .image-gallery img:nth-child(2) {
        width: 100%;
        height: auto;
    }
    .image-gallery img:nth-child(3),
    .image-gallery img:nth-child(4),
    .image-gallery img:nth-child(5),
    .image-gallery img:nth-child(6) {
        width: calc(50% - 10px);
        height: auto;
    }
}
@media (max-width: 1200px) {
    .image-gallery img:nth-child(1),
    .image-gallery img:nth-child(2) {
        width: 100%;
        height: auto;
    }
    .image-gallery img:nth-child(3),
    .image-gallery img:nth-child(4),
    .image-gallery img:nth-child(5),
    .image-gallery img:nth-child(6) {
        width: calc(50% - 10px);
        height: auto;
    }
}
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.blur-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    z-index: -1;
}
#modalImage::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 12px;
    background: linear-gradient(45deg, #ff0000, #00ff00);
    z-index: 5;
}
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
}
.prev_button, .next_button {
    position: absolute;
    top: 50%;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    z-index: 2;
}
.prev {
    left: 10vw;
    transform: translateY(-100%);
}
.next {
    right: 10vw;
    transform: translateY(-50%);
}
.prev_button {
    left: 10vw;
    transform: translateY(-50%);
    max-width: none;
    max-height: none;
     width: 100px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
}
.next_button {
    right: 10vw;
    transform: translateY(-50%);
}
.page{
    display: flex;
    justify-content: center;
}
.page-content{
    max-width: 1520px;
}
.title{
    font-family: 'Magistral-Medium', sans-serif;
    font-weight: 500;
    line-height: 54px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}
.image-gallery img:nth-child(1),
.image-gallery img:nth-child(2){
    margin-bottom: 50px;
}
.accreditation-section {
  padding: 40px 20px;
  background-color: #fff;
  text-align: center;
}
.accreditation-section .title {
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: bold;
}
.accreditation-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  cursor: pointer;
}
.accreditation-card:hover {
  transform: scale(1.02);
}
.accreditation-card img {
  width: 100%;
  height: auto;
  display: block;
}
.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.accreditation-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  cursor: pointer;
}
.accreditation-card:hover {
  transform: scale(1.02);
}
.accreditation-card img {
  width: 100%;
  height: auto;
  display: block;
}
.large-card {
  grid-column: span 2;
}
@media (max-width: 1110px) {
  .large-card {
    grid-column: span 1;
  }
}
.modal-content {
    max-width: 70vw;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s ease;
}
.prev_button {
    left: 2rem;
    width: 4rem;
    height: auto;
}
.next_button {
    right: 2rem;
    width: 4rem;
    height: auto;
}
.nav-button:hover {
    transform: translateY(-50%) scale(1.1);
}
@media (max-width: 1130px) {
    .nav-button {
        width: 6rem;
        height: auto;
        top: 80%;
    }
    .next_button {
        right: 7rem;
    }
    .prev_button {
        left: 7rem;
    }
}
@media (max-width: 700px) {
    .nav-button {
        width: 5rem;
        height: auto;
        top: 69%;
    }
    .next_button {
        right: 3rem;
    }
    .prev_button {
        left: 3rem;
    }
}