 #about {
      padding: 4rem 1.5rem;
      background-color: #ffffff;
      border-radius: 1.5rem;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
      max-width: 1200px;
      margin: 2rem auto;
      animation: fadeIn 1s ease-in-out;
    }

    #about .text-center h2 {
      font-size: 3rem;
      margin-bottom: 2rem;
    }

    #about .text-center p {
      font-size: 1.25rem;
      line-height: 1.8;
      max-width: 900px;
      color: #4b5563; /* Corrected to a valid gray color */
      margin: 0 auto 3rem auto;
    }

    /* Styling for the grid layout within sections */
    .grid.gap-10 {
      gap: 2.5rem;
    }

    /* Custom styles for cards in the About section */
    .about-card {
      background-color: #fefce8;
      padding: 2.5rem;
      border-radius: 1rem;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out,
        border-color 0.3s ease-in-out;
      border: 1px solid #fcd34d;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .about-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
      border-color: #db630e;
      color: #333; /* Corrected to a valid dark gray color */
    }

    .about-card img {
      border-radius: 50%;
      margin-bottom: 1.5rem;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .about-card h3 {
      font-size: 1.8rem;
      margin-bottom: 0.75rem;
      text-align: center;
      line-height: 1.3;
    }

    .about-card p {
      font-size: 1.05rem;
      line-height: 1.7;
      color: #4b5563;
    }

    /* Media query for screens with max-width: 450px */
    @media (max-width: 450px) {
      /* Header Adjustments */
      .max-w-7xl.mx-auto.flex.items-center.justify-between.px-6.py-4 {
        padding-left: 1rem;
        padding-right: 1rem;
      }
      .w-34.h-18 {
        width: 180px;
        height: auto;
      }

      /* Home Section Adjustments */
      #home .text-4xl.md:text-5xl.font-extrabold.leading-tight.mb-6 {
        font-size: 2.5rem;
      }
      #home .text-red-600.font-serif.font-extrabold.text-5xl.leading-none {
        font-size: 3rem;
      }
      #home .text-blue-900.uppercase.font-extrabold.text-5xl.tracking-wide.ml-9 {
        font-size: 3rem;
        margin-left: 0;
      }
      #home .text-sm.md:text-lg.mb-8.max-w-lg {
        font-size: 0.875rem;
        text-align: center;
        max-width: 100%;
      }
      #home img {
        height: auto;
        width: 100%;
      }
      #home .flex-col.md:flex-row {
        flex-direction: column;
        align-items: center;
      }
      #home .md:w-1 {
        width: 100%;
      }
      #home .md:mt-0 {
        margin-top: 1.5rem;
      }

      /* About Section Adjustments */
      #about .text-3xl.font-bold.text-yellow-400.mb-4 {
        font-size: 2rem;
      }
      #about .text-red-600.font-serif.font-extrabold.text-4x {
        font-size: 2.5rem;
      }
      #about .font-clinic.text-blue-900.uppercase.text-3xl {
        font-size: 2rem;
      }
      #about .grid-cols-1.md:grid-cols-3 {
        grid-template-columns: 1fr;
      }
      .about-card {
        padding: 1rem;
      }
      .about-card img {
        width: 80px;
        height: 80px;
      }
      .about-card h3 {
        font-size: 1.125rem;
      }
      .about-card p {
        font-size: 0.875rem;
      }

      /* Doctors Intro Section Adjustments */
      #doctors-intro .text-4xl.md:text-4xl.font-extrabold.leading-tight.mb-8 {
        font-size: 2rem;
      }
      #doctors-intro .text-lg.md:text-xl {
        font-size: 1rem;
      }
      #doctors-intro .grid-cols-1.md:grid-cols-2 {
        grid-template-columns: 1fr;
      }
      #doctors-intro .md:pr-4,
      #doctors-intro .md:pl-4 {
        padding-right: 0;
        padding-left: 0;
      }

      /* Services Section Adjustments */
      #services .text-3xl.font-bold.text-orange-700.text-center.mb-16 {
        font-size: 2rem;
        margin-bottom: 2rem;
      }
      #services .grid-cols-1.md:grid-cols-3 {
        grid-template-columns: 1fr;
      }
      #services .bg-white.rounded-lg.shadow.p-8 {
        padding: 1.5rem;
      }
      #services img {
        width: 60px;
        height: 60px;
      }
      #services h3 {
        font-size: 1rem;
      }
      #services p {
        font-size: 0.875rem;
      }

      /* Branches Section Adjustments */
      #branches .text-2xl.font-bold.text-orange-700.text-center.mb-6 {
        font-size: 1.75rem;
      }
      #branches .text-gray-700.text-lg.leading-relaxed.mb-6 {
        font-size: 0.9rem;
      }
      #branches .grid-cols-1.md:grid-cols-2 {
        grid-template-columns: 1fr;
      }
      #branches .bg-white.p-5 {
        padding: 1rem;
      }
      #branches h4 {
        font-size: 1.125rem;
      }
      #branches p.text-base {
        font-size: 0.875rem;
      }
      #branches .absolute.bottom-3.right-3 {
        bottom: 0.5rem;
        right: 0.5rem;
        padding: 0.5rem;
        font-size: 1rem;
      }
      #branches .block.mt-4.text-center.text-blue-600 {
        margin-top: 1rem;
      }

      /* Footer Adjustments */
      footer .grid-cols-1.md:grid-cols-4 {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
      footer .text-center.md:text-left {
        text-align: center;
      }
      footer h3 {
        font-size: 1.25rem;
      }
      footer p,
      footer ul li {
        font-size: 0.875rem;
      }
      footer .flex.justify-center.md:justify-start {
        justify-content: center;
      }
    }
     @media (max-width: 450px) and (max-width: 760px) {
      /* General padding and margin adjustments for better spacing on tablets */
      section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
      }

      /* Home Section */
      #home .text-4xl.md:text-5xl.font-extrabold.leading-tight.mb-6 {
        font-size: 3.5rem; /* Slightly smaller for tablets */
      }
      #home .text-red-600.font-serif.font-extrabold.text-5xl.leading-none {
        font-size: 4rem; /* Adjust 'RISE' text size */
      }
      #home .text-blue-900.uppercase.font-extrabold.text-5xl.tracking-wide.ml-9 {
        font-size: 4rem; /* Adjust 'Skin & Hair Clinics' text size */
        margin-left: 0.5rem; /* Reduce left margin */
      }
      #home .text-sm.md:text-lg.mb-8.max-w-lg {
        font-size: 1rem; /* Adjust paragraph text size */
        text-align: center; /* Center align for consistency */
        max-width: 90%; /* Ensure content fits well */
        margin-left: auto;
        margin-right: auto;
      }
      #home .flex-col.md:flex-row {
        flex-direction: column; /* Stack for tablets */
        align-items: center;
      }
      #home .md:w-1 {
        width: 100%; /* Take full width */
      }
      #home img {
        width: 90%; /* Scale down image slightly */
        height: auto;
        margin-top: 2rem; /* Add more top margin when stacked */
      }

      /* About Section */
      #about .text-center h2 {
        font-size: 2.5rem; /* Adjusted for tablet view */
      }
      #about .text-center p {
        font-size: 1.1rem; /* Adjusted for tablet view */
      }
      #about .grid-cols-1.md:grid-cols-3 {
        grid-template-columns: repeat(
          2,
          1fr
        ); /* 2 columns for tablets, if content allows */
        gap: 1.5rem;
      }
      .about-card {
        padding: 2rem;
      }
      .about-card h3 {
        font-size: 1.5rem; /* Slightly smaller for card titles */
      }
      .about-card p {
        font-size: 0.95rem; /* Slightly smaller for card text */
      }

      /* Doctors Intro Section */
      #doctors-intro .text-4xl.md:text-4xl.font-extrabold.leading-tight.mb-8 {
        font-size: 2.5rem;
      }
      #doctors-intro .text-lg.md:text-xl {
        font-size: 1.1rem;
      }
      #doctors-intro .grid-cols-1.md:grid-cols-2 {
        grid-template-columns: 1fr; /* Stack content for better readability */
      }
      #doctors-intro .md:pr-4,
      #doctors-intro .md:pl-4 {
        padding-right: 0;
        padding-left: 0;
      }

      /* Services Section */
      #services .text-3xl.font-bold.text-orange-700.text-center.mb-16 {
        font-size: 2.25rem;
      }
      #services .grid-cols-1.md:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for services on tablets */
        gap: 1rem;
      }
      #services .bg-white.rounded-lg.shadow.p-8 {
        padding: 1.5rem;
      }
      #services h3 {
        font-size: 1.125rem;
      }
      #services p {
        font-size: 0.9rem;
      }

      /* Branches Section */
      #branches .text-2xl.font-bold.text-orange-700.text-center.mb-6 {
        font-size: 2rem;
      }
      #branches .text-gray-700.text-lg.leading-relaxed.mb-6 {
        font-size: 1rem;
      }
      #branches .grid-cols-1.md:grid-cols-2 {
        grid-template-columns: 1fr; /* Stack branch cards */
      }
      #branches .bg-white.p-5 {
        padding: 1.25rem;
      }
      #branches h4 {
        font-size: 1.25rem;
      }
      #branches p.text-base {
        font-size: 0.9rem;
      }
    }
