/*
Theme Name: Dr ali
Author: You
Version: 1.0
*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #5a5f63;
  --primary-color-dark:#5a5f63;
  --primary-color-light: #e9f7f7;
  --secondary-color:  #767268;
  --text-dark: #333333;
  --text-light: #767268;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  zoom: 1;
}
html, body {
  height: 100%;
  overflow-x: hidden;
  position: relative;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
}



img {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

header {
  background-image: linear-gradient(
      to right,
      rgba(90, 95, 99, 0.9),
      rgba(90, 95, 99, 0.7)
    ),
    url("assets/header.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* General Navigation Bar Styles */
.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-color);
  padding: 10px 20px;
  position: relative;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 40px;
  margin-right: 10px;
}

.nav__logo h1 {
  font-size: 24px;
  color: white;
  margin: 0;
}

.nav__logo span {
  font-weight: bold;
}

.nav__links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav__links .link {
  margin-left: 20px;
}

.nav__links .link a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.nav__links .link a:hover {
  text-decoration: underline;
}




#callButton {
  display: inline-block; /* Display button in navbar */
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  z-index: 9999;
}




.mobile-fixed strong {
  font-weight: bold;
}

.mobile-fixed i {
  margin-right: 10px;
}


.header__image img {
  width: 70vh;
  height: 70vh;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--text-light); /* thick border, you can customize the color */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* optional shadow for depth */
  display: block;
  margin: 0 auto;
}



.header__container {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.header__container h1 {
  margin-bottom: 1rem;
  max-width: 800px;
  font-size: 3.5rem;
  line-height: 4rem;
  color: var(--white);
}

.header__container p {
  margin-bottom: 2rem;
  max-width: 600px;
  color: var(--primary-color-light);
}

.header__form {
  width: 100%;
  max-width: 350px;
}

.header__form form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.header__form input {
  padding: 1rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--primary-color);
  background-color: var(--primary-color-light);
  border-radius: 5px;
}

.header__form input::placeholder {
  color: var(--primary-color);
}

.form__btn {
  background-color: var(--primary-color);
  transition: 0.3s;
}

.form__btn:hover {
  background-color: var(--primary-color-dark);
}

.header__form h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.service__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.service__header__content p {
  max-width: 600px;
  color: var(--text-light);
}

.service__btn {
  padding: 0.75rem 1rem;
  outline: none;
  font-size: 1rem;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  background-color: transparent;
  border-radius: 5px;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.3s;
}

.service__btn:hover {
  color: var(--white);
  background-color: var(--primary-color);
}

.service__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service__card {
  padding: 2rem;
  text-align: center;
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.service__card span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 10px 20px;
  font-size: 2.5rem;
  color: var(--primary-color);
  background-color: var(--primary-color-light);
  border-radius: 100%;
  transition: 0.3s;
}



/* Swipper Button */

.swiper-button-next,
.swiper-button-prev {
  width: 30px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px;
}



/**/

.service__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.service__card p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.service__card a {
  color: var(--primary-color);
}

.service__card a:hover {
  color: var(--primary-color-dark);
}

.service__card:hover span {
  color: var(--primary-color-light);
  background-color: var(--primary-color);
}

.about__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.about__content p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.about__image img {
  max-width: 400px;
  margin: auto;
  border-radius: 10px;
}

.why__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.why__image img {
  max-width: 400px;
  margin: auto;
  border-radius: 10px;
}

.why__content p {
  color: var(--text-light);
}

.why__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 80px auto;
  gap: 2rem;
}

.why__grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.why__grid h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.why__grid p {
  color: var(--text-light);
}

.doctors__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.doctors__header__content p {
  max-width: 600px;
  color: var(--text-light);
}

.doctors__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.doctors__nav span {
  padding: 5px 15px;
  font-size: 1.5rem;
  color: var(--primary-color);
  background-color: var(--primary-color-light);
  cursor: pointer;
}

.doctors__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.doctors__card {
  text-align: center;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  cursor: pointer;
  
}

.doctors__card__image {
  position: relative;
  
}

.doctors__socials {
  position: absolute;
  left: 0;
  bottom: -4rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: 0.5s;
}

.doctors__socials span {
  display: inline-block;
  padding: 6px 12px;
  font-size: 1.5rem;
  color: var(--text-dark);
  background-color: var(--white);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.doctors__socials span:hover {
  color: var(--primary-color);
}

.doctors__card:hover .doctors__socials {
  bottom: 2rem;
}

.doctors__card h4 {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.doctors__card p {
  margin-bottom: 1rem;
  color: var(--text-light);
}
.section__container {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.doctors__container {
  position: relative;
}

.doctors__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.doctors__header__content {
  max-width: 600px;
}

.section__header {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.doctors__nav {
  display: flex;
  gap: 1rem;
  font-size: 1.8rem;
  cursor: pointer;
  color: #007bff;
}

.doctors__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.doctors__card {
  background-color: #fff;
  padding: 2rem;
  max-width: 700px;
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: none; /* initially hidden */
  transition: opacity 0.5s ease-in-out;
}

.doctors__card.active {
  display: block;
}

.doctors__card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #333;
}

.doctors__card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* Optional: Add some animation or fade effect */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.doctors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.doctors__card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctors__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.doctors__card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #333;
}

.doctors__card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .call-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;  /* Full width */
    background-color: #007bff;  /* Blue background */
    color: white;  /* White text */
    padding: 15px 0;  /* Vertical padding */
    text-align: center;  /* Center text */
    font-size: 18px;  /* Adjust font size */
    font-weight: bold;  /* Bold text */
    z-index: 1000;
  }
  
  .call-btn i {
    margin-right: 8px;  /* Space between icon and text */
  }
  
  #callButton{
    display: none;
  }
  

  

  
  
  
  
  

  
  
  
  
  
  .doctors__grid {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }
}


.doctors__card.active {
  animation: fadeIn 0.6s ease-in-out;
}

.footer {
  background-color: #333333;
  color: #fff;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer__container {
  display: grid;
  grid-template-columns: 400px repeat(3, 1fr);
  gap: 2rem;
}

.footer__col h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

.footer__col h3 span {
  color: white;
}

.footer__col h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}

.footer__col p {
  margin-bottom: 1rem;
   color: white;
  cursor: pointer;
  transition: 0.3s;
}

.footer__col p:hover {
  color: var(--primary-color);
}

.footer__col i {
  color: var(--primary-color);
}

.footer__bar {
  background-color: #333333;
}

.footer__bar__content {
  max-width: var(--max-width);
  margin: auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer__bar__content p {
  font-size: 0.8rem;
  color: var(--white);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--white);
  cursor: pointer;
}

@media (width < 900px) {
  #callButton2 {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    border-radius: 50px;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  
  .service__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .about__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .about__image {
    grid-area: 1/1/2/2;
  }

  .about__content {
    text-align: center;
  }

  .why__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .why__content {
    text-align: center;
  }

  .why__grid {
    text-align: left;
  }

  .doctors__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width < 780px) {
  .nav__links {
    display: none;
  }
  #callButton2 {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    border-radius: 50px;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  


  
  
  


  .header__container {
    flex-direction: column;
  }
}

@media (width < 600px) {
  .service__header {
    flex-direction: column;
    text-align: center;
  }
  #callButton2 {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    border-radius: 50px;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  
  
  

  .service__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .why__grid {
    column-gap: 1rem;
  }

  .doctors__header {
    flex-direction: column;
    text-align: center;
  }

  .doctors__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer__bar__content {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Testimonial Section */
.testimonial__section {
  background-color: var(--primary-color-light);
  padding: 5rem 1rem;
}

.testimonial__container {
  max-width: var(--max-width);
  margin: auto;
  text-align: center;
}

.testimonial__header {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.testimonial__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial__card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.testimonial__quote {
  font-size: 3rem;
  color: var(--primary-color);
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.testimonial__content {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial__author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.testimonial__author-info h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.testimonial__author-info p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Animation (optional) */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial__card {
  animation: slideInUp 0.8s ease-in-out;
}
