/* ============================================
   HERO SLIDER & SWIPER STYLES
   ============================================ */

/* Hero Slider Container */
.gr-hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    overflow: visible;
}

.gr-hero-slider .swiper-slide {
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
    min-height: 700px;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Fallback gradient backgrounds */
    background-color: #1a1a2e;
    background-image: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Slide Content */
.gr-slide-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    padding: 60px 0;
    opacity: 1;
    transform: none;
}

.gr-slide-content * {
    will-change: transform, opacity;
}

.gr-slide-subtitle {
    color: #fff;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
}

.gr-slide-title {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.gr-slide-description {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #ddd;
    line-height: 1.6;
}

.gr-slide-btn {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background: linear-gradient(180deg, #DA1B49 0%, #92294A 100%);
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.gr-slide-btn:hover {
    background: linear-gradient(180deg, #c4004a 0%, #7a1f3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(218, 27, 73, 0.3);
}

.gr-slide-btn i {
    background-color: #841738;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Swiper Pagination Styles */
.gr-hero-slider .swiper-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 30px 0 0px 0;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    min-height: 80px;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
    scroll-behavior: smooth !important;
}

.gr-hero-slider .swiper-pagination::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera */
}

.gr-hero-slider .swiper-pagination-bullet {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin: 0 15px !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: rgb(255, 255, 255) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: none !important;
    outline: none !important;
    position: relative !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    min-width: fit-content !important;
    overflow: visible !important;
}

.gr-hero-slider .swiper-pagination-bullet:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px) !important;
}

.gr-hero-slider .swiper-pagination-bullet-active {
    color: #ffffff !important;
    font-weight: 600 !important;
    transform: translateY(-3px) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    border-radius: 0 !important;
    position: relative !important;
    overflow: visible !important;
}

/* Progress Bar Styles - Enhanced Visual Design Above Labels */
.gr-hero-slider .swiper-pagination-bullet {
    position: relative !important;
    overflow: visible !important;
}

.gr-hero-slider .swiper-pagination-bullet .progress-bar-fill {
    position: absolute !important;
    top: -18px !important;
    left: 0 !important;
    width: 0%; /* Remove !important to allow JavaScript to override */
    height: 5px !important;
    background: linear-gradient(90deg, #e6005c 0%, #ff1a6b 100%) !important;
    border-radius: 3px !important;
    z-index: 15 !important;
    box-shadow: 0 3px 8px rgba(230, 0, 92, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    transition: none !important;
    opacity: 0 !important; /* Hide by default */
    display: block !important;
    visibility: hidden !important; /* Hide by default */
    /* Add subtle glow effect */
    filter: drop-shadow(0 0 6px rgba(230, 0, 92, 0.3)) !important;
    /* Ensure width can be changed */
    min-width: 0 !important;
    max-width: 100% !important;
    /* Force visibility */
    pointer-events: none !important;
    /* Ensure it's always visible even at 0% width */
    border: 1px solid rgba(230, 0, 92, 0.5) !important;
    /* Force width to be changeable */
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Show progress bar only on active slide */
.gr-hero-slider .swiper-pagination-bullet-active .progress-bar-fill {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Progress bar background track */
.gr-hero-slider .swiper-pagination-bullet::before {
    content: '' !important;
    position: absolute !important;
    top: -18px !important;
    left: 0 !important;
    width: 100% !important;
    height: 5px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 3px !important;
    z-index: 14 !important;
    opacity: 0.6 !important;
    display: block !important;
    visibility: visible !important;
}

/* Progress bar starts at 0% width and fills to 100% when animation starts */

/* Progress bar animation will fill from 0% to 100% width */

/* Progress bar animation is now controlled by JavaScript for precise timing */

/* JavaScript now uses setProperty with 'important' to override CSS */

/* Pulse animation removed - clean progress bar only */

/* Pagination Container */
.gr-pagination-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 30px 0 0px 0;
    overflow: visible !important;
    min-height: 80px;
}

.gr-pagination-container {
    overflow: visible !important;
    min-height: 100px; /* Increased to accommodate enhanced progress line above labels */
    padding-top: 60px; /* Add more space for enhanced progress line above labels */
    position: relative;
}

.gr-hero-slider .swiper-pagination {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    position: relative;
}

/* Ensure active bullet has proper positioning */
.gr-hero-slider .swiper-pagination-bullet-active {
    position: relative !important;
    z-index: 2 !important;
}

/* Pagination Scroll Container */
.pagination-scroll-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    padding: 30px 0 15px 0;
    overflow: visible !important;
    min-height: 80px;
}

.pagination-scroll-container .swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    overflow-y: visible !important;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
    padding: 0 20px;
}

/* Fade overlays for pagination */
.gr-pagination-container::before,
.gr-pagination-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 4;
    pointer-events: none;
}

.gr-pagination-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent);
}

.gr-pagination-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8), transparent);
}

/* Scroll Indicators */
.gr-pagination-scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    color: rgba(255, 255, 255, 0.7);
}

.gr-pagination-scroll-indicator:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.9);
}

.gr-pagination-scroll-indicator.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gr-pagination-scroll-indicator.gr-scroll-left {
    left: 20px;
}

.gr-pagination-scroll-indicator.gr-scroll-right {
    right: 20px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .gr-hero-slider .swiper-pagination-bullet .progress-bar-fill {
        height: 4px !important;
        top: -16px !important;
    }
    
    .gr-hero-slider .swiper-pagination-bullet::before {
        height: 4px !important;
        top: -16px !important;
    }
    
    .gr-pagination-container {
        min-height: 110px;
        padding-top: 55px;
    }
    
    .gr-slide-title {
        font-size: 42px;
    }
    
    .gr-slide-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .gr-hero-slider .swiper-pagination-bullet .progress-bar-fill {
        height: 4px !important;
        top: -14px !important;
    }
    
    .gr-hero-slider .swiper-pagination-bullet::before {
        height: 4px !important;
        top: -14px !important;
    }
    
    .gr-pagination-container {
        min-height: 100px;
        padding-top: 50px;
    }
    
    .gr-slide-title {
        font-size: 36px;
    }
    
    .gr-slide-subtitle {
        font-size: 14px;
    }
    
    .gr-slide-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .gr-hero-slider .swiper-slide {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .gr-slide-title {
        font-size: 2rem;
    }
    
    .gr-slide-description {
        font-size: 1rem;
    }
    
    .gr-hero-slider .swiper-pagination {
        padding: 10px 15px;
    }
    
    .gr-hero-slider .swiper-pagination-bullet {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .gr-hero-slider .swiper-pagination-bullet .progress-bar-fill {
        height: 3px !important;
        top: -12px !important;
    }
    
    .gr-hero-slider .swiper-pagination-bullet::before {
        height: 3px !important;
        top: -12px !important;
    }
    
    .gr-pagination-container {
        min-height: 90px;
        padding-top: 40px;
    }
    
    .gr-pagination-scroll-indicator {
        width: 35px;
        height: 35px;
    }
    
    .gr-pagination-scroll-indicator.gr-scroll-left {
        left: 5px;
    }
    
    .gr-pagination-scroll-indicator.gr-scroll-right {
        right: 5px;
    }
    
    /* Adjust fade overlays for mobile */
    .gr-pagination-container::before,
    .gr-pagination-container::after {
        width: 50px;
    }
    
    .gr-slide-content {
        padding-left: 10px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .gr-hero-slider .swiper-pagination-bullet {
        font-size: 0.7rem;
        padding: 5px 8px;
    }
    
    .gr-hero-slider .swiper-pagination-bullet .progress-bar-fill {
        height: 2.5px !important;
        top: -10px !important;
    }
    
    .gr-hero-slider .swiper-pagination-bullet::before {
        height: 2.5px !important;
        top: -10px !important;
    }
    
    .gr-pagination-container {
        min-height: 80px;
        padding-top: 35px;
    }
    
    .gr-pagination-scroll-indicator {
        width: 30px;
        height: 30px;
    }
    
    .gr-pagination-scroll-indicator i {
        font-size: 12px;
    }
    
    /* Smaller fade overlays for mobile */
    .gr-pagination-container::before,
    .gr-pagination-container::after {
        width: 40px;
    }
    
    .gr-slide-content {
        padding-left: 10px;
        padding-right: 15px;
    }
}

@media (min-width: 1200px) {
    .gr-hero-slider .swiper-pagination-bullet {
        font-size: 1rem;
        padding: 10px 25px;
    }
    
    .gr-hero-slider .swiper-pagination-bullet .progress-bar-fill {
        height: 5px !important;
        top: -20px !important;
    }
    
    .gr-hero-slider .swiper-pagination-bullet::before {
        height: 5px !important;
        top: -20px !important;
    }
    
    .gr-pagination-container {
        min-height: 80px;
        padding-top: 65px;
    }
}

/* All duplicate media queries removed - consolidated above */

/* Duplicate media queries removed - progress bar styles consolidated above */

/* Slide Animation */
/* Animations disabled for hero content */

/* Keyframe Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-60px) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes scaleInBounce {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) translateY(-10px);
    }
    70% {
        opacity: 0.9;
        transform: scale(0.95) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(60px) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Background Overlay with Gradient */
.gr-hero-slider .swiper-slide::before {
    content: '';
    position: absolute;
    left: 0%;
    right: 0%;
    top: 0%;
    bottom: 0%;
    background: linear-gradient(0deg, rgba(24, 31, 53, 0.8), rgba(24, 31, 53, 0.6));
    z-index: 1;
}

/* Specific fallback backgrounds for each slide */
.gr-hero-slider .swiper-slide:nth-child(1) {
    background-image: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%), url('assets/img/banner/hero-bg1.png');
}

.gr-hero-slider .swiper-slide:nth-child(2) {
    background-image: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%), url('assets/img/banner/hero-bg3.png');
}

.gr-hero-slider .swiper-slide:nth-child(3) {
    background-image: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%), url('assets/img/banner/hero-1.png');
}

.gr-hero-slider .swiper-slide:nth-child(4) {
    background-image: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%), url('assets/img/banner/home1.png');
}

.gr-hero-slider .swiper-slide:nth-child(5) {
    background-image: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%), url('assets/img/banner/home2.png');
}

.gr-hero-slider .swiper-slide:nth-child(6) {
    background-image: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%), url('assets/img/banner/home3.png');
}

.gr-hero-slider .swiper-slide:nth-child(7) {
    background-image: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%), url('assets/img/banner/home1.png');
}

/* Navigation Arrows (if needed) */
.gr-hero-slider .swiper-button-next,
.gr-hero-slider .swiper-button-prev {
    color: #ffffff;
    font-size: 24px;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gr-hero-slider .swiper-button-next:hover,
.gr-hero-slider .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.gr-hero-slider .swiper-button-next::after,
.gr-hero-slider .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Additional Swiper Styles */
.gr-hero-slider .swiper-wrapper {
    height: 100vh;
}

.gr-hero-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

/* Fade Effect Enhancement */
.gr-hero-slider .swiper-slide-active {
    z-index: 2;
}

.gr-hero-slider .swiper-slide-prev,
.gr-hero-slider .swiper-slide-next {
    z-index: 1;
}

/* Countdown timer styles - Positioned above progress line */
.gr-hero-slider .swiper-pagination .swiper-pagination-bullet-active .countdown-timer {
    position: absolute !important;
    top: -60px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #92294A !important;
    color: #fff !important;
    padding: 4px 8px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    z-index: 1000 !important;
    min-width: 120px !important;
    width: 100% !important;
    text-align: center !important;
    font-family: 'Outfit', sans-serif !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    animation: timerPulse 1s ease-in-out infinite alternate !important;
}

/* Timer pulse animation */
@keyframes timerPulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(230, 0, 92, 0.3) !important;
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(230, 0, 92, 0.1) !important;
    }
}

/* Urgent timer style for last 2 seconds */
.gr-hero-slider .swiper-pagination .swiper-pagination-bullet-active .countdown-timer.urgent {
    background: linear-gradient(135deg, rgba(230, 0, 92, 0.9) 0%, rgba(255, 26, 107, 0.9) 100%) !important;
    animation: urgentPulse 0.5s ease-in-out infinite alternate !important;
    transform: translateX(-50%) scale(1.1) !important;
}

@keyframes urgentPulse {
    0% {
        box-shadow: 0 4px 12px rgba(230, 0, 92, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.8) !important;
    }
    100% {
        box-shadow: 0 4px 12px rgba(230, 0, 92, 0.8), 0 0 0 4px rgba(255, 255, 255, 0.4) !important;
    }
}


/* Pagination wrapper */
.gr-pagination-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    padding: 15px 0 0 0;
  }
  
  /* Pagination labels */
  .gr-pagination-container .swiper-pagination-bullet {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    margin: 0 20px;
    position: relative;
    cursor: pointer;
    display: inline-block;
    padding-bottom: 5px; /* spacing for underline */
  }
  
  /* Active label */
  .gr-pagination-container .swiper-pagination-bullet-active {
    color: #fff;
    font-weight: 600;
  }
  
/* Duplicate styles removed - main styles updated above */
  