/* 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: 200px;
/*    margin-left: -61px;*/
}

/* 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);
    }
}

/* Responsive */
@media(max-width:768px){
    .oz-back-link {
        font-size: 16px;
        padding: 8px 16px;
    }
}






/* Section..........1 */


/* container */
.container{
  max-width:1200px;
  margin:auto;
}

/* section */
.branding-section{
  padding:10px 0;
padding-top: 250px;
}

/* row */
.branding-row{
  display:flex;
  gap:14px;
  height:230px;
}

/* item */
.branding-item{
  overflow:hidden;
  cursor:pointer;
}

.branding-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.4s;
}

.branding-item:hover img{
  transform:scale(1.1);
}

/* widths */
.c1{ width:245px; }
.c2{ width:240px; }
.c3{ width:241px; }
.c4{ width:237px; }
.c5{ width:237px; }

/* ===== POPUP MODAL ===== */
#popup{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.9);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:999999;
}

#popup img{
  max-width:90%;
  max-height:90%;
}

#popup span{
  position:absolute;
  top:20px;
  right:30px;
  font-size:40px;
  color:#fff;
  cursor:pointer;
}

/* responsive */
@media(max-width:992px){
  .branding-row{
    flex-wrap:wrap;
    height:auto;
  }
  .branding-item{
    width:48%;
    height:260px;
  }
}

@media(max-width:576px){
  .branding-item{
    width:100%;
    height:324px;
  }
}




/* Section..........2 */

/* container */
.branding-section-2-container{
  max-width:1200px;
  margin:auto;
  padding:0 15px;
  padding-bottom: 10px;
}

/* main row */
.branding-section-2-row{
  display:grid;
  grid-template-columns: 33% 16% 50%;
  gap:14px;
}

/* column 2 */
.bs2-col2{
  display:grid;
  gap:14px;
}

/* column 3 */
.bs2-col3{
  display:grid;
  gap:14px;
}

.bs2-col3-bottom{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

/* common box */
.bs2-box{
  width:100%;
  overflow:hidden;
}

/* 🔑 IMAGE CONTROLS */
.bs2-box img{
  width:100%;
  height:auto;        /* 🔥 KEY LINE */
  display:block;
  transition:0.4s ease;
}

/* hover */
.bs2-box:hover img{
  transform:scale(1.05);
}

/* ===== RESPONSIVE ===== */
@media(max-width:992px){
  .branding-section-2-row{
    grid-template-columns:1fr;
  }

  .bs2-col3-bottom{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:576px){
  .bs2-col3-bottom{
    grid-template-columns:1fr;
  }
}








    /* Section............3 */


.brand-section-3{
  padding:10px 0;
  background:#fff;
}

.brand-container{
  max-width:1200px;
  margin:auto;
  padding:0 15px;
}

/* GRID */
.brand-grid{
  display:grid;
  grid-template-columns: 1.3fr 0.6fr 0.6fr 1.3fr;
  gap:18px;
  height:565px;
}

/* COLUMNS */
.brand-col{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.brand-col.one{
  height:100%;
}

.brand-col.two{
  height:100%;
}

.brand-col.two .brand-item{
  height:50%;
}

/* IMAGE BOX */
.brand-item{
  position:relative;
  overflow:hidden;
  border-radius:18px;
}

.brand-item.full{
  height:100%;
}

.brand-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}

/* Column 1 container */
.brand-col:first-child{
  display:flex;
  flex-direction:column;
  gap:20px;
}

/* Column 1 container */
.brand-col:first-child{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.brand-col:first-child .brand-item{
  height:auto;              /* 🔥 FIX */
}

.brand-col:first-child .brand-item img{
  width:100%;
  height:auto;              /* 🔥 MOST IMPORTANT */
  object-fit:contain;
  display:block;
}


/* HOVER EFFECT */
.brand-item::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0) 50%,rgba(0,0,0,.25));
  opacity:0;
  transition:.4s;
}

.brand-item:hover::after{
  opacity:1;
}

.brand-item:hover img{
  transform:scale(1.08);
}

/* RESPONSIVE */
@media(max-width:1200px){
  .brand-grid{
    grid-template-columns:repeat(2,1fr);
    height:auto;
  }
  .brand-col{
    height:auto;
  }
  .brand-col.two .brand-item{
    height:260px;
  }
  .brand-item.full{
    height:540px;
  }
}

@media(max-width:768px){
  .brand-grid{
    grid-template-columns:1fr;
  }

  .brand-col.two .brand-item,
  .brand-item.full{
    height:auto;
  }
}








/* Section ............4 */

/* Section 4 */
.gallery-section4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1185px;
  margin: 10px auto;
  align-items: stretch;
}

.g4-col {
  display: flex;
}

.g4-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  transition: transform 0.3s ease;
}

.g4-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.g4-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* Modal */
.g4-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.g4-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

.g4-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
  .gallery-section4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-section4 {
    grid-template-columns: 1fr;
  }
}






/*.........................*/

/* SECTION */
.brand-b-section{
  padding:10px 0;
  background:#fff;
}

/* CONTAINER */
.brand-b-container{
  max-width:1230px;
  margin:auto;
  padding:0 20px;
}

/* GRID */
.brand-b-grid{
  display:grid;
  grid-template-columns: 1.2fr 1.2fr 1.2fr 0.8fr 0.8fr;
  gap:18px;
  align-items:stretch;
}

/* CARD */
.brand-b-card{
  position:relative;
  overflow:hidden;
  border-radius:16px;
  cursor:pointer;
}

/* IMAGE */
.brand-b-card img{
  width:100%;
  height:100%;
  min-height:240px;
  object-fit:cover;
  transition:transform 0.6s ease;
}

/* SMALL COLUMN IMAGES */
.brand-b-card.small img{
  min-height:240px;
}

/* HOVER EFFECT */
.brand-b-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.18);
  opacity:0;
  transition:0.4s;
}

.brand-b-card:hover img{
  transform:scale(1.08);
}

.brand-b-card:hover::after{
  opacity:1;
}

/* RESPONSIVE */
@media(max-width:1400px){
  .brand-b-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:900px){
  .brand-b-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:550px){
  .brand-b-grid{
    grid-template-columns:1fr;
  }

  .brand-b-card img{
    min-height:280px;
  }
}


/* MODAL */
.brand-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  animation:fadeIn 0.4s ease;
}

.brand-modal img{
  max-width:90%;
  max-height:90%;
  border-radius:16px;
  animation:zoomIn 0.4s ease;
}

.brand-modal-close{
  position:absolute;
  top:25px;
  right:35px;
  font-size:42px;
  color:#fff;
  cursor:pointer;
  line-height:1;
}

/* ANIMATIONS */
@keyframes fadeIn{
  from{opacity:0;}
  to{opacity:1;}
}

@keyframes zoomIn{
  from{transform:scale(0.85);}
  to{transform:scale(1);}
}




/*.............5..........*/

.brand-section-5{
  padding:10px 0;
  padding-bottom: 20px;
}

.brand5-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr 0.5fr 1fr;
  gap:18px;
  height:245px; /* SAME HEIGHT */
}

/* CARD */
.brand5-card{
  position:relative;
  overflow:hidden;
  border-radius:18px;
/*  background:#000;*/
  cursor:pointer;
}

/* IMAGE */
.brand5-card img{
  width:100%;
  height:100%;
  object-fit:contain; /* IMAGE CUT NAHI HOGI */
  transition:transform 0.5s ease;
}

/* HOVER EFFECT */
.brand5-card:hover img{
  transform:scale(1.08);
}

/* WIDTH RATIOS (REFERENCE PURPOSE) */
.w-671{flex:1;}
.w-651{flex:0.97;}
.w-320{flex:0.45;}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1200px){
  .brand5-grid{
    grid-template-columns:repeat(3,1fr);
    height:auto;
  }
  .brand5-card{
    height:260px;
  }
}

@media(max-width:768px){
  .brand5-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:480px){
  .brand5-grid{
    grid-template-columns:1fr;
  }
  .brand5-card{
    height:auto;
  }
}






/* Section ...........6 */

.section-12 {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding-bottom: 15px;
}

.col img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.3s ease;
  cursor: pointer;
}

.col img:hover {
  transform: scale(1.03);
  filter: brightness(0.9);
}

.col-2 { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.col-3 { display: grid; grid-template-rows: auto auto; gap: 20px; }
.col-3-top { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Lightbox */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

#lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 12px;
}

/* Close Button */
#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 45px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

@media(max-width:992px){
    .section-12{
        grid-template-columns: 1fr;
    }
    .col-3-top{grid-template-columns:1fr 1fr;}
}







/* Section ............7 */

/* GRID WRAPPER */
.four-col-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1.2fr 0.6fr; /* 4th column narrower */
    gap: 15px;
    max-width: 1200px;
    margin: auto;
}

.four-col-wrapper a img {
    width: 100%;
    height: 320px;          /* FIXED HEIGHT for equal look */
    object-fit: cover;      /* Crop properly */
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
}

.four-col-wrapper a img:hover {
    transform: scale(1.04);
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
}

.lightbox:target {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* CLOSE BUTTON */
.lb-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 45px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}


/* =========== RESPONSIVE FIXES =========== */

/* TABLET (2 Columns) */
@media (max-width: 992px) {
    .four-col-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .four-col-wrapper a img {
        height: 260px;
    }
}

/* MOBILE (1 Column) */
@media (max-width: 600px) {
    .four-col-wrapper {
        grid-template-columns: 1fr;
    }

    .four-col-wrapper a img {
        height: 220px;
    }

    .lb-close {
        font-size: 35px;
        right: 15px;
        top: 15px;
    }
}






/* Section...........8 */

.brand-section-8{
  padding:10px 0;
}

.brand8-grid{
  display:grid;
  grid-template-columns: 2.5fr 1.35fr 1fr 1fr; 
  gap:16px;
  height:242px; /* SAME HEIGHT */
}

/* CARD */
.brand8-card{
  position:relative;
  overflow:hidden;
  border-radius:18px;
/*  background:#000;*/
  cursor:pointer;
}

/* IMAGE */
.brand8-card img{
  width:100%;
  height:100%;
  object-fit:contain; /* NO CROP */
  transition:transform 0.5s ease;
}

/* HOVER EFFECT */
.brand8-card:hover img{
  transform:scale(1.08);
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1200px){
  .brand8-grid{
    grid-template-columns:repeat(2,1fr);
    height:auto;
  }
  .brand8-card{
    height:260px;
  }
}

@media(max-width:768px){
  .brand8-grid{
    grid-template-columns:1fr;
  }
  .brand8-card{
    height:auto;
  }
}






/* Container */
.my-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

/* Row Wrapper */
.five-row-wrapper {
    display: flex;
    gap: 18px;
    padding:28px;
}

/* Image Card */
.img-card {
    flex: 1;
    height: 240px;         /* SAME HEIGHT */
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s ease;
}

.img-card img:hover {
    transform: scale(1.06);
}

/* Popup */
.preview-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.preview-modal img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 12px;
    animation: zoomIn .3s ease;
}

/* Close Button */
.close-preview-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 100000;
}

/* Zoom Animation */
@keyframes zoomIn {
    from { transform: scale(.6); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 992px) {
    .five-row-wrapper {
        flex-wrap: wrap;
    }
    .img-card {
        flex: 1 1 48%;
        height: 220px;
    }
}

@media (max-width: 600px) {
    .img-card {
        flex: 1 1 100%;
        height: auto;
    }
}



/* Section ...........10 */

/* Container */
.my-container {
    width: 90%;
    max-width: 1500px;
    margin: auto;
}

/* Wrapper */
.four-wide-wrapper {
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Fixed Width Columns */
/*.w1007 { max-width: 1007px; flex: 1.2; }
.w585  { max-width: 585px;  flex: 0.7; }
.w795  { max-width: 795px;  flex: 1; }
.w513  { max-width: 513px;  flex: 0.6; }*/

/* Same Height Box */
.wide-box {
    height: 325px;
    overflow: hidden;
    border-radius: 14px;
}

/* Image Styling */
.wide-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform .3s ease;
}

.wide-box img:hover {
    transform: scale(1.06);
}

/* Popup */
.preview-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.preview-img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 12px;
    animation: zoomIn .3s ease;
}

/* Close btn */
.close-preview-btn {
    color: #fff;
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 42px;
    cursor: pointer;
}

@keyframes zoomIn {
    from { transform: scale(.5); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 1200px){
    .four-wide-wrapper {
        flex-wrap: wrap;
    }
    .wide-box {
        flex: 1 1 48%;
        height: 240px;
    }
}

@media (max-width: 768px){
    .four-wide-wrapper {
        grid-template-columns: 1fr;
    }

    .wide-box {
        height: auto;
    }

    .wide-box img {
        height: auto;
        object-fit: contain;
    }
}





/* Section ...............11 */


/* Outer structure */
.outer-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.inner-container {
    width: 1262px;
    max-width: 95%; 
    display: flex;
    gap: 15px; /* gap कम किया ताकि width बड़ी लगे */
}

/* Same height */
.img-box {
    height: 330px; /* बड़ा height ताकि image बड़ी लगे */
    overflow: hidden;
    border-radius: 10px;
    flex-grow: 1;
}

/* PERFECT RATIO – bigger look */
/*.img-box:nth-child(1) { flex-basis: 36%; }
.img-box:nth-child(2) { flex-basis: 16%; }
.img-box:nth-child(3) { flex-basis: 16%; }
.img-box:nth-child(4) { flex-basis: 15%; }
.img-box:nth-child(5) { flex-basis: 15%; }*/

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s ease;
    cursor: pointer;
}

.img-box img:hover {
    transform: scale(1.08);
}

/* POPUP */
.custom-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
}

.custom-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* RESPONSIVE */
@media(max-width: 992px){
    .inner-container {
        flex-wrap: wrap;
    }
    .img-box {
        flex-basis: calc(50% - 10px);
        height: auto;
    }
}

@media(max-width: 600px){
    .img-box {
        flex-basis: 100%;
        height: auto;
    }
}

