/* These sections for small screen. visibility hidden in large screen */
/* ----------------------------------------------------------- */
.image-slider-section-small {
  display: none;
}

.about-project-small {
  display: none;
}

.project-hero-small {
  display: none;
}

.small-card-box {
  display: none;
}

/*------------------------------------------------ */
/* 1.projects-hero */
/*------------------------------------------------ */
.projects-hero-section {
  /* background-image: url('/images/projects-hero-bg.jpg'); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 800px;
  position: relative;
  z-index: 1;
}

#projectVideo {
  width: 100%;
  height: 100%;
  object-fit: fill;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.projects-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.34);
  z-index: 2;
  margin-bottom: 0 !important;
}

.logo-small {
  width: 127px;
  height: 35.391px;
}

.projects-hero-section::after {
  content: "";
  position: absolute;
  bottom: -72px;
  width: 70%;
  max-width: 100%;
  height: 2px;
  background: var(--Color-Primary-primary---50, #927d6b);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.project-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 120px !important;
  padding-bottom: 120px !important;
  z-index: 3;
  column-gap: 50px;
}

.projects-hero-content,
.projects-hero-frame {
  z-index: 3;
}

.projects-hero-content h1 {
  color: var(--white-color);
  border: 1px solid #fff;
  font-family: var(--montserrat);
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 68px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 0px;
  padding: 16px 24px;
  white-space: nowrap;
}

.projects-hero-frame img {
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 621 / 394;
  object-fit: cover;
  margin-bottom: 30px;
  z-index: 3;
}

/*------------------------------------------------ */
/* 2.projects-slider */
/*------------------------------------------------ */
.image-slider {
  margin-top: 143px;
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 810;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 5s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.image-slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.nav-btn {
  pointer-events: all;
  background: rgba(255, 255, 255, 1);
  color: rgba(20, 27, 52, 1);
  font-size: 28px;
  font-weight: 700;
  border: none;
  width: 64px;
  height: 48px;
  padding: 10px 18px;
  transition: background 0.8s ease, transform 0.8s ease, color 0.8s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  color: var(--white-color);
  transform: scale(1.1);
}

.thumbnails {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 28px;
  margin: 40px 0 63px;
}

.thumb {
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 279 / 283;
  object-fit: cover;
  display: block;
  /* justify-self: center; */
  align-self: stretch;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border 0.7s;
}

.thumb.active {
  border-color: #927d6b;
}

/*------------------------------------------------ */
/* 3.about-project */
/*------------------------------------------------ */
.about-project {
  display: flex;
  gap: 56px;
  justify-content: space-between;
  margin-bottom: 63px !important;
}

.about-project-content-left {
  max-width: 417px;
  width: 100%;
}

.about-project-content-left h1 {
  color: var(--primary-color);
  font-family: var(--montserrat);
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 36.484px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about-project-content-left p {
  color: var(--p-tag-color);
  font-family: var(--montserrat);
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  margin-bottom: 0;
}

.about-project-content-right {
  max-width: 727px;
  width: 100%;
}

.about-project-content-right h1 {
  color: var(--secondary-color);
  font-family: var(--montserrat);
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 24px;
}

.about-project-content-right p {
  color: var(--third-color);
  font-family: var(--montserrat);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 36px;
  margin-bottom: 0;
}

/*------------------------------------------------ */
/* 3.card-slider */
/*------------------------------------------------ */
.card-slider-section {
  position: relative;
  width: 100%;
  padding-top: 82px;
  padding-bottom: 197px;
  background-image: url("/images/projects-card-slider-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.card-slider-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(122, 91, 65, 0.8);
  z-index: 1;
}

.card-slider-section .projects-container {
  position: relative;
  z-index: 2;
}

.card-slider-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 72px;
}

.prevBtn,
.nextBtn {
  color: var(--white-color);
  font-family: var(--montserrat);
  background: transparent;
  border: none;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 36.484px;
  cursor: pointer;
  border-bottom: 2px solid var(--white-color);
}

.swiper {
  width: 100%;
  z-index: 2;
}

.swiper-slide-prev,
.swiper-slide-next {
  opacity: 1;
  z-index: 1;
}

.swiper-slide {
  min-height: 331px !important;
  background: #fff;
  display: flex !important;
  justify-content: unset;
  grid-template-columns: 1fr 1fr !important;
  height: 100% !important;
  overflow: hidden;
}

.swiper-slide img {
  display: block;
  flex: 1;
  width: 100%;
  /* height: 100%; */
  /* aspect-ratio: 326 / 331; */
}

.swiper-slide p {
  display: flex;
  flex-basis: 256px;
  justify-content: center;
  align-items: center;
  padding: 28px;
  color: #382213;
  font-family: var(--montserrat);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 25px;
  margin-bottom: 0;
  margin-top: 0;
}

@media screen and (max-width: 1024px) {
  .swiper-slide {
    min-height: 331px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    overflow: hidden;
  }

  .swiper-slide img {
    aspect-ratio: 356 / 203;
  }

  .swiper-slide p {
    padding: 17px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.28px;
  }

  .card-slider-control {
    margin-bottom: 36px;
  }

  .prevBtn,
  .nextBtn {
    font-size: 20px;
    border-bottom: 1px solid var(--white-color);
  }
}

/*_______________MOBILE-RESPONSIVE_________________ */
/************************************************** */
@media screen and (max-width: 768px) {
  :root {
    --text: #382213;
  }

  /* hide-open-game between large and small screen */
  .project-hero {
    display: none;
  }

  .image-slider-section {
    display: none;
  }

  .about-project {
    display: none;
  }

  .project-hero-small {
    position: relative;
    display: block;
    padding-top: 136px;
    padding-bottom: 121px;
    z-index: 3;
  }

  .about-project-small {
    display: block;
  }

  .projects-container {
    padding-left: 32px !important;
    padding-right: 42px !important;
  }

  .projects-hero-section::after {
    content: none;
  }

  /* start here-767 acutually */
  .projects-hero-section {
    height: 481px;
    position: relative;
    z-index: 1;
  }

  .project-hero-box {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 125px 0px;
    width: 100%;
  }

  .projects-hero-content-small h1 {
    color: var(--white-color);
    border: 1px solid #fff;
    font-family: var(--montserrat);
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 0px;
    font-size: 28px;
    line-height: 32px;
    letter-spacing: 0.28px;
    padding: 16px 20px;
  }

  .frame-small {
    position: relative;
    display: block;
  }

  .frame-small img {
    position: absolute;
    right: -15%;
    bottom: 30px;
    transform: translateX(-1%);
    display: block;
    z-index: 3;
  }

  /* image-slider-section-small(for small screen)--(in large screen display:none) */
  /* about + thumbnails(for small screen)--(in large screen display:none) */
  .image-slider-section-small {
    display: flex;
    flex-direction: column;
  }

  .about-project-content-right h1 {
    color: var(--text);
    font-size: 23px;
    letter-spacing: 0.23px;
    margin-top: 56px;
    margin-bottom: 12px;
  }

  .about-project-content-right p {
    color: var(--text);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.28px;
    margin-bottom: 0;
  }

  .about-project-content-left {
    max-width: 730px;
  }

  .about-project-content-left h1 {
    color: var(--text);
    font-size: 20px;
    line-height: 24px;
    margin-top: 24px;
    margin-bottom: 14px;
  }

  .about-project-content-left p {
    color: var(--text);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.28px;
    margin-bottom: 24px;
  }

  .image-slider {
    margin-top: 24px;
    position: relative;
    width: 100%;
    aspect-ratio: 356 / 240;
    overflow: hidden;
  }

  .image-slider-controls {
    position: absolute;
    top: 50%;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
  }

  .nav-btn {
    pointer-events: all;
    background: rgba(255, 255, 255, 1);
    color: rgba(20, 27, 52, 1);
    font-size: 28px;
    font-weight: 700;
    border: none;
    width: 40px;
    height: 36px;
    padding: 6px 8px;
    transition: background 0.8s ease, transform 0.8s ease, color 0.8s ease;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    color: var(--white-color);
    transform: scale(1.1);
  }

  .thumbnails {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 16px 16px;
    margin: 24px 0 72px;
  }

  .thumb.active {
    border-color: transparent;
  }

  /* card-slider-767 */
  .card-slider-section {
    position: relative;
    width: 100%;
    padding-top: 56px;
    padding-bottom: 72px;
    background-image: url("/images/projects-card-slider-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  /* small-card-box */
  .small-card-box {
    margin-top: 24px;
    display: block;
  }

  .small-card-box .card-item {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    background-color: var(--white-color);
  }

  .card-item p {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #382213;
    font-family: var(--montserrat);
    font-style: normal;
    padding: 17.186px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.28px;
    margin-bottom: 0;
    margin-top: 0;
  }

  .card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 356 / 203;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .projects-container {
    max-width: 1440px;
    padding-left: 80px !important;
    padding-right: 80px !important;
    margin: 0 auto;
    z-index: 3;
  }

  .projects-hero-content h1 {
    font-size: 28px;
    font-style: normal;
    line-height: 42px;
    letter-spacing: 0.48px;
    margin-bottom: 0px;
    padding: 5px 10px;
  }

  .about-project {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .about-project-content-left {
    max-width: 100%;
    width: 100%;
  }

  .about-project-content-right {
    max-width: 100%;
    width: 100%;
  }

  .about-project-content-right h1 {
    font-size: 28px;
    margin-bottom: 16px;
  }
}

.frame-small-3 {
  display: none !important;
}

.frame-small-2 {
  display: block !important;
}

@media (min-width: 768px) {
  .frame-small-3 {
    display: block !important;
  }

  .frame-small-3 img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .frame-small-2 {
    display: none !important;
  }
}
