/* Hero Slider Widget */
.tekcom-hero {
    width: 100%;
    margin-top: clamp(1.5rem, 3vw, 2rem);
    position: relative;
    padding-top: clamp(6rem, 10vw, 10rem);
}

.tekcom-hero-swiper {
    position: relative;
    border-top: 1px solid #fbbf24;
    padding-top: clamp(6rem, 10vw, 10rem);
    padding-bottom: clamp(8rem, 12vw, 11.5rem);
    overflow: visible !important;
}

.tekcom-hero-swiper::before {
    content: '';
    position: absolute;
    top: clamp(-12rem, -12vw, -7rem);
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(90deg,
            transparent,
            transparent calc(20% - 1px),
            #fbbe24a2 calc(20% - 1px),
            #fbbe24a2 20%);
    pointer-events: none;
    z-index: 2;
    opacity: 0.3;
}

.tekcom-hero-swiper::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 10px;
    background-image:
        radial-gradient(circle, #F2D18B 4px, transparent 4px),
        radial-gradient(circle, #F2D18B 4px, transparent 4px),
        radial-gradient(circle, #F2D18B 4px, transparent 4px),
        radial-gradient(circle, #F2D18B 4px, transparent 4px);
    background-position:
        20% center,
        40% center,
        60% center,
        80% center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    pointer-events: none;
    z-index: 3;
}

.tekcom-icon-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    pointer-events: none;
}

.tekcom-icon-indicator {
    position: absolute;
    top: 0;
    left: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.6s ease, transform 0.25s ease;
    transform: translate(-50%, -50%) scale(1);
}

.tekcom-icon-indicator.is-moving {
    transform: translate(-50%, -50%) scale(0.9);
}

.tekcom-icon-image {
    width: clamp(56px, 55%, 120px);
    height: clamp(56px, 55%, 120px);
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.tekcom-hero-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 0;
    padding: 0;
    position: relative;
    z-index: 5;
}

.tekcom-hero-content {
    padding: 0 clamp(1.5rem, 3vw, 2rem);
    padding-left: calc(clamp(1.5rem, 3vw, 2.5rem) + clamp(180px, 22vw, 300px));
    position: relative;
    z-index: auto;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.swiper-slide-active .tekcom-hero-content {
    opacity: 1;
    transform: translateY(0);
}

.tekcom-hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #254B78;
}

.tekcom-hero-content h2::before {
    top: -30px;
    left: calc(3rem + 235px);
    position: absolute;
    content: '';
    display: block;
    width: 90px;
    height: 90px;
    background: #3C95FF;
    margin-bottom: 0.5rem;
    opacity: 0.15;
}

.tekcom-hero-content p,
.tekcom-hero-description p {
    font-size: 0.95rem;
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tekcom-hero-image {
    height: 100%;
    max-height: 527px;
    margin: 0;
    padding: 0;
}

.tekcom-hero-image img {
    width: 100%;
    height: 100%;
    max-height: 527px;
    object-fit: cover;
    display: block;
}

.swiper-pagination {
    position: absolute !important;
    bottom: auto !important;
    top: clamp(260px, 34vw, 420px) !important;
    left: calc(clamp(1.5rem, 3vw, 2.5rem) + clamp(150px, 20vw, 300px)) !important;
    transform: none;
    width: auto !important;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.tekcom-swiper-nav-btn {
    width: 56px;
    height: 56px;
    background: transparent;
    border-radius: 50%;
    border: 1.5px solid rgba(25, 50, 80, 0.2);
    color: #AFB0B3;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tekcom-swiper-nav-btn:hover {
    border-color: rgba(25, 50, 80, 0.2);
    color: #193250;
}

.tekcom-nav-icon {
    width: 15px;
    height: auto;
    display: block;
    pointer-events: none;
}

.tekcom-nav-icon--next {
    transform: scaleX(-1);
}

/* Responsive */
@media (max-width: 1200px) {
    .tekcom-hero-content {
        padding-left: calc(2rem + 150px);
    }

    .swiper-pagination {
        left: calc(2rem + 150px) !important;
        top: 300px !important;
    }
}

@media (max-width: 992px) {
    .tekcom-hero-slide {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tekcom-hero-content {
        padding: 0 2rem;
        max-width: 100%;
    }

    .tekcom-hero-image {
        display: flex;
        justify-content: center;
        padding: 0 1.5rem;
    }

    .tekcom-hero-image img {
        max-width: 520px;
    }

    .swiper-pagination {
        position: static !important;
        transform: none;
        justify-content: center;
        margin-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    .tekcom-hero-slide {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tekcom-hero-content {
        padding: 0 1.5rem;
        max-width: 100%;
    }

    .tekcom-hero-swiper {
        padding-top: 120px;
        padding-bottom: 11.5rem;
    }

    .tekcom-icon-dots {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 120px;
    }

    .tekcom-icon-indicator {
        top: 0;
    }

    .tekcom-icon-image {
        width: clamp(44px, 65%, 90px);
        height: clamp(44px, 65%, 90px);
    }

    .swiper-pagination {
        position: static !important;
        transform: none;
        justify-content: center;
        margin-top: 2rem;
    }
}

/* Swiper specific overrides */
.tekcom-hero-swiper .swiper-wrapper {
    height: auto;
}

.tekcom-hero-swiper .swiper-slide {
    height: auto;
    opacity: 0;
    transition-property: opacity;
}

.tekcom-hero-swiper .swiper-slide-active {
    opacity: 1;
}