/* assets/css/slider-style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero-safety-slider-wrapper {
    width: 100%;
    max-width: 100vw;
    background: #0a1628;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    min-height: 500px;
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
}

.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    width: 100%;
    height: 100%;
}

.slide-item {
    flex: 0 0 100%;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    position: relative;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    background: transparent;
}

.slide-item.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 100%);
    z-index: 0;
}

.slide-bg-2 {
    background: linear-gradient(135deg, #1a0a28 0%, #3a1a5c 100%);
}

.slide-bg-3 {
    background: linear-gradient(135deg, #0a1a28 0%, #1a4a5c 100%);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.slide-content {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    padding: 0.5rem;
    position: relative;
    z-index: 2;
    animation: slideFadeUp 0.8s ease forwards;
}

@keyframes slideFadeUp {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.icon-main {
    font-size: 4.5rem;
    color: #f0b429;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(240, 180, 41, 0.3);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.slide-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.slide-title span {
    background: linear-gradient(to right, #f0b429, #f5d37c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0.75rem 0 1.5rem;
    opacity: 0.9;
    color: #d4e4ff;
    line-height: 1.6;
}

.slide-subtitle i {
    color: #f0b429;
    margin-right: 0.5rem;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1.8rem;
    margin: 1.2rem 0;
}

.feature-grid span {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.feature-grid span:hover {
    background: rgba(240, 180, 41, 0.2);
    border-color: #f0b429;
    transform: translateY(-2px);
}

.feature-grid span i {
    color: #f0b429;
    font-size: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
    margin: 1.2rem 0;
    text-align: left;
}

.product-grid span {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.7rem 1rem;
    border-radius: 12px;
    border-left: 4px solid #f0b429;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.product-grid span:hover {
    background: rgba(240, 180, 41, 0.1);
    transform: translateX(5px);
}

.product-grid span i {
    color: #f0b429;
    width: 1.4rem;
    text-align: center;
}

.badge-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.2rem;
    margin-top: 1.2rem;
}

.badge-grid span {
    background: rgba(240, 180, 41, 0.15);
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 400;
    border: 1px solid rgba(240, 180, 41, 0.2);
    transition: all 0.3s ease;
}

.badge-grid span:hover {
    background: rgba(240, 180, 41, 0.25);
}

/* Navigation Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.5rem 0 1rem;
    position: relative;
    z-index: 5;
    background: rgba(0, 0, 0, 0.2);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: #f0b429;
    transform: scale(1.3);
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(240, 180, 41, 0.5);
}

.dot:hover {
    background: #f0b429;
    transform: scale(1.2);
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    font-size: 1.4rem;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-arrow:hover {
    background: #f0b429;
    color: #0a1628;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 5;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, #f0b429, #f5d37c);
    width: 0%;
    transition: width 5s linear;
}

.progress-bar.animating {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .slide-title { font-size: 2.8rem; }
    .product-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
    .slider-arrow { padding: 0.6rem 1rem; font-size: 1.2rem; }
}

@media (max-width: 768px) {
    .hero-safety-slider-wrapper { min-height: 400px; }
    .slide-item { padding: 2rem 1rem; min-height: 400px; }
    .slide-title { font-size: 2.2rem; }
    .slide-subtitle { font-size: 1rem; }
    .icon-main { font-size: 3.5rem; }
    .feature-grid { gap: 0.5rem 1rem; }
    .feature-grid span { font-size: 0.85rem; padding: 0.4rem 1rem; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .product-grid span { font-size: 0.85rem; padding: 0.5rem 0.8rem; }
    .badge-grid span { font-size: 0.75rem; padding: 0.3rem 1rem; }
    .slider-arrow { padding: 0.5rem 0.8rem; font-size: 1rem; }
    .slider-arrow.prev { left: 10px; }
    .slider-arrow.next { right: 10px; }
}

@media (max-width: 480px) {
    .slide-title { font-size: 1.8rem; }
    .slide-item { padding: 1.5rem 0.8rem; min-height: 350px; }
    .product-grid { grid-template-columns: 1fr; }
    .feature-grid { flex-direction: column; align-items: center; }
    .feature-grid span { width: 100%; justify-content: center; }
    .slide-content { padding: 0; }
    .slider-container { border-radius: 0; }
    .dot { width: 10px; height: 10px; }
    .slider-arrow { display: none; }
    .icon-main { font-size: 2.8rem; }
}