body {
  width: 100%;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f8fcff;
}

/* Header */
.logo img {
  max-width: 200px;
  padding: 10px;
}
.search-toggle {
  text-align: right;
  margin: 10px;
}

.search-toggle img {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.container {
  display: flex;
  align-items: center;
  background-color: rgb(236 245 252);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.09);
  position: sticky;
  top: 0px;
  padding: 10px 20px;
  z-index: 1000;
  text-align: center;
}

.categories-heading2{
display: none;
}

.categories-heading {
  padding-left: 20px;
  font-size: 2em;
  font-weight: 600;
  text-align: center;
}

/* Search Bar */
.search-section {
  max-width: 800px;
  margin: 20px;
  padding: 0 20px;
  text-align: center;
}

.search-section input[type="text"] {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
  margin-bottom: 10px;
}

.suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
  gap: 10px;
}

.suggestion-button {
  padding: 6px 12px;
  border-radius: 20px;
  background-color: #0077cc;
  color: white;
  font-size: 0.9em;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

.suggestion-button:hover {
  background-color: #005fa3;
}

/* Cards Layout */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 30px 20px;
  justify-items: center;
}
.symptom-guide{
  margin: 5px;
}

/* Individual Card */
.cat {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.cat:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.cat a {
  text-decoration: none;
  color: inherit;
}
.cat-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.cat-title h6 {
  margin: 10px 0 5px;
  font-size: 1.4em;
  font-weight: 600;
}
.cat-title p {
  margin: 0 10px 15px;
  font-size: 0.95em;
  color: #444;
}
.cta-button {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9em;
  color: #0077cc;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cta-button:hover {
  color: #005799;
  text-decoration: underline;
}
.symptom-guide{
  margin-left: 20px;
}
.breadcrumb {
  font-size: 0.9em;
  margin: 15px 20px 20px 20px;
  color: #555;
}
.breadcrumb a {
  color: #0077cc;
  text-decoration: none;
  margin-right: 5px;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  font-weight: 600;
  color: #333;
}
/* Optional separator styling */
.breadcrumb .separator {
  margin-right: 5px;
  color: #888;
}

.whatsapp-button {
    margin: 40px auto 20px;
    text-align: center;
  }
  
  .whatsapp-button a {
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
  }
  
  .whatsapp-button a img {
    width: 24px;
    height: 24px;
  }
  
  .whatsapp-button a:hover {
    background-color: #1ebc59;
  }
  
  /* Make header use space-between and align items */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(236 245 252);
    padding: 10px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.09);
    position: sticky;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
  }
  
  /* Home button styling */
  .home-button a {
    background-color: #0077cc;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .home-button a:hover {
    background-color: #005fa3;
  }
  
  /* Ensure logo scales well */
  .logo img {
    max-width: 120px;
    height: auto;
    display: block;
  }
  /* Header Grid Layout */
.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background-color: rgb(236 245 252);
    padding: 10px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.09);
    position: sticky;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
  }
  
  /* Center title */
  .categories-heading {
    justify-self: center;
    text-align: center;
  }
  
  /* Logo aligned left */
  .logo {
    justify-self: start;
  }
  
  /* Home button aligned right */
  .home-button {
    justify-self: end;
  }
  .sug-btn{
    background-color: rgb(220, 154, 21);
    border-radius: 7px;
    color: rgb(0, 0, 0);
    margin-bottom: 5px;
  }
  .search-btn{
    padding: 5px 10px;
    font-size: 1em;
    background-color: #d8dcd9;
  }
  
  /* Home button styling */
  .home-button a {
    background-color: #0077cc;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .home-button a:hover {
    background-color: #005fa3;
  }
  
  /* Responsive tweaks */
  @media (min-width: 550px) {
    .categories-heading h1 {
      font-size: 1em;
    }
  
    .home-button a {
      padding: 6px 12px;
      font-size: 0.9em;
    }
    .home-button.duplicate{
      display: none;
    }
  
    .logo img {
      max-width: 200px;
    }
  }
  
  
  /* Adjust the title size on small screens */
  @media (max-width: 550px) {
    .categories-heading h1 {
      display: none;
    }
    .container{
      display: grid;
          grid-template-columns: 1fr 1fr;
          align-items:flex-end;
    }
    .categories-heading2{
      width: 100%;
      display: inline-block;
      text-align: center;
      font-size: 0.8em;;
    }

    .home-button{
      bottom: 0;
      left: 50%;
      margin-bottom: 10px;
    }
  
    .home-button.original{
      display: none;
    }

    .home-button a {
      padding: 6px 12px;
      font-size: 0.9em;
    }
  
    .logo img {
      max-width: 100px;
    }
  }
  
  /* Force 2 columns even at 320px */
  @media (max-width: 900px) {
    .categories {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  

/* Responsive */
@media (max-width: 768px) {
    .categories-heading {
        font-size: 1.5em;
    }
    .logo img {
        max-width: 150px;
        padding: 10px;
    }
}
@media (max-width: 900px) {
    .categories {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 320px) {
    .categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .cat {
        width: 100%;
    }

    .myVideo {
        height: 180px;
    }

    .categories-heading,
    .seemore {
        font-size: 1.2em;
    }
}


@media(max-width: 500px){
    .categories-heading.categories-heading1{
        font-size: 1em;
    }
}
@media (max-width: 600px) {
  .search-section input[type="text"] {
    font-size: 0.9em;
  }
  .suggestion-button {
    font-size: 0.8em;
    padding: 4px 10px;
  }
  }
  @media (max-width: 600px) {
    .search-section input[type="text"] {
      font-size: 0.9em;
    }
    .suggestion-button {
      font-size: 0.8em;
      padding: 4px 10px;
    }
    }

