/* --- Custom styles migrated from index.html --- */
.videos {
    margin:auto;
    margin-top: 10px;
    margin-bottom: 20px;
    max-width: 800px;
}
.video-wrap {
    position: relative;
    max-width: 700px;
    width: 100%;
    margin-bottom: 10px;
}
.video-wrap .placeholder {
    max-width: 700px;
    width: 100%;
}
.video-wrap .play-btn {
    position: absolute;
    max-width: 700px;
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.video-wrap .play-btn svg {
    transition: all .2s ease;
    fill: #fff;
}
.video-wrap .play-btn:hover svg,
.video-wrap .play-btn:focus svg {
    cursor: pointer;
    fill: #17e617;
}
@media screen and (max-width: 600px) {
    .video-wrap .play-btn {
      width: 70px;
      height: 70px;
    }
}

.card-title {
  font-size: 19px;
  color: black;
  font-family: 'Marhey', cursive;
}

.nav-link {
  font-family: 'Marhey', cursive;
  font-size: 22px;
  color: #FFCC00;
}

#subscribeBtn,#unSubscribeBtn {
  font-family: 'Marhey', cursive;
  font-size: 16px;
  background-color: #FFCC00 !important;
  border-color: #FFCC00 !important;
  color: #000 !important;
}
#subscribeBtn:hover,#unSubscribeBtn:hover {
  background-color: #E6B800 !important;
  border-color: #E6B800 !important;
}

.alignone {
   direction: rtl;
}
@media only screen and (max-width: 600px) {
  .alignone {
    directions:rtl;
  }
}

.splide__slide img {
  width: 100%;
  height: auto;
}

/* --- End custom styles from index.html --- */

/* MTN Brand Colors */
:root {
  --mtn-primary-yellow: #FFCC00;
  --mtn-secondary-yellow: #FFD633;
  --mtn-black: #000000;
  --mtn-white: #FFFFFF;
  --mtn-dark-gray: #333333;
  --mtn-light-gray: #F5F5F5;
  --mtn-hover-yellow: #E6B800;
}

/* General Typography and RTL Support */
body {
  font-family: 'Marhey', cursive;
  background: linear-gradient(135deg, var(--mtn-light-gray) 0%, var(--mtn-white) 100%);
  color: var(--mtn-dark-gray);
  height: 200vh;
  position: relative;
  margin: 0;
  overflow-x: hidden;
}

body:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: .3s all ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

body.offcanvas-menu:before {
  opacity: 1;
  z-index: 1002;
  visibility: visible;
}






.offcanvas-menu .site-mobile-menu {
  transform: translateX(0%);
}

.site-mobile-menu .site-mobile-menu-header {
  width: 100%;
  float: left;
  padding-left: 20px;
  padding-right: 20px;
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close {
  float: right;
  margin-top: 8px;
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close span {
  font-size: 30px;
  display: inline-block;
  padding-left: 10px;
  padding-right: 0px;
  line-height: 1;
  cursor: pointer;
  transition: .3s all ease;
  color: var(--mtn-primary-yellow);
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close span:hover {
  color: var(--mtn-secondary-yellow);
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo {
  float: left;
  margin-top: 10px;
  margin-left: 0px;
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo a {
  display: inline-block;
  text-transform: uppercase;
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo a img {
  max-width: 70px;
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo a:hover {
  text-decoration: none;
}

.site-mobile-menu .site-mobile-menu-body {
  overflow-y: scroll;
  text-align: right;
  -webkit-overflow-scrolling: touch;
  position: relative;
  padding: 0 20px 20px 20px;
  height: calc(100vh - 52px);
  padding-bottom: 150px;
}

.site-mobile-menu .site-nav-wrap {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
}

.site-mobile-menu .site-nav-wrap a {
  padding: 10px 20px;
  display: block;
  position: relative;
  color: var(--mtn-primary-yellow);
  font-family: 'Marhey', cursive;
}

.site-mobile-menu .site-nav-wrap a:hover {
  color: var(--mtn-secondary-yellow);
}

.site-mobile-menu .site-nav-wrap li {
  position: relative;
  display: block;
}

.site-mobile-menu .site-nav-wrap li .nav-link.active {
  color: var(--mtn-secondary-yellow);
}

.site-mobile-menu .site-nav-wrap .arrow-collapse {
  position: absolute;
  right: 0px;
  top: 10px;
  z-index: 20;
  width: 36px;
  height: 36px;
  text-align: center;
  cursor: pointer;
  border-radius: 50%;
}

.site-mobile-menu .site-nav-wrap .arrow-collapse:hover {
  background: rgba(255, 204, 0, 0.1);
}

.site-mobile-menu .site-nav-wrap .arrow-collapse:before {
  font-size: 12px;
  z-index: 20;
  font-family: "icomoon";
  content: "\f078";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-180deg);
  transition: .3s all ease;
}

.site-mobile-menu .site-nav-wrap .arrow-collapse.collapsed:before {
  transform: translate(-50%, -50%);
}

.site-mobile-menu .site-nav-wrap > li {
  display: block;
  position: relative;
  float: left;
  width: 100%;
}

.site-mobile-menu .site-nav-wrap > li > a {
  padding-left: 20px;
  font-size: 20px;
}

.site-mobile-menu .site-nav-wrap > li > ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-mobile-menu .site-nav-wrap > li > ul > li {
  display: block;
}

.site-mobile-menu .site-nav-wrap > li > ul > li > a {
  padding-left: 40px;
  font-size: 16px;
}

.site-mobile-menu .site-nav-wrap > li > ul > li > ul {
  padding: 0;
  margin: 0;
}

.site-mobile-menu .site-nav-wrap > li > ul > li > ul > li {
  display: block;
}

.site-mobile-menu .site-nav-wrap > li > ul > li > ul > li > a {
  font-size: 16px;
  padding-left: 60px;
}

.site-mobile-menu .site-nav-wrap[data-class="social"] {
  float: left;
  width: 100%;
  margin-top: 30px;
  padding-bottom: 5em;
}

.site-mobile-menu .site-nav-wrap[data-class="social"] > li {
  width: auto;
}

.site-mobile-menu .site-nav-wrap[data-class="social"] > li:first-child a {
  padding-left: 15px !important;
}

/* Hide mobile menu on desktop screens */
@media (min-width: 992px) {
  .site-mobile-menu {
    display: none !important;
  }
}

/* Mobile menu should be hidden by default, only shown when .offcanvas-menu is on body */
@media (max-width: 991.98px) {
  .site-mobile-menu {
    display: none;
  }
  body.offcanvas-menu .site-mobile-menu {
    display: block;
  }
}

/* Hero Section/Carousel */
#image-carousel {
  margin: 20px 0;
  background: transparent;
}

.splide__track {
  padding: 10px 0;
}

.splide__slide img {
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
  display: block;
}

.splide__slide:hover img {
  transform: scale(1.05);
}

/* Section Headers */
h3.nav-link {
  background: linear-gradient(45deg, var(--mtn-primary-yellow), var(--mtn-secondary-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  text-shadow: none;
  margin-bottom: 20px;
}

/* Section Title with Arabic Dividers */
.section-title-arabic {
  font-family: 'Marhey', cursive;
  color: var(--mtn-primary);
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.section-title-arabic span {
  padding: 0 15px;
}

/* Remove dividers for h3 elements with nav-link class */
h3.nav-link::before,
h3.nav-link::after {
  display: none !important;
}

/* Card Styling */
.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: var(--mtn-white);
  min-height: 250px;
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(255, 204, 0, 0.3);
}

.card-title {
  font-size: 19px;
  color: var(--mtn-black);
  font-family: 'Marhey', cursive;
  font-weight: 600;
  text-align: center;
  padding: 15px;
  background: linear-gradient(135deg, var(--mtn-light-gray), var(--mtn-white));
  border-top: 3px solid var(--mtn-primary-yellow);
  margin: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

/* Card with background image styling */
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

/* Video content card specific styling */
.video-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 300px;
}

.video-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.3) 0%, 
    rgba(255, 204, 0, 0.1) 50%, 
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

.video-card .card-title {
  color: white;
  background: rgba(0, 0, 0, 0.8);
  border-top: 3px solid var(--mtn-primary-yellow);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Carousel Items */
.carousel-item .card {
  margin: 10px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.carousel-item .card:hover {
  border-color: var(--mtn-primary-yellow);
  transform: scale(1.03);
}

/* Video/Content Cards with Background Images */
.card[style*="background-image"] {
  position: relative;
  min-height: 300px;
}

.card[style*="background-image"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.4) 0%, 
    rgba(255, 204, 0, 0.1) 50%, 
    rgba(0, 0, 0, 0.6) 100%
  );
  border-radius: 15px;
}

/* Buttons and Links */
.btn, button {
  background: linear-gradient(45deg, var(--mtn-primary-yellow), var(--mtn-secondary-yellow));
  border: none;
  color: var(--mtn-black);
  font-family: 'Marhey', cursive;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
  cursor: pointer;
  text-decoration: none;
}

.btn:hover, button:hover {
  background: linear-gradient(45deg, var(--mtn-hover-yellow), var(--mtn-primary-yellow));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
  color: var(--mtn-black);
  text-decoration: none;
}

/* MTN Button Variants */
.mtn-btn-primary {
  background: linear-gradient(45deg, var(--mtn-primary-yellow), var(--mtn-secondary-yellow)) !important;
  border: none !important;
  color: var(--mtn-black) !important;
}

.mtn-btn-primary:hover {
  background: linear-gradient(45deg, var(--mtn-hover-yellow), var(--mtn-primary-yellow)) !important;
  color: var(--mtn-black) !important;
}

.mtn-btn-secondary {
  background: linear-gradient(45deg, var(--mtn-dark-gray), var(--mtn-black)) !important;
  border: 2px solid var(--mtn-primary-yellow) !important;
  color: var(--mtn-primary-yellow) !important;
}

.mtn-btn-secondary:hover {
  background: var(--mtn-primary-yellow) !important;
  color: var(--mtn-black) !important;
  border-color: var(--mtn-primary-yellow) !important;
}

#subscribeBtn, #unSubscribeBtn {
  font-family: 'Marhey', cursive;
  font-size: 16px;
}

/* More Links */
a[href*="playlist.html"] {
  color: var(--mtn-primary-black) !important;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

a[href*="playlist.html"]:hover {
  color: var(--mtn-secondary-yellow) !important;
  text-shadow: 0 0 8px rgba(255, 204, 0, 0.6);
}

a[href*="playlist.html"]::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--mtn-primary-yellow);
  transition: width 0.3s ease;
}

a[href*="playlist.html"]:hover::after {
  width: 100%;
}

/* Video Play Button */
.video-wrap .play-btn svg {
  transition: all 0.3s ease;
  fill: var(--mtn-primary-yellow);
  filter: drop-shadow(0 0 10px rgba(255, 204, 0, 0.6));
}

.video-wrap .play-btn:hover svg,
.video-wrap .play-btn:focus svg {
  cursor: pointer;
  fill: var(--mtn-secondary-yellow);
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px rgba(255, 204, 0, 0.8));
}

/* RTL Text Alignment */
.alignone {
  direction: rtl;
  text-align: right;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .nav-link {
    font-size: 18px;
  }
  
  h3.nav-link {
    font-size: 24px;
  }
  
  .card-title {
    font-size: 16px;
  }
  
  .video-wrap .play-btn {
    width: 70px;
    height: 70px;
  }
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--mtn-black) 0%, var(--mtn-dark-gray) 100%);
  color: var(--mtn-primary-yellow);
  padding: 30px 0;
  text-align: center;
  margin-top: 50px;
}

footer h4 {
  font-family: 'Marhey', cursive;
  font-weight: 600;
}

/* Custom MTN Animations */
@keyframes mtnGlow {
  0% { box-shadow: 0 0 5px rgba(255, 204, 0, 0.3); }
  50% { box-shadow: 0 0 20px rgba(255, 204, 0, 0.6); }
  100% { box-shadow: 0 0 5px rgba(255, 204, 0, 0.3); }
}

.mtn-glow {
  animation: mtnGlow 2s infinite;
}

/* Special MTN Branding Elements */
.mtn-brand-accent {
  border-left: 4px solid var(--mtn-primary-yellow);
  padding-left: 15px;
  background: linear-gradient(90deg, rgba(255, 204, 0, 0.1), transparent);
}

.mtn-section-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mtn-primary-yellow), transparent);
  margin: 30px 0;
}

/* Additional specific styles to replace inline styles */
.site-mobile-menu-close .icon-close2 {
  color: var(--mtn-primary-yellow);
}

.site-logo img {
  color: white;
}

.subscription-buttons {
  display: none;
}

.full-width-col {
  width: 100%;
}

.section-header {
  float: right;
  font-size: 28px;
  margin-bottom: -7px;
}

.more-link-container {
  margin-bottom: -120px;
  width: 100%;
  float: center;
}

.more-link {
  margin-left: 30px;
}

.card-image {
  padding: 20px;
}

.card-title-justified {
  text-align: justify;
}

.hero-card {
  border-radius: 15px;
  background-size: cover;
  height: 300px;
}

.hero-card-sombok {
  background-image: url('../../images/images/so.jpg');
}

.hero-card-sayd {
  background-image: url('../../images/sayd.jpg');
}

.hero-card-katma {
  background-image: url('../../images/katma.jpg');
}

.hero-card-abwab {
  background-image: url('../../images/abwab.png');
}




.site-logo img {
  max-width: 70px;
}

/* Hero card improvements for better visibility */
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  min-height: 200px;
}

.hero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 204, 0, 0.4);
}

/* Card title positioning */
.hero-card .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px;
  text-align: center;
}

/* Specific hero card backgrounds */
.hero-card-sombok {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(255, 204, 0, 0.2)), url('../../images/so.jpg');
  background-size: cover;
  background-position: center;
}

.hero-card-sayd {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(255, 204, 0, 0.2)), url('../../images/sayd.jpg');
  background-size: cover;
  background-position: center;
}

.hero-card-katma {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(255, 204, 0, 0.2)), url('../../images/katma.jpg');
  background-size: cover;
  background-position: center;
}

.hero-card-abwab {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(255, 204, 0, 0.2)), url('../../images/abwab.png');
  background-size: cover;
  background-position: center;
}

/* --- MTN-specific layout and carousel/card styles adapted from style.css --- */

.carousel-inner {
  padding: 1em;
}

.card {
  width: 170px;
  margin: 0 0.5em;
  box-shadow: 2px 6px 8px 0 rgba(255, 204, 0, 0.18); /* MTN yellow shadow */
  border: none;
  border-radius: 25px;
  background: var(--mtn-white);
  transition: box-shadow 0.3s, transform 0.3s;
}

.card:hover {
  box-shadow: 0 8px 25px rgba(255, 204, 0, 0.3);
  transform: translateY(-5px);
}

#unSubscribeBtn {
  display: none;
}

a {
  color: var(--mtn-primary-yellow);
  transition: color 0.3s;
}

a:hover {
  color: var(--mtn-hover-yellow);
}

.carousel-control-prev,
.carousel-control-next {
  background-color: var(--mtn-light-gray);
  width: 6vh;
  height: 6vh;
  border-radius: 30%;
  top: 30%;
  transform: translateY(-50%);
}

@media (min-width: 500px) {
  .carousel-item {
    margin-right: 0;
    flex: 0 0 17.333333%;
    display: block;
  }
  .carousel-inner {
    display: flex;
  }
  #unSubscribeBtn {
    margin-top: 10px;
  }
  .card img {
    height: 140px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
  }
  .card .img-wrapper {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
  }
}

@media (max-width: 539px) {
  .card .img-wrapper {
    border-radius: 25px;
  }
  #topcont {
    margin-top: -50px;
  }
  #headerr {
    height: 30px;
  }
  .carousel-item {
    margin-right: 0;
    flex: 0 0 33.333333%;
    display: block;
  }
  .carousel-inner {
    display: flex;
  }
  .card img {
    height: 140px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
  }
  .card .img-wrapper {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
  }
}

p {
  color: var(--mtn-dark-gray);
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Marhey', cursive;
}

a, a:hover {
  text-decoration: none !important;
}

.hero {
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}



/* Responsive Design Utilities */

/* Bootstrap-style responsive breakpoints */
@media (min-width: 500px) {
  .carousel-item {
    margin-right: 0;
    flex: 0 0 17.333333%;
    display: block;
  }
  
  .carousel-inner {
    display: flex;
  }
  
  .card img {
    height: 140px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
  }
  
  .card .img-wrapper {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
  }
}

@media (max-width: 539px) {
  .card .img-wrapper {
    border-radius: 25px;
  }
  
  #topcont {
    margin-top: -50px;
  }
  
  #headerr {
    height: 30px;
  }
  
  .carousel-item {
    margin-right: 0;
    flex: 0 0 33.333333%;
    display: block;
  }
  
  .carousel-inner {
    display: flex;
  }
  
  .card img {
    height: 140px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
  }
  .card .img-wrapper {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
  }
}

p {
  color: var(--mtn-dark-gray);
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Marhey', cursive;
}

a, a:hover {
  text-decoration: none !important;
}

.hero {
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.top-bar {
  padding: .5rem 0;
  background: var(--mtn-light-gray);
}
.top-bar a {
  color: var(--mtn-dark-gray);
}


/* Sticky Navigation Wrapper */
.sticky-wrapper {
  position: relative;
  z-index: 100;
  width: 100%;
}



.sticky-wrapper .shrink {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

/* Responsive Design Utilities */

/* Bootstrap-style responsive breakpoints */
@media (min-width: 500px) {
  .carousel-item {
    margin-right: 0;
    flex: 0 0 17.333333%;
    display: block;
  }
  
  .carousel-inner {
    display: flex;
  }
}

@media (max-width: 539px) {
  #topcont {
    margin-top: -50px;
  }
  
  #headerr {
    height: 30px;
  }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  background-color: var(--mtn-primary-yellow);
  width: 6vh;
  height: 6vh;
  border-radius: 30%;
  top: 30%;
  transform: translateY(-50%);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: var(--mtn-secondary-yellow);
}

.carousel-inner {
  padding: 1em;
}

/* Card Styles */
.card {
  width: 170px;
  margin: 0 0.5em;
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  border: none;
  border-radius: 25px;
  background: var(--mtn-black);
  color: var(--mtn-white);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 2px 8px 15px 0 rgba(255, 204, 0, 0.3);
  transition: all 0.3s ease;
}

.card .card-body {
  color: var(--mtn-white);
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

.card .card-title {
  color: var(--mtn-primary-yellow);
  font-family: 'Marhey', cursive;
}

@media (max-width: 991.98px) {
  .sticky-wrapper .shrink {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
}

/* --- End MTN layout overrides --- */

/* --- Music Player Styles (from playlist.html) --- */
*:focus {
  outline: none;
}

#app-cover {
  position: fixed;
  bottom: 0;
  bottom: 10px;
  right: 0;
  left: 0;
  height: 100px;
  margin: -4px auto;
}

#bg-artwork {
  position: fixed;
  top: -30px;
  right: -30px;
  bottom: -30px;
  left: -30px;
  background-image: url("https://raw.githubusercontent.com/himalayasingh/music-player-1/master/img/_1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
  -webkit-filter: blur(40px);
  filter: blur(40px);
  z-index: 1;
}

#bg-layer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #fff;
  opacity: 0.51;
  z-index: 2;
}

#player {
  position: relative;
  height: 100%;
  z-index: 3;
}

#player-track {
  position: absolute;
  top: 0;
  right: 15px;
  left: 15px;
  padding: 13px 22px 10px 184px;
  background-color: #fff7f7;
  border-radius: 15px 15px 0 0;
  transition: 0.3s ease top;
  z-index: 1;
}

#player-track.active {
  top: -92px;
}

#album-name {
  color: #54576f;
  font-size: 17px;
  font-weight: bold;
}

#track-name {
  color: #acaebd;
  font-size: 13px;
  margin: 2px 0 13px 0;
}

#track-time {
  height: 12px;
  margin-bottom: 3px;
  overflow: hidden;
}

#current-time {
  float: left;
}

#track-length {
  float: right;
}

#current-time,
#track-length {
  color: transparent;
  font-size: 11px;
  background-color: #ffe8ee;
  border-radius: 10px;
  transition: 0.3s ease all;
}

#track-time.active #current-time,
#track-time.active #track-length {
  color: var(--mtn-primary-yellow);
  background-color: transparent;
}

#s-area,
#seek-bar {
  position: relative;
  height: 4px;
  border-radius: 4px;
}

#s-area {
  background-color: #ffe8ee;
  cursor: pointer;
}

#ins-time {
  position: absolute;
  top: -29px;
  color: #fff;
  font-size: 12px;
  white-space: pre;
  padding: 5px 6px;
  border-radius: 4px;
  display: none;
}

#s-hover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  opacity: 0.2;
  z-index: 2;
}

#ins-time,
#s-hover {
  background-color: var(--mtn-primary-yellow);
}

#seek-bar {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background-color: var(--mtn-primary-yellow);
  transition: 0.2s ease width;
  z-index: 1;
}

#player-content {
  position: relative;
  height: 100%;
  background-color: #fff;
  box-shadow: 0 30px 80px #656565;
  border-radius: 15px;
  z-index: 2;
}

#album-art {
  position: absolute;
  top: -40px;
  width: 115px;
  height: 115px;
  margin-left: 40px;
  transform: rotateZ(0);
  transition: 0.3s ease all;
  box-shadow: 0 0 0 10px #fff;
  border-radius: 50%;
  overflow: hidden;
}

#album-art.active {
  top: -60px;
  box-shadow: 0 0 0 4px #fff7f7, 0 30px 50px -15px #afb7c1;
}

#album-art:before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  width: 20px;
  height: 20px;
  margin: -10px auto 0 auto;
  background-color: #d6dee7;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #fff;
  z-index: 2;
}

#album-art img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: -1;
}

#album-art img.active {
  opacity: 1;
  z-index: 1;
}

#album-art.active img.active {
  z-index: 1;
  animation: rotateAlbumArt 3s linear 0s infinite forwards;
}

@keyframes rotateAlbumArt {
  0% {
    transform: rotateZ(0);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

#buffer-box {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 13px;
  color: #1f1f1f;
  font-size: 13px;
  font-family: Helvetica;
  text-align: center;
  font-weight: bold;
  line-height: 1;
  padding: 6px;
  margin: -12px auto 0 auto;
  background-color: rgba(255, 255, 255, 0.19);
  opacity: 0;
  z-index: 2;
}

#album-art img,
#buffer-box {
  transition: 0.1s linear all;
}

#album-art.buffering img {
  opacity: 0.25;
}

#album-art.buffering img.active {
  opacity: 0.8;
  -webkit-filter: blur(2px);
  filter: blur(2px);
}

#album-art.buffering #buffer-box {
  opacity: 1;
}

#player-controls {
  width: 250px;
  height: 100%;
  margin: 0 5px 0 141px;
  float: right;
  overflow: hidden;
}

.control {
  width: 20.333%;
  float: right;
  margin-right: 10px;
  padding: 12px 0;
}

.button {
  width: 26px;
  height: 26px;
  margin: 25px;
  background-color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.button i {
  display: block;
  color: #d6dee7;
  font-size: 26px;
  text-align: center;
  line-height: 1;
}

.button,
.button i {
  transition: 0.2s ease all;
}

.button:hover {
  background-color: var(--mtn-primary-yellow);
}

.button:hover i {
  color: #fff;
}

/* Playlist Cards */
.cardd {
  margin: 10px;
  padding: 30px;
  width: 96%;
  background: white;
  border-radius: 25px;
  box-shadow: 0 4px 8px 0 rgba(255, 204, 0, 0.2), 0 6px 20px 0 rgba(255, 204, 0, 0.19);
  transition: all 0.3s ease;
}

.cardd:hover {
  box-shadow: 0 8px 25px rgba(255, 204, 0, 0.3);
  background-color: var(--mtn-light-gray);
  color: var(--mtn-black);
  text-decoration: none;
  transform: translateY(-3px);
}

.col-md-2, .col-md-10 {
  padding: 0px;
}

.titll {
  width: 60%;
  padding-left: 20px;
}

.col-md-12 {
  padding-left: 10px;
}

.title {
  font-size: 20px;
  color: var(--mtn-dark-gray);
  margin-bottom: 1px;
  margin-top: 8px;
  text-align: right;
  font-family: 'Marhey', cursive;
}

.titlle {
  font-size: 16px;
  color: #5b5c5b;
  text-align: right;
  margin-top: 10px;
  font-family: 'Marhey', cursive;
}

.cimg {
  padding: 20px;
  width: auto;
  height: inherit;
  max-height: 100px;
  max-width: 35%;
  min-width: 35%;
  min-height: 70%;
  float: right;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  border-top-left-radius: 25px;
}

@media only screen and (min-width: 600px) {
  .titl {
    float: right;
  }
  .cimg {
    padding: 30px;
    margin-top: 0px;
    max-height: 100px;
    max-width: 80%;
    min-width: 80%;
  }
  .cardd {
    padding: 30px;
    width: 96%;
    margin: 30px;
  }
}

/* --- Video Player Styles (from video.html) --- */
.container-player {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

#mediaPlayer {
  position: relative;
  background: var(--mtn-black);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.lds-ring {
  display: inline-block;
  position: absolute;
  width: 80px;
  height: 80px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid var(--mtn-primary-yellow);
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--mtn-primary-yellow) transparent transparent transparent;
}

.lds-ring div:nth-child(1) { animation-delay: -0.45s; }
.lds-ring div:nth-child(2) { animation-delay: -0.3s; }
.lds-ring div:nth-child(3) { animation-delay: -0.15s; }

@keyframes lds-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#media-video {
  width: 100%;
  height: auto;
  display: block;
}

.video-controls-hidden {
  display: none;
}

#controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#controls button {
  background: transparent;
  border: none;
  color: var(--mtn-primary-yellow);
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

#controls button:hover {
  background-color: rgba(255, 204, 0, 0.2);
  color: var(--mtn-white);
}

#progressBar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}

#progress {
  height: 100%;
  background: var(--mtn-primary-yellow);
  width: 0;
  transition: width 0.3s ease;
}

#timer {
  color: var(--mtn-white);
  font-size: 14px;
  font-family: 'Marhey', cursive;
}

#playlist {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* Shadow utilities */
.shadow-1:before,
.shadow-1:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: inherit;
  height: inherit;
  z-index: -2;
  box-sizing: border-box;
}

/* --- End Music Player and Video Player Styles --- */

/* --- Essential Bootstrap Classes for Layout --- */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  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; }
}


.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

.col-md-2, .col-md-8, .col-md-10, .col-md-12 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

.align-items-center { align-items: center; }
.position-relative { position: relative; }
.d-inline-block { display: inline-block; }
.d-none { display: none; }
.text-right { text-align: right; }
.text-black { color: var(--mtn-black); }
.ml-auto { margin-left: auto; }
.mt-3 { margin-top: 1rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.h3 { font-size: 1.75rem; }

@media (min-width: 992px) {
  .d-lg-block { display: block !important; }
  .d-lg-none { display: none !important; }
}

/* Ensure proper column padding */
[class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* FontAwesome icon replacements for essential icons */
.fas, .fa {
  font-style: normal;
  font-weight: 900;
  display: inline-block;
}

.fa-pause::before { content: "⏸"; }
.fa-play::before { content: "▶"; }
.fa-volume-off::before { content: "🔇"; }
.fa-volume-up::before { content: "🔊"; }
.fa-expand::before { content: "⛶"; }
.icon-menu::before { content: "☰"; }
.icon-close2::before { content: "✕"; }

/* --- End Essential Bootstrap and Icon Classes --- */

/* --- MTN THEME NAVIGATION AND BUTTON COLORS ONLY --- */
:root {
  --mtn-primary: #FFCC00;
  --mtn-secondary: #000;
}

/* Navigation Links */
.nav-link {
  color: #FFCC00 !important;
  font-family: 'Marhey', cursive;
  font-size: 22px;
}

.nav-link:hover {
  color: #000 !important;
}

#subscribeBtn, #unSubscribeBtn {
  background-color: #FFCC00 !important;
  color: #000 !important;
  border: none !important;
  font-family: 'Marhey', cursive;
  font-size: 16px;
}

.btn, button {
  background-color: #FFCC00;
  color: #000;
  border-radius: 25px;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover, button:hover {
  background-color: #ffe066;
  color: #000;
}


.site-logo img {
  max-width: 70px;
}

.mtn-header {
  background: linear-gradient(135deg, #FFCC00 0%, #ffdb4d 100%);
  color: #000;
  box-shadow: 0 2px 10px rgba(255, 204, 0, 0.3);
}

/* Remove all .card, .card-title, .card img, .container-player, .video-card, .cardd, music player, and playlist overrides to restore original layout */
/* --- END --- */