/* MDB5 Color Variables */
:root {
  --mdb-primary: #1266F1;
  --mdb-secondary: #B23CFD;
  --mdb-success: #00B74A;
  --mdb-info: #39C0ED;
  --mdb-warning: #FFA900;
  --mdb-danger: #F93154;
  --mdb-light: #FBFBFB;
  --mdb-dark: #262626;
  --mdb-white: #fff;
  --mdb-black: #000;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f8f9fa;
  color: #4f4f4f;
  line-height: 1.6;
  padding-top: 76px;
}

a {
  text-decoration: none;
  color: var(--mdb-primary);
  transition: all 0.3s ease;
}

a:hover {
  color: #0a58ca;
}

/* Container */
.container {
  width: 100%;
  padding-right: 12px;
  padding-left: 12px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--mdb-primary) 0%, #0a58ca 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  padding: 0.8rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 15px;
}

.logo h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--mdb-white);
  margin: 0;
}

.logo span {
  color: #FFD700;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--mdb-white);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
}

nav ul li a i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

nav ul li a:hover,
nav ul li.active a {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 0.5rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  padding: 2rem;
}

.hero h2 {
  font-size: 2.5rem;
  color: var(--mdb-white);
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* Buttons */
.watch-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--mdb-danger);
  color: var(--mdb-white);
  font-weight: 500;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.watch-btn:hover {
  background-color: #d91a3d;
  color: var(--mdb-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Cards */
.program-card {
  background: var(--mdb-white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.program-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.program-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
  transform: scale(1.05);
}

.program-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--mdb-primary);
  color: var(--mdb-white);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.program-details {
  padding: 1.5rem;
}

.program-title {
  color: var(--mdb-dark);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.program-schedule {
  color: var(--mdb-primary);
  font-weight: 500;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.program-schedule i {
  margin-right: 0.5rem;
}

.program-description {
  color: #6c757d;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.program-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #dee2e6;
  padding-top: 1rem;
}

.meta-item {
  display: flex;
  align-items: center;
  color: #6c757d;
  font-size: 0.875rem;
}

.meta-item i {
  margin-right: 0.25rem;
  color: var(--mdb-primary);
}

/* Grid System */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 576px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .programs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Search and Filter */
.search-filter {
  background: var(--mdb-white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 1px solid #ced4da;
  border-radius: 2rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--mdb-primary);
  box-shadow: 0 0 0 0.2rem rgba(18, 102, 241, 0.25);
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 1.1rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: var(--mdb-light);
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.filter-btn i {
  margin-right: 0.5rem;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--mdb-primary);
  color: var(--mdb-white);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--mdb-dark) 0%, #1a1a1a 100%);
  color: var(--mdb-white);
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
  font-weight: 600;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--mdb-primary);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.footer-links a i {
  margin-right: 0.75rem;
  color: var(--mdb-primary);
  width: 20px;
}

.footer-links a:hover {
  color: var(--mdb-white);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--mdb-white);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--mdb-primary);
  transform: translateY(-5px);
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Content Sections */
.advertisement-section,
.live-section,
.about-section,
.privacy-section,
.terms-section,
.contact-section {
  background: var(--mdb-white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* Live Stream Section */
.live-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .live-container {
    grid-template-columns: 2fr 1fr;
  }
}

.live-player-container h2 {
  color: var(--mdb-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.live-player {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.live-chat-container {
  background: var(--mdb-light);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.live-chat-container h3 {
  color: var(--mdb-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.chat-messages {
  height: 300px;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--mdb-white);
  border-radius: 0.25rem;
}

.chat-message {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.chat-user {
  font-weight: 600;
  color: var(--mdb-primary);
}

.chat-text {
  margin: 0 0.5rem;
}

.chat-time {
  font-size: 0.75rem;
  color: #6c757d;
}

.chat-input-container {
  display: flex;
  gap: 0.5rem;
}

.chat-input-container input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.chat-input-container button {
  padding: 0.75rem 1.5rem;
  background: var(--mdb-primary);
  color: var(--mdb-white);
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h3 {
  color: var(--mdb-primary);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--mdb-primary);
  color: var(--mdb-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
}

.contact-text h3 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-text p,
.contact-text a {
  color: #6c757d;
  margin: 0;
}

.contact-form h3 {
  color: var(--mdb-primary);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--mdb-primary);
  box-shadow: 0 0 0 0.2rem rgba(18, 102, 241, 0.25);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.map-container {
  height: 400px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* Package Section */
.package-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .package-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.package {
  background: var(--mdb-white);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.package:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.package h4 {
  color: var(--mdb-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.package-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--mdb-dark);
  margin-bottom: 1.5rem;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  text-align: left;
}

.package-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e9ecef;
}

.package-features li:last-child {
  border-bottom: none;
}

.contact-box {
  background: var(--mdb-light);
  padding: 2rem;
  border-radius: 0.5rem;
  margin-top: 2rem;
}

.contact-box h3 {
  color: var(--mdb-primary);
  margin-bottom: 1rem;
}

/* Team Section */
.team-section {
  margin-top: 3rem;
}

.team-section h2 {
  color: var(--mdb-primary);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.team-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--mdb-primary);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-member {
  background: var(--mdb-white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.member-image {
  height: 250px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: 1.5rem;
}

.member-info h3 {
  color: var(--mdb-dark);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.member-info p {
  color: #6c757d;
  margin-bottom: 1rem;
}

.member-info .social-links {
  justify-content: center;
  margin-top: 1rem;
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 0.25rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* Text Utilities */
.text-center {
  text-align: center;
}

/* Responsive Utilities */
.d-none {
  display: none !important;
}

@media (max-width: 767.98px) {
  .d-md-none {
    display: none !important;
  }
}

/* Spacing Utilities */
.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide-up {
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}