@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #d72020f1;
  --primary-color-dark: #ac2730ee;
  --primary-color-light: #e9f7f7;
  --secondary-color: #cd3d3dee;
  --text-dark: #2c2b2bd6;
  --text-light: #767268;
  --white: #E8E8E8;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Prevent horizontal overflow on mobile */
html, body {
  overflow-x: hidden;
  width: 100%;
}

p{
  font-size: 17.5px;
  color: var(--text-light);
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
  box-sizing: border-box;
}

.section__header {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  font-weight: 450;
  color: var(--text-dark);
}

.btn {
  padding: 0.50rem 1rem;
  outline: none;
  border: none;
  font-size: 1.3rem;
  white-space: nowrap;
  color: var(--white);
  background-color: rgb(65, 62, 62);
  border-radius: 9px;
  cursor: pointer;
}

.btn:hover{
  background-color: #4f2326d0;
  transition: 0.4s;
}
img {
  width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--white);
}

/* ON SCROLL REVEAL CONTENTS */

header {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: 60px; /* Account for fixed navbar */
}

/* Video Background Styles */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(54, 53, 53, 0.945),
    rgba(158, 154, 154, 0.674)
  );
}

/* Header without background (for services page) */
.header-no-bg {
  min-height: auto;
  background: none;
  padding-top: 60px; /* Account for fixed navbar */
}

.header-no-bg .video-background {
  display: none;
}

.nav__container {
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--text-dark);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  flex-wrap: wrap;
}

.nav__logo {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
}

.nav__logo span {
  color: var(--secondary-color);
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  overflow: hidden;
  right: 0;
}

.link{
  margin-right: 20px;
}

.link a {
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--primary-color-light);
  display: block;
  text-align: right;
  padding: 7px 10px;
}

.link a:hover {
  color: var(--primary-color-dark);
}

.menu-icon {
  display: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Contact Button - hidden on desktop */
.mobile-contact-btn {
  display: none;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.mobile-contact-btn:hover {
  background-color: var(--primary-color-dark);
}

.header__container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5rem;
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.header__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 550px;
}

.header__container h1 {
  margin-bottom: 1.5rem;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.85;
  color: var(--white);
  text-align: left;
  letter-spacing: -0.02em;
}

.header__container h1 .heading-line {
  display: block;
  font-style: bold;
}

.header__container p {
  margin-bottom: 2.5rem;
  max-width: 400px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
}

.header__buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header__buttons .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  background-color: var(--white);
  color: var(--text-dark);
  border-radius: 5px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header__buttons .btn-primary:hover {
  background-color: var(--primary-color-light);
  transform: translateY(-2px);
}

.header__buttons .btn-text {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.header__buttons .btn-text:hover {
  color: var(--primary-color-light);
}

.header__content .btn {
  display: inline-block;
  text-align: center;
}

.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(30, 30, 30, 0.363);
}

.header__form input {
  padding: 1rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--primary-color-light);
  border-radius: 5px;
}

.header__form input::placeholder {
  color: rgb(158, 155, 155);
}

/* Match textarea in header form to header input styles */
.header__form textarea,
.header__form .message-field {
  padding: 1rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--primary-color-light);
  border-radius: 5px;
  min-height: 120px; /* increased height for the message area */
  max-height: 150px; /* prevent overflow beyond form */
  width: 100%;
  box-sizing: border-box;
  resize: none; /* disable manual resizing */
}

.header__form textarea::placeholder {
  color: rgb(158, 155, 155);
}
.form__btn {
  background-color: rgb(201, 100, 100);
  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(3, 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);
  transition: 0.3s;
}

.about__image img {
  max-width: 750px;
  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: 500px;
  margin: auto;
  border-radius: 9px;
}

.why__content p {
  color: var(--text-light);
  font-size: 16px;
}

.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;
  overflow: hidden;
}

.doctors__card__image {
  position: relative;
  overflow: hidden;
}

.team__icon {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
}

.team__icon i {
  font-size: 5rem;
  color: var(--white);
}

.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,
.doctors__socials a:hover {
  color: var(--primary-color);
}

/* Keep same formatting when social icons are anchors */
.doctors__socials a,
.footer__socials a {
  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;
  text-decoration: none;
}

.doctors__socials a i,
.footer__socials a i {
  vertical-align: middle;
}

.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);
}


/**********\
   FOOTER
\**********/

.footer {
  background-image:
    linear-gradient(rgba(11, 12, 16, 0.85), rgba(11, 12, 16, 0.85)),
    url("assets/code-bg.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.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: rgb(248, 245, 245);
}

.footer__col h3 span {
  color: var(--secondary-color);
}

.footer__col h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgb(224, 220, 220);
}

.footer__col p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.85);
  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;
}

/* Inline feedback message for forms */
.form-message {
  margin-top: 0.5rem;
  font-weight: 600;
  color: green;
}
.form-message.error { color: #c43d3d; }


.newsletter-title {
  color: var(--text-dark);
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  line-height: 1.3;
}

.newsletter-text {
  font-size: var(--fs-7);
  line-height: 2;
  margin-block: 10px 35px;
}

.newsletter-form { position: relative; }

.email-field {
  background-color: var(--white);
  font-size: var(--fs-7);
  padding: 12px 18px;
  padding-inline-end: 145px;
  border: 1px solid var(--hoockers-green_20);
  border-radius: var(--radius-3);
  outline: none;
  transition: var(--transition-1);
}

.email-field::placeholder { color: var(--spanish-gray); }
   
.email-field:focus { border-color: var(--black); }

.newsletter-form .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}


@media (max-width: 899px) {
  .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: left;
  }

  .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 (max-width: 779px) {
  .nav__links {
    display: none;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.95);
    padding: 0;
    order: 3;
  }

  .nav__links.show {
      display: flex;
      flex-direction: column;
      align-items: stretch;
  }

  .link {
      width: 100%;
      text-align: center;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .link:last-child {
      border-bottom: none;
  }

  .link a {
      padding: 12px 16px;
      color: #fff;
      display: block;
  }

  .link a:hover {
      background: rgba(255, 255, 255, 0.1);
  }

  .menu-icon {
      display: block;
      z-index: 1001;
  }

  .header__container {
    flex-direction: column;
     text-align: left;
  }
}

@media (max-width: 599px) {
  .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;
    gap: 1rem;
  }

  .header__content{
    text-align: left;
  }
}


@media screen and (max-width: 600px) {
  .nav__links {
      display: none;
      width: 100%;
      text-align: center;
      background: rgba(0, 0, 0, 0.95);
      padding: 0;
      order: 3;
  }

  .nav__links.show {
      display: flex;
      flex-direction: column;
      align-items: stretch;
  }

  .link {
      width: 100%;
      text-align: center;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .link:last-child {
      border-bottom: none;
  }

  .link a {
      padding: 12px 16px;
      color: #fff;
      display: block;
  }

  .link a:hover {
      background: rgba(255, 255, 255, 0.1);
  }

  .menu-icon {
      display: block;
      z-index: 1001;
  }

  /* Show mobile contact button on phones */
  .mobile-contact-btn {
      display: block;
      order: 1;
      margin-left: auto;
  }

  .menu-icon {
      order: 2;
      margin-left: 0.75rem;
  }

  /* Center header content on phones */
  .header__container {
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      min-height: 80vh;
      padding-top: 5rem;
  }

  .header__content {
      align-items: center;
      text-align: center;
      max-width: 100%;
  }

  .header__content h1 {
      font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
      font-weight: 700;
      text-align: center;
      font-size: 64px;
  }

  .header__buttons {
      justify-content: center;
      flex-wrap: wrap;
  }

}


@media (max-width: 299px) {
  .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;
    gap: 1rem;
  }

}

/* Pricing Section */
.pricing__container {
  padding: 5rem 1rem;
}

.pricing__header {
  text-align: center;
  margin-bottom: 3rem;
}

.pricing__header h2 {
  margin-bottom: 1rem;
}

.pricing__header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing__card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.pricing__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.pricing__card--featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing__card--featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing__badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing__card__header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 1.5rem;
}

.pricing__card__header h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.pricing__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing__price .currency {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.pricing__price .amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.pricing__price .period {
  font-size: 1rem;
  color: var(--text-light);
}

.pricing__features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing__features li {
  padding: 0.75rem 0;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing__features li i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.pricing__btn {
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
  color: var(--white);
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: block;
}

.pricing__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(215, 32, 32, 0.3);
}

@media (max-width: 768px) {
  .pricing__grid {
    grid-template-columns: 1fr;
  }
  
  .pricing__card--featured {
    transform: scale(1);
  }
  
  .pricing__card--featured:hover {
    transform: translateY(-8px);
  }
}

/* Success Metrics Section */
.metrics__container {
  text-align: center;
}

.metrics__header {
  margin-bottom: 2rem;
}

.metrics__header p {
  color: var(--text-light);
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.metric {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.metric__icon {
  font-size: 2rem;
  color: var(--primary-color);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.metric__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.metric__label {
  color: var(--text-light);
  margin-top: 0.25rem;
}

@media (max-width: 1024px) {
  .metrics__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .metrics__grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ================================ */

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .section__container {
    padding: 3rem 1rem;
  }

  .header__container {
    padding-top: 6rem;
    padding-bottom: 3rem;
    gap: 2rem;
  }

  .header__container h1 {
    font-size: 2.8rem;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .about__container,
  .why__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__image img,
  .why__image img {
    max-width: 100%;
  }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
  /* Base typography adjustments */
  p {
    font-size: 15px;
  }

  .section__header {
    font-size: 1.5rem;
  }

  .section__container {
    padding: 2.5rem 1rem;
  }

  /* Navigation */
  .nav__container {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
  }

  .nav__logo {
    font-size: 1.2rem;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    display: none;
  }

  .nav__links.show {
    display: flex;
  }

  .link {
    margin-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .link:last-child {
    border-bottom: none;
  }

  .link a {
    padding: 12px 10px;
    font-size: 1rem;
    text-align: left;
  }

  .menu-icon {
    display: block;
    font-size: 1.8rem;
  }

  /* Header Section */
  .header__container {
    flex-direction: column;
    padding-top: 4rem;
    padding-bottom: 3rem;
    gap: 2rem;
    text-align: center;
  }

  .header__content {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .header__container h1 {
    font-size: 2rem;
    text-align: center;
  }

  .header__container p {
    text-align: center;
    max-width: 100%;
    font-size: 0.9rem;
  }

  .header__buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: center;
  }

  .header__buttons .btn-primary,
  .header__buttons .btn-text {
    width: 100%;
    max-width: 250px;
    text-align: center;
    justify-content: center;
  }

  /* Header Form */
  .header__form {
    max-width: 100%;
    margin: 0 auto;
  }

  .header__form form {
    padding: 1.5rem;
  }

  /* Service Section */
  .service__header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .service__header__content {
    text-align: center;
  }

  .service__header__content p {
    max-width: 100%;
  }

  .service__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .service__card {
    padding: 1.5rem;
  }

  /* About Section */
  .about__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about__image {
    order: -1;
  }

  .about__content {
    text-align: center;
  }

  /* Why Section */
  .why__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why__content {
    text-align: center;
  }

  .why__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .why__grid span {
    margin: 0 auto 1rem;
  }

  /* Team/Doctors Section */
  .doctors__header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .doctors__header__content p {
    max-width: 100%;
  }

  .doctors__nav {
    justify-content: center;
  }

  .doctors__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  /* Pricing Section */
  .pricing__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing__card {
    padding: 1.5rem;
  }

  .pricing__card--featured {
    transform: none;
  }

  .pricing__card--featured:hover {
    transform: translateY(-8px);
  }

  .pricing__card__header h3 {
    font-size: 1.3rem;
  }

  .pricing__price .amount {
    font-size: 2.5rem;
  }

  /* Metrics Section */
  .metrics__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .metric {
    padding: 1rem;
  }

  .metric__value {
    font-size: 1.5rem;
  }

  .metric__icon {
    font-size: 1.5rem;
  }

  /* Footer */
  .footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer__col {
    text-align: center;
  }

  .footer__bar__content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1rem;
  }

  .footer__socials {
    justify-content: center;
  }
}

/* Small Mobile Styles (max-width: 480px) */
@media (max-width: 480px) {
  .section__container {
    padding: 2rem 0.75rem;
  }

  .section__header {
    font-size: 1.3rem;
  }

  p {
    font-size: 14px;
  }

  .header__container h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .header__container p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .btn {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
  }

  .header__buttons .btn-primary {
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Cards */
  .service__card,
  .pricing__card {
    padding: 1.25rem;
  }

  .service__card span {
    font-size: 2rem;
    padding: 8px 16px;
  }

  .service__card h4,
  .doctors__card h4 {
    font-size: 1.1rem;
  }

  /* Metrics */
  .metrics__grid {
    grid-template-columns: 1fr;
  }

  .metric__value {
    font-size: 1.3rem;
  }

  /* Forms */
  .header__form form {
    padding: 1rem;
    gap: 0.75rem;
  }

  .header__form input,
  .header__form textarea {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .header__form h4 {
    font-size: 1.2rem;
  }

  /* Footer */
  .footer__col h3 {
    font-size: 1.3rem;
  }

  .footer__col h4 {
    font-size: 1.1rem;
  }

  .footer__col p {
    font-size: 0.9rem;
  }

  /* Team */
  .team__icon {
    height: 160px;
  }

  .team__icon i {
    font-size: 4rem;
  }

  .doctors__socials span,
  .doctors__socials a {
    padding: 5px 10px;
    font-size: 1.2rem;
  }
}

/* Extra small screens (max-width: 360px) */
@media (max-width: 360px) {
  .nav__logo {
    font-size: 1rem;
  }

  .header__container h1 {
    font-size: 1.4rem;
  }

  .section__header {
    font-size: 1.2rem;
  }

  .header__buttons {
    gap: 0.75rem;
  }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
  header {
    min-height: auto;
  }

  .header__container {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .header__container h1 {
    font-size: 1.8rem;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  /* Increase tap target sizes */
  .btn,
  .link a,
  .pricing__btn,
  .service__btn,
  .menu-icon {
    min-height: 44px;
    min-width: 44px;
  }

  /* Remove hover effects that don't work well on touch */
  .service__card:hover,
  .pricing__card:hover,
  .doctors__card:hover,
  .about__content p:hover {
    transform: none;
  }

  /* Active states for touch feedback */
  .btn:active,
  .link a:active,
  .pricing__btn:active,
  .service__btn:active {
    opacity: 0.8;
    transform: scale(0.98);
  }

  .service__card:active,
  .pricing__card:active {
    transform: scale(0.98);
  }
}
