/* Hitech Networks Hero Slider v1.1 */
.hn-hero {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 650px;
    overflow: hidden;
    background: #0f172a;
    isolation: isolate;
}

.hn-container {
    width: min(1240px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.hn-hero__slides,
.hn-hero__slide {
    position: absolute;
    inset: 0;
}

.hn-hero__slide {
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    background-image: var(--hn-slide-image);
    background-position: center;
    background-size: cover;
    transition: opacity .7s ease, visibility .7s ease;
}

.hn-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hn-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.72) 45%, rgba(15,23,42,.30) 100%);
    z-index: -1;
}

.hn-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 650px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hn-hero__content {
    max-width: 720px;
    color: #fff;
}

.hn-hero__eyebrow {
    margin-bottom: 18px;
    color: #F7941D;
    font: 600 14px/1.3 Poppins, sans-serif;
    letter-spacing: 1.6px;
}

.hn-hero__content h1 {
    margin: 0;
    color: #fff;
    font: 700 52px/1.08 Poppins, sans-serif;
    letter-spacing: -.8px;
}

.hn-hero__sub {
    margin-top: 20px;
    color: #fff;
    font: 500 20px/1.4 Inter, sans-serif;
}

.hn-hero__content p {
    max-width: 620px;
    margin: 18px 0 0;
    color: #d0d5dd;
    font: 400 17px/1.65 Inter, sans-serif;
}

.hn-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hn-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 25px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: 600 15px/1 Poppins, sans-serif;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.hn-hero__button:hover { transform: translateY(-2px); }

.hn-hero__button--primary {
    color: #fff;
    background: #005BAC;
}

.hn-hero__button--primary:hover {
    color: #fff;
    background: #F7941D;
}

.hn-hero__button--secondary {
    color: #fff;
    border-color: rgba(255,255,255,.75);
    background: rgba(255,255,255,.04);
}

.hn-hero__button--secondary:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255,255,255,.12);
}

/* Explicit overrides so global Elementor/theme button styles cannot distort slider controls. */
.hn-hero .hn-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    border-radius: 50% !important;
    background: rgba(15,23,42,.45) !important;
    background-image: none !important;
    color: #fff !important;
    font-family: Arial, sans-serif !important;
    font-size: 32px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    cursor: pointer;
    box-shadow: none !important;
    transform: translateY(-50%);
    transition: all .2s ease;
}

.hn-hero .hn-hero__arrow:hover {
    background: rgba(0,91,172,.85) !important;
    border-color: #fff !important;
    color: #fff !important;
    transform: translateY(-50%) scale(1.05);
}

.hn-hero .hn-hero__arrow--prev { left: 24px; }
.hn-hero .hn-hero__arrow--next { right: 24px; }

.hn-hero .hn-hero__dot {
    width: 9px !important;
    height: 9px !important;
    min-width: 9px !important;
    min-height: 9px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.55) !important;
    background-image: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

.hn-hero .hn-hero__dot.is-active {
    width: 28px !important;
    border-radius: 20px !important;
    background: #fff !important;
}

.hn-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 11;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

@media (max-width: 1024px) {
    .hn-hero__content h1 { font-size: 42px; }
}

@media (max-width: 767px) {
    .hn-hero,
    .hn-hero__inner { min-height: 610px; }

    .hn-container { width: min(100% - 40px, 1240px); }

    .hn-hero__inner { padding: 70px 0; }

    .hn-hero__overlay { background: rgba(15,23,42,.76); }

    .hn-hero__content h1 {
        font-size: 36px;
        line-height: 1.1;
    }

    .hn-hero__sub { font-size: 18px; }
    .hn-hero__content p { font-size: 16px; }

    .hn-hero__arrow { display: none !important; }

    .hn-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hn-hero__button { width: 100%; }
    .hn-hero__dots { bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .hn-hero__slide,
    .hn-hero__button,
    .hn-hero__arrow,
    .hn-hero__dot { transition: none; }
}
