:root {
  --gred: linear-gradient(to bottom, #76bf50, #02a151);
  --primary: #6aac48;
  --lite_primary: #f1f9ee;
  --black: #000000;
  --white: #ffffff;
  --secondary: #76bf50;
}

a {
  transition: all 0.5s ease-in;
  display: inline-block;
  text-decoration: none;
}
a img {
  transition: all 0.5s ease-in;
}
img {
  vertical-align: bottom;
}
* {
  padding: 0;
  margin: 0;
  color: var(--black);
  scroll-behavior: smooth;
}

body {
  font-family: "Raleway", sans-serif;
  box-sizing: border-box;
  font-size: 20px;
  overflow-x: hidden;
}

.container {
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 15px;
}
.topbar_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.social_icon {
  filter: invert(1);
}
.topbar_section {
  padding: 10px 0;
  width: 100%;
  background-color: var(--white);
}
.social_icon:hover {
  transform: scale(1.2);
}
#currenttime {
  font-weight: 900;
}
.nav_section {
  padding: 14px 0;
  transition: all 0.5s ease-in;
  width: 100%;
  background-color: #0000004d;
}
.nav_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu {
  font-size: 18px;
  color: var(--white);
  font-weight: 500;
}
.menu:not(:last-child) {
  margin-right: 30px;
}
.menu:hover,
.visiting {
  color: var(--primary);
}

.navigation {
  position: fixed;
  width: 100%;
  z-index: 999999999999999999999999999;
}

/* Default styles for larger screens */
.menus {
  display: flex;
}

.hamburger_menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: var(--white);
  transition: 0.3s;
}

.mobile_nav {
  display: none;
  position: fixed;
  top: 140px;
  right: 0;
  width: 100%;
  background-color: var(--black);
  flex-direction: column;
  text-align: center;
}

.mobile_menu {
  padding: 15px;
  color: var(--white);
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out;
}

.mobile_menu:hover {
  background-color: var(--primary);
}
.scrolled {
  background-color: #000000;
}
.hero_section {
  background-image: url(./assets/new/hero_bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 192px 0 60px;
}
.hero_container {
  background-color: #02a1511e;
}
.hero_content {
  position: relative;
  padding: 77px 0;
}
.hero_img {
  position: absolute;
  bottom: 35px;
  right: 0;
}
.hero_text {
  width: calc(100% - 450px);
}
.hero_heading {
  color: var(--white);
  font-size: 48px;
}
.hero_desc {
  color: var(--white);
  margin: 20px 0 32px;
}
.hero_btn {
  font-size: 20px;
  padding: 12px 24px;
  background-image: var(--gred);
  color: #53ff02;
  border-radius: 8px;
}
.hero_btn:hover {
  transform: scaleY(1.2);
}
.marketing_container {
  max-width: 952px;
  margin: 0 auto;
  padding: 80px 0;
  border: 1px solid var(--primary);
  border-radius: 15px;
}
.marketing_section {
  padding: 80px 15px;
}
.heading_container {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 40px;
}
.heading {
  color: var(--primary);
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 15px;
}

.infos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.info {
  text-align: center;
  width: calc((100% / 3) - 16px);
}
.info_heading {
  font-size: 24px;
  margin: 16px 0 33px;
}

.servie_section {
  background-color: var(--lite_primary);
  padding: 48px 0 80px;
}
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.service {
  width: calc((100% / 3) - 22px);
  border-radius: 24px;
  overflow: hidden;
  background-color: var(--white);
  text-align: center;
  position: relative;
}
.service_texts {
  padding: 24px 18px 50px;
}
.service_desc {
  margin: 12px 0 16px;
  font-size: 14px;
}
.service_price {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 13px 18px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: bold;
}
.doctor_section {
  padding: 80px 0;
}
.doctor_container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}
.doctor_heading {
  display: flex;
  gap: 15px;
  color: var(--primary);
  font-size: 32px;
  font-weight: 600;
  align-items: end;
  margin-top: 30px;
}
.heading_before,
.heading_after {
  flex: 1;
  height: 12px;
  border-top: 1px solid var(--primary);
}
.heading_before {
  border-left: 1px solid var(--primary);
}
.heading_after {
  border-right: 1px solid var(--primary);
}
.doctors {
  display: flex;
  gap: 80px 30px;
  justify-content: center;
  margin-top: 90px;
  flex-wrap: wrap;
}
.doctor {
  box-sizing: border-box;
  width: calc((100% / 3) - 20px);
  text-align: center;
  position: relative;
  padding: 90px 24px 24px;
  background-image: var(--gred);
  border-radius: 16px;
}
.doctor_img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.doctor_name {
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}
.doctor_degi {
  color: var(--white);
  font-size: 18px;
  margin: 8px 0 32px;
  display: inline-block;
}
.doctor_time {
  color: var(--white);
  font-size: 16px;
}
.doctor_time img {
  margin-right: 10px;
}
.contact_container {
  max-width: 1070px;
  margin: 0 auto;
  padding: 0 15px;
}
.contact_content {
  display: flex;
  gap: 50px;
}
.contact {
  background-color: var(--lite_primary);
  padding: 32px;
  border-radius: 15px;
}
.contact_content {
  display: flex;

  border-radius: 25px;
  gap: 30px;
}
.contact_left,
.contact_right {
  width: 100%;
}
.map {
  width: 100%;
  height: 354px;
  border-radius: 10px;
}
.input {
  width: 100%;
  margin-bottom: 12px;
  outline: none;
  font-size: 14px;
  padding: 13px 17px;
  background-color: var(--white);
  border: none;
  border-radius: 8px;
  color: var(--secondary);
}
.contact_heading {
  color: var(--primary);
  font-size: 32px;
  font-weight: 600;
}
.contact_desc {
  margin: 12px 0 24px;
  display: inline-block;
}
.textarea {
  height: 125px;
}
.submit_btn {
  width: 100%;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 13px;
  color: var(--white);
  background-color: var(--primary);
  border: none;
  transition: all 0.5s ease-in-out;
  border-radius: 8px;
}
.submit_btn:hover {
  background-color: var(--secondary);
}
.map_container {
  margin-top: 20px;
  position: relative;
}
.location {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 80%;
  display: flex;
  gap: 10px;
  align-items: start;
  background-color: var(--white);
  transform: translate(-50%, 50%);
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
}
.socials {
  margin-top: 40px;
  display: flex;
  gap: 50px;
}
.footer_social {
  font-weight: 600;
}
.footer_social:hover {
  color: var(--primary);
}
.contact_section {
  margin-bottom: 100px;
}
.footer_bottom {
  background-color: var(--black);
  padding: 12px 0;
}
.footer_bottom_container {
  text-align: center;
  color: var(--white);
  font-size: 14px;
}
.footer_bottom_container a {
  color: var(--white);
}
.footer_bottom_container a:hover {
  color: var(--primary);
}

/* Hamburger Menu Animation */
.hamburger_menu.active .bar:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger_menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger_menu.active .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}
.service img {
  width: 100%;
}

@media (max-width: 991px) {
  .menus {
    display: none;
  }

  .hamburger_menu {
    display: flex;
  }

  .mobile_nav.active {
    display: flex;
  }
  .hero_img {
    display: none;
  }
  .hero_text {
    width: 100%;
    text-align: center;
  }
  .hero_content {
    padding: 40px 0;
  }
  .hero_btn {
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    font-size: 18px;
  }
  .marketing_section {
    padding: 40px 15px;
  }
  .marketing_container,
  .doctor_section,
  .servie_section {
    padding: 40px 0;
  }

  .service {
    width: calc(50% - 16px);
  }
  .doctor {
    width: calc(50% - 15px);
  }
  .contact_content {
    flex-direction: column;
  }
  .socials {
    margin-top: 60px;
    justify-content: center;
  }
  .contact_section {
    margin-bottom: 40px;
  }
  .info {
    width: 100%;
  }
  .hero_heading {
    font-size: 34px;
  }
  body {
    font-size: 16px;
    text-wrap: balance;
  }
  .heading {
    color: var(--primary);
    font-size: 34px;
  }
  .doctor_heading,
  .contact_heading {
    font-size: 28px;
  }
}
@media (max-width: 551px) {
  .service,
  .doctor {
    width: 100%;
  }
  .location {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .socials {
    margin-top: 100px;
    justify-content: center;
  }
  .socials,
  .topbar_container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .mobile_nav {
    top: 195px;
  }
  .hero_heading {
    font-size: 28px;
  }
  .heading {
    font-size: 26px;
  }
  body {
    font-size: 16px;
  }
  .service_price {
    width: 90%;
  }
}
