/* =========================================================
   HAEGL — PLATFORM ICONS + TECHNOLOGY MARQUEE STYLESHEET
   Extracted into dedicated static stylesheet
   ========================================================= */

/* =========================================================
   MAIN PLATFORM SECTION
========================================================= */

.haegl-platform-marquee {
    position: relative;
    display: block;
    clear: both;

    width: 100%;
    margin: 0;

    /* DESKTOP — Spacing above the "Powered by" badge, slider bar placed below */
    padding: 38px 0 0 !important;

    background: transparent !important;

    overflow: visible;
    box-sizing: border-box;

    z-index: 10;
}


/* =========================================================
   INNER CONTAINER
========================================================= */

.haegl-platform-marquee__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    padding: 0 40px;

    box-sizing: border-box;
}


/* =========================================================
   POWERED BY HEADING
========================================================= */

.haegl-platform-marquee__heading {
    width: 100%;

    margin: 0 0 18px;

    padding: 0 20px;

    text-align: center;

    background: transparent !important;

    box-sizing: border-box;
}

.haegl-platform-marquee__heading span {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 6px 18px;

    color: #4a5568;

    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 999px;

    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.5;

    letter-spacing: 2px;

    text-transform: uppercase;
    text-align: center;

    white-space: normal;

    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}


/* =========================================================
   PLATFORM ICONS
========================================================= */

.haegl-platform-icons {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: nowrap;

    gap: 55px;

    overflow: hidden;

    box-sizing: border-box;
}


/* =========================================================
   ICON HOLDER
========================================================= */

.haegl-platform-icon {
    flex: 0 0 auto;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0.82;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        filter 0.3s ease;

    box-sizing: border-box;
}

.haegl-platform-icon:hover {
    opacity: 1;

    transform: translateY(-3px);

    filter: drop-shadow(
        0 4px 12px rgba(220, 25, 35, 0.22)
    );
}


/* =========================================================
   SVG
========================================================= */

.haegl-platform-icon svg {
    display: block;

    width: 28px;
    height: 28px;

    flex-shrink: 0;

    overflow: visible;
}


/* =========================================================
   INDIVIDUAL ICON SIZES
========================================================= */

.haegl-platform-icon.aws svg {
    width: 36px;
    height: 30px;
}

.haegl-platform-icon.google svg {
    width: 30px;
    height: 30px;
}

.haegl-platform-icon.azure svg {
    width: 28px;
    height: 28px;
}

.haegl-platform-icon.nvidia svg {
    width: 31px;
    height: 31px;
}

.haegl-platform-icon.cloudflare svg {
    width: 32px;
    height: 32px;
}

.haegl-platform-icon.razorpay svg {
    width: 30px;
    height: 30px;
}


/* =========================================================
   TECHNOLOGY MARQUEE
========================================================= */

.haegl-tech-marquee {
    position: relative;

    width: 100%;

    margin-top: 36px;
    margin-bottom: 0;

    background: #080808;

    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);

    overflow: hidden;

    box-sizing: border-box;
}

.haegl-tech-marquee__track {
    display: flex;

    width: max-content;

    align-items: center;

    white-space: nowrap;

    animation: haeglMarquee 38s linear infinite;

    will-change: transform;
}

.haegl-tech-marquee__group {
    display: flex;

    align-items: center;

    flex-shrink: 0;

    white-space: nowrap;
}

.haegl-tech-marquee__item {
    display: inline-flex;

    align-items: center;

    color: rgba(255,255,255,0.78);

    font-size: 13px;
    font-weight: 650;

    line-height: 1;

    letter-spacing: 2.5px;

    text-transform: uppercase;

    white-space: nowrap;

    padding: 25px 0;
}


/* =========================================================
   MARQUEE DOT
========================================================= */

.haegl-tech-marquee__dot {
    display: inline-block;

    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    margin: 0 28px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #ff2b2b 0%,
        #7b2cff 100%
    );

    box-shadow:
        0 0 10px rgba(123,44,255,0.45);
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes haeglMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .haegl-platform-marquee {
        padding-top: 28px !important;
        padding-bottom: 0 !important;
    }

    .haegl-platform-marquee__inner {
        padding: 0 28px;
    }

    .haegl-platform-marquee__heading {
        margin-bottom: 28px;
        padding: 0 50px;
    }

    .haegl-platform-marquee__heading span {
        padding: 0 16px;
        font-size: 12px;
        letter-spacing: 2px;
    }

    .haegl-platform-icons {
        gap: 38px;
    }

    .haegl-platform-icon {
        width: 42px;
        height: 42px;
    }

    .haegl-tech-marquee {
        margin-top: 30px;
        margin-bottom: 0;
    }

    .haegl-tech-marquee__item {
        font-size: 12px;
        padding: 23px 0;
    }

    .haegl-tech-marquee__dot {
        margin: 0 23px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .haegl-platform-marquee {
        padding-top: 24px !important;
        padding-bottom: 0 !important;
        background: transparent !important;
        overflow: hidden;
        clear: both;
        position: relative;
        z-index: 20;
    }


    .haegl-platform-marquee__inner {
        width: 100%;

        padding: 0 14px;

        box-sizing: border-box;
    }


    /* =====================================================
       POWERED BY — MOBILE
    ===================================================== */

    .haegl-platform-marquee__heading {
        width: 100%;

        padding: 0 24px;

        margin: 0 0 25px;

        text-align: center;

        background: transparent !important;

        box-sizing: border-box;
    }


    .haegl-platform-marquee__heading span {
        display: block;

        width: 100%;

        padding: 0 12px;

        color: #111111;

        background: transparent !important;

        font-size: 9.5px;

        font-weight: 750;

        line-height: 1.7;

        letter-spacing: 1.35px;

        text-align: center;

        white-space: normal;

        box-sizing: border-box;
    }


    /* =====================================================
       SIX ICONS — SINGLE ROW ON MOBILE
    ===================================================== */

    .haegl-platform-icons {
        display: flex;

        flex-wrap: nowrap;

        justify-content: space-between;

        align-items: center;

        width: 100%;

        gap: 0;

        overflow: hidden;

        box-sizing: border-box;
    }


    .haegl-platform-icon {
        flex: 0 0 16.666666%;

        width: 16.666666%;

        height: 38px;

        display: flex;

        align-items: center;

        justify-content: center;

        opacity: 0.82;
    }


    /* =====================================================
       MOBILE SVG SIZES
    ===================================================== */

    .haegl-platform-icon.aws svg {
        width: 31px;
        height: 27px;
    }

    .haegl-platform-icon.google svg {
        width: 26px;
        height: 26px;
    }

    .haegl-platform-icon.azure svg {
        width: 24px;
        height: 24px;
    }

    .haegl-platform-icon.nvidia svg {
        width: 28px;
        height: 28px;
    }

    .haegl-platform-icon.cloudflare svg {
        width: 29px;
        height: 29px;
    }

    .haegl-platform-icon.razorpay svg {
        width: 26px;
        height: 26px;
    }


    /* =====================================================
       TECHNOLOGY MARQUEE — MOBILE
    ===================================================== */

    .haegl-tech-marquee {
        margin-top: 26px;
        margin-bottom: 0;

        width: 100%;

        overflow: hidden;
    }

    .haegl-tech-marquee__track {
        animation-duration: 30s;
    }

    .haegl-tech-marquee__item {
        font-size: 9.5px;

        letter-spacing: 1.55px;

        padding: 20px 0;
    }

    .haegl-tech-marquee__dot {
        width: 5px;
        height: 5px;

        flex-basis: 5px;

        margin: 0 17px;
    }
}


/* =========================================================
   SMALL PHONES — 360px AND BELOW
========================================================= */

@media (max-width: 360px) {

    .haegl-platform-marquee {
        padding-top: 16px !important;
    }


    .haegl-platform-marquee__inner {
        padding: 0 9px;
    }


    .haegl-platform-marquee__heading {
        padding: 0 20px;

        margin-bottom: 22px;
    }


    .haegl-platform-marquee__heading span {
        padding: 0 10px;

        font-size: 8.8px;

        letter-spacing: 1.1px;
    }


    .haegl-platform-icon {
        height: 35px;
    }


    .haegl-platform-icon.aws svg {
        width: 28px;
    }

    .haegl-platform-icon.google svg {
        width: 24px;
    }

    .haegl-platform-icon.azure svg {
        width: 22px;
    }

    .haegl-platform-icon.nvidia svg {
        width: 26px;
    }

    .haegl-platform-icon.cloudflare svg {
        width: 27px;
    }

    .haegl-platform-icon.razorpay svg {
        width: 24px;
    }


    .haegl-tech-marquee {
        margin-top: 22px;
        margin-bottom: 0;
    }

    .haegl-tech-marquee__item {
        font-size: 8.5px;

        letter-spacing: 1.3px;
    }
}
