/*  ------------------ Green Header --------------------- */

.breadcrumb-section {
  position: relative;
  width: 100%;
  display: flex;
  height: 150px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 55px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.greenColor-wrapper {
  width: 100%;
  display: flex;
  position: absolute;
  height: 100%;
  z-index: 1;
  top: 0;
  inset-inline-end: 0;
  justify-content: flex-end;
}

.greenColor {
  width: 40%;
  height: 150px;
  position: relative;
  /* background-color: #4da05b; */
}

.active-title {
  font-weight: 400;
  color: #545454;
  font-size: 16px;
}

/* gray color */
.gray1,
.gray2,
.gray3 {
  position: absolute;
  height: 100%;
  background-color: #d8d8d8;
}

.gray1 {
  width: 8px;
  inset-inline-end: calc(39vw - 38px);
}

.gray2 {
  width: 16px;
  inset-inline-end: calc(39vw - 23px);
}

.gray3 {
  width: 22px;
  inset-inline-end: calc(39vw - 0px);
}

/* Green Header Title */
.greenTitle-wrapper{
  width: 100%;
  display: flex;
  height: 100%;
  z-index: 2;
  align-items: center;
}
.greenTitle {
  width: 100%;
  max-width: 1350px;
  margin: 20px auto;
}

.bread-crumb-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 156%;
  margin-bottom: 5px;
}

.greenTitle div p {
  color: #787878;
  font-weight: 400;
  font-size: 15px;
  line-height: 156%;
  text-align: start;
}

.greenTitle div p span {
  font-weight: 500;
  line-height: 156%;
  text-align: start;
  margin: auto 5px;
}

.breadcrumb {
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  gap: 5px;
  font-weight: 400;
  font-size: 15px;
  color: #787878;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li a {
  color: #545454;
  text-decoration: none;
  font-weight: 400;
  cursor: pointer;
}

.breadcrumb li a:hover {
  text-decoration: none;
}

.breadcrumb li span {
  margin: 0 5px;
  user-select: none;
}

.breadcrumb li.active-title {
  color: #545454;
  font-weight: 500;
  font-size: 15px;
  cursor: default;
  user-select: none;
}

/* Mobile screen */
@media (max-width: 767px) {

  .gray1,
  .gray2,
  .gray3 {
    display: none;
  }


  .greenColor {
    width: 40vw;
  }

  .greenTitle {
    margin: 20px auto;
  }

  .bread-crumb-title {
    font-weight: 600;
    font-size: 15px;
  }

  .greenTitle div p {
    font-size: 10px;
  }
}

/* Tablet Screen */
@media (min-width: 768px) and (max-width: 1024px) {

.gray1 {
  width: 8px;
  inset-inline-end: calc(38vw - 38px);
}

.gray2 {
  width: 16px;
  inset-inline-end: calc(38vw - 23px);
}

.gray3 {
  width: 22px;
  inset-inline-end: calc(38vw - 0px);
}

  .greenTitle {
    margin: 20px auto;
  }

  .bread-crumb-title {
    font-weight: 600;
    font-size: 20px;
  }

  .greenTitle div p {
    font-size: 15px;
  }
}

/* Small Laptop Screen */
@media (min-width: 1025px) and (max-width: 1280px) {
  .greenTitle div p {
    font-size: 20px;
    text-align: start;
  }
}

@media (min-width: 1281px) and (max-width: 1400px) {
  .greenTitle div p {
    font-size: 20px;
  }
}
@media (max-width:768px) {
      .gray1,
  .gray2,
  .gray3 {
    display: none;
  }
}

/* ---------- Videos ------------- */

.videos-container {
  width: 100%;
  height: 901px;
  display: flex;
  gap: 20px;
    margin-bottom: 50px;
}

.video-parent {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 20px;
}

.video-item1 {
  grid-row: span 2 / span 2;
}

.video-item2 {
  grid-row: span 2 / span 2;
  grid-column-start: 1;
  grid-row-start: 3;
}

.video-item3 {
  grid-column-start: 2;
  grid-row-start: 1;
}

.video-item4 {
  grid-column-start: 2;
  grid-row-start: 2;
}

.video-item5 {
  grid-column-start: 2;
  grid-row-start: 3;
}

.video-item6 {
  grid-column-start: 2;
  grid-row-start: 4;
}

.video-item7 {
  grid-column: span 2 / span 2;
  grid-row: span 2 / span 2;
  grid-column-start: 3;
  grid-row-start: 1;
}

.video-item8 {
  grid-column: span 2 / span 2;
  grid-row: span 2 / span 2;
  grid-column-start: 3;
  grid-row-start: 3;
}

.grid-item-wrapper1 {
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  border-radius: 20px;
}

.video-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  z-index: 10;
  cursor: pointer;
}

.grid-item-wrapper1 > div {
  position: absolute;
  width: 90%;
  border-radius: 5px;
  border-width: 1px;
  padding: 10px;
  background: #01010180;
  border: 1px solid #ffffff63;
  box-shadow: 0px 4px 4px 0px #00000040;
  color: white;
  bottom: 15px;
  left: 4.5%;
}

.grid-item-wrapper1 > div h2 {
    font-weight: 700;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.grid-item-wrapper1 > div p {
  font-weight: 400;
  font-size: 14px;
  text-align: start;
}

.video-parent .grid-item-wrapper1 .date {
  font-size: 13px;
}

.video-parent .grid-item-wrapper1 .card-title {
  font-size: 16px;
  margin-top: 5px;
}

@media (max-width: 767px) {
  .videos-container {
    height: auto;
    padding: 0 10px;
  }

  .grid-item-wrapper1 {
    min-height: 200px;
  }

  .grid-item-wrapper1 > div h2 {
    height: 8px;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 25px;
  }

  .grid-item-wrapper1 > div p {
    font-weight: 300;
    font-size: 15px;
  }

  .video-parent {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .video-div1,
  .video-div2,
  .video-div3,
  .video-div4,
  .video-div5,
  .video-div6,
  .video-div7,
  .video-div8 {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 90%;
    height: auto;
    margin: auto;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .videos-container {
    padding: 0 10px;
  }

  .video-parent {
    width: 90%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 20px;
    margin: auto;
    height: -webkit-fill-available;
  }

  .grid-item-wrapper1 > div h2 {
    height: 8px;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 25px;
  }

  .grid-item-wrapper1 > div p {
    font-weight: 300;
    font-size: 15px;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .videos-container {
    padding: 0 20px;
  }
}

        /* RTL Fix for LightGallery */
        .lg-outer {
            direction: ltr !important;
        }

        .lg-item {
            direction: ltr !important;
        }

        .lg-video-object {
            direction: ltr !important;
        }

        .lg-video-cont {
            direction: ltr !important;
        }

        /* Fix for RTL body affecting modal positioning */
        body[dir="rtl"] .lg-outer,
        body.rtl .lg-outer,
        [dir="rtl"] .lg-outer {
            direction: ltr !important;
            left: 0 !important;
            right: auto !important;
            transform: none !important;
        }

        /* Ensure video iframe is properly positioned */
        body[dir="rtl"] .lg-video-object iframe,
        body.rtl .lg-video-object iframe,
        [dir="rtl"] .lg-video-object iframe {
            direction: ltr !important;
            left: 0 !important;
            right: auto !important;
        }

        /* Fix controls positioning in RTL */
        body[dir="rtl"] .lg-toolbar,
        body.rtl .lg-toolbar,
        [dir="rtl"] .lg-toolbar {
            direction: ltr !important;
        }

        /* Fix close button positioning */
        body[dir="rtl"] .lg-close,
        body.rtl .lg-close,
        [dir="rtl"] .lg-close {
            right: 20px !important;
            left: auto !important;
        }
