/* =========================================================
   Overview section — replicated from
   https://00aws-rl1.realatte.com/piramal-custom/
   Scoped to #sectionOverviewRef so nothing else on the page
   (incl. Bootstrap's own .btn-primary) is affected.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');

#sectionOverviewRef {
  --font-cormorant: 'Cormorant Garamond', serif;
  --color: #f8da8f;
  --white: #ffffff;
  --text-color: #58595b;
  padding: 4rem 0;
}

#sectionOverviewRef .overview-container {
  width: 90%;
  margin: auto 0 auto auto;
}

#sectionOverviewRef .sub-title {
  color: var(--primary);
  font-size: 3.5rem;
  text-transform: capitalize;
  font-family: var(--font-cormorant);
  font-weight: 500;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

#sectionOverviewRef .gap-title2 {
  padding-bottom: 2rem;
}

#sectionOverviewRef .other-description {
  /* color: #000; */
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 2rem;
  /* new */
  font-family: var(--TT_Neoris_Regular);
  color: var(--text-color);
  /* white-space: nowrap; */
  /* text-transform: capitalize; */
}

#sectionOverviewRef .overview-links {
  display: flex;
  justify-content: start;
  align-items: center;
  margin: 1rem auto auto auto;
}

#sectionOverviewRef .overview-img {
  width: 100%;
  position: relative;
}

#sectionOverviewRef .overview-img img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

/* ---- button (reference .btn-primary) ---- */
#sectionOverviewRef .btn-primary {
  color: var(--white);
  border: none;
  position: relative;
  border-radius: 20px;
  outline: none;
  display: flex;
  justify-content: center;
  background: transparent;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  text-wrap: nowrap;
  font-size: 1rem;
  overflow: hidden;
  transition: color 0.6s ease, border 0.6s ease;
  border: 1px solid transparent;
  z-index: 1;
}

#sectionOverviewRef .btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  z-index: -1;
  transform: translateY(0%);
  transition: transform 0.6s ease;
}

#sectionOverviewRef .btn-primary:hover::before {
  transform: translateY(100%);
}

#sectionOverviewRef .btn-primary:hover {
  color: var(--primary);
  border: 1px solid var(--primary);
}

/* ---- responsive (cascade replicated from reference) ---- */
@media only screen and (max-width: 1400px) {
  #sectionOverviewRef .sub-title {
    font-size: 2.5rem;
  }
}

@media only screen and (max-width: 1280px) {
  #sectionOverviewRef .sub-title {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 1200px) {
  #sectionOverviewRef .sub-title {
    font-size: 3rem;
  }
}

@media only screen and (max-width: 991px) {
  #sectionOverviewRef .sub-title {
    font-size: 2.5rem;
  }

  #sectionOverviewRef .overview-container {
    width: 95%;
    margin: auto auto auto auto;
  }
}

@media only screen and (max-width: 767px) {
  #sectionOverviewRef .sub-title {
    font-size: 2.5rem;
  }

  #sectionOverviewRef .overview-container {
    width: 95%;
    margin: auto auto auto auto;
  }
}