/* ==========================================================================
   DOLLOP INFOTECH - HERO SECTION RESPONSIVE FIX
   CRITICAL: Desktop (1200px+) uses ORIGINAL approved composition
   NO flex vertical centering on desktop - natural content flow
   ========================================================================== */

/* --------------------------------------------------------------------------
   DESKTOP HERO (1200px+) - RESTORE ORIGINAL APPROVED COMPOSITION
   -------------------------------------------------------------------------- */

/* Hero Container - Original Natural Flow (NO flex centering) */
.hero_image {
    height: 100vh !important;
    min-height: 100vh !important;
    width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    /* DO NOT add display: flex or align-items: center on desktop */
    /* Content flows naturally from top as per approved design */
}

.hero_image .container {
    position: relative !important;
    z-index: 5 !important;
    height: 100% !important;
}

.hero_image .row {
    height: 100% !important;
    align-items: center !important; /* This centers content within row only */
}

/* --------------------------------------------------------------------------
   ORANGE VERTICAL GRADIENT PANEL - Original Position
   -------------------------------------------------------------------------- */
.vierticle_strip {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: auto !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

span.hero_stripe {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: 155px !important;
    z-index: 1 !important;
    display: block !important;
    pointer-events: none !important;
}

/* --------------------------------------------------------------------------
   WHITELINE WAVE BACKGROUND
   -------------------------------------------------------------------------- */
img.whiteline_image {
    position: absolute !important;
    left: -70px !important;
    top: 35% !important;
    z-index: 3 !important;
    width: 72% !important;
    max-width: 900px !important;
    height: auto !important;
    pointer-events: none !important;
}

/* --------------------------------------------------------------------------
   GLOBE - Original Desktop Position (center-right, vertically centered)
   -------------------------------------------------------------------------- */
.hero-globe-wrap {
    position: absolute !important;
    top: 50% !important;
    right: -180px !important;
    transform: translateY(-50%) !important;
    width: 800px !important;
    max-width: none !important;
    height: auto !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.hero-globe-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Hide old globe implementations */
#hero-globe,
.globe,
.js-globe {
    display: none !important;
}

/* --------------------------------------------------------------------------
   HERO CONTENT - Original Desktop Typography
   -------------------------------------------------------------------------- */
.top_banner_tabs {
    padding-left: 20px !important;
    z-index: 99 !important;
    position: relative !important;
}

.main_heading {
    height: 155px !important; /* Original fixed height */
    max-width: 580px !important;
    margin-bottom: 20px !important;
    font-size: 55px !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
}

.slide_subhead {
    font-size: 18px !important;
    line-height: 1.7 !important;
    max-width: 580px !important;
    color: #ffffff !important;
    margin-bottom: 24px !important;
}

.slide_number {
    font-size: 18px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}

/* --------------------------------------------------------------------------
   HERO SLIDER CARDS - Original Desktop Design
   -------------------------------------------------------------------------- */
.top_banner_tabs .nav-pills {
    margin-top: 40px !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    position: relative !important;
}

span.tabs_vertical_line {
    position: absolute !important;
    top: auto !important;
    left: -45px !important;
    display: inline-block !important;
    width: 38px !important;
    height: 5px !important;
    background-color: #ffffff !important;
    margin-left: 15px !important;
}

.slider_tabs {
    width: 188px !important;
    height: 100px !important;
    background-color: transparent !important;
    border-radius: 5px !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    opacity: 0.55 !important;
    padding: 12px 16px 10px !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.slider_tabs:hover,
.slider_tabs.active {
    background-color: #ffffff !important;
    opacity: 1 !important;
}

span.slid_no {
    font-size: 45px !important;
    font-family: 'Gilroy-Bold', sans-serif !important;
    display: block !important;
    color: #ffffff !important;
    opacity: 0.55 !important;
    line-height: 1 !important;
}

span.slid_text {
    font-size: 15px !important;
    font-family: 'Gilroy-Medium', sans-serif !important;
    color: #ffffff !important;
    opacity: 0.55 !important;
    line-height: 1.2 !important;
}

.slider_tabs:hover span.slid_no,
.slider_tabs:hover span.slid_text,
.slider_tabs.active span.slid_no,
.slider_tabs.active span.slid_text {
    background: linear-gradient(to right, rgba(255,24,110,1) 0%, rgba(255,109,49,1) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    opacity: 1 !important;
}

/* --------------------------------------------------------------------------
   DESKTOP EXTRA LARGE (1440px+) - Original Design Maintained
   -------------------------------------------------------------------------- */
@media (min-width: 1440px) {
    .hero-globe-wrap {
        width: 850px !important;
        right: -200px !important;
    }
    
    span.hero_stripe {
        width: 160px !important;
    }
}

/* --------------------------------------------------------------------------
   DESKTOP STANDARD (1200px - 1439px) - Original Design Maintained
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) and (max-width: 1439px) {
    .hero-globe-wrap {
        width: 750px !important;
        right: -150px !important;
    }

    span.hero_stripe {
        width: 155px !important;
    }
}

/* --------------------------------------------------------------------------
   SMALL DESKTOP / LARGE LAPTOP (992px - 1199px)
   Begin responsive scaling
   -------------------------------------------------------------------------- */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero_image {
        display: flex !important;
        align-items: center !important;
    }

    .hero-globe-wrap {
        width: 620px !important;
        right: -100px !important;
        opacity: 0.92 !important;
    }

    span.hero_stripe {
        width: 135px !important;
    }

    .main_heading {
        font-size: 48px !important;
        height: auto !important;
        min-height: 120px !important;
    }

    .slide_subhead {
        font-size: 17px !important;
    }

    span.slid_no {
        font-size: 40px !important;
    }
    
    .slider_tabs {
        width: 175px !important;
        height: 95px !important;
    }
}

/* --------------------------------------------------------------------------
   TABLET (768px - 991px)
   Proportional scaling, maintain design language
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 991px) {
    .hero_image {
        display: flex !important;
        align-items: center !important;
    }

    .hero-globe-wrap {
        width: 520px !important;
        right: -80px !important;
        opacity: 0.75 !important;
    }

    span.hero_stripe {
        width: 120px !important;
    }

    .top_banner_tabs {
        padding-left: 15px !important;
    }

    .main_heading {
        font-size: 40px !important;
        height: auto !important;
        min-height: 100px !important;
    }

    .slide_subhead {
        font-size: 16px !important;
        line-height: 1.65 !important;
    }

    .top_banner_tabs .nav-pills {
        margin-top: 35px !important;
        gap: 12px !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .slider_tabs {
        width: 100% !important;
        height: 100px !important;
        padding: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
    }

    span.slid_no {
        font-size: 36px !important;
    }

    span.slid_text {
        font-size: 13px !important;
    }

    span.tabs_vertical_line {
        left: -40px !important;
        width: 32px !important;
    }
    
    img.whiteline_image {
        width: 65% !important;
        left: -50px !important;
    }
}

/* --------------------------------------------------------------------------
   MOBILE LARGE (576px - 767px)
   Dedicated mobile layout: NO desktop shrinking
   -------------------------------------------------------------------------- */
@media (min-width: 576px) and (max-width: 767px) {
    .hero_image {
        display: flex !important;
        align-items: flex-start !important;
        min-height: auto !important;
        height: auto !important;
        padding-top: 90px !important;
        padding-bottom: 60px !important;
    }

    .hero_image .container {
        display: flex !important;
        flex-direction: column !important;
    }

    .hero_image .row {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        align-items: stretch !important;
    }

    /* Orange Panel - Proportional width, NOT tiny */
    span.hero_stripe {
        width: 100px !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
    }

    .vierticle_strip {
        width: 100px !important;
    }

    /* Globe - Behind content with reduced opacity */
    .hero-globe-wrap {
        position: absolute !important;
        width: 420px !important;
        right: -100px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        opacity: 0.35 !important;
        z-index: 1 !important;
    }

    /* Hero Content - Above globe, readable */
    .top_banner_tabs {
        padding-left: 12px !important;
        position: relative !important;
        z-index: 10 !important;
    }

    .main_heading {
        font-size: 32px !important;
        height: auto !important;
        min-height: auto !important;
        line-height: 1.32 !important;
        margin-bottom: 18px !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    }

    .slide_subhead {
        font-size: 15px !important;
        line-height: 1.65 !important;
        margin-bottom: 24px !important;
        text-shadow: 0 1px 4px rgba(0,0,0,0.1) !important;
    }

    .slide_number {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    /* Cards - Stack vertically, NO overlap */
    .top_banner_tabs .nav-pills {
        margin-top: 28px !important;
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        max-width: 100% !important;
    }

    .nav-item.tabs_numbers {
        width: 100% !important;
        max-width: 100% !important;
    }

    .slider_tabs {
        width: 100% !important;
        max-width: 100% !important;
        height: 100px !important;
        min-height: 70px !important;
        padding: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }

    span.slid_no {
        font-size: 32px !important;
        line-height: 1 !important;
    }

    span.slid_text {
        font-size: 13px !important;
        line-height: 1.3 !important;
        flex: 1 !important;
    }

    span.tabs_vertical_line {
        display: none !important;
    }
    
    img.whiteline_image {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   MOBILE STANDARD (390px - 575px)
   Dedicated mobile layout with proper stacking
   -------------------------------------------------------------------------- */
@media (min-width: 390px) and (max-width: 575px) {
    .hero_image {
        display: flex !important;
        align-items: flex-start !important;
        min-height: auto !important;
        height: auto !important;
        padding-top: 85px !important;
        padding-bottom: 50px !important;
    }

    .hero_image .container {
        display: flex !important;
        flex-direction: column !important;
    }

    .hero_image .row {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        align-items: stretch !important;
    }

    /* Orange Panel - Proportional, visible */
    span.hero_stripe {
        width: 85px !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
    }

    /* Globe - Behind content, subtle */
    .hero-globe-wrap {
        position: absolute !important;
        width: 360px !important;
        right: -90px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        opacity: 0.3 !important;
        z-index: 1 !important;
    }

    /* Hero Content - Readable, above globe */
    .top_banner_tabs {
        padding-left: 10px !important;
        position: relative !important;
        z-index: 10 !important;
    }

    .main_heading {
        font-size: 28px !important;
        height: auto !important;
        min-height: auto !important;
        line-height: 1.35 !important;
        margin-bottom: 16px !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    }

    .slide_subhead {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 22px !important;
        text-shadow: 0 1px 4px rgba(0,0,0,0.15) !important;
    }

    .slide_number {
        font-size: 15px !important;
        margin-bottom: 10px !important;
    }

    /* Cards - Stack vertically, full width */
    .top_banner_tabs .nav-pills {
        margin-top: 24px !important;
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        max-width: 100% !important;
    }

    .nav-item.tabs_numbers {
        width: 100% !important;
        max-width: 100% !important;
    }

    .slider_tabs {
        width: 100% !important;
        max-width: 100% !important;
        height: 100px !important;
        min-height: 68px !important;
        padding: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }

    span.slid_no {
        font-size: 28px !important;
        line-height: 1 !important;
    }

    span.slid_text {
        font-size: 12px !important;
        line-height: 1.3 !important;
        flex: 1 !important;
    }

    span.tabs_vertical_line {
        display: none !important;
    }
    
    img.whiteline_image {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   MOBILE SMALL (320px - 389px)
   Dedicated mobile layout for smallest devices
   -------------------------------------------------------------------------- */
@media (max-width: 389px) {
    .hero_image {
        display: flex !important;
        align-items: flex-start !important;
        min-height: auto !important;
        height: auto !important;
        padding-top: 80px !important;
        padding-bottom: 45px !important;
    }

    .hero_image .container {
        display: flex !important;
        flex-direction: column !important;
    }

    .hero_image .row {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        align-items: stretch !important;
    }

    /* Orange Panel - Visible, proportional */
    span.hero_stripe {
        width: 70px !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
    }

    /* Globe - Very subtle, behind content */
    .hero-globe-wrap {
        position: absolute !important;
        width: 300px !important;
        right: -80px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        opacity: 0.25 !important;
        z-index: 1 !important;
    }

    /* Hero Content - Maximum readability */
    .top_banner_tabs {
        padding-left: 8px !important;
        position: relative !important;
        z-index: 10 !important;
    }

    .main_heading {
        font-size: 24px !important;
        height: auto !important;
        min-height: auto !important;
        line-height: 1.38 !important;
        margin-bottom: 14px !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.25) !important;
    }

    .slide_subhead {
        font-size: 13px !important;
        line-height: 1.58 !important;
        margin-bottom: 20px !important;
        text-shadow: 0 1px 6px rgba(0,0,0,0.2) !important;
    }

    .slide_number {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    /* Cards - Stack vertically, compact */
    .top_banner_tabs .nav-pills {
        margin-top: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        max-width: 100% !important;
    }

    .nav-item.tabs_numbers {
        width: 100% !important;
        max-width: 100% !important;
    }

    .slider_tabs {
        width: 100% !important;
        max-width: 100% !important;
        height: 100px !important;
        min-height: 64px !important;
        padding: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }

    span.slid_no {
        font-size: 24px !important;
        line-height: 1 !important;
    }

    span.slid_text {
        font-size: 11px !important;
        line-height: 1.3 !important;
        flex: 1 !important;
    }

    span.tabs_vertical_line {
        display: none !important;
    }
    
    img.whiteline_image {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   LANDSCAPE ORIENTATION FIX (Mobile & Tablet)
   -------------------------------------------------------------------------- */
@media (max-height: 600px) and (orientation: landscape) and (max-width: 991px) {
    .hero_image {
        min-height: auto !important;
        padding-top: 90px !important;
        padding-bottom: 60px !important;
    }
    
    .hero-globe-wrap {
        opacity: 0.2 !important;
    }

    .main_heading {
        font-size: 26px !important;
        margin-bottom: 12px !important;
    }

    .slide_subhead {
        font-size: 13px !important;
        margin-bottom: 18px !important;
    }

    .top_banner_tabs .nav-pills {
        margin-top: 18px !important;
    }
}

/* --------------------------------------------------------------------------
   ADDITIONAL MOBILE BREAKPOINTS FOR EDGE CASES
   -------------------------------------------------------------------------- */

/* iPhone SE (375px), Galaxy S8 (360px), smaller devices */
@media (min-width: 360px) and (max-width: 389px) {
    .main_heading {
        font-size: 25px !important;
    }

    .slider_tabs {
        min-height: 66px !important;
    }

    span.hero_stripe {
        width: 72px !important;
    }
}

/* Very small devices (320px - 359px) */
@media (max-width: 359px) {
    span.hero_stripe {
        width: 65px !important;
    }

    .hero-globe-wrap {
        width: 280px !important;
        right: -70px !important;
        opacity: 0.22 !important;
    }

    .main_heading {
        font-size: 22px !important;
        margin-bottom: 12px !important;
    }

    .slide_subhead {
        font-size: 12.5px !important;
        margin-bottom: 18px !important;
    }

    .slider_tabs {
        min-height: 62px !important;
        padding: 8px 10px !important;
    }

    span.slid_no {
        font-size: 22px !important;
    }

    span.slid_text {
        font-size: 10.5px !important;
    }
}

/* Larger phones (414px - 575px) - iPhone Plus, Max models */
@media (min-width: 414px) and (max-width: 575px) {
    .main_heading {
        font-size: 30px !important;
    }

    .slide_subhead {
        font-size: 14.5px !important;
    }

    span.hero_stripe {
        width: 90px !important;
    }

    .hero-globe-wrap {
        width: 380px !important;
    }

    .slider_tabs {
        min-height: 70px !important;
    }

    span.slid_no {
        font-size: 30px !important;
    }
}

/* Mid-range phones (480px - 575px) */
@media (min-width: 480px) and (max-width: 575px) {
    span.hero_stripe {
        width: 95px !important;
    }

    .hero-globe-wrap {
        width: 400px !important;
        right: -95px !important;
    }

    .main_heading {
        font-size: 31px !important;
    }
}

/* --------------------------------------------------------------------------
   PREVENT HORIZONTAL SCROLL
   -------------------------------------------------------------------------- */
body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

.hero_image,
.hero_image * {
    box-sizing: border-box !important;
}

.hero_image .container-fluid,
.hero_image .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

@media (min-width: 768px) {
    .hero_image .container-fluid,
    .hero_image .container {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

/* --------------------------------------------------------------------------
   HIGH DPI DISPLAYS
   -------------------------------------------------------------------------- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-globe-img {
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
    }
}

/* ==========================================================================
   MOBILE HERO SLIDER INDICATOR FIX (< 768px)
   Replaces the vertical stacked outline boxes with clean horizontal circles
   ========================================================================== */
@media (max-width: 767px) {
    span.tabs_vertical_line,
    img.whiteline_image {
        display: none !important;
    }

    .top_banner_tabs .nav-pills {
        margin-top: 30px !important;
        padding-left: 20px !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .nav-item.tabs_numbers {
        width: 42px !important;
        height: 42px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    .nav-pills li .slider_tabs {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        max-width: 42px !important;
        max-height: 42px !important;
        aspect-ratio: 1 / 1 !important;
        padding: 0 !important;
        border-radius: 50% !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        background-color: transparent !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 0.65 !important;
        transform: none !important;
        box-shadow: none !important;
        transition: all 0.3s ease !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }

    .nav-pills li .slider_tabs.active {
        background: linear-gradient(#ffffff, #ffffff) padding-box,
                    linear-gradient(to right, rgba(255, 24, 110, 1), rgba(255, 109, 49, 1)) border-box !important;
        border: 2px solid transparent !important;
        opacity: 1 !important;
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.25) !important;
    }

    span.slid_no {
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: rgba(255, 255, 255, 0.7) !important;
        transition: all 0.3s ease !important;
        width: auto !important;
        height: auto !important;
    }

    .nav-pills li .slider_tabs.active span.slid_no {
        font-weight: 800 !important;
        background: linear-gradient(to right, rgba(255, 24, 110, 1) 0%, rgba(255, 109, 49, 1) 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }

    span.slid_text {
        display: none !important;
    }
}

/* ==========================================================================
   END OF HERO RESPONSIVE STYLESHEET
   Desktop (1200px+): Original composition restored (NO flex vertical centering)
   Mobile/Tablet: Flex centering applied for better responsive layout
   ========================================================================== */
