:root {
  --primary: #003f4a;
  --secondary: #a1c434;
  --white: #ffffff;
  --black: #000000;
  --lite: #b0e8f2;
  --gred: linear-gradient(to right, #d9f4f900, #d9f4f9, #d0eaef00);
  --tirtiary: #00b5d4;
}

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);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

ul {
  list-style: none;
}

body {
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
  font-size: 18px;
}

.container {
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 15px;
}

.topbar {
  background-color: var(--primary);
  padding: 13px 0;
  position: relative;
  z-index: 999;
}

.topbar_container,
.navbar_container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

#currentDateTime {
  color: var(--white);
  font-weight: 500;
}

.topbar_socials {
  display: flex;
  gap: 12px;
}

.social_icon:hover,
.menu:hover {
  transform: scale(1.2);
}

.navbar_section {
  position: relative;
  z-index: 999;
}

.menus {
  display: flex;
  gap: 48px;
}

.menu {
  color: var(--white);
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle:focus {
  outline: none;
}

.hero_Section {
  background-image: url(./assets/hero_bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: -137px;
  position: relative;
}
.hero_screen {
  position: relative;
  padding: 172px 0 270px;
  max-width: 1440px;
  margin: 0 auto;
}
.hero_img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.hero_container {
  width: 100%;
  text-align: center;
  position: relative;
}
.hero_heading {
  font-size: 60px;
  color: var(--white);
}

.hero_desc {
  font-size: 20px;
  color: var(--white);
  margin: 24px 0 50px;
}
.hero_btn {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  padding: 16px 32px;
  background-color: var(--secondary);
  border-radius: 12px;
  border: 2px solid var(--white);
}
.hero_btn:hover {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--secondary);
}

.sr-only,
.visually-hidden {
  position: absolute; /* Position it off-screen */
  width: 1px; /* Minimize its width */
  height: 1px; /* Minimize its height */
  margin: -1px; /* Remove margins */
  padding: 0; /* Remove padding */
  overflow: hidden; /* Hide overflow */
  clip: rect(0, 0, 0, 0); /* Clip the text */
  border: 0; /* Remove borders */
}
.hero_infos {
  position: absolute;
  display: flex;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 133px;
  backdrop-filter: blur(10px);
  background-color: #00889f20;
  border-top: 2px solid var(--lite);
}
.hero_info_container {
  display: flex;
  gap: 64px;
  justify-content: center;
  width: 100%;
  transform: translateY(-50%);
}
.hero_info {
  background-color: #00c7ff8f;
  border-radius: 16px;
  position: relative;
}
.figcaption {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
}
.service_section {
  padding: 88px 0;
}
.heading {
  display: flex;
  gap: 16px;
  justify-content: center;
  font-weight: 900;
  color: var(--primary);
  font-size: 40px;
  margin-bottom: 45px;
}
.sm_container {
  max-width: 868px;
  margin: 0 auto;
}
.services {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.service {
  width: calc((100% / 3) - 22px);
  text-align: center;
  padding: 40px 20px;
  background-color: #e6f8fb;
}
.service_name {
  font-size: 24px;
  color: var(--primary);
  margin-top: 32px;
}
.doctor_container {
  background-color: var(--lite);
  text-align: center;
}
.specialty {
  color: var(--primary);
  padding: 13px 0;
  background-image: var(--gred);
  font-size: 32px;
}
.doctor_list {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: start;
  flex-wrap: wrap;
  padding: 70px 0 50px;
}
.doctor {
  width: calc((100% / 3) - 22px);
  background-color: var(--white);
  position: relative;
  border-radius: 8px;
  padding: 60px 18px 0;
  box-shadow: 0px 13px 13px -4px rgba(0, 0, 0, 0.507);
}
.doctor_img {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  padding: 23px;
  border-radius: 100%;
  background-color: var(--lite);
}
.doctor_name {
  font-size: 22px;
  color: var(--tirtiary);
  text-transform: uppercase;
  margin: 20px 0;
}
.doctor_schedule {
  padding: 24px 10px;
  border-top: 1px dashed var(--tirtiary);
}
.doctor_days {
  display: block;
  font-size: 16px;
  color: var(--tirtiary);
  margin-bottom: 16px;
}
.time {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.time span {
  font-weight: 700;
}
.space {
  height: 28px;
  display: block;
}
.space_sm {
  height: 18px;
  display: block;
}
.gallery_section {
  padding: 100px 0;
}
/* Main slider styling */
.swiper-container {
  width: 100%;
  height: auto;
  position: relative;
  margin-top: 50px;
}
.swiper-slide {
  background-color: var(--black);
}

.slide_content {
  max-width: 910px;
  margin: 0 auto;
  padding: 20px 50px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.slide_content img {
  width: 100%;

  border-radius: 8px;
}
.slide_heading {
  font-size: 40px;
  color: var(--lite);
}
.slide_desc {
  color: var(--white);
  font-weight: 300;
  margin-top: 20px;
}
.thumb_img {
  width: 100%;
  height: 206px;
}
/* Thumbnail styling */
.thumb-slider {
  margin-top: 0;
}

.thumb-slider .swiper-slide {
  width: 100%;
  position: relative;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.thumb-slider .swiper-slide::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #00000096;
}
/* Highlight active thumbnail */
.thumb-slider .swiper-slide-thumb-active::before {
  background-color: transparent;
}
.swiper-button-next,
.swiper-button-prev {
  color: var(--black) !important;
  padding: 25px;
  border-radius: 100%;
  background-color: var(--tirtiary);
  width: 10px !important;
  height: 10px !important;
  box-sizing: content-box;
}
.swiper-button-next {
  right: 100px !important;
}
.swiper-button-prev {
  left: 100px !important;
}
.contact_container {
  position: relative;
  padding: 20px;
  background-image: url(./assets/new/appointment_bg.webp);
  background-size: cover; /* Makes the image fill the area */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents repeating */
}
/* .contact_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} */
.contact_form {
  max-width: 592px;
  background-color: var(--white);
  position: relative;
  border-radius: 24px;
  padding: 40px 30px;
}
.contact_heading {
  font-size: 24px;
  color: var(--primary);
}
.contact_subheading {
  display: block;
  font-size: 16px;
  margin-bottom: 46px;
}
.contact_input {
  font-size: 14px;
  padding: 13px 21px 15px;
  width: 100%;
  margin-bottom: 12px;
  border: 1px solid var(--lite);
  border-radius: 14px;
  outline: none;
}
textarea {
  height: 200px;
}
.submit_btn {
  font-size: 16px;
  font-weight: 700;
  padding: 17px;
  width: 100%;
  color: var(--white);
  background-color: var(--tirtiary);
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
}
.gallery_section {
  overflow-x: hidden;
}
.submit_btn:hover {
  background-color: var(--secondary);
}
.location_section {
  padding: 100px 0;
}
.location_container {
  position: relative;
}
.map {
  width: 100%;
  height: 600px;
  border-radius: 45px;
}
address {
  position: absolute;
  display: flex;
  align-items: center;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  gap: 20px;
  padding: 20px;
  background-color: var(--tirtiary);
  color: var(--white);
  border-radius: 10px;
}
.footer_top {
  background-color: var(--primary);
  padding: 80px 0;
}
.footer_container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer_left {
  max-width: 337px;
}
.footer_right {
  max-width: 250px;
}
.footer_desc {
  margin-top: 30px;
  font-size: 16px;
  color: var(--white);
}
.footer_menu {
  margin-bottom: 50px;
}
.subscribe_form {
  display: flex;
  padding: 5px 0;
  border-bottom: 2px solid var(--white);
  margin-top: 30px;
}
.subscribe_input {
  flex: 1;
  background-color: transparent;
  border: none;
  color: var(--white);
  outline: none;
}
.subscribe_input::placeholder {
  color: var(--white);
}
.footer_heading {
  color: var(--white);
  position: relative;
}
.footer_heading::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 2px;
  background-color: var(--white);
  bottom: -10px;
}
.sub_btn {
  background-color: transparent;
  border-color: transparent;
}
.footer_text {
  font-size: 14px;
  color: var(--white);
  padding: 12px 0;
  background-color: var(--black);
  text-align: center;
}
