/* 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);
    }
}





/*Section 1 start here*/


.image-section {
    max-width: 1250px;
    margin: auto;
    padding: 10px;
    padding-top: 250px;
}

.image-container {
    display: flex;
    gap: 15px;
    height: 500px; /* full section height */
}

/* All columns equal */
.col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden; /* prevents overlap */
}

/* Column 1 → full height but NO CROP */
.col1 img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* ← No crop */
    background: #000;     /* Empty areas fill safely */
    border-radius: 12px;
    cursor: pointer;
}

/* Column 2 & 3 → two equal images */
.col2 img,
.col3 img {
    width: 100%;
    height: 50%;          /* equal top + bottom */
    object-fit: cover;    /* maintains shape properly */
    border-radius: 12px;
    cursor: pointer;
}

/* Hover */
.popup-img:hover {
    transform: scale(1.03);
    transition: 0.3s;
}

/* Popup */
#popupViewer {
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.8);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

#popupViewer img {
    width:100%;
    max-width:250px;
    border-radius:10px;
}

#closePopup {
    position:absolute;
    top:20px; right:30px;
    font-size:40px;
    cursor:pointer;
    color:#fff;
}

/* Column widths */
.col1 {
    flex: 0.8;   /* छोटा */
}

.col2 {
    flex: 1.2;   /* बड़ा */
}

.col3 {
    flex: 1.2;   /* बड़ा */
}


/* Responsive */
@media(max-width:992px){
    .image-container {
        flex-direction: column;
        height: auto;
    }

    .col1 img,
    .col2 img,
    .col3 img {
        height: auto;
    }
}





/*...............2..............*/


.branding-sec-2 {
    padding: 10px 0;
}

.branding-container {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: 0.8fr 1.1fr; /* LEFT smaller | RIGHT bigger  */
    gap: 20px;
    align-items: stretch;
}

/* Columns */
.brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Images */
.brand-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Right column images only */
.small-img {
    height: 50%;
}

/* Hover Zoom */
.brand-img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Fade In */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.popup-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.brand3-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 45px;
    cursor: pointer;
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .branding-container {
        grid-template-columns: 1fr;
    }
    .small-img {
        height: auto;
    }
}



/*..............3...........*/


.brand-sec3 {
    padding: 10px 0;
}

.brand3-container {
    width: 100%;
    max-width: 1250px;
    margin: auto;

    display: grid;
    grid-template-columns: 0.33fr 0.25fr 0.42fr; /* Perfect width ratio */
    gap: 20px;
    align-items: stretch;
}

/* Columns */
.brand3-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Images */
.brand3-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: transform .35s ease, box-shadow .35s ease, opacity .35s ease;
}

.brand3-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* Make both images share equal space inside column 1 & 2 */
.brand3-top,
.brand3-bottom {
    flex: 1;
}

/* Full-height single image for column 3 */
.brand3-col .single {
    height: 100%;
}

/* POPUP */
.brand3-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.brand3-popup img {
    max-width: 92%;
    max-height: 92%;
    border-radius: 16px;
    animation: fadeZoom .3s ease;
}

@keyframes fadeZoom {
    from { opacity: 0; transform: scale(0.6); }
    to   { opacity: 1; transform: scale(1); }
}

/* Close Button */
.brand3-close {
    position: absolute;
    top: 35px;
    right: 45px;
    font-size: 48px;
    cursor: pointer;
    color: white;
    transition: .3s;
}

.brand3-close:hover {
    color: #ff4a4a;
}

/* Responsive */
@media(max-width: 991px) {
    .brand3-container {
        grid-template-columns: 1fr;
    }
    .brand3-col .single {
        height: auto;
    }
    .brand3-img {
        height: 260px;
    }
}

@media(max-width: 600px) {
    .brand3-img {
        height: 200px;
    }
}


/*.................4.............*/


.brand-sec4 {
    padding: 10px 0;
}

.brand4-container {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    
    display: grid;
    grid-template-columns: 0.34fr 0.34fr 0.32fr; /* Perfect ratio */
    gap: 20px;
    align-items: stretch;
}

.brand4-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Images */
.brand4-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: transform .35s ease, box-shadow .35s ease, opacity .35s ease;
}

.brand4-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* Split column images share equal height */
.brand4-top,
.brand4-bottom {
    flex: 1;
}

/* Single full-height image for column 3 */
.brand4-col .single {
    height: 100%;
}

/* POPUP */
.brand4-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.brand4-popup img {
    max-width: 92%;
    max-height: 92%;
    border-radius: 16px;
    animation: fadeZoom .3s ease;
}

@keyframes fadeZoom {
    from { opacity: 0; transform: scale(0.6); }
    to   { opacity: 1; transform: scale(1); }
}

.brand4-close {
    position: absolute;
    top: 35px;
    right: 45px;
    font-size: 48px;
    color: white;
    cursor: pointer;
    transition: .3s;
}

.brand4-close:hover {
    color: #ff4444;
}

/* Responsive */
@media(max-width: 991px) {
    .brand4-container {
        grid-template-columns: 1fr;
    }
    .brand4-img {
        height: 260px;
    }
    .brand4-col .single {
        height: auto;
    }
}

@media(max-width: 600px) {
    .brand4-img {
        height: 200px;
    }
}


/*...........6..........*/


/* Section container */
.brand-sec6 {
    padding: 10px 0;
}
.brand6-container {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    display: flex;
    gap: 18px;
    height: 251px; /* Equal height */
    width: 100%;
}

/* Columns */
.brand6-col {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.col-wide { width: 40%; }      /* Column 1 */
.col-medium { width: 30%; }    /* Column 2 & 3 */

/* Images */
.brand6-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    cursor: pointer;
}

/* Hover Animation */
.brand6-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.close {
    position: absolute;
    top: 40px;
    right: 60px;
    font-size: 55px;
    color: #fff;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
    .brand6-container {
        flex-direction: column;
        height: auto;
    }
    .brand6-col {
        width: 100%;
        height: 260px;
    }
}


/*...................7..............*/


/* Section wrapper */

.brand-sec7{
    margin: 15px 0;
}
.brand7-container {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    display: flex;
    gap: 18px;
    height: 254px;      /* Equal height */
    width: 100%;
}

/* Each column */
.brand7-col {
    width: 50%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Image styling */
.brand7-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    cursor: pointer;
}

/* Hover effect */
.brand7-img:hover {
    transform: scale(1.06);
    opacity: 0.9;
}

/* Popup fullscreen */
.popup {
    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: 10000;
}

.popup img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 14px;
}

.close {
    position: absolute;
    top: 40px;
    right: 60px;
    font-size: 55px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .brand7-container {
        flex-direction: column;
        height: auto;
    }
    .brand7-col {
        width: 100%;
        height: 161px;
    }
}


/*..............8............*/


/* Main Section Padding */
.brand-sec8 {
    padding: 15px 20px;   /* Left-right padding added */
}

/* Main Container */
.brand8-container {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    display: flex;
    gap: 18px;
    height: 520px;
}

/* LEFT Column (smaller) */
.brand8-left {
    width: 27%;
    height: 100%;
    overflow: hidden;
}

/* RIGHT Column (bigger) */
.brand8-right {
    width: 73%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Top Box */
.brand8-top {
    height: 50%;
    overflow: hidden;
}

/* Bottom Box (two images) */
.brand8-bottom {
    height: 50%;
    display: flex;
    gap: 18px;
}

/* Bottom individual items */
.brand8-bottom-left,
.brand8-bottom-right {
    width: 50%;
    height: 100%;
    overflow: hidden;
}

/* Image */
.brand8-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.brand8-img:hover {
    transform: scale(1.07);
    opacity: 0.92;
}

/* -------------------------------------------- */
/* RESPONSIVE FIX — show full images */
/* -------------------------------------------- */
@media (max-width: 992px) {
    .brand8-container {
        flex-direction: column;
        height: auto;
    }

    /* Force natural height – NO CROP */
    .brand8-left,
    .brand8-right,
    .brand8-top,
    .brand8-bottom-left,
    .brand8-bottom-right {
        width: 100%;
        height: auto;                /* FIX – no cropping */
    }

    .brand8-left img,
    .brand8-top img,
    .brand8-bottom-left img,
    .brand8-bottom-right img {
        height: auto;                /* FIX – full height allowed */
        object-fit: contain;         /* FIX – image 100% visible */
    }

    .brand8-bottom {
        flex-direction: column;
        height: auto;
    }
}





/*...............9.............*/


/* Full Section Padding */
.brand-sec-9 {
  padding: 15px 0;
  position: relative;
  padding-bottom: 60px;
}

/* Main Grid */
.brand-grid-9 {
    width: 100%;
    max-width: 1250px;
    margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
}

/* Image Wrapper */
.brand-9-item {
  width: 100%;
  height: 264px;        /* Same height for all */
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

/* Images */
.brand-9-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
  cursor: pointer;
}

/* Hover Effect */
.brand-9-item:hover img {
  transform: scale(1.08);
  opacity: 0.9;
}

/* Popup */
.img-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.img-popup img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.img-popup .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* Responsive Fix — No Overlap */
@media (max-width: 992px) {
  .brand-grid-9 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .brand-grid-9 {
    grid-template-columns: 1fr;
  }

  .brand-9-item {
    height: 260px;     /* mobile height */
  }
}




