/* ==== Banner Section ==== */
.Language-banner {
  position: relative;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 70, 0.7); 
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

/* ==== Text Styling ==== */
.banner-content h1 {
  font-size: 64px;
  font-weight: 300;
  margin-bottom: 15px;
  opacity: 0;
}

.banner-content p {
  font-size: 25px;
  color: #ffb400;
  font-weight: 500;
  margin-bottom: 25px;
  opacity: 0;
}

.breadcrumb {
  font-size: 16px;
  opacity: 0;
}

.breadcrumb a {
  color: #ffb400;
  text-decoration: none;
  font-weight: 500;
  font-size: 25px;
}

.breadcrumb span {
  color: #fff;
  margin: 0 5px;
   font-weight: 500;
  font-size: 25px;
}

/* ==== Animation ==== */
@keyframes slideUp {
  0% {
    transform: translateY(80px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-up {
  animation: slideUp 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.4s;
}

.delay-2 {
  animation-delay: 0.8s;
}

/* ==== Responsive ==== */
@media (max-width: 992px) {
  .banner-content h1 {
    font-size: 48px;
  }

  .banner-content p {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .Language-banner {
    height: 60vh;
  }

  .banner-content h1 {
    font-size: 34px;
  }

  .banner-content p {
    font-size: 16px;
  }
}

/* ///////gallery /////////////////////////*/
.pro-gallery {
  padding: 80px 20px;
  max-width: 1400px;
  margin: auto;
}

.gallery-title {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  color: #2b2b66;
  margin-bottom: 40px;
}

/* ----- MASONRY GRID ----- */
.masonry-grid {
  column-count: 4;
  column-gap: 20px;
}

.masonry-grid img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 14px;
  display: block;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: .3s;
  break-inside: avoid;
  object-fit: cover;
}

/* Hover effect */
.masonry-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
  .masonry-grid {
    column-count: 3;
  }
}

/* At least 2 images on mobile */
@media (max-width: 768px) {
  .masonry-grid {
    column-count: 2;  
  }
}

@media (max-width: 480px) {
  .masonry-grid {
    column-count: 1;
  }
}
/* Ensure at least 2 columns on small screens for grid layout */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .gallery-item {
    aspect-ratio: 3/4; 
  }
}
/* Masonry: force two columns on most phones */
@media (max-width: 768px) {
  .masonry-grid {
    column-count: 2;
    column-gap: 14px;
  }
}

/* Tighten spacing and make images look tidy on small screens */
@media (max-width: 420px) {
  .masonry-grid {
    column-count: 2; 
    column-gap: 10px;
  }

  .masonry-grid img {
    margin-bottom: 12px;
  }
}
.masonry-grid img,
.gallery-item img {
  width: 100%;
  display: block;
  object-fit: cover; 
  border-radius: 10px;
}


/* --- Container --- */
.slider-section {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #fff;
  padding: 30px 0;
}

/* --- Slider Box --- */
.slider {
  position: relative;
  width: 90%;
  max-width: 1200px;
  overflow: hidden;
}

/* --- Image Row --- */
.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

/* --- Each Image --- */
.slides img {
  width: calc(100% / 3); 
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 5px;
  flex-shrink: 0;
}

/* --- Buttons --- */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 25px;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s;
}
.prev:hover, .next:hover {
  background: rgba(0,0,0,0.7);
}
.prev { left: 15px; }
.next { right: 15px; }

/* --- Responsive --- */
@media (max-width: 992px) {
  .slides img {
    width: calc(100% / 2); 
    height: 220px;
  }
}
@media (max-width: 600px) {
  .slides img {
    width: 100%; 
    height: 200px;
  }
}