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

/* Header */
.logo img {
  max-width: 200px;
  padding: 10px;
}

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

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

/* Description */
.tdesc {
  max-width: 800px;
  margin: 30px auto;
  font-size: 1.2em;
  font-weight: 400;
  color: #333;
  padding: 0 20px;
  line-height: 1.6;
}

.line {
  max-width: 800px;
  font-size: 1em;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  margin-bottom: 0px;
  margin-top: 0px;
}

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

/* 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;
  width: 100%;
  max-width: 300px;
}

.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.3em;
  font-weight: 600;
}

.cat-title p {
  margin: 0;
  font-size: 1em;
  color: #444;
  font-weight: 500;
  margin-bottom: 8px;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.9em;
  color: #0077cc;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cta-button:hover {
  color: #005799;
  text-decoration: underline;
}

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

/* Header Grid Layout for Responsive Header */
.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;
}

/* 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;
}

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


.categories-heading2 {
  display: none;
}

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

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

  .header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
  }

  .categories-heading2 {
    width: 100%;
    display: inline-block;
    text-align: center;
    font-size: 0.7em;
  }

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

@media (min-width: 550px) {
  .categories-heading h1 {
    font-size: 0.8em;
  }
}