/* ================= RED STRIP ================= */
.bg-dark-red{
  background-color:#760303;
  min-height:60px;     /* 👈 minimum height */
  display:flex;
  align-items:center;
}


/* ================= BUTTON ================= */
.button {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 50px;
  padding: 15px 40px;
  border: none;
  color: #fff;
}

/* top start */
/* Outer full width */
.ticker-outer{
  width:100%;
  background:#000;
  padding:10px 0;
}

/* Desktop: center box */
.ticker-mask{
  width:50%;
  margin:0 auto;
  overflow:hidden;
  height:40px;
  display:flex;
  align-items:center;
  border:1px solid #5e4e02;
  border-radius:10px;
  background:#020202;
}



/* Tablet + Mobile: full width */
@media(max-width:991px){
  .ticker-mask{
    width:100%;
    border-radius:0;
  }
  
}

/* Track = 200% illusion */
.ticker-track{
  display:flex;
  width:max-content;
  white-space:nowrap;
  animation: marquee 18s linear infinite;
}

.ticker-track span{
  padding-right:60px;
  font-size:15px;
  font-weight:500;
  color:#fff;
}

/* TRUE continuous animation */
@keyframes marquee{
  0%{
    transform:translateX(0);
  }
  100%{
    transform:translateX(-50%);
  }
}


/* top end */

/* ================= SCROLLER BACKGROUND ================= */
.move {
  width: 100%;
  min-height: 450px;
  display: flex;
  align-items: center;

  background: linear-gradient(
    135deg,
    #121212 25%,
    #1a1a1a 25%,
    #1a1a1a 50%,
    #121212 50%,
    #121212 75%,
    #1a1a1a 75%,
    #1a1a1a
  );
  background-size: 40px 40px;
  animation: move-bg 4s linear infinite;
}

@keyframes move-bg {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

/* ================= SCROLLER CORE ================= */
.scroll-container {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.marquee-content-flex {
  display: flex;
  flex-shrink: 0;
  animation: scroll-left 25s linear infinite;
}

.scroll-container:hover .marquee-content-flex {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ================= IMAGES ================= */
.image-wrapper {
  position: relative;
  width: 700px;
  margin-right: 30px;
}

.image-wrapper img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid #bfa304;
}


.buy-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #DE0136;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 6px;
}

/* ================= COURSE HEADER ================= */

/* Our Courses */
/* ================= Our Courses Header ================= */
.courses-header {
  background: #760303;
  color: #fff;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.courses-header h1 {
  margin: 0;
}

/* ================= Container Course ================= */
.container-course {
  width: 100%;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(
    135deg,
    #292828 25%,
    #2d2c2c 25%,
    #1a1a1a 50%,
    #121212 50%,
    #121212 75%,
    #1a1a1a 75%,
    #1a1a1a
  );
  background-size: 40px 40px;
  animation: move 4s linear infinite;
}

@keyframes move {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

/* ================= RESPONSIVE ================= */
/* image mover */
@media (max-width: 991px) {
  .image-wrapper {
    width: 520px;     
    max-width: 92vw;
    margin-right: 20px;
  }
  .move{
    min-height: auto;
    padding: 20px 0;   
    align-items: flex-start;
  }
} 
/* ================= Hero Card ================= */
.hero-wrapper {
  width: 90%;
  margin: 0 auto;
  position: relative;

  border-left: 4px solid #28f000;
  border-top: 4px solid #28f000;
  border-radius: 18px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.7);
  background: #000;
  overflow: hidden;
}

.container-course .hero-wrapper:first-child {
  margin-top: 30px;
}

.hero-wrapper + .hero-wrapper {
  margin-top: 40px;
}

/* ================= Image ================= */
.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ================= Text Overlay ================= */
.course-text {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 40%;
  z-index: 2;
}

.course-text h2 {
  font-size: 34px;
  margin-bottom: 12px;
}

.course-text p {
  font-size: 16px;
  line-height: 1.6;
}

/* ================= Button ================= */
.button {
  margin-top: 10px;
  position: relative;
  color: #fff;
  background: linear-gradient(45deg, #0ce39a, #69007f, #fc0987);
  padding: 14px 25px;
  border-radius: 10px;
  font-size: 1.1em;
  border: none;
  cursor: pointer;
}

.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: #272727;
  border-radius: 9px;
}

.button span {
  position: relative;
  z-index: 1;
}

/* ================= Gradient Overlay ================= */
.hero-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.2),
    rgba(0,0,0,0)
  );
  z-index: 1;
}

.see-more-btn{
  display:none;
}
/* ================= TABLET & MOBILE (≤991px) ================= */
/* @media (max-width:991px) and (min-width:768px){

  .hero-image{
    height:420px;       
    object-fit:cover;     
    object-position:right center;  
  }

} */

/* ================= TABLET & MOBILE (≤991px) ================= */
@media (max-width:991px){

  .hero-wrapper{
    display:flex;
    flex-direction:column;
  }

  /* IMAGE TOP */
  .hero-image{
    width:100%;
    height:280px;               /* fixed height for crop */
    object-fit:cover;
    object-position:right center;  /* 👈 RIGHT SIDE FOCUS */
    order:1;
  }

  /* REMOVE OVERLAY */
  .hero-wrapper::after{
    display:none;
  }

  /* TEXT BELOW IMAGE */
  .course-text{
    position:relative;
    top:auto;
    left:auto;
    transform:none;
    max-width:100%;
    padding:25px;
    order:2;
    text-align:left;
  }

  /* BUTTON CENTER */
  .course-text .button{
    display:inline-block;
    margin:20px auto 0;
  }

  /* see more , see less options */
  .full-text{
    display:none;
  }

  .course-description{
    max-height:120px;
    overflow:hidden;
    position:relative;
  }

  .course-description.expanded{
    max-height:none;
  }

  .course-description.expanded .full-text{
    display:inline;
  }

  .see-more-btn{
    display:block;
    margin-top:10px;
    color:#6d0303;
    font-weight:bold;
    cursor:pointer;
    /* display:inline-block; */
  }

}





