@import url('https://fonts.cdnfonts.com/css/sf-pro-display');

@font-face {
  font-family: 'Kohinoor Bangla';
  src: url('https://channel.hrtechcity.com/plugin/font/KohinoorBangla-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Kohinoor Bangla';
  src: url('https://channel.hrtechcity.com/plugin/font/KohinoorBangla-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}


*{
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  font-family: 'SF Pro Display', 'Kohinoor Bangla', sans-serif;
  scroll-behavior: smooth;
}
body{
  font-family: 'Kohinoor Bangla', montserrat;
  background-color: #f8f9fa;
}

/* Custom Scroll Bar Start */

::-webkit-scrollbar { 
  width: 5px; 
}
::-webkit-scrollbar-track {
  background: #fff; 
}
::-webkit-scrollbar-thumb { 
  background: #0082e6;
  border-radius: 20px;
  transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover { 
  background: #0082e6; 
}

nav{
  background: #0082e6;
  height: 60px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 9999;

}
label.logo{
  color: white;
  font-size: 35px;
  line-height: 80px;
  padding-left: 200px;
  padding-right: auto;
  font-weight: bold;
  
}
.logoimg {
  width: 150px;
  height: 33px;
  padding-bottom: 2px;
  cursor: pointer;
}
.logolink:hover {
  background: #0082e6;
  
}
nav ul{
  float: right;
  margin-right: 100px;
  
}
nav ul li{
  display: inline-block;
  line-height: 60px;
  margin: 0 5px;
}
nav ul li a{
  color: white;
  font-size: 17px;
  padding: 7px 13px;
  border-radius: 3px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
nav ul li a.active, nav ul li a:hover{
  background: #1b9bff;
  transition: .5s;
}
.checkbtn{
  font-size: 30px;
  color: white;
  float: right;
  line-height: 60px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}
#check{
  display: none;
}
@media (max-width: 20000px) {
  label.logo {
    padding-left: 450px;
  }
  nav ul{
    margin-right: 450px;
}
}
@media (max-width: 1700px) {
  label.logo {
    padding-left: 200px;
  }
  nav ul{
    margin-right: 100px;
}
}
@media (max-width: 1030px){
  label.logo{
    padding-left: 100px;
}
}
@media (max-width: 952px){
  label.logo{
    font-size: 30px;
    padding-left: 50px;
    padding-right: auto;
  }
  nav ul li a{
    font-size: 16px;
  }
}
@media (max-width: 858px){
  .checkbtn{
    display: block;
  }
  nav ul{
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #2c3e50;
    top: 60px;
    left: -100%;
    text-align: center;
    transition: all 0.5s ease;
  }
  nav ul li{
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  nav ul li a{
    font-size: 20px;
  }
  a:hover, a.active{
    background: none;
    color: #fff;
  }
  #check:checked ~ ul{
    left: 0;
  }
}

/* Nav Section End */

/* Home Page Start*/
.category {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.category h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #555;
    text-transform: uppercase;
    border-bottom: 4px solid #0082e6;
    padding-bottom: 10px;
    letter-spacing: 1px;
}

.category .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding-bottom: 20px;
}

.category .grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.category .grid img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.category .grid .image-title {
    text-align: left;
    font-size: 1em;
    margin-top: 5px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
}
@media (max-width: 768px) {
    .category h2 {
        font-size: 1.6em;
    }
    .category .grid img {
        height: 200px;
    }

}

.card-wrapper {
  max-width: 1100px;
  margin: 0 60px 35px;
  padding: 20px 10px;
  overflow: hidden;
}

.card-list .card-item {
  list-style: none;
}

.card-list .card-item .card-link {
  display: block;
  background: #fff;
  padding: 18px;
  user-select: none;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  transition: 0.2s ease;
}

.card-list .card-item .card-link:active {
  cursor: grabbing;
}

.card-list .card-item .card-link:hover {
  border-color: #0082e6;
}

.card-list .card-link .card-image {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-list .card-link .badge {
  color: #0082e6;
  width: fit-content;
  padding: 8px 16px;
  font-size: 0.95rem;
  border-radius: 50px;
  font-weight: 500;
  background: #DDE4FF;
  margin: 16px 0 18px;
}

.card-list .card-link .badge-designer {
  color: #B22485;
  background: #F7DFF5;
}

.card-list .card-link .badge-marketer {
  color: #B25A2B;
  background: #FFE3D2;
}

.card-list .card-link .badge-gamer {
  color: #205C20;
  background: #D6F8D6;
}

.card-list .card-link .badge-editor {
  color: #856404;
  background: #fff3cd;
}

.card-list .card-link .card-title {
  color: #000;
  font-size: 1.19rem;
  font-weight: 600;
}

.card-list .card-link .card-button {
  height: 35px;
  width: 35px;
  color: #0082e6;
  margin: 30px 0 5px;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid #0082e6;
  transform: rotate(-45deg);
  transition: 0.4s ease;
}

.card-list .card-link:hover .card-button {
  color: #fff;
  background: #0082e6;
}

.card-wrapper .swiper-pagination-bullet {
  height: 13px;
  width: 13px;
  opacity: 0.5;
  background: #0082e6;
}

.card-wrapper .swiper-pagination-bullet-active {
  opacity: 1;
}

.card-wrapper .swiper-slide-button {
  color: #0082e6;
  margin-top: -35px;
}
.catswi {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive media query code for small screens */
@media (max-width: 768px) {
  .card-wrapper {
    margin: 0 10px 25px;
  }

  .card-wrapper .swiper-slide-button {
    display: none;
  }
}
/* Home Page End*/      

/* Video Gallery Start */
.video-gallery {
  width: 83%;
  margin: 0 auto;
  padding: 20px 5px;
}
@media (min-width: 1500px) {
  .video-gallery {
    width: 65%;
  }
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 20px;
  justify-content: center;
}

.video-item {
  width: 300px;
  max-height: 250px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.video-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.video-item h3 {
    margin: 10px 0;
    font-size: 15px;
    color: #333;
    padding: 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Number of lines to show */
    -webkit-box-orient: vertical;
  }

.video-item a {
  text-decoration: none;
  color: inherit;
}

.video-item a:hover h3 {
  color: #0082e6;
}

  /* Responsive Styles */
  @media (max-width: 768px) {
    .video-item {
      width: 350px;
      height: 300px;
    }
    .video-item img {
  width: 100%;
  height: 200px;
    }
    .video-gallery {
      width: 100%;
    }
    
    .video-item h3 {
      font-size: 12px;
    }
  }

  @media (max-width: 480px) {
    .video-item h3 {
      font-size: 12px;
      padding: 0 5px;
    }
    .video-gallery {
      width: 100%;
    }
    
  }


  /* Video Gallery End */

/* Plyr Section Start */

:root {
  --plyr-color-main: #0082e6;
  .container {
    margin: 40px auto;
    max-width: 53%;
}
#player {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9; /* Maintain 16:9 ratio */
}

/* Large screens (desktops and larger tablets) */
@media (min-width: 1200px) {
    .container {
        max-width: 55%;
    }
}

/* Medium screens (small laptops, large tablets) */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 70%;
    }

    #player {
        aspect-ratio: 16 / 9;
    }
}

/* Small tablets and large phones */
@media (max-width: 991px) and (min-width: 768px) {
    .container {
        max-width: 80%;
    }

    #player {
        aspect-ratio: 16 / 9;
    }
}

/* Phones and smaller devices */
@media (max-width: 767px) {
    .container {
        max-width: 90%;
    }

    #player {
        aspect-ratio: 16 / 9;
    }
}

/* Very small phones and small devices */
@media (max-width: 480px) {
    .container {
        max-width: 95%;
    }

    #player {
        aspect-ratio: 16 / 9;
    }
}

/* Ultra-small devices like smartwatches or very small screens */
@media (max-width: 320px) {
    .container {
        max-width: 98%;
    }

    #player {
        aspect-ratio: 16 / 9;
    }
}
/* Plyr Section End */

/* Footer Section Start */
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  background-color: #070729;
}
footer .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 55%;
  margin: 50px 0;
}
.top .top-left {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60%;
}
.top-left img {
  width: 180px;
  margin-right: 100px;
  pointer-events: none;
}
.top-left .details {
  display: flex;
  flex-direction: column;
}
.details h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
}
.details p {
  font-size: 15px;
  color: #aaa;
}
.details p a {
  color: #82d1ff;
}
.top .top-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.top-right h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 10px;
} 
.top-right .links {
  display: flex;
}
.links a {
  width: 35px;
  height: 35px;
  margin: 0 5px;
  border-radius: 5px;
  background-color: rgba(155,155,155,0.1);
  color: #ddd;
  text-align: center;
  line-height: 35px;
  transition: all 0.3s ease;
}
.links a:hover {
  background-color: rgba(134 ,133, 133, 0.253);
}
footer .bottom {
  display: flex;
  justify-content: space-around;
  width: 100%;
  background-color: #0B0B3B;
  padding: 20px 0;
}
.bottom span {
  font-size: 16px;
  color: #fff;
}
.bottom .bottom-links {
  display: flex;
}
.bottom-links a {
  font-size: 15px;
  color: #fff;
  margin: 0 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.bottom span a {
  font-size: 15px;
  color: #a8ccfc;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}
.bottom-links a:hover, .bottom span a:hover {
  color: #0082e6;
}
/* Responsive */
@media screen and (max-width: 1550px) {
  footer .top {
    width: 70%;
  }
}
@media screen and (max-width: 1265px) {
  footer .top {
    width: 70%;
  }
  .top .top-left {
    width: 70%;
  }
}
@media screen and (max-width: 896px) {
  footer .top {
    width: 85%;
  }
  .details {
    font-size: 14px;
  }
}
@media screen and (max-width: 830px) {
  footer .top, .top .top-left, footer .bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .bottom span {
    margin-bottom: 15px;
  }
    footer .top {
    width: 95%;
  }
  .top-left img {
    margin: 0 0 35px 0;
    
  }
  .details p {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 543px) {
  .top .top-left {
    width: 90%;
  }
  .bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .bottom-links a{
    margin: 0 8px;
  }
  
}

/* Footer Section End */
