@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap");

:root {
  --blue: #0c91ff;
  --green: #04c988;
  --light-color: #111;
  --box-shadow: box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --border: 0.2rem solid var(--blue);
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  transition: all 0.2s ease-out;
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: grey;
}

::-webkit-scrollbar-thumb {
  background-color: var(--blue);
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--green);
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 7rem;
  scroll-behavior: smooth;
}

section {
  padding: 5rem 9%;
}

section:nth-child(even) {
  background: #f1f6f9;
}
.logo img {
  height: auto;
  width: 200px;
}

.heading {
  text-align: center;
  padding-bottom: 2rem;
  color: var(--green);
  font-size: 5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.heading span {
  color: var(--blue);
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  margin-right: 3rem;
  padding: 0.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border: var(--border);
  border-radius: 5rem;
  color: white;
  cursor: pointer;
  font-size: 1.7rem;
  background: var(--blue);
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
  }
}

.btn span {
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: var(--blue);
  color: #fff;
  margin-left: 0.5rem;
}

.btn:hover {
  background: white;
  color: var(--blue);
}

.btn:hover span {
  color: var(--blue);
  background: #fff;
  margin-left: 1rem;
}

.header {
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  padding: 20px;
  padding: 2rem 9%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo {
  width: 200px; /* Adjust the width to your desired size */
  height: auto;
  color: var(--green);
}

.header .navbar a {
  font-size: 1.7rem;
  color: var(--light-color);
  margin-left: 2rem;
}

.header .navbar a:hover {
  color: #0c91ff;
}

#menu-btn {
  font-size: 2.5rem;
  border-radius: 0.5rem;
  background: var(--blue);
  color: #fff;
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: none;
}

.home {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 10rem;
}

.home .image {
  flex: 1 1 45rem;
}

.home .image img {
  width: 90%;
}

.home .content {
  flex: 1 1 45rem;
}

.home .content h3 {
  font-size: 4rem;
  color: var(--green);
}

.home .content h3 care {
  font-size: 4rem;
  color: var(--blue);
}
.home .content p {
  font-size: 1.7rem;
  color: var(--light-color);

  padding: 1rem 0;
}

.icons-container {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.icons-container .icons {
  border: var(--border);
  box-shadow: var(--box-shadow);
  border-radius: 0.5rem;
  text-align: center;
  padding: 2.5rem;
}

.icons-container .icons i {
  font-size: 4.5rem;
  color: var(--blue);
  padding-bottom: 0.7rem;
}

.icons-container .icons h3 {
  font-size: 4.5rem;
  color: var(--light-color);
  padding: 0.5rem 0;
}

.icons-container .icons p {
  font-size: 20px;
  color: var(--light-color);
  padding: 0.5rem 0;
}

.about .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.about .row .image {
  flex: 1 1 45rem;
}

.about .row .image img {
  width: 100%;
}

.about .row .content {
  flex: 1 1 45rem;
}

.about .row .content h3 {
  color: var(--green);
  font-size: 4rem;
}

.about .row .content p {
  color: var(--light-color);
  padding: 1rem 0;
  font-size: 1.5rem;
}

.services .box-container {
  padding: 50px;
  display: grid;
  grid-template-columns: repeat(2, minmax(27rem, 2fr));
  justify-content: center;
  gap: 5rem;
}

.services .box-container .box {
  height: auto;
  width : 400px;
  background: #fff;
  border-radius: 10rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: var(--border);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.services .box-container .box:hover {
  height: auto;
  width : 400px;
  background: #fff;
  border-radius: 10rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: var(--border);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: scale(1.1);
}

.services .box-container .box i {
  color: var(--blue);
  font-size: 5rem;
  padding-bottom: 0.5rem;
}


.services .box-container .box h3 {
  color: var(--light-color);
  font-size: 2.5rem;
  padding: 1rem 0;
}

.doctors .box-container {
  padding: 50px;
  display: grid;
  grid-template-columns: repeat(2, minmax(27rem, 2fr));
  justify-content: center;
  gap: 5rem;

}

.doctors .box-container .box {
  text-align: center;
  background: #fff;
  border-radius: 2rem;
  border: var(--border);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, filter 0.2s;
  padding: 20px;
}

.doctors .box-container .box:hover{
  transform: scale(1.1);
  z-index: 1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.blur {
  filter: blur(4px);
}

.doctors .box-container .box img {
  height: 20rem;
  border: var(--border);
  border-radius: 50rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.doctors .box-container .box h3 {
  color: var(--blue);
  font-size: 2.5rem;
}

.doctors .box-container .box span {
  color: var(--light-color);
  font-size: 1.5rem;
}


.slide-container{
  max-width: 1120px;
  width: 100%;
  height: auto;
  padding: 40px 0;
}
.slide-content{
  margin: 40px;
  margin-right: 50px;
  margin-left: 50px;
  overflow: hidden;
  border-radius: 25px;
}
.card{
  border-radius: 25px;
  background-color: #f1f6f9;
}
.image-content,
.card-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
}
.image-content{
  position: relative;
  row-gap: 5px;
  padding: 25px 0;
}
.overlay{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--blue);
  border-radius: 25px 25px 0 25px;
}
.overlay::before,
.overlay::after{
  content: '';
  position: absolute;
  right: 0;
  bottom: -40px;
  height: 40px;
  width: 40px;
  background-color: var(--blue);
}
.overlay::after{
  border-radius: 0 25px 0 0;
  background-color: #f1f6f9;
}
.card-image{
  position: relative;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background: #f1f6f9;
  padding: 3px;
}
.card-image .card-img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--blue);
}
.name{
  font-size: 18px;
  font-weight: 500;
  color: #333;
}
.description{
  font-size: 14px;
  color: #707070;
  text-align: center;
}

.swiper-navBtn{
  color: #6E93f7;
  transition: color 0.3s ease;
}
.swiper-navBtn:hover{
  color: #4070F4;
}
.swiper-navBtn::before,
.swiper-navBtn::after{
  font-size: 35px;
}
.swiper-button-next{
  right: 0;
}
.swiper-button-prev{
  left: 0;
}
.swiper-pagination-bullet{
  background-color: #6E93f7;
  opacity: 1;
}
.swiper-pagination-bullet-active{
  background-color: #4070F4;
}

@media screen and (max-width: 768px) {
  .slide-content{
    margin: 0 10px;
  }
  .swiper-navBtn{
    display: none;
  }
}


.footer .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 2rem;
}

.footer .box-container .box img {
  height: 200px;
  width: auto;
  padding: 1rem 0;
}
.footer .box-container .box h3 {
  font-size: 2.5rem;
  color: var(--green);
  padding: 1rem 0;
}

.footer .box-container .box a {
  display: block;
  font-size: 1.5rem;
  color: var(--light-color);
  padding: 1rem 0;
  
}

.footer .box-container .box a i {
  padding-right: 0.5rem;
  color: var(--blue);
  
}

.footer .box-container .box a:hover i {
  transform: scale(1.5);
  
}

.footer .credit {
  padding: 1rem;
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 2rem;
  color: var(--light-color);
  border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
}

.footer .credit span {
  background: linear-gradient(to right, #0c91ff, #04c988);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: gradientAnimation 2s infinite;
}


@keyframes gradientAnimation {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

.heading_dis {
  margin-top: 90px;
  text-align: center;
  padding-bottom: 2rem;
  color: var(--blue);
  font-size: 5rem;
}

.content_dis {
  color: var(--light-color);
  padding: rem 0;
  font-size: 1.5rem;
}

.custom-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.custom-image-container {
  flex: 1;
  padding: 20px;
  text-align: center;
}

.custom-image {
  max-width: 100%;
  height: auto;
}

.custom-form-container {
  flex: 1;
  padding: 20px;
}

.custom-google-form {
  width: 100%;
  height: 500px;
  border: none;
}

.sticky-bar {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(50px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--blue);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s;
  border: none;
}

.button:hover {
  background-color: var(--green);
  color: white;
}

@media (max-width: 767px) {
  .sticky-bar {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
  }
}


.contact-map-container {
  display: flex;
  flex-wrap: wrap;
}

.contact-form,
.google-map {
  flex: 1;
  margin: 10px;
}

/* Media Queriees */
@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  .header {
    padding: 2rem;
  }

  section {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  #menu-btn {
    display: initial;
  }

  .header .navbar {
    position: absolute;
    top: 115%;
    right: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    width: 30rem;
    border: var(--border);
    background: #fff;
    transform: scale(0);
    opacity: 0;
    transform-origin: top right;
    transition: none;
  }

  .header .navbar.active {
    transform: scale(1);
    opacity: 1;
    transition: 0.2s ease-out;
  }

  .header .navbar a {
    font-size: 2rem;
    display: block;
    margin: 2.5rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
}
