/* Container */
.oz-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* button ke liye reference */
}

/* Top Right Button Wrapper */
.oz-section-top {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 150px;
    margin-left: 10px;
}

/* Back Button Style */
.oz-back-link {
    padding: 10px 22px;
    background: #808080;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 0.8s forwards; /* load animation */
    display: inline-block;
}

/* Hover In-Out Effect */
.oz-back-link:hover {
    background: #333;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}






/*............1...........*/


.event-section {
/*  margin: 40px 0;*/
margin-top: 260px;
margin-bottom: 30px;
}

.event-container {
  max-width: 1250px;
  margin: auto;
}

.event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 18px;
  height: 550px;
}

.event-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.event-col.two-img .event-img {
  height: calc(50% - 10px);
}

.event-col.single-img .event-img {
  height: 100%;
}

.event-img {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}

.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-img:hover img {
  transform: scale(1.08);
}

/* Popup */
.img-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.img-popup img {
  max-width: 90%;
  max-height: 90%;
}

.img-popup .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 991px) {
  .event-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .event-col.two-img .event-img,
  .event-col.single-img .event-img {
    height: 300px;
  }
}


/*..............2.......*/

.event-section-2 {
  margin-top: 30px;
margin-bottom: 70px;
}

.event-container {
  max-width: 1250px;
  margin: auto;
}

.event-grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  height: 520px;
}

.event-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.event-col.two-img .event-img {
  height: calc(50% - 10px);
}

.event-col.single-img .event-img {
  height: 100%;
}

.event-img {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.event-img:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

/* Popup */
.img-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.img-popup img {
  max-width: 90%;
  max-height: 90%;
}

.img-popup .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 991px) {
  .event-grid-2 {
    grid-template-columns: 1fr;
    height: auto;
  }

  .event-col.single-img .event-img,
  .event-col.two-img .event-img {
    height: 300px;
  }
  .event-section-2{
    margin-bottom: 30px;
  }
}



/*.............3........*/

.event-section-3 {
  margin-top: 30px;
margin-bottom: 30px;
}

.event-container {
  max-width: 1250px;
  margin: auto;
}

.event-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 18px;
  height: 520px;
}

/* Columns */
.event-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.event-col.two-img .event-img {
  height: calc(50% - 10px);
}

.event-col.single-img .event-img {
  height: 100%;
}

/* Image Box */
.event-img {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

/* Hover Effect */
.event-img:hover img {
  transform: scale(1.1);
  filter: brightness(1.08);
}

/* Responsive */
@media (max-width: 991px) {
  .event-grid-3 {
    grid-template-columns: 1fr;
    height: auto;
  }

  .event-col.single-img .event-img,
  .event-col.two-img .event-img {
    height: 300px;
    margin-top: 22px;
  }

  .event-section-3{
    margin-bottom: -30px;
  }

}



/*..............4........*/

.event-section-4 {
  margin-top: 55px;
  margin-bottom: -17px;
}

.event-container {
  max-width: 1250px;
  margin: auto;
}

.event-grid-4 {
  display: grid;
  grid-template-columns: .7fr .7fr 1.6fr;
  gap: 18px;
  height: 520px;
}

/* Columns */
.event-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.event-col .event-img {
  height: calc(50% - 10px);
}

/* Large image in column 3 top */
.event-img.large {
  height: calc(60% - 10px);
}

/* Image Box */
.event-img {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

/* Hover animation */
.event-img:hover img {
  transform: scale(1.12);
  filter: brightness(1.08);
}

/* Responsive */
@media (max-width: 991px) {
  .event-grid-4 {
    grid-template-columns: 1fr;
    height: auto;
  }

  .event-img,
  .event-img.large {
    height: 280px;
  }
 /* .new-size img{
    height: 152px;
  }*/

  .event-section-4 {
    margin-bottom: -36px;
  }
}



/*.............5...........*/

/* Section spacing */
.event-section-5 {
  margin: 54px 0;
}

/* Container */
.event-container {
  max-width: 1250px;
  margin: auto;
}

/* Grid */
.event-grid-5 {
  display: grid;
  grid-template-columns: 0.7fr 1.0fr 1.2fr;
  gap: 18px;
  height: 520px;
}

/* Columns */
.event-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.event-col.two-img .event-img {
  height: calc(50% - 12px);
}

.event-col.single-img .event-img.full {
  height: 100%;
}

/* Image box */
.event-img {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
}

/* Image */
.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
}

/* Hover animation */
.event-img:hover img {
  transform: scale(1.12);
  filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 991px) {
  .event-grid-5 {
    grid-template-columns: 1fr;
    height: auto;
  }

  .event-img,
  .event-img.full {
    height: 280px !important;
  }

  .event-section-5{
    margin-bottom: -45px;
  }
}





/*................6..........*/


/* Section spacing */
.event-section-6 {
  margin: 40px 0;
  margin-top: 70px;
}

/* Container */
.event-container {
  max-width: 1250px;
  margin: auto;
}

/* Grid */
.event-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  height: 520px;
}

/* Column */
.event-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Each image takes half height */
.event-col.two-img .event-img {
  height: calc(50% - 12px);
}

/* Image box */
.event-img {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
}

/* Image */
.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
}

/* Hover animation */
.event-img:hover img {
  transform: scale(1.12);
  filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 991px) {
  .event-grid-6 {
    grid-template-columns: 1fr;
    height: auto;
  }

  .event-img {
    height: 280px !important;
  }

  .event-section-6{
    margin-bottom: -15px;
  }
}




/*................7..........*/

.new-padding{
  padding-top:25px;
}
/* Section spacing */
.event-section-7 {
  margin: 40px 0;

}

/* Container */
.event-container {
  max-width: 1250px;
  margin: auto;
}

/* Grid */
.event-grid-7 {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.2fr;
  gap: 18px;
  height: 520px;
}

/* Columns */
.event-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Two image column */
.event-col.two-img .event-img {
  height: calc(50% - 12px);
}

/* Full height image */
.event-col.single-img .event-img.full {
  height: 100%;
}

/* Image box */
.event-img {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
}

/* Image */
.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
}

/* Hover animation */
.event-img:hover img {
  transform: scale(1.12);
  filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 991px) {
  .event-grid-7 {
    grid-template-columns: 1fr;
    height: auto;
  }

  .event-img,
  .event-img.full {
    height: 280px !important;
  }

  .event-section-7{
    margin-bottom: -20px;
  }
}




/*................8..........*/



/* Section spacing */
.event-section-8 {
  margin: 45px 0;
  padding-bottom: 50px;
}

/* Container */
.event-container {
  max-width: 1250px;
  margin: auto;
}

/* Grid */
.event-grid-8 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  height: 520px;
}

/* Columns */
.event-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Two image column */
.event-col.two-img .event-img {
  height: calc(50% - 12px);
}

/* Full height image */
.event-col.single-img .event-img.full {
  height: 100%;
}

/* Image box */
.event-img {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
}

/* Image */
.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
}

/* Hover animation */
.event-img:hover img {
  transform: scale(1.12);
  filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 991px) {
  .event-grid-8 {
    grid-template-columns: 1fr;
    height: auto;
  }

  .event-img,
  .event-img.full {
    height: 280px !important;
  }
}

