/* 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...............*/


/* FIX CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

/* SECTION */
.gifting-section {
  padding: 15px 0;
padding-top: 250px;
}

/* GRID */
.gifting-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1.764fr;
  gap: 24px;
  height: 520px;
}

/* IMAGE BOX */
.gift-box {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.gift-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gift-box:hover img {
  transform: scale(1.1);
}

/* OVERLAY */
.gift-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  display: flex;
  align-items: flex-end;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gift-box:hover .gift-overlay {
  opacity: 1;
}

.gift-overlay span {
  color: #fff;
  font-size: 26px;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,.6);
}

/* MODAL */
.gift-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  z-index: 9999;
}

.gift-modal.active {
  opacity: 1;
  visibility: visible;
}

.gift-modal img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;
  animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
  from {transform: scale(.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.gift-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
}

/* RESPONSIVE */
@media(max-width: 992px){
  .gifting-wrap{
    grid-template-columns: 1fr;
    height: auto;
  }
  
}





/*...............2..........*/



/* container same rahega */
.container{
  max-width:1200px;
  margin:auto;
  padding:0 24px;
}

/* SECTION */
.gifting-section-two{
  padding:5px 0;
}

/* GRID RATIO (2511 : 591 ≈ 4.25 : 1) */
.gifting-two-wrap{
  display:grid;
  grid-template-columns: 4.25fr 1fr;
  gap:24px;
  height:520px;
}

/* IMAGE BOX */
.gift2-box{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  cursor:pointer;
}

.gift2-box img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.9s ease;
}

/* HOVER EFFECT */
.gift2-box:hover img{
  transform:scale(1.12);
}

/* OVERLAY */
.gift2-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.65), transparent);
  display:flex;
  align-items:flex-end;
  padding:40px;
  opacity:0;
  transition:opacity .5s ease;
}

.gift2-box:hover .gift2-overlay{
  opacity:1;
}

.gift2-overlay span{
  color:#fff;
  font-size:28px;
  letter-spacing:1px;
  border-bottom:1px solid rgba(255,255,255,.6);
}

/* MODAL */
.gift2-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:.4s;
  z-index:9999;
}

.gift2-modal.active{
  opacity:1;
  visibility:visible;
}

.gift2-modal img{
  max-width:90%;
  max-height:85%;
  border-radius:12px;
  animation:zoom2 .4s ease;
}

@keyframes zoom2{
  from{transform:scale(.85);opacity:0}
  to{transform:scale(1);opacity:1}
}

.gift2-close{
  position:absolute;
  top:30px;
  right:40px;
  font-size:42px;
  color:#fff;
  cursor:pointer;
}

/* RESPONSIVE */
@media(max-width:992px){
  .gifting-two-wrap{
    grid-template-columns:1fr;
    height: auto;
  }
  
}





/*section...........3.........*/


/* SECTION */
.gift-section{
  max-width:1200px;
  margin:auto;
  padding:15px 15px;
}

.gift-grid{
  display:grid;
  grid-template-columns:1fr .8fr 1fr 1fr;
  gap:20px;
}

/* column with 2 images */
.gift-col{
  display:grid;
  grid-template-rows:1fr 1fr;
  gap:20px;
}

/* image box */
.gift-item{
  position:relative;
  overflow:hidden;
  cursor:pointer;
  height:100%;
}

/* image */
.gift-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease;
  pointer-events:auto;
}

/* hover effect */
.gift-item:hover img{
  transform:scale(1.08);
}

/* RESPONSIVE */
@media(max-width:1024px){
  .gift-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:600px){
  .gift-grid{
    grid-template-columns:1fr;
  }
}

/* MODAL */
.gift-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.gift-modal img{
  max-width:90%;
  max-height:90%;
}

.gift-close{
  position:absolute;
  top:20px;
  right:30px;
  font-size:40px;
  color:#fff;
  cursor:pointer;
}



/*Section ..............4.............*/


/* SECTION */
.gift-section-4{
  max-width:1200px;
  margin:auto;
  padding:10px 15px;
}

/* GRID */
.gift4-container{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  align-items:stretch;
}

/* ITEM */
.gift4-item{
  position:relative;
  overflow:hidden;
  height:240px; /* SAME HEIGHT FOR ALL */
  cursor:pointer;
}

/* IMAGE */
.gift4-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease, filter .6s ease;
}

/* HOVER EFFECT */
.gift4-item:hover img{
  transform:scale(1.08);
  filter:brightness(0.9);
}

/* RESPONSIVE */
@media(max-width:1024px){
  .gift4-container{
    grid-template-columns:1fr 1fr;
  }

  .gift4-item{
    height:380px;
  }
}

@media(max-width:600px){
  .gift4-container{
    grid-template-columns:1fr;
  }

  .gift4-item{
    height:280px;
  }
}



/*Section ..........5........*/


/* SECTION */
.gift-section-5{
  max-width:1200px;
  margin:auto;
  padding:15px 15px;
}

/* MAIN GRID */
.gift5-container{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  align-items:stretch;
}

/* COLUMN TYPES */
.gift5-col{
  display:flex;
  flex-direction:column;
  gap:20px;
  height:505px; /* SAME HEIGHT FOR ALL COLUMNS */
}

.gift5-col.split .gift5-item{
  flex:1;
}

.gift5-col.single .gift5-item{
  height:100%;
}

/* ITEM */
.gift5-item{
  position:relative;
  overflow:hidden;
  border-radius:0;
}

/* IMAGE */
.gift5-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease, filter .6s ease;
}

/* HOVER EFFECT */
.gift5-item:hover img{
  transform:scale(1.08);
  filter:brightness(0.9);
}

/* RESPONSIVE */
@media(max-width:1024px){
  .gift5-container{
    grid-template-columns:1fr 1fr;
  }

  .gift5-col{
    height:400px;
  }
}

@media(max-width:600px){
  .gift5-container{
    grid-template-columns:1fr;
  }

  .gift5-col{
    height:auto;
  }

  .gift5-col.split .gift5-item{
    height:220px;
  }

  .gift5-col.single .gift5-item{
    height:auto;
  }
}


/*section.............8..........*/


/* SECTION WRAPPER */
.gift-section-8{
  max-width:1200px;
  margin:auto;
  padding:15px 15px;
}

/* GRID */
.gift8-container{
  display:grid;
  grid-template-columns:1fr 1fr 1.3fr; /* last column wider */
  gap:20px;
  align-items:stretch;
}

/* ITEM */
.gift8-item{
  position:relative;
  overflow:hidden;
  height:240px; /* SAME HEIGHT FOR ALL */
}

/* IMAGE */
.gift8-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease, filter .6s ease;
}

/* HOVER EFFECT */
.gift8-item:hover img{
  transform:scale(1.08);
  filter:brightness(0.9);
}

/* RESPONSIVE */
@media(max-width:1024px){
  .gift8-container{
    grid-template-columns:1fr 1fr;
  }

  .gift8-item{
    height:380px;
  }

  .gift8-item.wide{
    grid-column:1 / -1;
  }
}

@media(max-width:600px){
  .gift8-container{
    grid-template-columns:1fr;
  }

  .gift8-item{
    height:auto;
  }
}


.new-padding{
    padding-bottom: 50px;
}