:root {
  --primary-color: #003366;
  --secondary-color: #28A745;
  --accent-color: #28A745;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --danger-color: #ef4444;
  --success-color: #10b981;
  --gray-color: #94a3b8;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f1f5f9;
  color: var(--dark-color);
  line-height: 1.6;
}

/* Navbar Styles */
.navbar {
  background:#0D1B2A;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.navbar-brand i {
  margin-right: 10px;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-item{
    margin-left:30px;
}
/* Hero Banner */
/* Hero Banner Carousel */
.hero-carousel {
    width:100%;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-carousel .carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-carousel .carousel-caption {
    text-align: left;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    left: 5%;
    right: 5%;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
    max-width: 600px;
}

.hero-carousel .hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-carousel .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-carousel .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

/* Carousel indicators */
.hero-carousel .carousel-indicators {
    bottom: 20px;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    border: 2px solid white;
    background: transparent;
}

.hero-carousel .carousel-indicators button.active {
    background: white;
}

/* Carousel controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 5%;
    opacity: 1;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-size: 100% 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 1rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-carousel .carousel-item {
        height: 400px;
    }
    
    .nav-item{
    margin-left:2px;
}
    
    .hero-carousel .hero-title {
        font-size: 2rem;
    }
    
    .hero-carousel .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel .carousel-item {
        height: 350px;
    }
    
    .hero-carousel .carousel-caption {
        left: 10px;
        right: 10px;
        padding: 1rem;
    }
    
    .hero-carousel .hero-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .hero-carousel .carousel-item {
        height: 300px;
    }
    
    .hero-carousel .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-carousel .hero-subtitle {
        display: none;
    }
    
    .hero-carousel .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Video Cards */
.video-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  background-color: white;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background-color: #000;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.video-card:hover .video-thumbnail img {
  opacity: 0.9;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 3rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.video-card:hover .play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.duration-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
}

/* Footer Styles */
.footer {
  background-color:#0D1B2A;
  color: white;
  padding: 3rem 0;
  margin-top: 3rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: white;
  background-color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.copyright {
  background-color:#003366;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.875rem;
  color:#fff;
}

/* Banner Styles */

.page-banner {
  background: 
  linear-gradient(rgba(0, 0,  0, 0.8), rgba(0, 30, 0, 0.6)), /* Green overlay */
  url('../images/footbal.jpg') center center/cover no-repeat;   /* Background image */
  color: white;
  padding: 2rem 0;
  height: 450px;
}

.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* Video Player Page */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background-color: #000;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-info {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.video-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.video-meta {
  color: var(--gray-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.video-meta i {
  margin-right: 0.5rem;
}

.video-description {
  margin-top: 1.5rem;
}

/* Related Videos */
.related-video {
  display: flex;
  margin-bottom: 1rem;
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.related-video:hover {
  transform: translateX(5px);
}

.related-thumbnail {
  width: 120px;
  height: 80px;
  flex-shrink: 0;
  position: relative;
}

.related-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-info {
  padding: 0.75rem;
  flex-grow: 1;
}

.related-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
}

.related-meta {
  color: var(--gray-color);
  font-size: 0.8125rem;
}

/* Admin Panel Styles */
.admin-sidebar {
  background-color: var(--dark-color);
  color: white;
  min-height: 100vh;
  padding: 0;
}

.admin-sidebar .nav-link {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  border-left: 3px solid transparent;
}

.admin-sidebar .nav-link:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.admin-sidebar .nav-link.active {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--accent-color);
}

.admin-sidebar .nav-link i {
  margin-right: 0.5rem;
  width: 20px;
  text-align: center;
}

.admin-content {
  padding: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .related-video {
    flex-direction: column;
  }
  
  .related-thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
}
/* Category Cards */
.category-card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.category-card .card-img-top {
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .card-img-top {
    transform: scale(1.05);
}

.category-placeholder {
    height: 180px;
    color: white;
}

.category-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.category-card .card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}