* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
  scrollbar-width: thin;
  scrollbar-color:  #f1f1f1;
  /* scrollbar-color: rgb(133, 193, 0) #f1f1f1; */
}
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background-color: rgb(133, 193, 0);
  border-radius: 10px;
  border: 3px solid #f1f1f1;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #FF3B3B;
}
html {
  scroll-behavior: smooth;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* Set background color */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.preloader img {
  width: 500px;
  height: auto;
}
@media screen and (max-width: 484px) {
  .preloader img {
    width: 200px;
  }
}


a {
  text-decoration: none;
  color: inherit;
}
li {
  list-style: none;
}

/* General Reset */
body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #ffffff;
  font-family: 'Arial', sans-serif;
  color: #333333;
  overflow-x: hidden;
}

/* Gallery Container */
.gallery-container {
  padding: 4rem 1rem;
  text-align: center;
}

.gallery-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333333;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', sans-serif;
}

/* Grid Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 1rem;
  border-radius: 0;
}

/* Gallery Item */
.gallery-item {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 0;
  background: var(--image-url) no-repeat center;
  background-size: cover;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  border-radius: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0px;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay-text {
  font-size: 1.2rem;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
  padding: 0 1rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-title {
    font-size: 1.8rem;
  }

  .gallery-item {
    height: 200px;
  }
}


/* Modal styling */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}
.image-modal img {
  max-width: 100%;
  max-height: 90%;
  border: 3px solid white;
}
.image-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}