@font-face {
  font-family: 'SaremSindhi';
  src: url('../fonts/SaremSindhOnlineSchoolRegular.otf') format('opentype');
  /* Add additional font formats if needed */
}

body {
  font-family: 'SaremSindhi';
}

.youtube-card {
  width: 400px;
  height: 300px;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0px 0px 2px grey;
  margin: 16px;
  flex: 0 0 auto;

}

.youtube-card-dark {
  width: 400px;
  height: 300px;
  border-radius: 8px;
  background-color: #363636;
  box-shadow: 0px 0px 2px grey;
  margin: 16px;
  flex: 0 0 auto;

}

.card-list-container {
  display: flex;
  overflow-x: auto;

}


.youtube-card img {
  width: 100%;
  height: 100%;

}

.row-horizontal-scroll {
  overflow-x: auto;
  width: 100%;
}

.scroll-container {
  white-space: nowrap;
}

.scroll-item {
  display: inline-block;
  margin-right: 10px;
  /* Add any additional styling as needed */
}

.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}


.embed-responsive::before {
  content: "";
  display: block;
  padding-top: 56.25%;
  /* 16:9 aspect ratio (height / width * 100%) */
}

.embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 8px;
  height: 90%;
}

.youtube-card h5 {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 4px;
  margin-top: -4px;
  color: black;
}

.youtube-card:hover {
  box-shadow: 0px 0px 8px grey;
}

.youtube-card-dark h5 {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 4px;
  margin-top: -4px;
  color: white;
}
.material-icons {
  font-display: swap;
}
@media only screen and (max-width: 600px) {
  .viewmore {
    width: 300px;
    height: 250px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0px 0px 2px grey;
    margin: 16px;
    flex: 0 0 auto;
  }
  
}

.dark-mode {
  background-color: #2c2b2b;
  color: #fff;
  font-family: 'SaremSindhi';
}

.light-mode {
  background-color: whitesmoke;
  color: black;
  font-family: 'SaremSindhi';
}

.light {
  color: #2c2b2b;
}

.dark {
  color: white;
}

.class-card {
  width: 225px;
  height: 98px;
  flex-shrink: 0;
  border-radius: 44px;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
  text-align: center;
  text-decoration: none;

  vertical-align: auto;
  margin: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.class-card:hover {
  box-shadow: 0px 6px 13px 0px rgba(0, 0, 0, 0.25);

}

.list-tile {
  display: flex;
  align-items: center;
  padding: 8px;

  width: 100%;
}

.list-tile-content {
  flex-grow: 1;
}

.list-tile-icon {
  margin-left: auto;
}

.list-tile-icon img {
  width: 24px;
  height: 24px;
}

.list-tile-icon-l img {
  width: 206px;
  height: 215px;
}

.list-tile-title {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.list-tile-description {
  margin: 0;
  font-size: 14px;
  color: #888;
}

.category-card {
  width: 230px;
  height: 100px;
  text-decoration: none;
  margin: 16px;
  box-shadow: 0px 0px 3px;
  border-radius: 44px;
  border: none;
  padding: 16px;
}

.category-card:hover {
  box-shadow: 0px 6px 13px 0px rgba(0, 0, 0, 0.25);
}

.category-img {
  width: 50px;
  border-radius: 50%;
  padding: 8px;
  position: relative;
}

/* Reset default list styles */
.vertical-menu {
  margin: 0;
  padding: 0;
  margin-left: -25px;
  list-style: none;
}

/* Style the menu items (li) */
.vertical-menu li {
  display: block;
  /* Display items as blocks */
  padding: 3px;
}

/* Style the anchor links (a) */
.vertical-menu li a {
  text-decoration: none;
  /* Remove underline from links */
  color: #333;
  /* Change link text color */
  font-size: 16px;
  /* Adjust font size */
  font-weight: 400;
}

/* Add hover effect for links */
.vertical-menu li a:hover {
  color: black
    /* Change background color on hover */
}

.custom-nav-links-dark {
  text-decoration: none;
  color: white;
  font-size: 16px;
  padding: 8px;

}

.custom-nav-links-light {
  text-decoration: none;
  color: black;
  font-size: 16px;
  padding: 8px;

}

.chip {
  width: auto;
  /* Adjust the width and height as needed */

  min-width: 100px;
  padding: 4px 8px 4px 8px;
  margin: 6px;
  background: rgb(221, 221, 221);
  box-shadow: 0x 0x 8px grey;
  border-radius: 25px;
  /* Half of the height to create a circular shape */
  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 500;
  text-decoration: none;
  color: black;
  /* Text color */
  font-weight: bold;
  text-transform: uppercase;
}

.chip-dark {
  width: auto;
  /* Adjust the width and height as needed */

  min-width: 100px;
  padding: 4px 8px 4px 8px;
  margin: 6px;
  background: rgb(61, 61, 61);
  box-shadow: 0x 0x 8px grey;
  border-radius: 25px;
  /* Half of the height to create a circular shape */
  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 500;
  text-decoration: none;
  color: white;
  /* Text color */
  font-weight: bold;
  text-transform: uppercase;
}

.active {
  color: blue
}

/* Lazy-loaded images: quiet placeholder background + gentle fade-in once loaded */
.lazy-img {
  background-color: rgba(127, 127, 127, 0.08);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-img.lazy-loaded {
  opacity: 1;
}