@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary: #0068f9;
  --secondary: #e9f0fe;
  --tertiary: #112437;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  font-family: "Poppins", serif;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

ul {
  list-style-position: inside;
}

.poppins-regular {
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", serif;
  font-weight: 800;
  font-style: normal;
}

.bg-primary {
  background-color: var(--primary);
}
.bg-secondary {
  background-color: var(--secondary);
}
.bg-tertiary {
  background-color: var(--tertiary);
}
.text-primary {
  color: var(--primary);
}
.text-secondary {
  color: var(--secondary);
}
.text-tertiary {
  color: var(--tertiary);
}

.link-transition {
  position: relative;
  color: var(--tertiary);
}
.link-transition:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--tertiary);
  transition: all 0.3s ease-in-out;
}
.link-transition:hover:before {
  width: 100%;
}

.glass {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
}
.dark_glass {
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
}
.navBtn {
  padding: 7px 15px;
  border-radius: 30px;
  background-color: var(--primary);
  color: white;
}
.btn {
  padding: 7px 15px;
  border-radius: 30px;
  background: var(--primary);
  color: var(--secondary);
  font-weight: 600;
}
.btn-outline {
  padding: 7px 15px;
  border-radius: 30px;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: var(--secondary);
  font-weight: 600;
}

.heading {
  color: var(--primary);
}
.subheading {
  color: var(--tertiary);
}

.fancy-underline {
  position: relative;
  display: inline-block;
}
.fancy-underline::before {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary);
}

/* todo: hero section styles  */
.hero-heading {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  box-shadow: 2px 3px 4px rgb(205, 205, 205);
  background: linear-gradient(to right, var(--primary), #5ea0fc);
  color: white;
  font-size: 1.25rem;
  text-align: center;
  padding: 10px 15px;

  transition: all 0.2s ease-in-out;
    white-space: nowrap;
  width: auto;
  min-width: 250px; /* Optional: set a minimum width */
  justify-content: center;
}
.hero-btn:hover {
  box-shadow: 1px 2px 3px rgb(205, 205, 205);
}
.hero-btn1 {
  border-radius: 10px;
  box-shadow: 2px 3px 4px rgb(205, 205, 205);
  color: var(--tertiary);
  border: 1px solid var(--tertiary);
  font-size: 1.25rem;
  text-align: center;
  padding: 10px 15px;
  width: 250px;
  transition: all 0.2s ease-in-out;
}
.hero-btn1:hover {
  box-shadow: 1px 2px 3px rgb(205, 205, 205);
}
.hero-img-parent {
  position: relative;
  z-index: 1;
}
.hero-img-bg {
  position: absolute;
  /* z-index: -1; */
  bottom: 0;
  right: 100px;
  transform: translateX(-5%);
  /* background: var(--primary); */
  background: linear-gradient(to bottom, var(--primary), #b1d1ff);
  border-radius: 53% 11% 10% 10% / 57% 10% 10% 10%;
  width: 80%;
  height: 80%;
}
.hero-img {
  position: relative;
  z-index: 4;
  height: 500px;
  right: -140px;
  background-color: transparent;
}
.hero-service {
  position: absolute;
  top: 45%;
  left: -50px;
  transform: translateY(-40%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1;
  width: 100%;
  height: max-content;
}
.hero-service-child {
  position: relative;
  width: 220px;
  padding: 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--primary);
}
.hero-service-child i {
  padding: 5px;
  border-radius: 5px;
  background-color: var(--primary);
  color: white;
}
.hero-service-child:nth-child(1) {
  box-shadow: -3px 4px 15px rgb(205, 205, 205);
  border: none;
  background: white;
  left: 110px;
}
.hero-service-child:nth-child(2) {
  left: 70px;
}
.hero-service-child:nth-child(3) {
  left: 30px;
}
.hero-service-child:nth-child(4) {
  left: 10px;
}
.hero-service-child:nth-child(5) {
  left: 0px;
}

.hero-card {
  position: absolute;
  right: 9rem;
  bottom: -3rem;
  overflow: hidden;
  width: 250px;
  height: max-content;
  border-radius: 10px;
  z-index: 4;
}
.hero-img-container {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 50%;
  margin-bottom: 1rem;
  background-color: var(--secondary);
}
.hero-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* todo: about section styles  */
.about-section-card {
  width: 400px;
}
.about-section-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--primary);
  text-align: center;
  color: white;
  font-size: 1rem;
  gap: 10px;
}

.about-video-card {
  height: 350px;
  /* overflow: hidden; */
  position: relative;
  /* border-radius: 10px; */
  /* box-shadow: 3px 4px 5px grey; */
}
.about-video-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: -1;
  top: 0.7rem;
  left: 0.7rem;
  border: 1px dashed var(--tertiary);
}

.about-video-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* border-radius: 10px; */
  object-fit: contain;
  object-position: center;
}

/* todo: video section styles  */
.video-card {
  height: 350px;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  box-shadow: 3px 4px 5px grey;
}
.video-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* todo: our care section styles  */
.our-care-card {
  min-height: 300px;
}

/* todo:research paper section styles  */
.publications-section {
}
.research-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.research-card:hover {
  transform: translateY(-5px);
}

.research-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}

.research-authors,
.research-journal {
  font-size: 14px;
  color: #666;
  margin-bottom: 0.5rem;
}

.research-abstract {
  font-size: 14px;
  color: #444;
  margin: 10px 0;
  text-align: justify;
}

.research-link {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
  margin-top: auto;
}

.research-link:hover {
  text-decoration: underline;
}

/*todo: blogs section styles  */
.blogs-section {
  padding-bottom: 10rem;
}
.blog-card {
  width: 100%;
  min-height: 400px;
  background: linear-gradient(120deg, #69b1ff, var(--primary));
  transition: 1s ease-in-out;
  clip-path: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 0.2px solid var(--primary);
  color: white;
}

.blog-card .title {
  font-weight: 500;
  text-align: start;
  display: block;
  font-size: 1em;
  margin: 1rem;
  padding: 0;
}

.blog-card .date-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem;
  margin-bottom: 0;
  font-size: 14px;
}
.blog-card .date-category span {
  display: inline-block;
  width: max-content;
}

.blog-card .info {
  font-weight: 400;
  display: -webkit-box; /* Use a flexbox model for WebKit */
  -webkit-box-orient: vertical; /* Set vertical orientation */
  -webkit-line-clamp: 4; /* Show only 3 lines before truncating */
  overflow: hidden;
  text-align: justify;
  font-size: 14px;
  margin: 0 1rem 1rem 1rem;
}

.blog-card .img {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
}
.blog-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-card .readBtn {
  padding: 0.5rem 1.5rem;
  margin: 1rem;
  border-radius: 25px;
  border: none;
  font-weight: bold;
  background: #ffffff;
  color: var(--tertiary);
  transition: 0.4s ease-in-out;
  cursor: pointer;
  margin-top: auto;
}

.blog-card1 {
  width: 100%;
  min-height: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  text-align: start;
}
.blog-card1 .img1 {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
}

.blog-card1 img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.date-category1 {
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: start;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: white;
}
.date-category1 .name {
  font-weight: 500;
  font-size: 0.8rem;
}
.date-category1 .date {
  font-weight: 500;
  font-size: 0.8rem;
}
.date-category1 .category {
  font-weight: 500;
  font-size: 0.8rem;
}
.title1 {
  margin: 1rem 0;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--tertiary);
}

.blog-card1 .info1 {
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4; /* Ensure this is correctly set */
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  margin-bottom: 1rem;
  line-height: 1.5; /* Adjust line height for better clamping */
  max-height: calc(1.5rem * 4); /* Ensure it does not exceed 3 lines */
}

.readBtn1 {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
  color: grey;
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: auto;
}
.readBtn1 i {
  font-size: 1.5rem;
  display: inline-block;
  rotate: -30deg;
  transform: rotateY(30deg);
}

.blog-card2 {
  width: 100%;
  min-height: 400px;
  display: inline-flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0px 0px 5px grey;
  background: white;
  margin-bottom: 4rem;
  margin-right: 4rem;
}
.img2 {
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
  height: 220px;
}
.img2::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 10;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
}
.category2 {
  position: absolute;
  display: inline-block;
  bottom: 0.5rem;
  left: 0.5rem;
  background-color: white;
  padding: 0.3rem 0.5rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 10;
}
.readTime2 {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.title2 {
  font-weight: 600;
  font-size: 1rem;
  text-align: start;
  margin-bottom: 1rem;
}

.info2 {
  font-weight: 400;
  text-align: justify;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4; /* Ensure this is correctly set */
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  margin-bottom: 1rem;
  line-height: 1.5; /* Adjust line height for better clamping */
  max-height: calc(1.5rem * 4); /* Ensure it does not exceed 3 lines */
}

.name2,
.date2 {
  font-size: 0.8rem;
  font-weight: 500;
}

.blog-footer {
  margin-top: auto;
}

.blog-card3 {
  width: 100%;
  min-height: 250px;
  display: flex;
  padding: 1rem;
  border-radius: 10px;
  gap: 1.5rem;
  background: white;
  margin-bottom: 4rem;
  box-shadow: 0 0 5px grey;
}
.img3 {
  width: 40%;
  overflow: hidden;
  border-radius: 5px;
}
.img3 img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.card-content3 {
  text-align: start;
  width: 60%;
}
.tags3 {
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.category3 {
  padding: 0.3rem 0.7rem;
  background: var(--secondary);
  border-radius: 30px;
}
.title3 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}
.info3 {
  font-weight: 400;
  text-align: justify;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4; /* Ensure this is correctly set */
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  margin-bottom: 1rem;
  line-height: 1.5; /* Adjust line height for better clamping */
  max-height: calc(1.5rem * 4); /* Ensure it does not exceed 3 lines */
}
.readBtn3 {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  background: var(--secondary);
  font-size: 0.8rem;
  font-weight: 500;
}

.services-section,
/* .video-testimonials-section, */
.publications-section,
.blogs-section,
.exp-section,
/* .appointment-section, */
.clinical-skills {
  background-color: var(--secondary);
}

/*todo: contact info section styles */
.info-element {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
}

/* todo: book appointment section styles  */
.appointment-section {
  position: relative;
}
.app_form {
  position: absolute;
  top: 1rem;
  left: 1rem;
  height: max-content;
  background-color: white;
  padding: 1rem;
  border-radius: 20px;
}
.app_form h3 {
  margin-bottom: 1.5rem;
}
/* Container for the input and its label */
.fadeSlideInUp,
.fadeSlideInUp1 {
  position: relative;
  margin-bottom: 1rem;
  width: 100%;
}

.form-input {
  width: 100%;
}
/* Style for the input */
.fadeSlideInUp input {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: transparent;
  outline: none;
  box-sizing: border-box;
}

/* Style for the floating label */
.fadeSlideInUp label,
.fadeSlideInUp1 label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 0 4px;
  color: #999;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.2s ease;
}
.fadeSlideInUp1 label {
  top: 10%;
  transform: translateY(-10%);
}
/* When the input is focused or contains text, float the label up */
.fadeSlideInUp input:focus + label,
.fadeSlideInUp input:not(:placeholder-shown) + label {
  top: 0;
  left: 0.75rem;
  font-size: 0.8rem;
  color: #333;
}
.fadeSlideInUp1 textarea:focus + label,
.fadeSlideInUp1 textarea:not(:placeholder-shown) + label {
  top: -8px;
  left: 0.75rem;
  font-size: 0.8rem;
  color: #333;
}

/* Style for the error message */
.error {
  color: red;
  font-size: 0.8rem;
  margin-top: 4px;
  display: block;
}

/*todo: footer section styles */
.footer-link:hover {
  color: var(--primary);
}

@media (max-width: 1024px) {
  /* hero section styles */
  .hero-heading {
    font-size: 2rem;
  }
  .hero-btn,
  .hero-btn1 {
    font-size: 1rem;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .navBtn {
    padding: 7px;
  }

  /* hero section styles  */
  .hero-heading {
    font-size: 2rem;
  }
  .hero-btn,
  .hero-btn1 {
    font-size: 0.8rem;
  }

  .fancy-underline::before {
    bottom: 0;
  }
  .hero-img {
    right: -110px;
  }
  .hero-img-bg {
    width: 90%;
    right: 0;
  }
  .hero-service {
    font-size: 0.8rem;
  }

  /* about section styles  */
  .about-section-card {
    width: 100%;
  }
  .about-section-card-btn {
    font-size: 1rem;
  }

  /* video section style  */
  .video-card {
    width: 100%;
  }
  .video-card iframe {
    width: 100%;
  }

  /* book appointment section style*/
  .app_form {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
  }
}
