:root {
  --primary: #516eff;
  --secondary: #777777;
  --white: #ffffff;
  --black: #000000;
  --text: #52525b;
}

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: "Inter";
}

body {
  overflow-x: hidden;
  font-size: 18px;
  font-weight: 400;
}

.container {
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 15px;
}

.topbar {
  padding: 5px 0;
  background-color: var(--primary);
}

#currentDateTime {
  color: var(--white);
  font-size: 16px;
}

.navbar_container {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #bcbcbc;
}

.menus {
  display: flex;
  align-items: center;
  gap: 40px;
}

.menu {
  color: var(--text);
  font-size: 16px;
}

.menu:hover {
  color: var(--primary);
}

.menu_btn {
  color: var(--white);
  font-size: 16px;
  padding: 16px 40px;
  background-color: var(--primary);
  border-radius: 8px;
}

.menu_btn:hover {
  background-color: var(--black);
}

/* Hamburger icon styling */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001; /* Ensure it stays above the menu */
}

.hamburger span {
  height: 3px;
  background-color: var(--black);
  border-radius: 5px;
  transition: all 0.4s ease-in-out;
}

/* Transform hamburger into close icon when open */
.hamburger.menu_open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.menu_open span:nth-child(2) {
  opacity: 0;
}

.hamburger.menu_open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

ul {
  list-style: none;
}
a {
  text-decoration: none;
}

.swiper-container {
  overflow-x: hidden;
}
/* Responsive navbar */

.hero_section {
  padding: 90px 0 130px;
}
.hero_container {
  display: flex;
  align-items: end;
}
.hero_left,
.hero_right {
  width: 100%;
}
.hero_img {
  width: 100%;
}
.hero_heading {
  font-size: 66px;
}
.hero_heading span {
  color: var(--primary);
}
.hero_desc {
  font-size: 20px;
  margin: 20px 0 80px;
  color: var(--secondary);
  width: 110%;
  position: relative;
}
.hero_btns {
  display: flex;
  gap: 20px;
  align-items: center;
}
.hero_btn {
  padding: 16px 48px;
  background-color: #516eff;
  color: var(--white);
  border-radius: 8px;
}
.hero_btn_icon {
  padding: 11px;
  background-color: #516eff;
  color: var(--white);
  border-radius: 8px;
}
.hero_btn:hover,
.hero_btn_icon:hover {
  background-color: var(--black);
}
.step_section {
  padding: 60px 0;
  background-color: var(--primary);
}
.step_container {
  display: flex;
  align-items: center;
  gap: 56px;
}
.step_heading {
  font-size: 42px;
  font-weight: 600;
  color: var(--white);
}
.step_text {
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  margin-top: 22px;
  display: inline-block;
}
.step_right {
  flex: 1;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.step {
  text-align: center;
  width: calc((100% / 3) - 38px);
  padding: 24px 32px;
  background-color: var(--white);
  border-radius: 16px;
}
.step_title {
  line-height: 24px;
  color: var(--text);
  margin-top: 16px;
}
.heading_container {
  position: relative;
}
.heading {
  font-size: 56px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  text-align: end;
  padding: 10px 0;
  line-height: 56px;
  border-bottom: 1px solid #bcbcbc;
}
.subheading {
  position: absolute;
  bottom: -10%;
  font-size: 48px;
  font-weight: 600;
  line-height: 64px;
}
.subheading span {
  display: block;
  font-size: 60px;
  font-weight: 700;
  line-height: 64px;
  background-color: var(--white);
  width: fit-content;
  padding-right: 30px;
}
.service_section {
  padding: 150px 0 130px;
}
.services {
  margin-top: 80px;
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}
.service {
  width: calc((100% / 3) - 54px);
  text-align: center;
  padding: 40px 10px;
  background-color: #f8fafc;
  border: 1px solid #52525b10;
  border-radius: 16px;
  transition: all 0.5s ease-in;
}
.service_name {
  font-size: 24px;
  font-weight: 34px;
  font-weight: 500;
  margin: 12px 0 24px;
}
.service_desc {
  color: var(--secondary);
  font-size: 16px;
}
.service:hover {
  background-color: #bcbcbc38;
}
.marketing_section {
  padding: 80px 0;
  background-color: var(--primary);
}
.marketing_container {
  text-align: center;
}
.marketing_heading {
  font-size: 42px;
  line-height: 60px;
  font-weight: 500;
  color: var(--white);
}
.marketing_desc {
  line-height: 30px;
  color: var(--white);
  margin: 24px 0 60px;
}
.marketing_btn {
  padding: 24px 48px;
  color: var(--white);
  border: 2px solid var(--white);
  font-size: 20px;
  line-height: 34px;
  border-radius: 16px;
}
.about_section {
  padding: 150px 0 100px;
}
.about_container {
  padding-top: 70px;
  display: flex;
  gap: 60px;
  text-align: start;
}
.about_left,
.about_right {
  width: 100%;
}
.about_img {
  width: 100%;
}
.about_right {
  padding: 48px;
  background-color: #f8fafc;
  border: 1px solid #52525b10;
  border-radius: 16px;
}
.about_heading {
  font-size: 24px;
  line-height: 34px;
  font-weight: 500;
  margin-bottom: 20px;
}
.about_desc {
  font-size: 16px;
  line-height: 34px;
  letter-spacing: 1.5px;
  color: var(--secondary);
}

.swiper-container {
  width: 100%;
  margin-top: 80px;
}

.button-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.nav-button {
  padding: 12px 40px;
  background: white;
  color: var(--primary);
  border: 1px solid var(--primary);
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;

  transition: all 0.3s, transform 0.3s;
}

.nav-button:hover {
  box-shadow: 2px 10px 20px #00000069;
}

/* Active button style */
.nav-button.active {
  background: var(--primary);
  color: white;
}
.doctor_container {
  margin-top: 30px;
}
.doctors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.doctor {
  width: calc(25% - 23px);
  text-align: center;
  display: flex;
  gap: 5px;
  flex-direction: column;
}
.doctor_img {
  width: 100%;
}
.doctor_name {
  font-size: 20px;
  line-height: 34px;
  font-weight: 400;
  text-transform: uppercase;
}
.doctor_timeline {
  flex: 1;
  background-color: var(--primary);
  padding: 10px 5px;
  border-radius: 10px;
  color: var(--white);
  font-size: 16px;
  line-height: 24px;
}
.gallery_section {
  padding: 80px 0 200px;
  background-color: var(--primary);
}
.gallery_heading_container {
  text-align: center;
  max-width: 935px;
  margin: 0 auto;
}
.gallery_heading {
  font-size: 42px;
  line-height: 60px;
  font-weight: 500;
  color: var(--white);
}
.gallery_desc {
  line-height: 30px;
  color: var(--white);
}
.gallery-swiper {
  position: relative;
}
.gallery-next {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 99999999999999999;
  cursor: pointer;
}
.gallery-prev {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 99999999999999999;
  cursor: pointer;
}
.swiper-slide img {
  width: 100%;
  border-radius: 10px;
}
.doctor-swiper {
  margin: 20px 0;
}
.gallery-prev,
.gallery-next {
  transform: translateY(-50%);
}
.gallery_section {
  position: relative;
}
.gallery_container {
  position: absolute;
  width: 100%;
  left: 50%;
  bottom: 0;
  max-width: 1210px;
  padding: 15px 0;
  transform: translate(-50%, 50%);
}
.contact_section {
  padding: 285px 0 100px;
}
.contact_container {
  display: flex;
  gap: 45px;
  margin-top: 80px;
}
.contact_left,
.contact_form {
  width: 100%;
}
.contact_left {
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  overflow: hidden;
  background-color: var(--primary);
}
.map {
  flex: 1;
  min-height: 300px;
  border-radius: 32px;
}
address {
  padding: 24px 48px;
  text-align: center;
  font-size: 20px;
  color: var(--white);
  font-style: normal;
}
.contact_input {
  width: 100%;
  font-size: 16px;
  color: var(--text);
  padding: 12px 16px;
  border-radius: 8px;
  border: 2px solid #52525b25;
  outline: none;
}
label {
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}
.form_group {
  margin-bottom: 20px;
}
.contact_submit_btn {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  border: none;
  background-color: var(--primary);
  color: var(--white);
  font-weight: 500;
}
.contact_submit_btn:hover {
  background-color: var(--black);
}
.footer_top {
  padding: 100px 0;
  background-color: var(--primary);
}
.footer_container {
  display: flex;
  gap: 75px;
}
.footer_desc {
  font-size: 16px;
  margin-top: 20px;
  color: var(--white);
}
.footer_2 {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer_menu {
  color: var(--white);
}
.footer_menu:hover {
  transform: scale(1.1);
}
.footer_heading {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  position: relative;
  margin-bottom: 45px;
}
.footer_heading:before {
  content: "";
  width: 60px;
  height: 2px;
  background-color: var(--white);
  position: absolute;
  bottom: -10px;
}
.footer_link {
  display: flex;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  color: var(--white);
}
.df {
  margin-bottom: 10px;
}
.footer_form {
  display: flex;
  padding: 5px 0;
  border-bottom: 2px solid var(--white);
  margin-top: 20px;
}
.footer_input {
  flex: 1;
  background-color: transparent;
  border: none;
  outline: none;
  color: var(--white);
}
.footer_input::placeholder {
  color: var(--white);
}
.footer_btn {
  background-color: transparent;
  border: none;
}
