/* 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: 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);
    }
}



/* Start Section .............1 */

.custom-gallery {
    max-width: 1200px;
    margin: auto;
    padding-top: 250px;
}

.custom-section {
    display: flex;
    gap: 18px;
    padding: 25px 0;
    padding-top: 265px;
}

/* Columns */
.col1 { flex: 0 0 40%; }
.col2 { flex: 0 0 22%; }
.col3 { flex: 0 0 34%; }

.box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Images */
.custom-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .3s ease;
}

.custom-img:hover {
    transform: scale(1.03);
}


/* ---------- LIGHTBOX POPUP ---------- */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    animation: zoomIn .3s ease;
}

#lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* animation */
@keyframes zoomIn {
    from { transform: scale(.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}



@media (max-width: 768px) {

    .custom-section {
        flex-direction: column;
    }

    .col1,
    .col2,
    .col3 {
        flex: 0 0 100%;
    }

    .custom-img {
        height: auto;
        max-height: 260px;
    }
}



/* Start Section .......3 */

.gallery-section {
    width: 100%;
    max-width: 1200px;
    display: flex;
    gap: 18px;
    margin: auto;
    padding-bottom: 5px;
}

/* Columns */
.column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.col-1 { width: 23%; }
.col-2 { width: 47%; }
.col-3 { width: 32%; }

/* Image Container */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.image-container:hover {
    transform: translateY(-5px);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* Heights */
.col-1 .image-container { height: 250px; }

.col-2 .top-row,
.col-2 .bottom-row {
    display: flex;
    gap: 15px;
}

.col-2 .top-row .image-container { height: 250px; }
.col-2 .bottom-row .image-container { height: 200px; }

.col-3 .image-container { height: 520px; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.close-btn1 {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    cursor: pointer;
    color: white;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .gallery-section {
        flex-direction: column;
    }
    .col-1, .col-2, .col-3 {
        width: 100%;
    }
    .col-3 .image-container {
        height: 566px;
    }
}

@media (max-width: 576px) {
    .col-2 .top-row, .col-2 .bottom-row {
        flex-direction: column;
    }
    .col-2 .top-row .image-container,
    .col-2 .bottom-row .image-container {
        height: 200px;
    }
}




/*...............................*/

.digital-impact-section{
  padding:10px 0;
}

/* agar bootstrap use nahi kar rahe */
.container{
  max-width:1225px;
  margin:auto;
  padding:0 15px;
}

/* GRID LAYOUT */
.digital-impact-grid{
  display:grid;
  grid-template-columns: 2.1fr 2.1fr 1fr 1fr;
  gap:16px;
  height:252px; /* SAME HEIGHT */
}

/* CARD */
.impact-card{
  position:relative;
  overflow:hidden;
  border-radius:18px;
/*  background:#000;*/
}

/* IMAGE */
.impact-card img{
  width:100%;
  height:100%;
  object-fit:contain; /* NO CROP */
  transition:transform .6s ease;
}

/* HOVER */
.impact-card:hover img{
  transform:scale(1.08);
}

/* RESPONSIVE */
@media(max-width:1200px){
  .digital-impact-grid{
    grid-template-columns:repeat(2,1fr);
    height:auto;
  }
  .impact-card{
    height:260px;
  }
}

@media(max-width:768px){
  .digital-impact-grid{
    grid-template-columns:1fr;
  }
  .impact-card{
    height:230px;
  }
}





/* Section 3 Start*/

    .section-3 {
        width: 100%;
    max-width: 1200px;
    display: flex;
    gap: 18px;
    margin: auto;
    padding-bottom: 5px;
    }

    .section-3 .col {
        width: 33.33%;
    }

    .section-3 .image-box {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        cursor: pointer;
/*        box-shadow: 0 5px 15px rgba(0,0,0,0.3);*/
        transition: 0.3s ease;
        
        /* Same size images */
/*        aspect-ratio: 578 / 522;*/
        width: 100%;
    }

    .section-3 .image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.4s ease;
        margin-top: 16px;
    }

    .section-3 .image-box:hover img {
        transform: scale(1.05);
    }

    /* Responsive */
    @media(max-width: 768px) {
        .section-3 {
            flex-direction: column;
        }
        .section-3 .col {
            width: 100%;
        }
    }



/*   Section 4 Start Here */


/* ======== CONTAINER ======== */
.oz4-container{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:20px 10px;
}
.oz4-section {
    margin-bottom: 0px;
}

/* ======== MAIN SECTION ======== */
.oz4-section{
    display:flex;
    gap:18px;
    width:100%;
    height:820px; /* FIXED SAME HEIGHT */
    z-index: 9999;
}

/* Columns */
.oz4-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    overflow: hidden;
}



/* Image Styles */
.oz4-img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:10px;
    cursor:pointer;
    transition:transform .35s ease, box-shadow .35s ease;
    background:#fff;
}

/* Hover Effect */
.oz4-img:hover{
    transform:scale(1.05);
    box-shadow:0 10px 30px rgba(0,0,0,0.45);
}

/* Height Control */
.oz4-big{
    flex:2;
}

.oz4-small{
    flex:1;
}

.oz4-center-row{
    display:flex;
    gap:15px;
    flex:2;
}

.oz4-half{
    flex:1;
}

/* ======== POPUP VIEWER ======== */
#oz4-popup{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.9);
    justify-content:center;
    align-items:center;
    z-index:99999;
}


#oz4-popup-img{
    max-width:90%;
    max-height:90%;
    border-radius:12px;
    animation:oz4-zoom .4s ease;
}

.oz-close-btn {
    position: absolute;
    top: 20px;
    right: 66px;
    font-size: 45px;
    color: #fff;
    cursor: pointer;
    z-index: 9999999;
    transition: .3s;
}
.oz-close-btn:hover {
    color: #ff4444;
}
.oz4-center-row {
    display: flex;
    gap: 12px;
    width: 100%;
}

.oz4-half {
    width: 47%;
    height: auto;
    object-fit: cover;
}



.oz-image-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.88);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
}

.oz-image-popup.active {
    display: flex;
}


.oz-close-btn:hover {
    color: #ff4f4f;
    transform: scale(1.2);
}

#ozPopupImg {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    animation: zoomIn .4s ease;
}


@keyframes zoomIn {
    0% { transform: scale(0.4); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ======== RESPONSIVE ======== */
@media(max-width:768px){
    .oz4-section{
        flex-direction:column;
        height:auto;
    }
    .oz4-big, .oz4-small, .oz4-half{
        height:250px;
    }
}





/*Start Section 5 here*/


/* SECTION 6 MAIN WRAPPER */
.section6 {
    width: 100%;
    margin-top: 20px;
}

/* Put everything inside a container */
.section6-container-wrapper {
    width: 90%;
    max-width: 1225px;
    margin: auto;
}

.section6-container {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

/* Perfect Widths */
.section6-col-1 { width: 19%; }
.section6-col-2 { width: 26%; }
.section6-col-3 { width: 26%; }
.section6-col-4 { width: 26%; }

/* Column Height */
.section6-col {
    height: 275px;
    overflow: hidden;   /* NEW — images bahar nahi jayengi */
    position: relative;
}

.section6-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s;
    height: 100% !important;   /* NEW — image column ke height ke hisaab se fit hogi */
    object-fit: cover;
}

.section6-img:hover {
    transform: scale(1.06);
    box-shadow: 0px 8px 30px rgba(0,0,0,0.25);
}

/* POPUP */
.section6-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.section6-popup img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 14px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* NEW FIXED CLOSE BUTTON */
.s6-close-btn {
    position: absolute;
    top: 40px;
    right: 50px;
    font-size: 48px;
    cursor: pointer;
    color: #fff;
    z-index: 10000;
    transition: 0.3s;
}

.s6-close-btn:hover {
    color: #ff4444;
}


@media(max-width: 991px) {
    .section6-container { 
        flex-wrap: wrap; 
        row-gap: 20px;   /* NEW */
    }

    .section6-col {
        width: 48% !important;
        height: 260px;
    }
}

@media(max-width: 600px) {
    .section6-container {
        row-gap: 20px;   /* NEW */
    }

    .section6-col {
        width: 100% !important;
        height: 220px;
    }
}






/* Section 6 here */



.section5{
        
        display:flex;
        gap:18px;
        width: 90%;
       max-width: 1225px;
       margin: 20px auto;
    }

    /* Column Widths */
    .section5-col1{ width:32%; }
    .section5-col2{ width:33%; }
    .section5-col3{ width:35%; }

    .section5-column{
        display:flex;
        flex-direction:column;
        gap:15px;
    }

    .section5-img-box{
        background:#fff;
        border-radius:8px;
        padding:5px;
        display:flex;
        justify-content:center;
        align-items:center;
        overflow:hidden;
        cursor:pointer;
        transition:transform .3s ease, box-shadow .3s ease;
    }

    .section5-img-box:hover{
        transform:scale(1.02);
        box-shadow:0 8px 20px rgba(0,0,0,.4);
    }

    .section5-img-box img{
        width:100%;
        height:100%;
        object-fit:contain;
        transition:transform .4s ease;
    }

    .section5-img-box:hover img{
        transform:scale(1.05);
    }

    /* Column Heights */
    .section5-col1 .section5-img-box{
        height:504px;
    }

    .section5-col2 .section5-top-row,
    .section5-col2 .section5-bottom-row{
        display:flex;
        gap:15px;
        height:250px;
    }

    .section5-col2 .section5-top-row .section5-img-box,
    .section5-col2 .section5-bottom-row .section5-img-box{
        flex:1;
    }

    .section5-col3 .section5-img-box{
        height:242px;
    }

    /* =============================
       LIGHTBOX (Only Section 5)
       ============================= */
    #section5-lightbox{
        position:fixed;
        inset:0;
        background:rgba(0,0,0,0.9);
        display:none;
        justify-content:center;
        align-items:center;
        z-index:9999;
        animation:section5-fadeIn .3s ease;
    }

    #section5-lightbox img{
        max-width:90%;
        max-height:90%;
        border-radius:10px;
        animation:section5-zoomIn .3s ease;
    }

    #section5-close-btn{
    position:absolute;
    top:20px;
    right:30px;
    font-size:45px;
    color:white;
    cursor:pointer;
    z-index:10000;
    font-weight:bold;
    transition:0.2s;
}

#section5-close-btn:hover{
    color:#ff4444;
    transform:scale(1.2);
}


    @keyframes section5-fadeIn{
        from{opacity:0;}
        to{opacity:1;}
    }

    @keyframes section5-zoomIn{
        from{transform:scale(0.6);}
        to{transform:scale(1);}
    }

    /* Responsive */
    @media(max-width:900px){
        .section5{
            flex-direction:column;
        }
        .section5-col1, .section5-col2, .section5-col3{
            width:100%;
        }
        .section5-col1 .section5-img-box{height:445px;}
        .section5-col3 .section5-img-box{height:220px;}
        .section5-col2 .section5-top-row, 
        .section5-col2 .section5-bottom-row{
            height:200px;
        }
    }




 /* SECTION 7 */




.section7 {
    width: 100%;
    margin: 10px auto;
}

.section7-container {
    display: flex;
    display:flex;
        gap:18px;
        width: 90%;
       max-width: 1225px;
       margin: 20px auto;

}

.section7-col {
    width: 33.33%;
    overflow: hidden;
    border-radius: 10px;
}

.section7-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.section7-img:hover {
    transform: scale(1.05);
}

/* Fullscreen Lightbox */
.section7-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.section7-lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.section7-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 50px;
    color: white;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .section7-container {
        flex-direction: column;
    }

    .section7-col {
        width: 100%;
    }

    .section7-img {
        height: 300px;
    }
}


.new-padding{
    padding-bottom: 50px;
}