 :root {
    --primary: #0d6efd;
  }

  html {
    font-size: 100%;
  }

  body {
    font-size: 1rem;
    margin: 0;
    overflow-x: hidden; 
  }

  #bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #ffffff;
  }

  @media (max-width: 1200px) {
    html {
      font-size: 95%;
    }
  }

  @media (max-width: 992px) {
    html {
      font-size: 90%;
    }
  }

  @media (max-width: 768px) {
    html {
      font-size: 85%;
    }
  }

  @media (max-width: 576px) {
    html {
      font-size: 80%;
    }
   
  }

    @media (max-width: 400px) {
 
    .a{
      display: none;;
    }
  }

  .card-img-top {
    height: 150px;
    object-fit: cover;
  }

  .card {
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }

  .card:hover {
       transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  }

  .hero {
    background: linear-gradient(135deg, #e0eaff, #ffffff);
    padding: 60px 20px;
    text-align: center;
  }

  .bottom-nav {
    display: none;
  }

  .top-bar-mobile {
    display: none;
  }

  .mobile-search {
    position: sticky;
    top: 0;
    z-index: 998;
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }

  .category-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
  }

@media (max-width: 768px) {
  .row > [class*='col'] {
    flex: 0 0 50%;
    max-width: 50%;
  }
}


  @media (max-width: 990px) {
    .hero h1 {
      font-size: 1.8rem;
    }

    .hero p {
      font-size: 1rem;
    }

    .btn-lg {
      font-size: 1rem;
      padding: 0.75rem 1.25rem;
    }

    .navbar {
      display: none;
    }

    .bottom-nav {
      display: flex;
      justify-content: space-around;
      align-items: center;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: #185df2;
      border-top: 1px solid #fffefe;
      z-index: 999;
      padding: 1rem 0;
    }

    .bottom-nav a {
      color: #f7f7f7;
      text-decoration: none;
      font-size: 0.85rem;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .bottom-nav a:hover {
      color:  rgb(43, 223, 15);
      font-weight: 900;
    }

    .bottom-nav i {
      font-size: 1.25rem;
      color: #e0eaff;
      
    }

    .top-bar-mobile {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.5rem 1rem;
      background-color: var(--primary);
      color: #fff;
    }

    .top-bar-mobile h1 {
      font-size: 1.25rem;
      margin: 0;
    }

    .top-bar-mobile .icons {
      font-size: 1.2rem;
    }
  }

  /* From Uiverse.io by adamgiebl */ 
button {
  font-size: 16px;
  padding: 1em 3.3em;
  cursor: pointer;
  transform: perspective(200px) rotateX(15deg);
  color: white;
  font-weight: 900;
  border: none;
  border-radius: 2px;
  background: linear-gradient(
    0deg,
    rgba(63, 94, 251, 1) 0%,
    rgba(70, 135, 252, 1) 100%
  );
  box-shadow: rgba(63, 94, 251, 0.2) 0px 40px 29px 0px;
  will-change: transform;
  transition: all 0.3s;
  border-bottom: 1px solid rgba(70, 135, 252, 1);
}

button:hover {
  transform: perspective(180px) rotateX(30deg) translateY(2px);
}

button:active {
  transform: perspective(170px) rotateX(36deg) translateY(5px);
}
.svg-button-row {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center on small screens */
  gap: 1rem;
}

.responsive-svg {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  
}

.browse-btn {
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
}

/* Tablet and up: row layout */
@media (min-width: 768px) {
  .svg-button-row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .responsive-svg {
    max-width: 50%;
  }
}

.image-card {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}


  /* .scrolling-carousel {
    overflow: hidden;
    position: relative;
  }

  .scrolling-track {
    display: flex;
    width: max-content;
    animation: scroll-left 20s linear infinite;
  }

  .cardon {
    flex: 0 0 auto;
    width: 200px;
    border-radius: 8px;
  }

  @keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }


  .scrolling-carousel::-webkit-scrollbar {
    display: none;
  }  */