.gallery-wrap {
    min-height: 100vh;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 80px;
    gap: 10px;
}

.item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    background-size: cover;
    background-position: center;
}

.item:hover {
    transform: scale(1.02);
    z-index: 2;
    filter: brightness(0.88);
}

.item-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    position: relative;
}

.item-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s ease;
    position: relative;
    z-index: 2;
    color: #fff;
}

.item:hover .item-label {
    opacity: 1;
    transform: translateY(0);
}

.item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item:hover .item-overlay {
    opacity: 1;
}

/* GRID LAYOUT */

.item:nth-child(1) {
    grid-column: 1 / 9;
    grid-row: 1 / 5;
}

.item:nth-child(2) {
    grid-column: 9 / 13;
    grid-row: 1 / 4;
}

.item:nth-child(3) {
    grid-column: 9 / 12;
    grid-row: 4 / 6;
}

.item:nth-child(4) {
    grid-column: 12 / 13;
    grid-row: 4 / 6;
}

.item:nth-child(5) {
    grid-column: 1 / 6;
    grid-row: 5 / 8;
}

.item:nth-child(6) {
    grid-column: 6 / 9;
    grid-row: 5 / 8;
}

.item:nth-child(7) {
    grid-column: 9 / 13;
    grid-row: 6 / 9;
}

.item:nth-child(8) {
    grid-column: 1 / 4;
    grid-row: 8 / 10;
}

.item:nth-child(9) {
    grid-column: 4 / 9;
    grid-row: 8 / 10;
}

.item:nth-child(10) {
    grid-column: 1 / 5;
    grid-row: 10 / 12;
}

.item:nth-child(11) {
    grid-column: 5 / 9;
    grid-row: 10 / 12;
}

.item:nth-child(12) {
    grid-column: 9 / 13;
    grid-row: 9 / 12;
}

/* TABLET */

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 70px;
    }

    .item:nth-child(1) {
        grid-column: 1 / 5;
        grid-row: 1 / 5;
    }

    .item:nth-child(2) {
        grid-column: 5 / 7;
        grid-row: 1 / 4;
    }

    .item:nth-child(3) {
        grid-column: 5 / 7;
        grid-row: 4 / 6;
    }

    .item:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 5 / 7;
    }

    .item:nth-child(5) {
        grid-column: 3 / 7;
        grid-row: 5 / 7;
    }

    .item:nth-child(6) {
        grid-column: 1 / 4;
        grid-row: 7 / 9;
    }

    .item:nth-child(7) {
        grid-column: 4 / 7;
        grid-row: 7 / 10;
    }

    .item:nth-child(8) {
        grid-column: 1 / 3;
        grid-row: 9 / 11;
    }

    .item:nth-child(9) {
        grid-column: 3 / 5;
        grid-row: 9 / 11;
    }

    .item:nth-child(10) {
        grid-column: 1 / 3;
        grid-row: 11 / 13;
    }

    .item:nth-child(11) {
        grid-column: 3 / 5;
        grid-row: 11 / 13;
    }

    .item:nth-child(12) {
        grid-column: 5 / 7;
        grid-row: 10 / 13;
    }
}

/* MOBILE */

@media (max-width: 560px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 100px;
    }

    .item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 4;
    }

    .item:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: 4 / 6;
    }

    .item:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 4 / 6;
    }

    .item:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 6 / 8;
    }

    .item:nth-child(5) {
        grid-column: 1 / 2;
        grid-row: 8 / 10;
    }

    .item:nth-child(6) {
        grid-column: 2 / 3;
        grid-row: 8 / 11;
    }

    .item:nth-child(7) {
        grid-column: 1 / 2;
        grid-row: 10 / 12;
    }

    .item:nth-child(8) {
        grid-column: 1 / 3;
        grid-row: 12 / 14;
    }

    .item:nth-child(9) {
        grid-column: 1 / 2;
        grid-row: 14 / 16;
    }

    .item:nth-child(10) {
        grid-column: 2 / 3;
        grid-row: 14 / 16;
    }

    .item:nth-child(11) {
        grid-column: 1 / 3;
        grid-row: 16 / 18;
    }

    .item:nth-child(12) {
        grid-column: 1 / 2;
        grid-row: 18 / 20;
    }
}

/* ================== LIGHTBOX FIX ================== */
.lightbox {
    position: fixed; /* Stays in the same place even if you scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Darker background */
    
    /* Centering logic */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 10000; /* Higher than everything else */
}

/* This class is added by JavaScript when you click an image */
.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    /* border: 3px solid white; */
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    line-height: 1;
}





:root {
  /**=========== color ===========*/
  --oit-clr-white: #fff;
  --oit-clr-black: #000;
  --oit-grey-1: #f5f5f5;
  --oit-grey-2: #494949;
  --oit-text-body: #5d5d5d;
  --oit-theme-1: #000;
  --oit-border-1: #EAEBED;
}


/*----------------------------------------*/
/* testimonial css start here
/*----------------------------------------*/

.dg-testimonial-area{
    background-color: #f9ede3;
}

.dg-testimonial-authour-thumb{
    margin-right: 15px;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .dg-testimonial-area {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}
.dg-testimonial-item {
  padding: 40px;
  min-height: 550px;
  border-radius: 10px;
  background-color: var(--oit-clr-white);
}
@media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .dg-testimonial-item {
    min-height: 500px;
  }
}
.dg-testimonial-item p.text-large {
  font-weight: 600;
  font-size: 25px;
  line-height: 1.3;
  margin-right: 45px;
  color: var(--oit-clr-black);
}
@media only screen and (min-width: 1600px) and (max-width: 1700px) {
  .dg-testimonial-item p.text-large {
    font-size: 27px;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px) {
  .dg-testimonial-item p.text-large {
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .dg-testimonial-item p.text-large {
    font-size: 20px;
    margin-right: 0;
  }
}
.dg-testimonial-item p.text-large.large-style-2 {
  margin-right: 0;
  margin-top: 35px;
}
.dg-testimonial-item p.text-small {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.65;
}
@media (max-width: 767px) {
  .dg-testimonial-item p.text-small {
    font-size: 15px;
  }
}
.dg-testimonial-item p.text-small span {
  color: var(--oit-text-body);
}
.dg-testimonial-authour-title {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 3px;
}
.dg-testimonial-authour-info {
  font-weight: 400;
  font-size: 14px;
}
.dg-testimonial-shape {
  position: absolute;
  top: 7%;
  right: 6.5%;
  z-index: -1;
}
@media only screen and (min-width: 1600px) and (max-width: 1700px) {
  .dg-testimonial-shape {
    right: -3%;
    transform: scale(0.5);
  }
}
@media only screen and (min-width: 1400px) and (max-width: 1599px), only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px) {
  .dg-testimonial-shape {
    right: -3%;
    transform: scale(0.5);
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .dg-testimonial-shape {
    top: 0;
    right: -3%;
    transform: scale(0.5);
  }
}
.dg-testimonial-active {
  margin-right: -555px;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .dg-testimonial-active {
    margin-right: 0;
  }
}

.border-radius-10 {
    border-radius: 10px;
}

.mb-70 {
    margin-bottom: 70px;
}

.pb-70 {
    padding-bottom: 70px;
}

.mb-60 {
    margin-bottom: 60px;
}
.pl-90{
    padding-left: 90px;
}


/*----------------------------------------*/
/* about vision css start here
/*----------------------------------------*/
.ba-about-area{
    padding-top: 20px;
}

.oit-section-title-box{
    margin-bottom: 30px;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .ba-about-area {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .ba-about-area {
    padding-top: 30px;
    padding-bottom: 0px;
  }
}
@media only screen and (min-width: 1600px) and (max-width: 1700px) {
  .ba-about-area .oit-section-title {
    font-size: 110px;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .ba-about-area .oit-section-title {
    font-size: 70px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .ba-about-area .oit-section-title {
    font-size: 55px;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .ba-about-area .dg-about-content-wrap {
    padding-left: 0;
  }
}
.ba-about-vision-wrap .row [class*=col-]:not(:last-child) .ba-about-vision-item {
  border-right: 1px solid #d9d9d9;
}
.ba-about-vision-title {
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 30px;
  color: var(--oit-clr-black);
}
.ba-about-vision-inner {
  padding-left: 70px;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px) {
  .ba-about-vision-inner {
    padding-left: 20px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .ba-about-vision-inner {
    padding-left: 0;
  }
}
.ba-about-vision-item {
  height: 100%;
}
.ba-about-vision-item p {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  padding-right: 40px;
}
@media only screen and (min-width: 1400px) and (max-width: 1599px) {
  .ba-about-vision-item p {
    font-size: 16px;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .ba-about-vision-item p {
    font-size: 16px;
    padding-right: 10px;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .ba-about-vision-item p {
    font-size: 16px;
    padding-right: 70px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .ba-about-vision-item p {
    padding-right: 0;
  }
}
.ba-about-vision-item p span {
  color: var(--oit-clr-black);
}
.ba-about-vision-item ul li {
  list-style-type: none;
  margin-bottom: 15px;
}
.ba-about-vision-item ul li span {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  color: #494949;
  letter-spacing: -0.02em;
}
.ba-about-vision-item ul li span::before {
  content: "";
  height: 7px;
  width: 7px;
  margin-right: 7px;
  border-radius: 50%;
  display: inline-block;
  transform: translateY(-2px);
  background-color: var(--oit-clr-black);
}

.main-slider{
  background-color: #f9ede3;
}


.my-logo{
  max-width: 330px;
}
@media only screen and (max-width: 767px) {
  .oit-about-thumb {
    padding-bottom: 30px;
  }

  .ba-about-vision-item {
    margin-bottom: 20px;
  }

  .my-logo{
        max-width: 240px;
        padding: 65px 0 0 0;
}
}

.social-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  margin: 8px 10px 0 0;
  border-radius: 50px;
  border: 1px solid #000;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  transition: all 0.4s ease;
}

.social-btn i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

/* Hover background animation */
.social-btn::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  background: #000;
  top: 0;
  left: 0;
  z-index: -1;
  transition: width 0.4s ease;
}

.social-btn:hover::before {
  width: 100%;
}

/* Text color change */
.social-btn:hover {
  color: #fff;
}

/* Icon move */
.social-btn:hover i {
  transform: translateX(4px) scale(1.1);
}

@media (max-width: 768px) {
  .social-btn span {
    display: none; /* 👈 hide text */
  }

  .social-btn {
    padding: 10px;       /* smaller button */
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .social-btn i {
    font-size: 16px;
  }
}