/* Home : Heading-Subheading  */

.qcplus-heading-subheading {
  text-align: left;
  padding: 60px 20px;
  margin: 0 auto 60px;
  max-width: 1200px;
}

.qcplus-title {
  font-family: 'lyon-regular';
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: #272727;
  letter-spacing: 1.5px;
  margin-bottom: -5px;
}

.qcplus-subtitle {
  font-family: 'gt-america-regular';
  font-size: 40px;
  font-weight: 700;
  color: #272727;
  line-height: 1.1;
  margin: 0;
  max-width: 1000px;
}

/* Home : Qc+ in numbers Section */

.about-qc {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 80px;
  color: #000;

  padding-top: 23px;
}

.heading1 {
  width: 1161px;
  position: relative;
  font-size: 42px;
  line-height: 100%;
  font-weight: 500;
  font-family: 'lyon-regular';
  display: inline-block;
  color: #000;
}

.content {
  width: 791px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  color: #000;
  gap: 3px;
}

.line {
  align-self: stretch;
  position: relative;
  border-top: 1px solid #000;
  box-sizing: border-box;
  height: 25px;
  margin-top: 25px;

}

.container1 {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 30px;
  font-size: 40px;
}

.container2 {
  align-self: stretch;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0px;
}

.card-container {
  align-self: stretch;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  font-size: 100px;
  font-family: 'lyon-regular';
}

.facts {
  width: 279px;
  background-color: #f5f6e9;
  color: #000;
  height: 446px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px 20px 40px 20px;
  box-sizing: border-box;
  gap: 136px;
}

.facts:hover {
  background-color: #eeff75;

}

.facts1 {
  width: 322px;
  background-color: #eeff75;
  color: #000;
  height: 446px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px 20px 40px;
  box-sizing: border-box;
  gap: 153px;
}

.facts1:hover {
  background-color: #eeff75;
}

.facts-parent {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  font-size: 100px;
  font-family: 'lyon-regular';
}

.facts2 {
  flex: 1;
  background-color: #f5f6e9;
  height: 446px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 20px 40px 20px;
  box-sizing: border-box;
  gap: 0px;
}

.facts2:hover {
  background-color: #eeff75;
}

@media (max-width: 768px) {

  /*  .facts {
    margin-left: 22px;
  }
*/
  .home-mob-sub-heading-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 32px;
  }

  .mySwiper .swiper-slide{

    margin-right: -19px;
    width: 310px;
    height: 420px;
    padding-left: 0px;
  }
  .home-mob-card-content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .home-mob-qc-in-numbers {
    position: relative;
    font-family: 'gt-america-regular';
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .home-mob-cta {
    background-color: #eeff75;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 15px 29px;
    text-align: center;
    font-size: 14px;
    margin-top: 28px;
  }

  .home-mob-text {
    position: relative;
    font-family: 'gt-america-regular';
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .home-mob-about-aln {
    /* Mobile/H1 */
    font-family: "lyon-regular";
    font-size: 60px;
    font-style: normal;
    font-weight: 500;
    line-height: 54px;
  }

  .home-mob-subtitle {
    font-family: "gt-america-regular";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22.4px;
  }

  .facts {
    width: 310px;
    background-color: #f5f6e9;
    height: 420px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 20px 40px;
    box-sizing: border-box;
    gap: 0px;
  }

  .facts-parent {
    padding: 20px;
    gap: 12px;
  }

  .our-creations-card-expertise {
    padding: 86px 0px;
  }

  .subheading-expertise {
    font-size: 14px;
  }

  .heading4-expertise {
    font-size: 30px;
  }

}

.qc-in-numbers-wrapper {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.qc-in-numbers {
  font-family: "gt-america-regular";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 68px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000;
}

.about-us-wrapper {
  background-color: #eeff75;
  color: #000 !important;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 15px 29px;
  text-align: center;
  font-size: 14px;
  position: absolute;
  margin-top: 405px;
}

.menu-about-us {
  position: relative;
  letter-spacing: 2px;
  line-height: 100%;
  text-transform: uppercase;
  font-weight: 500;

}

.about-us-wrapper:hover {
  background-color: #000 !important;
  color: #eeff75 !important;
}

.line-number {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  font-size: 20px;
  color: #171717;
  font-family: 'gt-america-regular';
}

.line-number-child {
  align-self: stretch;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  max-height: 100%;
  opacity: 0.3;
}

.number-des {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
}

.about-aln {
  align-self: stretch;
  position: relative;
  line-height: 100%;
  font-weight: 500;
}

.content1 {
  width: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 331px;
}

.subtitle-home {
  align-self: stretch;
  position: relative;
  font-size: 16px;
  line-height: 140%;
  font-family: 'gt-america-regular';
  color: #171717;
}

.turning-heritage-into {
  align-self: stretch;
  position: relative;
  line-height: 100%;
  text-transform: uppercase;
  font-weight: 500;
}

@media (min-width: 1201px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1546px;
  }
}

/*-------------------------END--------------------------------*/

/* Home : Scroll Text Section Styles */





/*-------------------------END--------------------------------*/

/* Home : Our Expertise Section Styles */
/* Container padding */
/*
	#expertise-container-qcplus {
	padding: 100px 30px 100px 30px; 
	}
	*/

/* Row layout */
.rowitem {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
  gap: 12px;
}

/* Card styling */
.carditem {
  width: 49%;
  /* Two cards side by side */
  max-width: 690px;
  aspect-ratio: 690 / 699;
  cursor: pointer;
  text-align: center;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  background-color: transparent;
  border: none;
  padding: 0;
}

/* Small card colors */
.carditem.card-1.small {
  background-color: #EEE5D6;
}

.carditem.card-1.small .title1 {
  color: #9E8F76;
}

.carditem.card-1.small .overlay-content1 {
  color: #9E8F76;
}

.carditem.card-2.small {
  background-color: #4D3739;
}

.carditem.card-2.small .title1 {
  color: #FFFFFF;
}

.carditem.card-2.small .overlay-content1 {
  color: #FFFFFF;
}

.carditem.card-3.small {
  background-color: #755441;
}

.carditem.card-3.small .title1 {
  color: #FFFFFF;
}

.carditem.card-3.small .overlay-content1 {
  color: #FFFFFF;
}

.carditem.card-4.small {
  background-color: #D49353;
}

.carditem.card-4.small .title1 {
  color: #FFFFFF;
}

.carditem.card-4.small .overlay-content1 {
  color: #FFFFFF;
}

.carditem.card-5.small {
  background-color: #EEE5D6;
}

.carditem.card-5.small .title1 {
  color: #784634;
}

.carditem.card-5.small .overlay-content1 {
  color: #784634;
}

.carditem.card-6.small {
  background-color: #784634;
}

.carditem.card-6.small .title1 {
  color: #FFFFFF;
}

.carditem.card-6.small .overlay-content1 {
  color: #FFFFFF;
}

.carditem.small img {
  width: 100%;
  max-width: 280px;
  height: 280px;
  object-fit: cover;
  margin: 0 auto;
  transition: all 0.5s ease;
  margin-top: -25%;
}

.carditem.large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

/* Titles */
.carditem-title {
  font-family: 'lyon-regular';
  font-size: 40px;
  font-weight: 500;
  line-height: 60px;
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);

  border-radius: 6px;
  white-space: normal;
  /* allow line break */
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.carditem-title .title1 {
  margin-bottom: 133px;
  font-family: 'gt-america-regular';
  /* color: #9E8F76;  same as screenshot */
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;


}

.carditem-title .overlay-content1 {

  font-family: 'lyon-regular';
  font-size: 45px;
  font-style: normal;
  font-weight: 500;
  margin-top: -145px;
  margin-bottom: 33px;
  /* color: #9E8F76; */
  line-height: 42px;
  word-break: break-word;
  /* wrap words if needed */
}

.carditem.active .carditem-title {
  opacity: 0;
}

.overlay-content1 p {
  color: inherit;
  font-family: 'lyon-regular';
  font-size: 60px;
  font-weight: 500;
  line-height: 60px;
  text-transform: capitalize;
}

.overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  transition: opacity 0.3s ease;
  pointer-events: none;
  box-sizing: border-box;
}

.carditem.active .overlay-content {
  opacity: 1;
  pointer-events: auto;
}

.overlay-content a {
  color: inherit;
  font-family: 'lyon-regular';
  font-size: 60px;
  font-weight: 500;
  line-height: 60px;
  text-transform: capitalize;
}

/* Responsive */
@media (max-width: 1024px) {
  .carditem {
    width: 48%;
  }

  /* 2 cards per row on medium screens */
}

@media (max-width: 768px) {
  .rowitem {
    flex-direction: column;
    align-items: center;
  }

  .carditem {
    width: 90%;
    /* padding: 40px 0;*/
  }

  .carditem.small img {
    width: 142px;
    height: 142px;
    margin-top: -137px;
  }

  .carditem-title {
    font-size: 16px;
  }

  .overlay-content a {
    font-size: 22px;
  }

  .carditem-title .title1 {
    font-family: 'gt-america-regular';
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    text-transform: uppercase;
  }

  .carditem-title .overlay-content1 {
    font-family: 'lyon-regular';
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 1px;
    padding-top: 18px;
  }

}

/*-------------------------END--------------------------------*/

/* Home : Case Studies Section */
.divider-2 {
  display: none;
}

/* Section Title */
.section-title-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  font-family: 'lyon-regular';
  font-size: 80px;
  color: #000;
  padding-bottom: 100px;
}

.stories-main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

/* Banner */
.banner {
  width: 100%;
  height: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('images/banner.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  padding: 126px 30px;
  position: relative;
}

.card-banner {
  width: 100%;
  max-width: 500px;
  background-color: #fdffef;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  gap: 30px;
  position: relative;
  cursor: none;
  /* hide default cursor */
  overflow: hidden;
}

/* Card Date & Title */
.card-date-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.card-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  font-family: 'Lyon Arabic Display';
}

/* Card Image */
.banner-image {
  width: 100%;
  max-width: 460px;
  height: 313px;
  position: relative;
  overflow: hidden;
}

.banner-image-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Circle overlay */
.view-more-wrapper {
  position: absolute;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  transition: left 0.2s ease-out, top 0.2s ease-out,
    transform 0.3s ease, opacity 0.3s ease;
  color: #fff;
  font-weight: 500;
  text-align: center;
  letter-spacing: 2px;
  font-size: 14px;
  opacity: 0;
}

.view-more-wrapper a {
  pointer-events: auto;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* Card Description */
.card-description {
  width: 100%;
  max-width: 298px;
  font-family: 'gt-america-regular';
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
  text-align: center;
  font-style: normal;
}

/* Stories Section */
.stories-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /*gap: 30px;*/
  width: 100%;
  padding: 30px;
}

.story-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
  max-width: 100%;
}

.story-card-content {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 386px;
}

.story-card-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-card-date {
  font-family: 'gt-america-regular';
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
}

.story-card-title {
  font-family: 'lyon-regular';
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
}

.story-card-btn {
  width: 135px;
  font-family: 'gt-america-regular';
  background-color: #eeff75;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 2px;
  gap: 10px;
}

.story-card-btn:hover {
  background-color: #000;
  color: #eeff75;
}

.a:hover {
  background-color: #eeff75 !important;
  color: #000 !important;
}

.story-card-image-wrapper {
 /* width: 910px;*/
  max-width: 100%;
  height: 552px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.story-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.story-card-image-wrapper:hover .story-card-image {
  transform: scale(1.05);
}

.container-divider {
  width: 100%;
  height: 1px;
  border-top: 1px solid #000;
  margin: 30px 0;
}

/* Work Action Section */
.work-action-section {
  margin-top: 35px;
  width: 100%;
  height: 620px;
  background-color: #eeff75;
  text-align: center;
  position: relative;
  font-size: 40px;
  display: inline-block;
}

.work-action-section img {
  display: block;
  width: 100%;
  height: auto;
}

.work-action-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  text-align: center;
  padding: 0 10px;
  font-family: 'gt-america-regular';
  font-size: 30px;
  font-weight: 700;
  line-height: 68px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.work-action-text a:hover {
  color: #000;
  background-color: #eeff75;
}

/* Responsive */
@media (max-width: 991px) {
  .card-banner {
    flex-direction: column;
  }

  .banner-image {
    width: 335px;
    height: 350px;
    padding: 24px 20px;
  }

  .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .card-date-title {
    align-items: center;
    text-align: center;
    margin-top: 15px;
  }

  .card-description {
    text-align: left;
  }

  .story-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .story-card-image-wrapper {
    width: 383px;
    height: 350px;
  }

  .story-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .story-card-content {
    align-items: flex-start;
    text-align: left;
    gap: 10px;
  }

  .story-card-btn {
    width: auto;
    padding: 12px 20px;
  }

  .story-card-date {
    font-size: 14px;
  }

  .story-card-title {
    font-size: 24px;
  }

  .banner {
    padding: 80px 20px;
  }
}

@media (max-width: 576px) {
  .section-title-wrapper {
    gap: 50px;
    font-size: 50px;
    padding-bottom: 0px;
  }

  .card-title {
    font-size: 30px;
  }

  .card-banner {
    padding: 30px 15px;
  }
}

@media (max-width: 767px) {
  .work-action-section {
    width: 100%;
    max-width: 383px;
    height: 350px;
  }

  .work-action-text {
    font-size: 20px;
    padding: 0 0px;
    letter-spacing:0px;
  }
}

@media (max-width: 991px) {

  /* Reverse order for mobile: image first, then content */
  .story-card {
    flex-direction: column;
  }

  .story-card-image-wrapper {
    order: -1;
    /* Move image to the top */
  }

  .story-card-content {
    order: 0;
    /* Content comes after */
  }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .qcp-main-container {
    padding: 48px 20px 0 !important;
  }

  .qcp-subtitle {
    padding-bottom: 32px !important;
  }

  .qcp-divider {
    padding-bottom: 32px !important;
  }
}

/*-------------------------Fix Animation css--------------------------------*/
[data-animate="slide-up"] {
  transform: translateY(150px);
  opacity: 0;
}
