@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #12ac2cb7;
  --primary-color-dark: #0d842b;
  --primary-color-light: #e9f7f7;
  --secondary-color: #265a04;
  --text-dark: #333333;
  --text-light: #767268;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.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);
}

.btn {
  padding: 0.75rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--secondary-color);
  border-radius: 5px;
  cursor: pointer;
}

.sendbtn{
    padding: 0.75rem 2rem;
    outline: none;
    border: none;
    font-size: 1rem;
    white-space: nowrap;
    color: var(--white);
    background-color: var(--secondary-color);
    border-radius: 5px;
    cursor: pointer;
}

img {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
}

html,
body {
  scroll-behavior: smooth;
  background-color: rgb(255, 255, 255);
}

body {
  font-family: "Poppins", sans-serif;
}

header {
  background-image: linear-gradient(
      to right,
      rgba(18, 172, 142, 0.4),  /* Reduced opacity for better image visibility */
      rgba(18, 172, 142, 0.2)
    ),
    url("assets/header1.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  /* Optional: ensures text stays visible */
   /* Optional: nice spacing for hero content */
   /* Optional: center align text */
}


.nav__container {
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;

  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hide navbar when scrolling down */
.nav__container.hide {
  transform: translateY(-100%);
}

/* Show with background when scrolling up */
.nav__container.show {
  transform: translateY(0);
}

.nav__logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.nav__logo span {
  color: var(--secondary-color);
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-weight: 500;
}

.menu__button,
.close__menu__btn {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1100;
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  color: var(--primary-color, black);
}


.hypelinks {
  color: var(--primary-color);
  text-decoration: none;
}
.hypelinks:hover {
  color: var(--primary-color-dark);
}
.footlinks {
  color: var(--white);
  text-decoration: none;
}
.footlinks:hover {
  color: var(--primary-color);
}

.link a {
  padding: 0.5rem;
  color: var(--primary-color-light);
}

.link a:hover {
  color: var(--primary-color);
}

.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: rgba(36, 36, 36, 0.5);
}

.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(4, 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;
}

.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: max-content;
  margin: auto;
  border-radius: 10px;
}

.about__containers {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}



.about__containers section {
  background: linear-gradient(to bottom right, #ffffff, var(--primary-color-light));
  padding: 2.5rem 2rem;
  border-left: 6px solid var(--primary-color);
  border-radius: 1.2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about__containers section:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.about__containers h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
  position: relative;
}

.about__containers h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.about__containers p,
.about__containers li {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 1rem;
}

.about__containers ul {
  list-style: none;
  padding-left: 0;
}

.about__containers li::before {
  content: '✔';
  color: var(--primary-color);
  margin-right: 0.75rem;
  font-weight: bold;
}

.why__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.why__image img {
  max-width: 470px;
  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(2, 1fr);
  gap: 2rem;
}

.doctors__card {
  text-align: center;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
}

.doctors__card__image {
  position: relative;
  overflow: hidden;

}

.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);
}

/* Counsellor Information Section */
.doctors__info {
  max-width: 600px;
  margin-top: 20px;
  margin-left: 1rem;
}

.doctors__info p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
  padding: 4rem 1rem;
  background-color: #f5f9fc;
  margin-bottom: 4rem;
  
}

.counsellor__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.counsellor__intro p {
  max-width: 600px;
  color: var(--text-light);
}

.counsellor__content {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.verified__logo__container {
  display: flex;
  max-width: 200px; /* Optional: limits size */
}

.verified__logo {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}


.profile__card {
  flex: 0 0 400px; /* wider card */
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.profile__image {
  position: relative;
  overflow: hidden;
  width: 400px;   /* default desktop width */
  height: 600px;  /* default desktop height */
  border-radius: 10px;
}

.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out; /* smooth fade */
  border-radius: 10px;
}

.slideshow img.active {
  opacity: 1;
}

.profile__socials {
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  transition: bottom 0.3s;
}

.profile__socials span {
  background: var(--white);
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 1.2rem;
  color: var(--text-dark);
  cursor: pointer;
}

.profile__card:hover .profile__socials {
  bottom: 1rem;
}

.profile__socials span:hover {
  color: var(--primary-color);
}

.profile__card h4 {
  margin-top: 1rem;
  font-size: 1.4rem; /* bigger name text */
  color: var(--text-dark);
}


.profile__title {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.profile__bio {
  flex: 1;
  min-width: 250px;
  max-width: 1000px;
}

.profile__bio p {
  font-size: 1.05rem; /* slightly larger text */
  color: var(--text-light);
  line-height: 1.5;
  padding-top: 20px;
}

.verified__logo
{
  width: 450px;
  padding-top: 30px;
}


.contact__content {
  max-width: 600px;
}

.contact__content h2 {
  margin-bottom: 1rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact__form input,
.contact__form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: none;
}

.contact__image {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9; /* Maintains responsive aspect ratio */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact__image iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


.footer {
  background-color: var(--primary-color-light);
}

.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: var(--primary-color);
}

.footer__col h3 span {
  color: var(--secondary-color);
}

.footer__col h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.footer__col p {
  margin-bottom: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: 0.3s;
}

.footer__col p:hover {
  color: var(--primary-color);
}

.footer__col i {
  color: var(--primary-color);
}

.footer__bar {
  background-color: var(--primary-color);
}

.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;
}
.footer__socials a span i {
  color: white; /* Uses your #12ac2cb7 variable */
  font-size: 15px; /* Keep icon size consistent */
  transition: color 0.3s ease;
}

.footer__socials a:hover span i {
  color: #0e8f22; /* Slightly darker on hover (optional) */
}


.privacy__container {
  max-width: 1000px;
  margin: 100px auto 50px auto;
  padding: 0 10px;
}

/* .privacy__container h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
  text-align: left;
  margin-top: -5px;
} */

.privacy__container p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text-light);
}

.privacy__container h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--primary-color-dark); /* A calming green tone */
}

.privacy__container ul {
  list-style: disc inside;
  margin-bottom: 20px;
}

.privacy__container li {
  margin-bottom: 8px;
  color: var(--text-light);
}

/* Terms & Conditions Section */
.terms__container {
  max-width: 1000px;
  margin: 100px auto 50px auto;
  padding: 0 10px;
}

/* .terms__container h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
  text-align: left;
  margin-top: -5px;
} */

.terms__container p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text-light);
}

.terms__container h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--primary-color-dark); /* Same calming green tone */
}

.terms__container a {
  color: var(--primary-color-dark);
  text-decoration: underline;
}

.terms__container a:hover {
  text-decoration: none;
}

/* Faqs */
.faq__container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq__item {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px;
  transition: all 0.3s ease-in-out;
}

.faq__item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.faq__item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.faq__icon {
  margin-right: 10px;
  font-size: 1.5rem;
  color: var(--primary-color-dark);
}

.faq__item p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.faq__item a {
  color: var(--primary-color);
  text-decoration: underline;
}

.faq__item a:hover {
  color: var(--hover-color);
  text-decoration: none;
}

.gallery__container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery__container p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text-light);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Automatically adjusts grid layout */
  gap: 20px;
  grid-template-rows: auto; /* Adjusts the row height as needed */
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery__item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 8px; /* Rounded corners on images */
}

.gallery__item:hover .gallery__img {
  transform: scale(1.1);
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.gallery__item:hover .gallery__caption {
  opacity: 1;
}

.wellness__container {
  text-align: center;
  padding: 4rem 1rem;
}

.wellness__intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--text-light);
}

.wellness__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.wellness__card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wellness__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.wellness__card i {
  color: var(--primary-color); /* or any color you like */
  margin-bottom: 1rem;
}

.wellness__card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.wellness__card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

.blog__container {
  padding: 4rem 2rem;
  background-color: var(--white);
  text-align: center;
}

.blog__article {
  display: none;
}

.blog__article.active {
  display: block;
}

.blog__intro {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: var(--text-light);
}

.blog__grid {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 32px;
}

.blog__post {
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  flex: 0 0 calc(33.333% - 21.33px); /* 3 per row with gap */
  box-sizing: border-box;
}

.blog__post:hover {
  transform: translateY(-5px);
}

.blog__post img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog__content {
  padding: 1.5rem;
  text-align: left;
}

.blog__content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.blog__content p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.blog__content a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.blog__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.blog__nav span {
  padding: 8px 16px;
  font-size: 1.4rem;
  color: var(--primary-color);
  background-color: var(--primary-color-light);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.blog__nav span:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: scale(1.05);
}

.blog__viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.quote-style {
  position: relative;
  font-style: italic;
  color: #333;
}

.quote-style::before,
.quote-style::after {
  content: '"';
  position: absolute;
  font-size: 5rem;
  color: rgba(0, 0, 0, 0.05); /* Light, low-opacity */
  font-family: Georgia, serif;
}

.quote-style::before {
  top: -40px;
  left: 80px;
}

.quote-style::after {
  bottom: -40px;
  right: 80px;
}

.blog__body {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.8;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

.blog__image {
  width: 100%;
  height: 600px; /* Fixed height for the image */
  display: block;
  max-width: 100%;
  object-fit: cover; /* Optional if you want the image to fill a fixed height */
  border-radius: 0.5rem; /* Optional: makes the image look cleaner */
}

.blog__body p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.blog__body ul {
  margin-left: 1.5rem;
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.blog__body ul li {
  list-style-type: disc;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.blog__body blockquote {
  font-style: italic;
  color: #555;
  border-left: 4px solid #88c0d0;
  padding-left: 1rem;
  margin: 2rem 0;
  background-color: #f9f9f9;
  border-radius: 6px;
}

/* Responsive Design */
/* Base Styles */

.menu__button, 
.close__menu__btn {
  display: none;
    visibility: hidden; /* Hide buttons but leave space */
  opacity: 0; /* Make them invisible */
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1100;
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  color: var(--primary-color, black);
}

/* For screens smaller than 950px */
@media (max-width: 950px) {
  .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__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .doctors__info {
    text-align: center;
  }

  .doctors__grid {
    text-align: left;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hide menu buttons on large screens */
}

/* For screens smaller than 768px (Mobile View) */
@media (max-width: 768px) {
  .nav__links {
    opacity: 0;
    pointer-events: none;
    flex-direction: column;
    gap: 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    font-weight: 500;
    padding: 2rem;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    transition: opacity 0.3s ease;
    background-color: var(--white);
  }

  .link a {
    color: black;
  }

  /* When the menu is visible */
  .nav__links.show {
    opacity: 1;
    pointer-events: auto;
  }

  .menu__button {
    visibility: visible; /* Show the menu button */
    opacity: 1; /* Make the menu button visible */
    pointer-events: auto; /* Allow interaction */
  }

  .close__menu__btn {
    visibility: hidden; /* Keep close button hidden by default */
    opacity: 0; /* Keep close button invisible */
    pointer-events: none; /* Prevent interaction */
  }

  /* When the menu is open, show close button and hide the menu button */
  .menu.open .close__menu__btn {
    visibility: visible; /* Show close button */
    opacity: 1; /* Make it visible */
    pointer-events: auto; /* Allow interaction */
  }

  .menu.open .menu__button {
    visibility: hidden; /* Hide menu button when menu is open */
    opacity: 0; /* Make menu button invisible */
    pointer-events: none; /* Prevent interaction */
  }
  /* Show close button when nav is visible */
  .nav__links.show + .close__menu__btn {
    display: block;
  }

  /* Hide Contact Us button on mobile */
  .btn {
    display: none;
  }

  /* Hide header form */
  .header__form {
    display: none;
  }

  /* Stack header container vertically */
  .header__container {
    flex-direction: column;
  }

  /* Hide About image on mobile */
  .about__image img {
    display: none;
  }

  .about__containers {
    padding: 3rem 1rem;
  }

  .about__containers section {
    padding: 2rem 1.5rem;
  }

  .about__containers h2 {
    font-size: 1.6rem;
  }

  .about__containers p,
  .about__containers li {
    font-size: 1rem;
  }

  /* Hide the image in why section */
  .why__image img {
    display: none;
  }

  /* Hide footer container */
  .footer__container {
    display: none;
  }

  /* Adjust doctors section */
  .doctors__info {
    max-width: 100%;
    margin: 1rem;
  }

  .doctors__info p {
    font-size: 0.95rem;
  }

  /* Contact container adjustments */
  .contact__container {
    padding: 2rem 1rem;
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }

  /* Counsellor Header adjustments */
  .counsellor__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .counsellor__intro p {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .counsellor__content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .verified__logo__container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 780px;
    width: 100%;
    margin: auto;
  }

  .verified__logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .profile__card {
    flex: 1 1 100%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .slideshow img {
    position: relative;
    height: auto;
  }

  .profile__card h4 {
    font-size: 1.2rem;
  }

  .profile__title {
    font-size: 1rem;
  }

  .profile__bio p {
    font-size: 1rem;
    padding-top: 1rem;
  }

  .profile__socials {
    bottom: -3rem;
  }

  .privacy__container {
    margin-top: 80px;
    padding: 0 15px;
  }

  .privacy__container h2 {
    font-size: 2rem;
  }

  .privacy__container h3 {
    font-size: 1.4rem;
  }

  .privacy__container p,
  .privacy__container li {
    font-size: 1rem;
  }

  .wellness__container {
    padding: 2rem 1rem;
  }

  .wellness__intro {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .wellness__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .wellness__card {
    padding: 1.5rem 1rem;
  }

  .wellness__card img {
    width: 50px;
    height: 50px;
  }

  .wellness__card h3 {
    font-size: 1.1rem;
  }

  .wellness__card p {
    font-size: 0.9rem;
  }

  .blog__container {
    padding: 2rem 1rem;
    text-align: center;
  }

  .blog__intro {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .blog__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .blog__post {
    flex: 0 0 100%;
  }

  .blog__post img {
    height: 160px;
  }

  .blog__content {
    padding: 1rem;
    text-align: center;
  }

  .blog__content h3 {
    font-size: 1.1rem;
  }

  .blog__content p {
    font-size: 0.9rem;
  }

  .blog__image {
    height: auto;
  }

  .swiper {
    padding-bottom: 2rem;
  }

  .swiper-pagination {
    text-align: center;
    margin-top: 1rem;
  }
}

/* For screens smaller than 600px */
@media (max-width: 600px) {
  .service__header {
    flex-direction: column;
    text-align: center;
  }

  .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;
  }
}
