@charset "utf-8";
/* CSS Document */

@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

/* Scrollbar Styles - Applied globally */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #777;
}

/* Apply to specific elements */
.sidebar,
.search-field,
.search-suggestions,
.search-overlay .suggestions {
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}

.sidebar .search-suggestions ul {
    overflow-y: scroll;
}

/* Responsive Styles */
@media (min-width: 1600px) {
  /* Larger screens adjustments */
  .live-card {
    width: 250px;
    min-width: 250px;
  }
  
  .live-card img {
    height: 160px;
  }
  
  .category-tabs button {
    font-size: 15px;
    padding: 10px 20px;
  }
  
  .video-card img {
    height: 300px;
  }
  
  .video-card img:first-of-type {
    height: 350px;
  }
  
  .video-card .meta img {
   width: 40px;
   height: 40px;
  }
}



/* Desktop and Tablet - Sidebar pushes main content */
@media (min-width: 769px) {
  .main {
    margin-left: 250px;
    width: auto;
    flex: 1; /* allows it to grow/shrink */
    min-width: 0; /* prevents flex overflow */
    padding: 0px;
    transition: all 0.3s ease;
  }
}



/* Mobile - Sidebar overlays */
@media (max-width: 960px) {

  body {
    flex-direction: column;
  }
  
  .mobile-header {
    display: flex;
  }
  
  .sidebar {
    width: 240px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    z-index: 1001;
    padding-top: 20px;
    padding-bottom: 20px;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .sidebar-overlay.active {
    display: block;
  }
  
  .desktop-search-container, .desktop-search-container input, .desktop-search-container icon {
	  line-height:0px;
	  height:0px;
	  padding:0px;
	  margin:0px;
	  visibility:hidden;
  }
  
  /* Search field scrollbar */
  .search-field {
    max-height: 300px;
  }
  
  .main {
    margin-left: 0;
    width: 100%;
    flex: 1;
    min-width: 0;
    padding: 70px 15px 15px;
    transition: all 0.3s ease;
  }
  
  .live-container {
    margin-bottom: 10px;
  }
  
  .section-title {
    margin: 5px 0px;
  }
  
  .section-title span {
    font-size: 14px;
  }
  
  .section-title span i {
    margin-right: 5px;
  }
  
  .live-carousel {
    gap: 10px;
    padding: 5px 0px;
  }
  
  .live-card {
    width: 160px;
    min-width: 160px;
  }
  
  .live-card img {
    height: 150px;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .video-card img,
  .video-card img:first-of-type {
    height: 200px;
  }
  
  .video-card .meta img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
  }
  
  .category-tabs-container {
    margin: 10px 0px;
    width: 100%;
    border-radius: 10px;
    padding: 15px 30px;
  }
  
  .section-title {
    font-size: 18px;
  }
  
  .live-card .info-text .title {
    font-size: 11px;
  }
  
  .video-card .meta-text .institution,
  .video-card .meta-text .views {
    font-size: 14px;
  }
  
  
.search-results-header h2 {
	font-size:1.25em;
	line-height:24px;
}

.results-section h3, .related-searches h3 {
	margin-bottom:5px;
}

.related-searches .search-tags a {
	font-size:14px;
	margin-right:10px;
	line-height:22px;
}

.result-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 4fr));
  gap: 10px;
}

.result-grid .live-card {
  width: 160px;
  min-width: 160px;
  padding:0px;
  margin:0px;
}

.search-tabs button {
  padding: 6px 12px;
}

/* Main About Page Layout */
.main_about {
  padding:0px;
  margin:0px;
}

.about-hero, .about-hero-content {
  display: grid;
}

.about-hero-content {
  margin-top:50px;
}

.about-hero p {
  font-size: 16px;
  text-align: left;
}

.about-stats p {
  font-size: 12px;
}

.about-duo-section, .about-services {
  gap: 20px;
  padding: 10px 30px;
}

.faq .icon-circle {
  min-width: 28px;
  min-height: 28px;
}


  .contact-us {
    padding: 20px;
    height: auto;
    align-items: flex-start;
}
  
  .contact-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .image-side {
    order: 1;
    height: 200px;
    width: calc(100% + 40px);
    margin: -80px -80px 0px -80px;
    border-radius: 0;
    min-width: auto;
  }
  
  .image-side img {
    position: relative;
    height: 100%;
    border-radius: 0;
  }
  
  .form-side, .reg-side {
    order: 2;
    width: 100%;
    padding: 0;
  }

}

