/* ============================================
   ICC-Service Hero Section
   Slider (left 70%) + Banners (right 30%)
   Optimized: performance + responsive
   ============================================ */

.icc-hero {
    background: #f5f6f8;
    padding: 20px 0;
}
.icc-hero-inner {
    display: flex;
    gap: 16px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
    align-items: stretch;
    box-sizing: border-box;
}

/* --- SLIDER --- */
.icc-hero-slider {
    flex: 0 0 70%;
    max-width: 70%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.icc-hero-slider--full {
    flex: 0 0 100%;
    max-width: 100%;
}

.icc-slider-track {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.icc-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    will-change: opacity, visibility;
    background-size: cover;
    background-position: center;
    background-color: #f8f9fb;
    z-index: 1;
    contain: layout style;
}
.icc-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.icc-slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 50px;
    height: 100%;
    gap: 20px;
    box-sizing: border-box;
}

.icc-slide-text {
    flex: 1;
    max-width: 55%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.icc-slide-title {
    font-size: clamp(15px, 1.75vw, 25px);
    font-weight: 800;
    line-height: 1.15;
    color: #1a202c;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.icc-slide-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px;
}

.icc-slide-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
}
.icc-price-label {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}
.icc-price-value {
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 800;
    color: #1a202c;
    line-height: 1;
}

.icc-slide-btn {
    display: inline-block;
    margin-top: auto;
    align-self: flex-start;
    background: #ffc107;
    color: #1a202c;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 36px;
    text-decoration: none;
    text-transform: none;
    border-radius: 4px;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(255,193,7,0.3);
}
.icc-slide-btn:hover {
    background: #ffb300;
    transform: translateY(-1px);
    color: #1a202c;
}

/* Navigation arrows */
.icc-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
    padding: 0;
}
.icc-slider-arrow:hover {
    background: rgba(0,0,0,0.5);
}
.icc-slider-prev {
    left: 15px;
}
.icc-slider-next {
    right: 15px;
}

/* Dots */
.icc-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50px;
    display: flex;
    gap: 10px;
    z-index: 5;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 8px 14px;
    border-radius: 20px;
}
.icc-dot {
    width: 30px;
    height: 6px;
    border-radius: 3px;
    border: none;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s;
}
.icc-dot.active {
    background: #ffc107;
    width: 40px;
}
.icc-dot:hover {
    background: #999;
}

/* --- SIDE BANNERS --- */
.icc-hero-banners {
    flex: 0 0 calc(30% - 16px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.icc-banner-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-decoration: none;
    color: #1a202c;
    transition: box-shadow 0.25s, transform 0.2s;
    overflow: hidden;
    position: relative;
    border-left: 3px solid var(--banner-accent, #0097a7);
}
.icc-banner-card:hover {
    box-shadow: 0 6px 24px rgba(0,151,167,0.13);
    transform: translateY(-3px);
    color: #1a202c;
}

/* --- Gradient overlay on hover --- */
.icc-banner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(0,151,167,0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}
.icc-banner-card:hover::before {
    opacity: 1;
}

/* --- Bottom progress bar on hover --- */
.icc-banner-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--banner-accent, #0097a7), #26c6da);
    transition: width 0.4s ease;
    z-index: 2;
    border-radius: 0 0 8px 8px;
}
.icc-banner-card:hover::after {
    width: 100%;
}

/* --- Watermark SVG icon --- */
.icc-banner-watermark {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    color: var(--banner-accent, #0097a7);
    opacity: 0.07;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1;
}
.icc-banner-card:hover .icc-banner-watermark {
    opacity: 0.14;
    transform: translateY(-50%) scale(1.08) rotate(6deg);
}

.icc-banner-img {
    flex: 0 0 80px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
/* Circle glow behind image */
.icc-banner-img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--banner-accent, #0097a7) 0%, transparent 70%);
    opacity: 0.08;
    transition: opacity 0.3s, transform 0.3s;
    z-index: -1;
}
.icc-banner-card:hover .icc-banner-img::before {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1.15);
}
.icc-banner-img img {
    max-width: 80px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}
.icc-banner-card:hover .icc-banner-img img {
    transform: scale(1.05);
}

.icc-banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 13px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}
.icc-banner-line1 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--banner-accent, #0097a7);
    padding-bottom: 4px;
}
/* Accent underline that expands on hover */
.icc-banner-line1::after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--banner-accent, #0097a7);
    margin-top: 4px;
    border-radius: 1px;
    transition: width 0.3s ease;
    opacity: 0.45;
}
.icc-banner-card:hover .icc-banner-line1::after {
    width: 38px;
    opacity: 1;
}
.icc-banner-line2 {
    font-size: 15px;
    font-weight: 800;
    color: #1a202c;
    text-transform: uppercase;
}
.icc-banner-link {
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
    color: var(--banner-accent, #0097a7);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
/* Arrow icon animation */
.icc-banner-arrow {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.icc-banner-card:hover .icc-banner-arrow {
    transform: translateX(4px);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .icc-hero-inner {
        flex-direction: column;
    }
    .icc-hero-slider,
    .icc-hero-slider--full {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .icc-slider-track {
        height: 360px;
    }
    .icc-hero-banners {
        flex: 0 0 100%;
        flex-direction: row;
    }
    .icc-banner-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .icc-slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .icc-slider-track {
        height: 300px;
    }
    .icc-slide {
        background-size: cover;
        background-position: center center;
    }
    .icc-slide-content {
        flex-direction: column;
        padding: 28px 24px;
        height: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    .icc-slide-text {
        max-width: 100%;
        align-items: center;
    }
    .icc-slide-subtitle {
        text-align: center;
        width: auto;
        align-self: center;
    }
    .icc-slide-title {
        text-align: center;
        width: auto;
        align-self: center;
    }
    .icc-slide-price {
        justify-content: center;
        width: auto;
        align-self: center;
    }
    .icc-slide-btn {
        align-self: center;
    }
    .icc-slider-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 10px;
    }
    .icc-hero-banners {
        flex-direction: column;
    }
    .icc-banner-watermark {
        width: 44px;
        height: 44px;
    }
    .icc-hero {
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    .icc-slider-arrow {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .icc-slide-content {
        padding: 20px 16px;
    }
    .icc-slide-btn {
        padding: 10px 24px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }
    .icc-banner-card {
        padding: 12px 14px;
    }
    .icc-banner-img {
        flex: 0 0 60px;
        height: 55px;
    }
    .icc-banner-img img {
        max-width: 60px;
        max-height: 55px;
    }
    .icc-banner-watermark {
        width: 36px;
        height: 36px;
        right: 5px;
    }
    .icc-banner-img::before {
        width: 48px;
        height: 48px;
    }
    .icc-slider-dots {
        bottom: 8px;
        gap: 6px;
    }
    .icc-dot {
        width: 20px;
        height: 4px;
    }
    .icc-dot.active {
        width: 28px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .icc-slide {
        transition: none;
        will-change: auto;
    }
    .icc-dot {
        transition: none;
    }
    .icc-slide-btn,
    .icc-banner-card,
    .icc-banner-card::before,
    .icc-banner-card::after,
    .icc-banner-img::before,
    .icc-banner-img img,
    .icc-banner-line1::after,
    .icc-banner-arrow,
    .icc-banner-watermark,
    .icc-slider-arrow {
        transition: none;
    }
}