/*=========================
 about lamm lagacy page 
============================ */

.page-indicates ul {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
}
.page-indicates ul li {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 128.571%;
  letter-spacing: 0.16px;
}
.page-indicates ul li a {
  color: #0f62fe;
}

.about-lamm-lagacy .container-fluid {
  max-width: 1480px;
}

.about-hero-area {
  padding: 80px 40px;
}

.about-hero-wrapper {
  display: flex;
  align-items: center;
  gap: 120px;
  padding-inline: 16px;
}
.about-hero-left {
  flex: 1;
}
.about-hero-right img {
  width: 438px;
  border-radius: 21.189px;
  max-width: 100%;
  max-height: 473px;
  object-fit: cover;
  object-position: top;
}

.about-hero-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-hero-action a {
  display: inline-flex;
  margin-top: 40px;
}

.about-hero-left h4 {
  color: var(--Brand-Purple-60);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 225%;
}
.about-hero-left p {
  color: var(--Brand-Purple-60);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.memoriam-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.memoriam-left h4 {
  color: var(--Brand-Purple-60);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 225%;
}
.memoriam-left p {
  color: #161616;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 175%;
  margin-top: 32px;
}

.about-hero-right h4 {
  color: var(--Brand-Purple-60);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 225%;
  padding-bottom: 40px;
  text-align: center;
}

.memoriam-gallery {
  padding-top: 48px;
  padding-bottom: 80px;
}

.memoriam-gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-inline: 16px;
}

.memoriam-images {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-inline: 27px;
  max-width: 1258px;
  margin-inline: auto;
  width: 100%;
  padding-bottom: 20px;
}

.single-memoriam-img {
  width: calc(25% - 16px);
  position: relative;
  overflow: hidden;
  background: #000;
}
.single-memoriam-img img {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 285px;
  border-radius: 3px;
  transition: 0.3s;
}

.memoriam-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  display: flex;
  justify-content: end;
  gap: 16px;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
}
.memoriam-content button {
  background: transparent;
  border: none;
}

.single-memoriam-img:hover .memoriam-content {
  visibility: visible;
  opacity: 1;
}
.vbox-child img {
  max-height: 100dvh;
}
.view-more-btns {
  display: flex;
  align-items: center;
  justify-content: center;
}
.view-more-btns a {
  padding: 15px 40px;
}
.memoriam-content.active {
  visibility: visible;
  opacity: 1;
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  z-index: 9999;
  padding-top: 85px;
  padding-inline: 25px;
}

.lightbox-container {
  position: relative;
  max-width: 1300px;
  max-height: 600px;
  text-align: center;
  width: 100%;
  background: #0b0a0a;
  padding: 24px 40px;
}

.lightbox-image {
  max-width: 100%;
  max-height: 400px;
  border-radius: 8px;
}

.lightbox-controls {
  margin-top: 10px;
}

.lightbox-controls button {
  background: white;
  border: none;
  padding: 8px 12px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
}

.lightbox-close {
  transform: none;
  position: unset;
  background: transparent;
  width: 24px;
  height: 24px;
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
}

.lightbox-controls a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 142.857%;
  letter-spacing: 0.16px;
}

.lightbox-title {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-top: 16px;
}

.single-memoriam-img .action-buttons {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transition: 0.3s;
  visibility: hidden;
}
.action-buttons button {
  background: transparent;
  border: none;
}

.single-memoriam-img:hover img {
  opacity: 0.7;
}
.single-memoriam-img:hover .action-buttons {
  visibility: visible;
  opacity: 1;
}


#scroll-target {
   scroll-margin-top: 130px;
}
/*=========== responsive code hare =========== */

@media screen and (min-width: 1281px) and (max-width: 1440px) {
  .single-task h4 {
    font-size: 15px;
  }
  .single-task a {
    font-size: 13px;
  }

  .team-content-wrapper {
    padding-inline: 100px;
  }
  .about-hero-area {
    padding: 60px 40px !important;
  }
  .about-hero-right img {
    width: 394.2px;
    height: 430.2px;
  }
  .memoriam-left p {
    margin-top: 10px;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
  .about-hero-area {
    padding: 60px 25px !important;
  }
  .about-hero-right img {
    width: 306.6px;
    height: 334.6px;
    aspect-ratio: 306.6/334.6;
  }
  .memoriam-left p {
    margin-top: 10px;
  }

  .single-task h4 {
    font-size: 15px;
  }
  .single-task a {
    font-size: 13px;
  }
  .about-hero-wrapper {
    gap: 80px;
    padding: 0;
  }
  .single-memoriam-img {
    width: calc(33.33% - 16px);
  }
}

@media screen and (min-width: 801px) and (max-width: 1024px) {
  .about-hero-wrapper {
    flex-direction: column;
    gap: 58px;
    padding-inline: 0;
  }
  .about-hero-area {
    padding: 60px 40px;
  }
  .about-hero-area.memoriam-hero {
    padding: 80px 40px;
  }

  .about-hero-left h4 {
    color: var(--Brand-Purple-60);
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }
  .about-hero-left p {
    color: var(--Brand-Purple-60);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 175%;
  }
  .about-hero-left {
    gap: 48px;
  }
  .about-hero-action a {
    margin-top: 0;
    padding: 13px 16px;
    min-width: 229px;
  }
  .about-hero-action {
    text-align: center;
  }

  .about-hero-right img {
    width: 397.617px;
    height: 434px;
    aspect-ratio: 397.62/434;
  }
  .memoriam-left h4 {
    text-align: center;
  }
  .memoriam-left p {
    margin-top: 25px;
  }

  .single-memoriam-img {
    width: calc(50% - 16px);
  }
  .memoriam-images {
    max-width: 586px;
    padding-inline: 0;
  }

  .lightbox-overlay {
    padding-top: 50px;
  }
}


@media screen and (max-width: 800px) {
  .about-hero-wrapper {
    flex-direction: column-reverse;
    gap: 32px;
    padding-inline: 0;
  }
  .about-hero-area {
    padding: 16px 32px;
  }

  .about-hero-left h4 {
    color: var(--Brand-Purple-60);
    text-align: center;
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }
  .about-hero-left p {
    color: var(--Brand-Purple-60);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 175%;
  }
  .about-hero-left {
    gap: 24px;
  }
  .about-hero-action a {
    margin-top: 0;
    padding: 13px 16px;
    min-width: 229px;
  }
  .about-hero-action {
    text-align: center;
  }

  .about-hero-right img {
    width: 329px;
    height: 329px;
  }
  .memoriam-left h4 {
    text-align: center;
  }
  .memoriam-left p {
    margin-top: 25px;
  }

  .about-hero-area {
    padding-top: 24px;
    padding-bottom: 64px;
    padding-inline: 0;
  }
  .about-hero-area.memoriam-hero {
    padding: 80px 40px;
  }

  .memoriam-hero .about-hero-wrapper {
    flex-direction: column;
    gap: 24px;
  }
  .about-hero-area.memoriam-hero {
    padding-top: 0;
    padding-bottom: 64px;
    padding-inline: 0;
  }
  .about-hero-right h4 {
    padding-bottom: 24px;
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: left;
  }

  .single-memoriam-img {
    width: calc(50% - 9px);
  }
  .memoriam-images {
    max-width: 586px;
    padding-inline: 0;
    gap: 9px;
  }
  .view-more-btns a {
    width: 100%;
  }
  .memoriam-gallery {
    padding-top: 0;
    padding-bottom: 64px;
  }
  .memoriam-gallery-wrapper {
    padding-inline: 0;
  }

  .lightbox-prev {
    left: 30%;
    top: unset;
    bottom: 20px;
    transform: none;
  }
  .lightbox-next {
    right: 30%;
    top: unset;
    bottom: 20px;
    transform: none;
  }
  .lightbox-container {
    height: fit-content;
    padding-bottom: 70px;
    padding-inline: 20px;
    padding-top: 10px;
  }
  .lightbox-image {
    max-width: 100%;
    max-height: 300px;
    height: 300px;
    object-fit: cover;
  }
}
