@font-face {
    font-family: 'CircularStd';
    src: url('/Assets/font/circular-std-font-family/CircularStd-Black.woff2') format('woff2');
      font-display: swap;
}
  @font-face {
    font-family: 'CircularStd-bold';
    src: url('/Assets/font/circular-std-font-family/CircularStd-Bold.woff2') format('woff2');
      font-display: swap;
}
  @font-face {
    font-family: 'CircularStd-book';
    src: url('/Assets/font/circular-std-font-family/CircularStd-Book.woff2') format('woff2');
      font-display: swap;
}
  @font-face {
    font-family: 'CircularStd-medium';
    src: url('/Assets/font/circular-std-font-family/CircularStd-Medium.woff2') format('woff2');
      font-display: swap;
}
  
  :root {
    --bg-color: #051c2c;
    --primary-color: #073044;
    --secondary-color: #094663;
    --tertiary-color: #036686;
    --dark-color: #051c2c;
    --font-color: #fff;
    --btn-bg-color: #02D1A6;
    --text-color-fade: #FFFFFFB2;
    --video-card-color: #0f2f4e;
    --font-book: 'CircularStd-book';
    --font-bold: 'CircularStd-bold';
    --font-medium: 'CircularStd-medium';
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-book);
  }
  
  a {
    text-decoration: none;
  }
  
  .main {
    width: 100%;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
  }
  
  /* ======= Hero Section ======= */
  .videosExploreHeroSection {
    padding-top: 100px;
    width: 100%;
  }
  
  .videosExploreHeroSectionContainer {
    width: 90%;
    margin: 0 auto;
    padding: 4rem 0;
  }
  
  .videosExploreHeroSectionContainer h1,
  .videosExploreHeroSectionContainer h2 {
    color: var(--font-color);
    font-size: 64px;
  }
  
  .videosExploreHeroSectionContainer p {
    width: 30%;
    color: var(--text-color-fade);
    font-size: 18px;
    line-height: 26px;
  }
  
  /* ======= Cards Container ======= */
  .videosDisplaySection {
    width: 100%;
    padding: 4rem 0;
  }
  .videosDisplay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    align-items: center;
  }
  
  .toggle-btn {
    color: white;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 56px;
    padding: 6px 18px;
    border: 1px solid #02D1A6;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    user-select: none;
  }

  .toggle-btn[disabled],
  .toggle-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
    border-color: #ffffff33;
    color: #ffffff66;
  }

  .toggle-btn:hover {
    color: var(--btn-bg-color);
    transition: 0.3s ease-in-out;
  }

  .videosContainer {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 0fr));
    gap: 2rem;
    justify-content: center;
  }

  .shortsContainer {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 0fr));
    gap: 2rem;
    justify-content: center;
  }

  .toggle-btn-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
  }

  /* Phones: one-line labels in compact pills, side by side when they fit
     and stacked full width when they do not, instead of two tall pills
     with each label wrapped over two 30px lines. */
  @media (max-width: 480px) {
    .toggle-btn-container {
      flex-wrap: wrap;
      gap: 0.75rem;
      padding: 0 1.25rem;
    }

    .toggle-btn {
      flex: 1 1 140px;
      justify-content: center;
      max-width: 280px;
      font-size: 14px;
      line-height: 1.3;
      padding: 10px 16px;
      white-space: nowrap;
    }
  }

  @media (max-width: 1440px) {
    .shortsContainer {
        grid-template-columns: repeat(4, 1fr);
    }
  }

  @media (max-width: 1200px) {
    .shortsContainer {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (max-width: 960px) {
    .videosExploreHeroSectionContainer h1,
  .videosExploreHeroSectionContainer h2 {
      font-size: 48px;
    }
    .videosExploreHeroSectionContainer p {
      width: 60%;
    }
    .shortsContainer {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  .categoryBtn {
    padding: 8px 16px;
    border: 1px solid var(--btn-bg-color);
    background-color: transparent;
    color: var(--font-color);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  .categoryBtn:hover {
    color: var(--btn-bg-color);
  }
  .categoryBtn.active {
    background-color: var(--btn-bg-color);
    color: white;
  }
  
  /* ======= Card Style ======= */
  .videosCard {
    background-color: var(--video-card-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    overflow: hidden;
  }
  .shortsContainer .videosCard {
    height: 444px;
    width: 100%;
    max-width: 250px;
  }
  .videosContainer .videosCard {
    min-height: 230px;
    height: 100%;
    width: 100%;
    max-height: 270px;
    max-width: 480px;
  }
  
  .videosCardHead h3 {
    z-index: 11;
    color: var(--font-color);
    font-size: 20px;
    font-weight: 200;
    transition: all 0.5s ease;
  }
  
  .videosCardImg {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    /* opacity: 0.8; */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
  }

  .videosCardImg iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    aspect-ratio: 9 / 16;
    border: none;
  }
  
  .videosCardBtn a {
    color: var(--font-color);
    background-color: transparent;
    border: 2px solid var(--btn-bg-color);
    padding: 10px 20px;
    border-radius: 100px;
    position: relative;
    z-index: 99;
    top: 50px;
    opacity: 0;
    transition: all 0.3s ease-in-out;
  }
  
  /* ======= Hover Effects ======= */
  .videosCard:hover {
    box-shadow: rgba(255, 255, 255, 0.05) 0px 6px 24px 0px, rgba(255, 255, 255, 0.08) 0px 0px 0px 1px;
  }
  
  .videosCard:hover .videosCardHead h3 {
    position: relative;
  }
  .videosCard:hover .videosCardImg iframe {
    filter: blur(10px);
  }
  
  .videosCard:hover .videosCardBtn a {
    top: 0;
    opacity: 1;
  }
  
  /* ======= Responsive ======= */
  @media (max-width: 767px) {
    .videosExploreHeroSectionContainer {
      padding: 2rem 0;
    }
    .videosDisplaySection {
      padding: 0;
    }
    .videosExploreHeroSectionContainer h1,
  .videosExploreHeroSectionContainer h2 {
      font-size: 32px;
    }
    .videosExploreHeroSectionContainer p {
      width: 100%;
    }
    .videosCard {
      width: 90%;
      margin: 0 auto;
    }
    .videosDisplayContainer {
      grid-template-columns: repeat(1, 1fr);
      justify-content: center;
    }
    .videosCardBtn a {
      top: 0;
      opacity: 1;
    }
    .videosCard:hover .videosCardImg {
      transform: scale(1);
      filter: blur(0px);
    }
  }
  

  .whatsapp-float {
    position: fixed;
    bottom: 4rem;
    right: 4rem;
    z-index: 9999;
    border-radius: 50%;
    /* background-color: var(--bg-color); */
  }
  
  .whatsapp-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    object-fit: cover;
  }
  
  .whatsapp-icon:hover {
    transform: scale(1.1);
  }
  
  @media (max-width: 768px) {
    .whatsapp-icon {
      width: 50px;
      height: 50px;
      padding: 6px;
    }
  
    .whatsapp-float {
      bottom: 2rem;
      right: 2rem;
    }
  }
  
  @media (max-width: 480px) {
    .whatsapp-icon {
        width: 45px;
        height: 45px;
        padding: 4px;
    }
  
    .whatsapp-float {
      bottom: 1rem;
      right: 1rem;
    }
  }

  @media (max-width: 580px) {
    .shortsContainer {
      grid-template-columns: repeat(1, 1fr);
    }

    .videosDisplayContainer {
      grid-template-columns: repeat(1, 1fr);
      justify-content: center;
    }
  }

  /* ======= Skeleton Loader ======= */
  .skeleton-card {
    background-color: var(--video-card-color);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
  }

  .skeleton-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0.05) 20%,
      rgba(255, 255, 255, 0.1) 60%,
      rgba(255, 255, 255, 0)
    );
    animation: shimmer 2s infinite;
  }

  @keyframes shimmer {
    100% {
      transform: translateX(100%);
    }
  }

  .skeleton-short {
    height: 444px;
    width: 250px;
  }

  .skeleton-video {
    height: 270px;
    width: 480px;
  }

  @media (max-width: 767px) {
    .skeleton-short, .skeleton-video {
      width: 90%;
      margin: 0 auto;
    }
  }