.rrglobal-slider {
    max-width: 1200px;
    margin: 0 auto;
    background: #000;
}

.slider-main {
    margin-bottom: 10px;
}

.slider-main .slider-item {
    position: relative;
    height: 600px;
}

.slider-main .slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}

.slider-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #fff;
}

.slider-content p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.slider-button {
    display: inline-block;
    padding: 12px 30px;
    background: #e31837;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.slider-button:hover {
    background: #c41330;
    color: #fff;
}

/* Thumbnail Navigation Styles */
.slider-nav {
    padding: 0px 0;
    background: #000;
    width: 100%;
}

.slider-nav .slick-track {
    display: flex !important;
    width: 100% !important;
    transform: none !important;
    margin: 0 !important;
}

/* Make thumbnails equal width */
.slider-nav .slick-slide {
    flex: 1;
    width: 25% !important;
    margin: 0 !important;
    padding-right: 15px;
}

/* Remove padding from last slide */
.slider-nav .slick-slide:last-child {
    padding-right: 0;
}

.slider-nav .nav-item {
    position: relative;
    height: 100px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-sizing: border-box;
    border-radius: inherit;
    overflow: hidden;
}

.slider-nav .nav-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Active state styles */
.slider-nav .nav-item:hover {
    opacity: 0.9;
}

.slider-nav .slick-current .nav-item {
    opacity: 1;
    border: 2px solid #e31837;
}

/* Override border color from Elementor settings */
.elementor-widget-rrglobal-slider .slider-nav .slick-current .nav-item {
    border-color: #e31837 !important;
}

/* Main slider arrow styles */
.slick-arrow {
    position: absolute;
    transform: translateY(-50%);
    z-index: 1;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    border: none;
}

/* Arrow position variations */
.rrglobal-slider[data-settings*="arrow_position\":\"center\""] .slick-arrow {
    top: 50%;
}

.rrglobal-slider[data-settings*="arrow_position\":\"top\""] .slick-arrow {
    top: 20px;
}

.rrglobal-slider[data-settings*="arrow_position\":\"bottom\""] .slick-arrow {
    bottom: 20px;
    top: auto;
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .slider-main .slider-item {
        height: 400px;
    }

    .slider-nav .nav-item {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .slider-main .slider-item {
        height: 300px;
    }

    .slider-nav .nav-item {
        height: 60px;
    }
}

/* Add this to hide arrows when disabled */
.rrglobal-slider[data-settings*="showArrows\":false"] .slick-arrow {
    display: none !important;
} 

/* ======================= Button CSS ===========================*/
.visit-magazine-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-width: 2px;
    border-style: solid;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.btn-icon svg,
.btn-icon i {
    width: 18px;
    height: 18px;
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Initial state of icons */
.btn-icon svg:first-child,
.btn-icon i:first-child {
    opacity: 1;
    transform: translateX(0);
}

.btn-icon svg:nth-child(2),
.btn-icon i:nth-child(2) {
    opacity: 0;
    transform: translateX(-30px);
}

/* Hover animations */
.visit-magazine-btn:hover .btn-icon svg:first-child,
.visit-magazine-btn:hover .btn-icon i:first-child {
    transform: translateX(30px);
    opacity: 0;
}

.visit-magazine-btn:hover .btn-icon svg:nth-child(2),
.visit-magazine-btn:hover .btn-icon i:nth-child(2) {
    transform: translateX(0);
    opacity: 1;
    animation: slideIn 0.3s forwards;
    animation-delay: 0.15s;
}

@keyframes slideIn {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Icon Position Styles */
.icon-position-before .visit-magazine-btn {
    flex-direction: row-reverse;
}

.icon-position-after .visit-magazine-btn {
    flex-direction: row;
}

/* Button Wrapper */
.button-wrapper {
    display: block;
    width: 100%;
}

.button-wrapper .visit-magazine-btn {
    display: inline-flex;
}

/* Hero Slider Style */
*{
    margin: 0;
    padding: 0;
}

body{
    font-family: "Houschka Pro";
}

/* Font face declaration for Houschka Pro */
@font-face {
    font-family: "Houschka Pro";
    src: url("fonts/HouschkaPro-Medium.woff2") format("woff2"),
         url("fonts/HouschkaPro-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Houschka Pro";
    src: url("fonts/HouschkaPro-Light.woff2") format("woff2"),
         url("fonts/HouschkaPro-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
}

/* Add the bold font face declaration if not already present */
@font-face {
    font-family: "Houschka Pro";
    src: url("fonts/HouschkaPro-Bold.woff2") format("woff2"),
         url("fonts/HouschkaPro-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

.slide {
    display: none;
    width: 100vw;
    height: 100vh;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    transition: transform 0.8s ease-in-out, scale 0.8s ease-in-out;
}

.slide.active img {
    transform: translateX(-50%) scale(1);
}

.slide:not(.active) img {
    transform: translateX(-50%) scale(1.1);
}

/* Content wrapper to center content and progress bar */
.content-wrapper {
    position: relative;
    max-width: 1400px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1400px;
    width: 90%;
    z-index: 2;
    padding: 0 20px;
    color: #fff;
    z-index: 3;
}

.slide-title,
.slide-description,
.slide-button {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.slider-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: "Houschka Pro";
  }
  
  .btn-text {
    font-weight: 500;
  }
  
  .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
  }
  
  .btn-icon svg {
    position: absolute;
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
  }
  
  .slider-btn:hover .btn-icon svg {
    transform: translateX(30px);
  }
  
  .slider-btn .btn-icon svg:nth-child(2) {
    transform: translateX(-30px);
    opacity: 0;
  }
  
  .slider-btn:hover .btn-icon svg:nth-child(1) {
    opacity: 0;
  }
  
  .slider-btn .btn-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    z-index: 1;
  }
  
  /* Add this for the arrow coming in from left effect */
  
  @keyframes slideIn {
    0% {
      transform: translateX(-30px);
      opacity: 0;
    }
  
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  .slider-btn:hover .btn-icon::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230891b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'%3E%3C/path%3E%3Cpath d='m12 5 7 7-7 7'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: slideIn 0.3s forwards;
    animation-delay: 0.15s;
  }

/* Slider title styles */
.slide-title {
    color: #FFF;
    font-family: "Houschka Pro", sans-serif;
    font-size: 64px;
    font-style: normal;
    font-weight: 500;
    line-height: 115%;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

/* Slider subtitle styles */
.slide-description {
    color: #FFF;
    font-family: "Houschka Pro", sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 300;
    line-height: 115%;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.slide-button {
    display: inline-flex;
    align-items: center;
    color: #FFF;
    text-decoration: none;
    font-family: "Houschka Pro", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    transition: all 0.3s ease;
    position: relative;
    margin-top: 40px;
}

.slide-button::after {
    content: '';
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M14 5L21 12M21 12L14 19M21 12H3" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    width: 20px;
    height: 20px;
    margin-left: -10px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.slide-button:hover {
    color: rgba(255, 255, 255, 0.9);
}

.slide-button:hover::after {
    opacity: 1;
    transform: translateX(10px);
    margin-left: 0;
}

.slide.active .slide-title,
.slide.active .slide-description,
.slide.active .slide-button {
    opacity: 1;
    transform: translateY(0);
}

/* Remove duplicate overlay styles and keep only these */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    transition: background 0.3s ease;
    pointer-events: none;
}

.elementor-element-edit-mode .slide::before {
    transition: none;
}

.slide[data-overlay-type="color"]::before {
    background: var(--overlay-background);
}

.slide[data-overlay-type="gradient"]::before {
    background: var(--overlay-gradient);
}

.slide.active::before {
    opacity: 1;
}

.progress-bar {
    display: flex;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    z-index: 4;
    gap: 15px;
}

.indicator-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 10px;
    flex: 1;
}

/* Update indicator title styles */
.indicator-title {
    color: rgba(255, 255, 255, 0.7);
    font-family: "Houschka Pro", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    opacity: 0.7;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.elementor-editor-active .indicator-group:hover .indicator-title {
    opacity: 1;
    color: #ffffff;
}

.progress-segment {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.indicator-group:hover .indicator-title {
    opacity: 1;
}

/* Add tooltip styles */
.progress-segment::after {
    content: attr(data-title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    margin-bottom: 10px;
}

/* Add preview styles */
.slide-preview {
    position: absolute;
    bottom: calc(100% + 20px);
    left: 0;
    width: 250px;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Preview triangle pointer */
.slide-preview::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
    border-radius: 2px;
}

.progress-segment:hover + .slide-preview,
.progress-segment:hover .indicator-title {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.indicator-group:hover .slide-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Update the fill style */
.fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--indicator-gradient-start, #E38E38) 0%, var(--indicator-gradient-end, #CF3830) 100%);
    transition: width 5s linear;
    border-radius: 4px;
}

/* Add hover effect for the gradient */
.progress-segment:hover .fill {
    opacity: 0.8;
}

/* Active state */
.indicator-group.active .fill {
    opacity: 1;
}

.completed .fill {
    width: 100%;
}

/* Responsive Styles */
@media screen and (max-width: 1440px) {
    .progress-bar {
        width: 95%;
    }
    .slide-title {
        font-size: 56px;
    }
    .slide-description {
        font-size: 42px;
    }
}

@media screen and (max-width: 1024px) {
    .indicator-group {
        padding: 0 8px;
        gap: 8px;
    }

    .indicator-title {
        font-size: 12px;
    }

    .slide-preview {
        width: 200px;
        height: 120px;
    }

    .slide-title {
        font-size: 48px;
    }
    .slide-description {
        font-size: 36px;
    }
}

@media screen and (max-width: 768px) {
    .progress-bar {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        gap: 6px;
        bottom: 20px;
    }

    .indicator-group {
        flex: 0.2;
        transition: flex 0.3s ease;
        padding: 0;
        gap: 0;
    }

    .indicator-group.active {
        flex: 1;
    }

    .indicator-title {
        display: none;
    }

    .progress-segment {
        height: 3px;
    }

    .slide-preview {
        display: none;
    }

    .slide-title {
        font-size: 42px;
    }
    .slide-description {
        font-size: 32px;
    }
}

@media screen and (max-width: 480px) {
    .progress-bar {
        padding: 0 10px;
        gap: 4px;
        bottom: 15px;
    }

    .indicator-group {
        flex: 0.15;
        padding: 0;
    }

    .indicator-group.active {
        flex: 0.8;
    }

    .progress-segment {
        height: 3px;
    }

    .slide-title {
        font-size: 36px;
    }
    .slide-description {
        font-size: 28px;
    }
}

/* For very small devices */
@media screen and (max-width: 320px) {
    .indicator-title {
        display: none;
    }

    .progress-bar {
        bottom: 15px;
    }
}

/* Add Ken Burns effect */
@keyframes kenBurns {
    0% {
        transform: translateX(-50%) scale(1);
    }
    100% {
        transform: translateX(-50%) scale(1.1);
    }
}

/* Button icon styles */

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

.slide {
    display: none;
    width: 100vw;
    height: 100vh;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    transition: transform 0.8s ease-in-out, scale 0.8s ease-in-out;
}

.slide.active img {
    transform: translateX(-50%) scale(1);
}

.slide:not(.active) img {
    transform: translateX(-50%) scale(1.1);
}

/* Content wrapper to center content and progress bar */
.content-wrapper {
    position: relative;
    max-width: 1400px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1400px;
    width: 90%;
    z-index: 2;
    padding: 0 20px;
    color: #fff;
    z-index: 3;
}

.slide-title,
.slide-description,
.slide-button {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.slider-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: "Houschka Pro";
  }
  
  .btn-text {
    font-weight: 500;
  }
  
  .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
  }
  
  .btn-icon svg {
    position: absolute;
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
  }
  
  .slider-btn:hover .btn-icon svg {
    transform: translateX(30px);
  }
  
  .slider-btn .btn-icon svg:nth-child(2) {
    transform: translateX(-30px);
    opacity: 0;
  }
  
  .slider-btn:hover .btn-icon svg:nth-child(1) {
    opacity: 0;
  }
  
  .slider-btn .btn-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    z-index: 1;
  }
  
  /* Add this for the arrow coming in from left effect */
  
  @keyframes slideIn {
    0% {
      transform: translateX(-30px);
      opacity: 0;
    }
  
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  .slider-btn:hover .btn-icon::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230891b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'%3E%3C/path%3E%3Cpath d='m12 5 7 7-7 7'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: slideIn 0.3s forwards;
    animation-delay: 0.15s;
  }

/* Slider title styles */
.slide-title {
    color: #FFF;
    font-family: "Houschka Pro", sans-serif;
    font-size: 64px;
    font-style: normal;
    font-weight: 500;
    line-height: 115%;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

/* Slider subtitle styles */
.slide-description {
    color: #FFF;
    font-family: "Houschka Pro", sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 300;
    line-height: 115%;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.slide-button {
    display: inline-flex;
    align-items: center;
    color: #FFF;
    text-decoration: none;
    font-family: "Houschka Pro", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    transition: all 0.3s ease;
    position: relative;
    margin-top: 40px;
}

.slide-button::after {
    content: '';
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M14 5L21 12M21 12L14 19M21 12H3" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    width: 20px;
    height: 20px;
    margin-left: -10px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.slide-button:hover {
    color: rgba(255, 255, 255, 0.9);
}

.slide-button:hover::after {
    opacity: 1;
    transform: translateX(10px);
    margin-left: 0;
}

.slide.active .slide-title,
.slide.active .slide-description,
.slide.active .slide-button {
    opacity: 1;
    transform: translateY(0);
}


/* Add a dark overlay to make text more readable */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 45%, rgba(0, 0, 0, 0.60) 96%), 
                linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%);
    z-index: 1;
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
}

.slide.active::before {
    opacity: 1;
}

.progress-bar {
    display: flex;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    z-index: 4;
    gap: 15px;
}

.indicator-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 10px;
    flex: 1;
}

/* Update indicator title styles */
.indicator-title {
    color: #FFF;
    font-family: "Houschka Pro", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    text-transform: capitalize;
}

.progress-segment {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.indicator-group:hover .indicator-title {
    opacity: 1;
}

/* Add tooltip styles */
.progress-segment::after {
    content: attr(data-title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    margin-bottom: 10px;
}

/* Add preview styles */
.slide-preview {
    position: absolute;
    bottom: calc(100% + 20px);
    left: 0;
    width: 250px;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Preview triangle pointer */
.slide-preview::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
    border-radius: 2px;
}

.progress-segment:hover + .slide-preview,
.progress-segment:hover .indicator-title {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.indicator-group:hover .slide-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #E38E38 0%, #CF3830 100%);
    transition: width 5s linear;
}

.completed .fill {
    width: 100%;
}

/* Responsive Styles */
@media screen and (max-width: 1440px) {
    .progress-bar {
        width: 95%;
    }
    .slide-title {
        font-size: 56px;
    }
    .slide-description {
        font-size: 42px;
    }
}

@media screen and (max-width: 1024px) {
    .indicator-group {
        padding: 0 8px;
        gap: 8px;
    }

    .indicator-title {
        font-size: 12px;
    }

    .slide-preview {
        width: 200px;
        height: 120px;
    }

    .slide-title {
        font-size: 48px;
    }
    .slide-description {
        font-size: 36px;
    }
}

@media screen and (max-width: 768px) {
    .progress-bar {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        gap: 6px;
        bottom: 20px;
    }

    .indicator-group {
        flex: 0.2;
        transition: flex 0.3s ease;
        padding: 0;
        gap: 0;
    }

    .indicator-group.active {
        flex: 1;
    }

    .indicator-title {
        display: none;
    }

    .progress-segment {
        height: 3px;
    }

    .slide-preview {
        display: none;
    }

    .slide-title {
        font-size: 42px;
    }
    .slide-description {
        font-size: 32px;
    }
}

@media screen and (max-width: 480px) {
    .progress-bar {
        padding: 0 10px;
        gap: 4px;
        bottom: 15px;
    }

    .indicator-group {
        flex: 0.15;
        padding: 0;
    }

    .indicator-group.active {
        flex: 0.8;
    }

    .progress-segment {
        height: 3px;
    }

    .slide-title {
        font-size: 36px;
    }
    .slide-description {
        font-size: 28px;
    }
}

/* For very small devices */
@media screen and (max-width: 320px) {
    .indicator-title {
        display: none;
    }

    .progress-bar {
        bottom: 15px;
    }
}

/* Add Ken Burns effect */
@keyframes kenBurns {
    0% {
        transform: translateX(-50%) scale(1);
    }
    100% {
        transform: translateX(-50%) scale(1.1);
    }
}
