:root {
  --primary: #7ed814;
  --gred: linear-gradient(to right, #59a43f, #7ed814);
  --white: #ffffff;
  --black: #000000;
  --shadow: 6px 10px 64px #7dd814b7;
}
a,
a img,
button {
  display: inline-block;
  transition: all 0.4s ease-in;
  text-decoration: none;
  vertical-align: bottom;
  cursor: pointer;
}
img {
  display: inline-block;
}
* {
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
  color: var(--black);
  font-family: "Poppins", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  font-weight: 600;
}
p {
  color: #777777;
}
body {
  overflow-x: hidden;
  font-size: 16px;
  font-weight: 400;
}

.container {
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 15px;
}
header {
  position: fixed;
  width: 100%;
  z-index: 999999;
}
.topbar {
  background-color: var(--primary);
  padding: 16px 0;
}
.topbar_container,
.navbar_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.item img {
  height: 350px;
}
.topbar_left,
.topbar_right {
  display: flex;
  align-items: center;
  gap: 10px;
}
#currentDateTime {
  color: var(--white);
  font-size: 14px;
}
.social_icon:hover {
  transform: scale(1.2);
}
.navbar_section {
  padding: 30px;
  transition: all 0.5s ease-in;
}
.menus {
  display: flex;
  gap: 60px;
  align-items: center;
}
.menu {
  font-size: 18px;
  font-weight: 500;
  position: relative;
}

.menu::before {
  content: "";
  width: 0;
  height: 2px;
  background-image: var(--gred);
  position: absolute;
  bottom: -3px;
  transition: all 0.5s ease-in;
}
.menu:hover::before,
.here:before {
  width: 15px;
}
.button_icon {
  padding: 10px 20px;
  border-radius: 60px;
  background-image: var(--gred);
  border: 2px solid var(--primary);
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.button_icon:hover {
  box-shadow: var(--shadow);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 4px;
  width: 30px;
  background: var(--primary);
  margin: 4px 0;
  transition: all 0.3s ease;
}

.menu-list {
  display: flex;
  gap: 60px;
  align-items: center;
}
.hero_upper {
  background-image: url(./assets/new/hero_bg.webp);
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;
  max-width: 1700px;
  margin: 0 auto;
}
.hero_container {
  display: flex;
  align-items: center;
  padding: 110px 0 50px;
  gap: 20px;
}
.hero_left,
.hero_right {
  width: 100%;
}
.hero_heading {
  font-size: 66px;
  line-height: 89px;
}
.hero_desc {
  margin: 20px 0 60px;
}
.hero_btn_1 {
  font-size: 18px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 40px;
  background-image: linear-gradient(to right, #d7d7d7, #ffffff);
  border: 2px solid #d7d7d7;
}
.hero_btn_2 {
  font-size: 18px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 40px;
  background-image: var(--gred);
  border: 2px solid var(--primary);
  color: var(--white);
}
.hero_btn_1:hover,
.hero_btn_2:hover {
  box-shadow: var(--shadow);
}
.hero_buttons {
  display: flex;
  gap: 20px;
}
.hero_img {
  width: 100%;
}
.hero_right {
  position: relative;
}
.hero_img_left {
  position: absolute;
  left: -50px;
  top: 250px;
}
.hero_img_right {
  position: absolute;
  right: -80px;
  top: 120px;
}
.hero_img_bottom {
  position: absolute;
  left: -50px;
  bottom: -30px;
}
@keyframes hover-move-left {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes hover-move-right {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@keyframes hover-move-bottom {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(15px);
  }
}

.hero_img_left,
.hero_img_right,
.hero_img_bottom {
  transition: transform 0.3s ease;
}

.hero_right:hover .hero_img_left {
  animation: hover-move-left 1s infinite alternate;
}

.hero_right:hover .hero_img_right {
  animation: hover-move-right 1s infinite alternate;
}

.hero_right:hover .hero_img_bottom {
  animation: hover-move-bottom 1s infinite alternate;
}
.service_section {
  padding: 50px 0;
}
.heading_container {
  text-align: center;
  margin-bottom: 50px;
  max-width: 820px;
  margin: 0 auto;
}
.heading {
  font-size: 66px;
}
.scrolled {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 6px 5px 20px rgba(81, 245, 108, 0.534);
}
ul {
  list-style: none;
}
.services {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}
.service {
  padding: 44px;
  border-radius: 40px;
  background-color: #f8f8f8;
  width: calc((100% / 3) - 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}
.service_name {
  font-size: 24px;
  line-height: 32px;
}
.service_link {
  font-weight: 500;
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 40px;
  background-color: var(--white);
  width: fit-content;
  border: 2px solid transparent;
}
.service_link:hover {
  background-image: var(--gred);
  color: var(--white);
  box-shadow: var(--shadow);
  border: 2px solid var(--primary);
}
.servicetop img {
  box-shadow: var(--shadow);
  border-radius: 50%;
}
.xp_section {
  position: relative;
  padding: 30px 0;
}
.xp_bg {
  position: absolute;
  width: 100%;
  height: 100%;
}
.xp_container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 50px;
}
.xp_top_heading {
  font-size: 20px;
  font-weight: 500;
  background-image: var(--gred);
  color: transparent;
  background-clip: text;
}
.xp_heading {
  font-size: 60px;
  line-height: 70px;
}
.xp_list {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 20px;
  margin-top: 30px;
}
.xp {
  width: calc(50% - 10px);
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  font-weight: 500;
}
.xp_right,
.xp_left {
  width: 100%;
}
.xp_right {
  max-width: 480px;
}
.xp_img {
  width: 100%;
}

.doctor_btn.active,
.doctor_btn:hover {
  background-image: var(--gred);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

/* Cards layout */
.card-container {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;

  transition: opacity 0.5s ease-in-out;
  justify-content: center;
  margin-top: 30px;
}

.card {
  width: calc((100% / 3) - 34px);
  text-align: center;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  background-image: var(--gred);
  padding: 36px 20px;
  border-radius: 32px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.doctor_btn {
  padding: 12px 20px;
  background-image: linear-gradient(to right, #ffffff, #d7d7d7);
  border-radius: 10px;
  border: 2px solid #d7d7d7;
}

.hidden {
  display: none;
}

.doctor_name {
  color: var(--white);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 25px;
  position: relative;
}
.time {
  display: block;
  font-size: 14px;
  color: var(--white);
}
.doctor_link {
  font-weight: 500;
  color: var(--primary);
  background-image: linear-gradient(#ffffff, #ffffff);
  padding: 10px 20px;
  border-radius: 36px;
  border: 1px solid var(--white);
}
.doctor_link:hover {
  color: var(--white);
  background-image: var(--gred);
  border-color: var(--primary);
}
.doctor_container {
  min-height: 865px;
  position: relative;
}
.doctor_name::before {
  content: "";
  width: 70px;
  height: 2px;
  background-color: var(--white);
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
}
.doctor_section {
  position: relative;
  padding: 50px 0;
}
.doctor_bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.location_section {
  padding: 100px 0;
}
.location_container {
  display: flex;
}
.location_left,
.location_right {
  width: 100%;
  border-radius: 40px;
  overflow: hidden;
}
.map {
  width: 100%;
  height: 600px;
}
.location_left {
  padding: 66px;
  background-color: #f8f8f8;
  position: relative;
}
.location_heading {
  font-size: 60px;
  line-height: 70px;
}
.address {
  background-image: var(--gred);
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
}
address {
  position: relative;
  width: 100%;
  padding: 55px 66px;
  color: var(--white);
  font-size: 20px;
  font-style: normal;
  text-align: center;
}
.map_icon {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
}
.owl-carousel {
  width: 100%;
  margin: auto;
  margin-top: 50px;
}
.item {
  margin: 10px; /* Add margin for gaps between slides */
  box-sizing: border-box; /* Ensure padding and border are included in width/height */
}
.custom-pagination {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.custom-pagination div {
  margin: 0 5px;
}
.custom-pagination img {
  width: 24px;
  height: 24px;
}
.gallery_section {
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
}
.gallery_bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: 100%;
}
.visually-hidden {
  position: absolute; /* Remove from normal document flow */
  width: 1px; /* Reduce size */
  height: 1px; /* Reduce size */
  padding: 0; /* No padding */
  margin: -1px; /* No margin */
  overflow: hidden; /* Hide overflow */
  clip: rect(0, 0, 0, 0); /* Clip the element */
  border: 0; /* No border */
  white-space: nowrap; /* Prevent wrapping */
}
.contact {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 815px;
  margin: 90px auto 0;
  position: relative;
}
.input {
  width: calc(50% - 15px);
}
textarea {
  width: 100%;
  min-height: 180px;
}
.contact_input {
  padding: 25px 30px;
  background-color: #f8f8f8;
  border-radius: 20px;
  color: var(--primary);
  border: none;
  outline: none;
}
.contact_input::placeholder {
  color: var(--black);
}
.submit_btn {
  width: 100%;
  padding: 22px;
  border-radius: 20px;
  border: 2px solid var(--primary);
  background-image: var(--gred);
  font-size: 20px;
  line-height: 20px;
  font-weight: 700;
  color: var(--white);
}
.submit_btn:hover {
  box-shadow: var(--shadow);
}
.contact_section {
  padding: 50px 0;
  position: relative;
}
.contact_section:before {
  content: url(./assets/contact_img.webp);
  position: absolute;
  top: 0;
  left: 0;
}
.footer_top {
  padding: 160px 0;
  background-color: #f8f8f8;
}
.footer_container {
  display: flex;
  gap: 50px;
  justify-content: space-between;
}
.footer_left {
  flex: 2;
}
.footer_middle {
  flex: 1;
}
.footer_right {
  text-wrap: nowrap;
}
.footer_logo {
  width: 100%;
  max-width: 380px;
}
.footer_desc {
  font-size: 14px;
  margin-top: 20px;
}
.form_heading {
  font-size: 24px;
  position: relative;
}
.form_heading::before {
  content: "";
  position: absolute;
  width: 30%;
  height: 2px;
  background-color: var(--black);
  bottom: -5px;
}
.footer_form {
  display: flex;
  padding: 5px 0;
  border-bottom: 2px solid var(--black);
  margin-top: 20px;
  max-width: 500px;
}
.footer_input {
  flex: 1;
  outline: none;
  background-color: transparent;
  border: none;
}
.footer_submit_btn {
  padding: 0;
  background-color: transparent;
  border: none;
  opacity: 70%;
}
.footer_submit_btn:hover {
  opacity: 100%;
}
.footer_menus {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
}
.footer_menu {
  font-weight: 600;
  text-decoration: underline;
}
.footer_bottom {
  padding: 15px 0;
  text-align: center;
  background-color: var(--primary);
  color: var(--white);
}
.footer_menu:hover {
  color: var(--primary);
}
.sub_heading {
  margin-bottom: 30px;
}
