/* ===================================
   COVERFLOW SLIDER STYLES
   =================================== */

/* Container */
.custom-coverflow-container{
  overflow: hidden;
}
.custom-coverflow {
  width: 100%;
  padding: 0px 0;
  position: relative;
}

/* slide base */
.custom-coverflow .swiper-slide {
  width: 400px;
  height: 450px;
  transition: transform .5s ease, opacity .5s ease;
  position: relative;
}

/* images */
.custom-coverflow .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;

  /* BLACK SOFT SHADOW */
box-shadow: 0px 0px 13px 2px rgba(0,0,0,0.93);
-webkit-box-shadow: 0px 0px 13px 2px rgba(0,0,0,0.93);
-moz-box-shadow: 0px 0px 13px 2px rgba(0,0,0,0.93);
}

/* fade/zoom */
.custom-coverflow .swiper-slide {
  opacity: 1;
  transform: scale(.8);
}

.custom-coverflow .swiper-slide.swiper-slide-active {
  opacity: 1;
  transform: scale(1.5) !important;
}

.custom-coverflow .swiper-slide-next,
.custom-coverflow .swiper-slide-prev {
  opacity: 1;
  transform: scale(.9);
}

/* ---- ARROWS OUTSIDE LIKE YOUR IMAGE ---- */

.custom-arrow {
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0,0,0,0.35);

  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-arrow::after {
  font-size: 13px;
  color: #000;
  font-weight: bold;
}

/* POSITION ARROWS FAR OUTSIDE SLIDER */
.swiper-button-prev {
  left: -80px;  /* Move arrow outside */
}

.swiper-button-next {
  right: -80px; /* Move arrow outside */
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .custom-coverflow .swiper-slide {
    width: 300px;
    height: 220px;
  }

  .swiper-button-prev { left: -50px; }
  .swiper-button-next { right: -50px; }
}

@media (max-width: 767px) {
  .custom-coverflow .swiper-slide {
    width: 220px;
    height: 160px;
  }

  .custom-arrow {
    width: 40px;
    height: 40px;
  }

  .swiper-button-prev { left: 0px; }
  .swiper-button-next { right: 0px; }
}

/* ===================================
   TIMELINE SLIDER STYLES
   =================================== */

.ti.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: "Barlow", Sans-serif;
}

.timeline-header {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 60px;
  letter-spacing: 3px;
}

.timeline {
  display: flex;
  gap: 0;
  align-items: flex-start;
  position: relative;
}

.timeline-line-wrapper {
  width: 120px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  justify-content: center;
  min-height: auto;
}

.timeline-line {
  width: 15px;
  background: #fa0101;
  position: absolute;
  top: 60px;
  bottom: 60px;
  height: auto;
  z-index: 1;
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 2;
  align-items: flex-start;
  margin-left: -120px;
  padding: 0;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 30px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.timeline-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #f90101;
  overflow: hidden;
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
  position: relative;
  z-index: 3;
  background: #000;
}

.timeline-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-content {
  flex: 1;
  opacity: 0.6;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Barlow", Sans-serif;
}

.timeline-title {
  font-size: 18px;
  font-style: italic;
  color: #999;
  margin-bottom: 10px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Barlow", Sans-serif;
}

.timeline-description {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Barlow", Sans-serif;
}

/* Active state */
.timeline-item.active .timeline-circle {
  width: 300px;
  height: 300px;
  border-width: 4px;
  border-color: #fff;
  box-shadow: 0 8px 40px rgba(220, 38, 38, 0.5);
  margin-left: -89px;
  margin-right: 40px;
}

.timeline-item.active .timeline-content {
  opacity: 1;
}

.timeline-item.active .timeline-title {
  font-size: 28px;
  color: #fff;
  font-weight: normal;
  font-style: italic;
  background: linear-gradient(135deg, rgba(60, 60, 60, 0.8) 0%, rgba(40, 40, 40, 0.6) 100%);
  padding: 13px 20px;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
  position: relative;
}

.timeline-item.active .timeline-description {
  max-height: 200px;
  opacity: 1;
  margin-top: 15px;
}

.timeline-item:not(.active) .timeline-content {
  padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .timeline {
      flex-direction: row;
      justify-content: flex-start;
  }

  .timeline-line-wrapper {
      width: 100px;
  }

  .timeline-line {
      top: 50px;
      bottom: 50px;
  }

  .timeline-items {
      margin-left: -100px;
  }

  .timeline-item {
      flex-direction: column;
      text-align: center;
      max-width: 400px;
      align-items: center;
  }

  .timeline-circle {
      width: 100px;
      height: 100px;
  }

  .timeline-item.active .timeline-circle {
      width: 180px;
      height: 180px;
      margin-left: -40px;
      margin-right: 40px;
      margin-bottom: 20px;
  }

  .timeline-item.active .timeline-title {
      font-size: 24px;
  }

  .timeline-header {
      font-size: 28px;
  }

  .timeline-content {
      margin-left: 0;
      width: 100%;
  }

  .timeline-item.active .timeline-content {
      width: 100%;
  }
}

@media (max-width: 480px) {
  .timeline-line-wrapper {
      width: 80px;
  }

  .timeline-line {
      top: 40px;
      bottom: 40px;
      display: none;
  }

  .timeline-items {
      margin-left: -80px;
  }

  .timeline-circle {
      width: 80px;
      height: 80px;
  }

  .timeline-item.active .timeline-circle {
      width: 150px;
      height: 150px;
      margin-left: 0px;
      margin-right: 0px;
      margin-bottom: 0px;
  }

  .timeline-item.active .timeline-title {
      font-size: 20px;
  }

  .timeline-header {
      font-size: 24px;
      margin-bottom: 40px;
  }

  .timeline-item.active .timeline-content {
      padding: 0px;
  }
}




/* ===================================
   VIDEO CAROUSEL STYLES
   =================================== */

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 38px;
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 70px 20px;
}

.carousel {
  display: flex;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 20px;
  padding: 20px 0;
}

.carousel-container .carousel-item {
  flex: 0 0 calc(20% - 14px);
  cursor: pointer;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  /*transform: scale(0.8);*/
}

.carousel-item.center {
  transform: scale(1.3);
  opacity: 1;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.carousel-item:hover {
  opacity: 1;
}

.carousel-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Navigation Arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left {
  left: 10px;
}

.nav-arrow.right {
  right: 10px;
}

.nav-arrow::before {
  content: '';
  width: 11px;
  height: 11px;
  border-top: 3px solid #424243;
  border-right: 3px solid #424243;
}

.nav-arrow.left::before {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.nav-arrow.right::before {
  transform: rotate(45deg);
  margin-right: 4px;
}

/* Video Popup Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.close-modal::before,
.close-modal::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: #fff;
}

.close-modal::before {
  transform: rotate(45deg);
}

.close-modal::after {
  transform: rotate(-45deg);
}

/* Carousel Responsive */
@media (max-width: 1200px) {
  .carousel-item {
    flex: 0 0 calc(25% - 15px) !important;
  }

  .carousel-item img {
    height: 250px;
  }

  .carousel-item.center {
    transform: scale(1.25);
  }
}

@media (max-width: 992px) {
  .carousel-item {
    flex: 0 0 calc(33.333% - 14px) !important;
  }

  .carousel-item img {
    height: 240px;
  }

  .carousel-item.center {
    transform: scale(1.2);
  }
}

@media (max-width: 768px) {
  .carousel-container {
    padding: 0 60px;
  }

  .carousel-item {
    flex: 0 0 calc(50% - 10px) !important;
  }

  .carousel-item img {
    height: 200px;
  }

  .carousel {
    gap: 15px;
  }

  .carousel-item.center {
    transform: scale(1.2);
  }

  .carousel-wrapper {
    padding: 0px 20px !important;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    padding: 0 50px;
  }

  .carousel-item img {
    height: 250px;
  }

  .carousel {
    gap: 32px;
  }

  .nav-arrow {
    width: 40px;
    height: 40px;
  }

  .video-modal-content {
    width: 95%;
  }

  .carousel-item.center {
    transform: scale(1);
  }

  .close-modal {
    width: 40px;
    height: 40px;
    top: 15px;
    right: 15px;
  }
}
