/* =========================
   GLOBAL & STRUCTURE
========================= */
main {
  width: 100%;
}

#nav-pages {
  color: #8b959a;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0%;
  margin: 0 auto 0 0;
  padding: 3% 0 0;
  width: fit-content;
}

#nav-pages span {
  color: #182c35;
}

/* =========================
   HERO SECTION
========================= */
.hero {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 3%;
  flex-wrap: wrap;
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  padding: 9% 0 0;
  width: 45%;
}

.hero-text h3 {
  color: #182c35;
  font-size: 48px;
  font-style: bold;
  font-weight: 700;
  line-height: 72px;
  letter-spacing: 0%;
  margin-bottom: 3%;
}

.hero-text p {
  color: #5d6b72;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0%;
}

.hero img {
  width: 46%;
}

/* =========================
   OUR VALUES SECTION
========================= */
.our-values {
  background-color: #182c35;
  color: white;
  margin: 5% 0;
  overflow: hidden;
  padding: 4% 7%;
  position: relative;
  text-align: center;
  z-index: 50;
}

.our-values h3 {
  font-size: 32px;
  font-style: bold;
  font-weight: 700;
  line-height: 48px;
  margin-bottom: 3%;
}

.our-values p {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 3%;
  position: relative;
  text-align: center;
  z-index: 60;
}

.our-values p:nth-child(3) {
  margin: 0 auto 3%;
  width: 81%;
}

.our-values p:nth-child(4) {
  margin: 0 auto 4%;
  width: 50%;
}

.our-values button {
  background: #e74f54;
  border: transparent;
  border-bottom-right-radius: 16px;
  border-top-left-radius: 16px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 400;
  height: 48px;
  padding: 1% 3%;
  position: relative;
  white-space: nowrap;
  width: fit-content;
  z-index: 57;
  transition: all 0.3s ease;
}

/* Decorative Images */
.our-values .img-red {
  bottom: 0;
  opacity: 0.7;
  position: absolute;
  right: 0;
  z-index: 55;
}

.our-values .img-hidden {
  left: 0;
  opacity: 0.05;
  position: absolute;
  top: 0;
}

/* =========================
   SERVICE SECTION
========================= */
.service-container {
  display: flex;
  flex-direction: column;
}

.service-container h3 {
  color: #182c35;
  font-size: 32px;
  font-style: bold;
  font-weight: 700;
  line-height: 48px;
  margin: 0 auto 30px;
  text-align: center;
  width: fit-content;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5%;
  justify-content: center;
  margin: 0 auto 5% 0;
}

.service {
  align-items: flex-start;
  border: 1px solid #e9edf0;
  border-bottom-right-radius: 28px;
  border-top-left-radius: 28px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.service h4 {
  color: #182c35;
  font-size: 20px;
  font-style: bold;
  font-weight: 700;
  line-height: 32px;
  margin: 12px 0 33px;
}

.service p {
  color: #5d6b72;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0%;
  line-height: 20px;
  margin-bottom: 50px;
}

.service a {
  color: #e74f54;
  font-size: 14px;
  font-style: medium;
  font-weight: 500;
  letter-spacing: 0%;
  line-height: 20px;
}

/* =========================
   AWARDS SECTION
========================= */
.awards-container {
  display: flex;
  flex-direction: column;
  margin: 5% auto;
  width: 75%;
}

.awards-container h3 {
  color: #182c35;
  font-size: 32px;
  font-style: bold;
  font-weight: 700;
  line-height: 48px;
  margin: 0 auto 30px;
  text-align: center;
  width: fit-content;
}

.awards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5%;
  justify-content: center;
  margin: 0 auto 5% 0;
}

.award {
  align-items: flex-start;
  border: 1px solid #e9edf0;
  border-bottom-right-radius: 28px;
  border-top-left-radius: 28px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.award h4,
.award p,
.award a {
  color: #182c35;
}

.award h4 {
  font-size: 20px;
  font-style: bold;
  font-weight: 700;
  line-height: 32px;
  margin: 12px 0 33px;
}

.award p {
  color: #5d6b72;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0%;
  line-height: 20px;
  margin-bottom: 50px;
}

.award a {
  color: #e74f54;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0%;
  line-height: 20px;
}

/* =========================
   MEDICAL JOURNAL SECTION
========================= */
.medical-journal {
  align-items: flex-start;
  background: linear-gradient(
    90deg,
    rgba(244, 245, 248, 0.5) 0%,
    rgba(244, 245, 248, 0) 100%
  );
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8% 0;
  padding: 8% 40px 5%;
  position: relative;
  width: 100%;
}

.medical-journal h3 {
  color: #182c35;
  font-size: 32px;
  font-style: bold;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 0%;
  text-transform: capitalize;
}

.medical-journal p {
  color: #425563;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0%;
  line-height: 24px;
  width: 50%;
}

.medical-journal button {
  background: #e74f54;
  border: transparent;
  border-bottom-right-radius: 16px;
  border-top-left-radius: 16px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 400;
  height: 48px;
  margin: 3% 0;
  padding: 1% 2%;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
  width: fit-content;
  z-index: 57;
}

.medical-journal img {
  border-bottom-right-radius: 32px;
  border-top-left-radius: 32px;
  box-shadow: 0px 2px 17px 0px #182c351f;
  opacity: 1;
  position: absolute;
  right: 0;
  top: -6%;
  width: 320px;
}

/* =========================
   SCROLL TO TOP BUTTON
========================= */
#scrollTopBtn {
  background-color: #e74f54;
  border: none;
  border-radius: 50%;
  bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  height: 50px;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 30px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  visibility: hidden;
  width: 50px;
  z-index: 999;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

#scrollTopBtn:hover {
  transform: scale(1.15);
}
