@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* =========================================================
   DIODE SOLUTIONS
   GLOBAL RESPONSIVE STYLES
   FONT: OUTFIT
========================================================= */


/* =========================================================
   GOOGLE FONT
========================================================= */




/* =========================================================
   GLOBAL RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;

    font-family: "Outfit", sans-serif;
    font-weight: 400;

    background: #08121F;
    color: #E5EDF5;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

 

/* =========================================================
   ELEMENTOR TYPOGRAPHY OVERRIDE
========================================================= */

.elementor,
.elementor-widget,
.elementor-widget-container,
.elementor-heading-title,
.elementor-button,
.elementor-nav-menu,
.elementor-nav-menu a,
.elementor-icon-list-text,
.elementor-text-editor,
.elementor p,
.elementor h1,
.elementor h2,
.elementor h3,
.elementor h4,
.elementor h5,
.elementor h6 {
    font-family: "Outfit", sans-serif;
}


/* =========================================================
   HEADINGS
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
}


/* =========================================================
   LINKS
========================================================= */

a {
    font-family: "Outfit", sans-serif;
}


/* =========================================================
   IMAGES / MEDIA
========================================================= */

img,
svg,
video {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 100%;
    max-width: 95%;

    margin: 0 auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.custom-nav {
    width: 100%;

    background: rgba(8, 18, 31, .92);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* =========================================================
   HERO
========================================================= */

.hero {
    padding:
        clamp(120px, 12vw, 170px)
        0
        clamp(70px, 9vw, 120px);
}

.hero h1 {
    font-family: "Outfit", sans-serif;

    font-size: clamp(38px, 5vw, 64px);

    font-weight: 600;

    line-height: 1.1;

    margin-bottom: 20px;

    letter-spacing: -1.5px;
}

.hero .lead {
    color: #A8B8C8;

    font-family: "Outfit", sans-serif;

    font-size: clamp(16px, 1.5vw, 20px);

    font-weight: 400;

    line-height: 1.7;
}

.eyebrow {
    color: #4EA3FF;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 14px;

    font-weight: 600;
}

.hero-image {
    width: 100%;

    max-width: 500px;

    height: auto;

    display: block;

    margin: 0 auto;
}


/* =========================================================
   STATS
========================================================= */

.stats {
    padding: clamp(50px, 6vw, 70px) 0;

    background: #0D1B2A;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    padding: clamp(65px, 8vw, 100px) 0;
}

.dark-section {
    background: #0D1B2A;
}


/* =========================================================
   FEATURE BOX
========================================================= */

.feature-box {
    background: #122338;

    padding: clamp(22px, 3vw, 35px);

    border-radius: 20px;
}

.feature {
    padding: 18px 0;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            .08
        );
}

.feature:last-child {
    border: none;
}


/* =========================================================
   GENERAL CARDS
========================================================= */

.card-box {
    background: #122338;

    padding: clamp(22px, 3vw, 30px);

    border-radius: 18px;

    height: 100%;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.card-box:hover {
    transform: translateY(-8px);

    box-shadow:
        0 0 30px
        rgba(
            78,
            163,
            255,
            .25
        );
}


/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {
    padding:
        clamp(120px, 12vw, 160px)
        0
        clamp(60px, 7vw, 80px);

    background: #0D1B2A;
}


/* =========================================================
   CONTACT BOX
========================================================= */

.contact-box {
    background: #122338;

    padding: clamp(25px, 4vw, 40px);

    border-radius: 20px;
}


/* =========================================================
   FORM
========================================================= */

.form-control {
    width: 100%;

    background: #0F2236;

    border:
        1px solid
        #1F3856;

    color: white;

    padding: 14px;

    font-family: "Outfit", sans-serif;

    font-weight: 400;
}

.form-control::placeholder {
    color: #8FA4B9;
}

.form-control:focus {
    background: #0F2236;

    color: white;

    border-color: #4EA3FF;

    box-shadow: none;
}


/* =========================================================
   BUTTON
========================================================= */

.btn-primary {
    background: #1976D2;

    border: none;

    padding: 14px 32px;

    font-family: "Outfit", sans-serif;

    font-weight: 600;

    transition: .3s ease;

    cursor: pointer;
}

.btn-primary:hover {
    background: #2196F3;
}


/* =========================================================
   SERVICES SECTION
========================================================= */

.services-section {
    position: relative;

    padding:
        clamp(70px, 9vw, 110px)
        0
        clamp(65px, 8vw, 100px);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 50%,
            rgba(
                35,
                95,
                255,
                .08
            ),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 50%,
            rgba(
                160,
                45,
                255,
                .08
            ),
            transparent 35%
        ),
        #08121F;
}


/* =========================================================
   BACKGROUND GLOW
========================================================= */

.services-glow {
    position: absolute;

    width: clamp(220px, 30vw, 380px);
    height: clamp(220px, 30vw, 380px);

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;

    opacity: .35;
}

.services-glow-left {
    left: -250px;
    top: 180px;

    background: #2563EB;
}

.services-glow-right {
    right: -250px;
    bottom: 50px;

    background: #9333EA;
}


/* =========================================================
   SERVICES HEADING
========================================================= */

.services-heading {
    position: relative;

    z-index: 2;

    margin-bottom:
        clamp(35px, 5vw, 65px);

    text-align: center;
}

.section-label {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #4EA3FF;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 2px;

    margin-bottom: 18px;
}

.label-dot {
    width: 26px;
    height: 12px;

    border-radius: 20px;

    background: #2563EB;

    position: relative;
}

.label-dot::after {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #ffffff;

    right: 2px;
    top: 2px;
}


/* =========================================================
   SERVICES TITLE
========================================================= */

.services-heading h2 {
    margin: 0;

    color: #ffffff;

    font-family: "Outfit", sans-serif;

    font-size:
        clamp(
            32px,
            5vw,
            58px
        );

    line-height: 1.08;

    font-weight: 600;

    letter-spacing: -1.5px;
}

.services-heading h2 span {
    background:
        linear-gradient(
            90deg,
            #4EA3FF,
            #8B5CF6
        );

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
}

.services-heading p {
    width: 100%;

    max-width: 650px;

    margin: 22px auto 0;

    color: #94A8BD;

    font-family: "Outfit", sans-serif;

    font-size:
        clamp(
            14px,
            1.5vw,
            17px
        );

    font-weight: 400;

    line-height: 1.7;

    padding: 0 10px;
}


/* =========================================================
   SERVICES CAROUSEL
========================================================= */

.services-carousel {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    gap:
        clamp(
            8px,
            2vw,
            35px
        );

    z-index: 5;

    width: 100%;
}


/* =========================================================
   CAROUSEL WINDOW
========================================================= */

.services-window {
    width: 100%;
    max-width: 100%;
    overflow: hidden; /* Hides overflowing clones cleanly */
    position: relative;
    padding: 15px 0 25px;
}

 
.services-track {
    display: flex;
    gap: 25px;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    flex-wrap: nowrap;
}
/* =========================================================
   CAROUSEL TRACK
========================================================= */

.services-track {
    display: flex;

    gap: 25px;

    will-change: transform;

    transform: translate3d(0, 0, 0);
}


/* =========================================================
   SERVICE CARD
========================================================= */

.service-card {
    flex:
        0 0 290px;

    min-height: 370px;

    padding: 30px;

    position: relative;

    overflow: hidden;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #122338,
            #0C1828
        );

    border:
        1px solid
        rgba(
            78,
            163,
            255,
            .13
        );

    box-shadow:
        0 20px 50px
        rgba(
            0,
            0,
            0,
            .28
        );

    transition:
        transform .35s ease,
        background .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;

    display: flex;

    flex-direction: column;

    min-width: 0;

    font-family: "Outfit", sans-serif;

    /* Better cursor */
    cursor: pointer;

    /* Prevent text selection while clicking */
    user-select: none;

    -webkit-user-select: none;
}


/* =========================================================
   CARD DECORATION
========================================================= */

.service-card::before {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    top: -100px;
    right: -100px;

    border-radius: 50%;

    background: #2563EB;

    filter: blur(70px);

    opacity: .12;

    pointer-events: none;

    transition:
        opacity .35s ease,
        transform .35s ease;
}


/* =========================================================
   SERVICE CARD HOVER
========================================================= */

.service-card:hover {

    /* Lift card */
    transform: translateY(-10px);

    /* Blue / purple hover color */
    background:
        linear-gradient(
            145deg,
            #2563EB 0%,
            #4EA3FF 45%,
            #7C3AED 100%
        );

    /* Brighter border */
    border-color:
        rgba(
            255,
            255,
            255,
            .45
        );

    /* Premium glow */
    box-shadow:
        0 25px 55px
        rgba(
            37,
            99,
            235,
            .38
        ),
        0 0 35px
        rgba(
            78,
            163,
            255,
            .18
        );
}


/* Hover decoration */

.service-card:hover::before {
    background: #ffffff;

    opacity: .18;

    transform: scale(1.15);
}


/* =========================================================
   SERVICE ICON
========================================================= */

.service-icon {
    width: 64px;
    height: 64px;

    min-width: 64px;

    border-radius: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(
            37,
            99,
            235,
            .08
        );

    border:
        1px solid
        rgba(
            78,
            163,
            255,
            .25
        );

    margin-bottom: 32px;

    transition:
        transform .35s ease,
        background .35s ease,
        border-color .35s ease;
}


/* Icon hover */

.service-card:hover .service-icon {
    background:
        rgba(
            255,
            255,
            255,
            .18
        );

    border-color:
        rgba(
            255,
            255,
            255,
            .45
        );

    transform:
        scale(1.08)
        rotate(-2deg);
}

.service-icon svg {
    width: 31px;
    height: 31px;

    fill: none;

    stroke: #4EA3FF;

    stroke-width: 1.5;

    stroke-linecap: round;

    stroke-linejoin: round;

    transition:
        stroke .35s ease;
}

.service-card:hover .service-icon svg {
    stroke: #ffffff;
}


/* =========================================================
   SERVICE NUMBER
========================================================= */

.service-number {
    position: absolute;

    top: 27px;
    right: 28px;

    font-size: 12px;

    color: #60758B;

    font-weight: 600;

    letter-spacing: 1px;

    transition:
        color .35s ease;
}

.service-card:hover .service-number {
    color:
        rgba(
            255,
            255,
            255,
            .75
        );
}


/* =========================================================
   SERVICE TITLE
========================================================= */

.service-card h3 {
    color: #ffffff;

    font-family: "Outfit", sans-serif;

    font-size:
        clamp(
            20px,
            2vw,
            23px
        );

    font-weight: 600;

    margin: 0 0 15px;

    line-height: 1.25;

    transition:
        color .35s ease;
}

.service-card:hover h3 {
    color: #ffffff;
}


/* =========================================================
   SERVICE DESCRIPTION
========================================================= */

.service-card p {
    color: #91A5B9;

    font-family: "Outfit", sans-serif;

    font-size: 14px;

    font-weight: 400;

    line-height: 1.7;

    margin-bottom: 25px;

    transition:
        color .35s ease;
}

.service-card:hover p {
    color:
        rgba(
            255,
            255,
            255,
            .90
        );
}


/* =========================================================
   SERVICE BUTTON
========================================================= */

.service-button {
    margin-top: auto;

    width: fit-content;

    max-width: 100%;

    padding: 11px 17px;

    border-radius: 9px;

    color: #ffffff;

    border:
        1px solid
        #3B82F6;

    text-decoration: none;

    font-family: "Outfit", sans-serif;

    font-size: 14px;

    font-weight: 600;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;

    cursor: pointer;
}

.service-button span {
    font-size: 19px;

    transition:
        transform .3s ease;
}


/* Button hover inside card */

.service-card:hover .service-button {
    background:
        rgba(
            255,
            255,
            255,
            .15
        );

    color: #ffffff;

    border-color:
        rgba(
            255,
            255,
            255,
            .45
        );
}

.service-button:hover {
    background: #ffffff;

    color: #2563EB;

    border-color: #ffffff;

    box-shadow:
        0 8px 25px
        rgba(
            0,
            0,
            0,
            .18
        );

    transform: translateY(-2px);
}

.service-button:hover span {
    transform: translateX(5px);
}


/* =========================================================
   CARD CLICK EFFECT
========================================================= */

.service-card:active {
    transform:
        translateY(-5px)
        scale(.99);
}


/* =========================================================
   ACTIVE SERVICE CARD
========================================================= */

.service-card.active {
    background:
        linear-gradient(
            145deg,
            #2563EB,
            #7C3AED
        );

    border-color: transparent;

    transform:
        translateY(-12px)
        scale(1.03);

    box-shadow:
        0 30px 70px
        rgba(
            37,
            99,
            235,
            .35
        );
}

.service-card.active::before {
    background: #ffffff;

    opacity: .15;
}


/* Active card icon */

.service-card.active .service-icon {
    background:
        rgba(
            255,
            255,
            255,
            .95
        );

    border-color:
        rgba(
            255,
            255,
            255,
            .7
        );
}

.service-card.active .service-icon svg {
    stroke: #2563EB;
}


/* Active card text */

.service-card.active h3 {
    color: #ffffff;
}

.service-card.active p {
    color:
        rgba(
            255,
            255,
            255,
            .85
        );
}

.service-card.active .service-number {
    color:
        rgba(
            255,
            255,
            255,
            .65
        );
}


/* Active card button */

.service-card.active .service-button {
    background: #ffffff;

    border-color: #ffffff;

    color: #17315D;
}

.service-card.active .service-button:hover {
    background:
        rgba(
            255,
            255,
            255,
            .9
        );

    color: #2563EB;
}


/* =========================================================
   CAROUSEL ARROWS
========================================================= */

.service-arrow {
    flex-shrink: 0;

    width: 52px;
    height: 52px;

    border: none;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-family: "Outfit", sans-serif;

    font-size: 23px;

    cursor: pointer;

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;

    z-index: 10;
}

.service-arrow-left {
    background:
        rgba(
            255,
            255,
            255,
            .07
        );

    color: #ffffff;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .15
        );
}

.service-arrow-right {
    background: #2563EB;

    color: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(
            37,
            99,
            235,
            .3
        );
}

.service-arrow:hover {
    transform: scale(1.1);
}

.service-arrow-left:hover {
    background:
        rgba(
            78,
            163,
            255,
            .18
        );

    border-color: #4EA3FF;
}

.service-arrow-right:hover {
    background: #4EA3FF;
}


/* =========================================================
   CAROUSEL DOTS
========================================================= */

.service-dots {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    margin-top: 30px;
}

.service-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #40556B;

    cursor: pointer;

    transition:
        width .3s ease,
        background .3s ease;
}

.service-dot.active {
    width: 28px;

    border-radius: 10px;

    background: #4EA3FF;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #050D16;

    padding: 40px 0;

    color: #8FA4B9;

    font-family: "Outfit", sans-serif;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
.service-card:focus-visible {
    outline:
        2px solid
        #4EA3FF;

    outline-offset: 3px;
}
 
/* PARTNERS & CLIENT SHOWCASE STYLING */
.partners-showcase {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(13, 110, 253, 0.05) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 0;
}

/* Uniform container to handle spacing and alignment */
.partner-logo-wrap {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    transition: transform 0.3s ease;
}

.partner-logo-wrap:hover {
    transform: translateY(-3px);
}

/* Strict uniform size enforcement for ALL logos */
.partner-logo-wrap img,
.partner-logo-wrap svg {
    height: 26px !important;
    width: auto !important;
    max-width: 130px !important;
    object-fit: contain;
    display: block;
}

/* Unified clean white treatment for single-color logos */
.brand-white {
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.partner-logo-wrap:hover .brand-white {
    opacity: 1;
}

.open-source-highlight {
    font-size: 0.95rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid #0d6efd;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left-width: 4px;
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
}




/* =========================================================
   LARGE TABLETS / SMALL LAPTOPS
   769px - 1100px
========================================================= */

@media (max-width: 1100px) {

    .container {
        max-width: 100%;

        padding-left: 25px;
        padding-right: 25px;
    }

    .services-window {
        width:
            min(
                700px,
                calc(100vw - 170px)
            );
    }

    .service-card {
        flex-basis: 300px;
    }

    .services-carousel {
        gap: 15px;
    }
}


/* =========================================================
   TABLETS
   577px - 768px
========================================================= */

@media (max-width: 768px) {

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        padding:
            130px
            0
            75px;

        text-align: center;
    }

    .hero h1 {
        font-size:
            clamp(
                38px,
                8vw,
                48px
            );
    }

    .hero .lead {
        font-size: 16px;
    }

    .hero-image {
        margin-top: 35px;
    }

    .section {
        padding: 70px 0;
    }

    .page-hero {
        padding:
            130px
            0
            65px;
    }


    /* SERVICES */

    .services-section {
        padding: 75px 0;
    }

    .services-heading {
        margin-bottom: 35px;
    }

    .services-heading h2 {
        font-size:
            clamp(
                32px,
                7vw,
                42px
            );
    }

    .services-heading p {
        font-size: 15px;

        padding: 0 15px;
    }

    .services-carousel {
        gap: 8px;
    }

    .services-window {
        width:
            calc(
                100vw - 100px
            );

        max-width: none;

        padding:
            15px
            0
            25px;
    }

    .services-track {
        gap: 18px;
    }

    .service-card {
        flex:
            0 0
            calc(
                100vw - 125px
            );

        min-height: 350px;

        padding: 27px;
    }

    .service-arrow {
        width: 42px;
        height: 42px;

        font-size: 18px;
    }

    .service-icon {
        width: 58px;
        height: 58px;

        min-width: 58px;

        margin-bottom: 25px;
    }

    .service-icon svg {
        width: 28px;
        height: 28px;
    }

    .service-number {
        top: 25px;
        right: 24px;
    }

    .service-card.active {
        transform:
            translateY(-8px)
            scale(1.01);
    }
}


/* =========================================================
   MOBILE
   400px - 576px
========================================================= */

@media (max-width: 576px) {

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        padding:
            115px
            0
            60px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero .lead {
        font-size: 15px;

        line-height: 1.6;
    }

    .eyebrow {
        font-size: 12px;

        letter-spacing: 1.5px;
    }

    .section {
        padding: 60px 0;
    }

    .page-hero {
        padding:
            115px
            0
            55px;
    }


    /* SERVICES */

    .services-section {
        padding: 65px 0;
    }

    .section-label {
        font-size: 11px;

        letter-spacing: 1.5px;
    }

    .label-dot {
        width: 22px;
        height: 10px;
    }

    .label-dot::after {
        width: 6px;
        height: 6px;

        top: 2px;
        right: 2px;
    }

    .services-heading h2 {
        font-size: 32px;

        letter-spacing: -.8px;
    }

    .services-heading p {
        font-size: 14px;

        line-height: 1.6;

        margin-top: 16px;
    }

    .services-carousel {
        gap: 5px;
    }

    .services-window {
        width:
            calc(
                100vw - 76px
            );
    }

    .services-track {
        gap: 14px;
    }

    .service-card {
        flex:
            0 0
            calc(
                100vw - 100px
            );

        min-height: 340px;

        padding: 24px;

        border-radius: 18px;
    }

    .service-card h3 {
        font-size: 21px;
    }

    .service-card p {
        font-size: 13px;

        line-height: 1.65;
    }

    .service-icon {
        width: 54px;
        height: 54px;

        min-width: 54px;

        border-radius: 13px;

        margin-bottom: 22px;
    }

    .service-icon svg {
        width: 26px;
        height: 26px;
    }

    .service-number {
        font-size: 10px;

        top: 23px;
        right: 20px;
    }

    .service-button {
        font-size: 13px;

        padding:
            10px
            14px;
    }

    .service-arrow {
        width: 34px;
        height: 34px;

        font-size: 16px;
    }

    .service-dots {
        margin-top: 20px;
    }
}


/* =========================================================
   VERY SMALL PHONES
   BELOW 400px
========================================================= */

@media (max-width: 399px) {

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero {
        padding-top: 105px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .services-heading h2 {
        font-size: 29px;
    }

    .services-window {
        width:
            calc(
                100vw - 66px
            );
    }

    .service-card {
        flex-basis:
            calc(
                100vw - 88px
            );

        padding: 21px;

        min-height: 330px;
    }

    .service-card h3 {
        font-size: 19px;
    }

    .service-card p {
        font-size: 12.5px;
    }

    .service-arrow {
        width: 30px;
        height: 30px;

        font-size: 14px;
    }
}
/* =========================================
   GLOBAL CUSTOM CURSOR
   ========================================= */

.custom-cursor {
    position: fixed;
    width: 36px;
    height: 36px;

    border: 1px solid #8B98B2;
    border-radius: 50%;

    background: transparent;

    pointer-events: none;
    z-index: 999999;

    transform: translate(-50%, -50%);

    opacity: 0;

    transition:
        width 0.2s ease,
        height 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}


/* Center dot */

.custom-cursor::after {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    background: #26395E;

    border-radius: 50%;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


/* =========================================
   HOVER STATE
   ========================================= */

.custom-cursor.card-hover {
    width: 46px;
    height: 46px;

    border-color: #4EA3FF;

    background: rgba(78, 163, 255, 0.08);

    box-shadow:
        0 0 20px rgba(78, 163, 255, 0.25);
}


.custom-cursor.card-hover::after {
    background: #4EA3FF;

    transform:
        translate(-50%, -50%)
        scale(1.15);
}


/* =========================================
   CLICK EFFECT
   ========================================= */

.custom-cursor.clicking {
    width: 30px;
    height: 30px;
}


/* =========================================
   DESKTOP
   ========================================= */

@media (hover: hover) and (pointer: fine) {

    body {
        cursor: none;
    }

    a,
    button,
    input,
    textarea,
    select,
    .service-card {
        cursor: none;
    }
}


/* =========================================
   MOBILE / TOUCH
   ========================================= */

@media (hover: none), (pointer: coarse) {

    .custom-cursor {
        display: none !important;
    }

    body,
    a,
    button,
    input,
    textarea,
    select,
    .service-card {
        cursor: auto;
    }
}

/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;

        animation-duration: .01ms !important;
    }
}


/* =========================================
   SINGLE GLOBAL TOP INFORMATION BAR
   ========================================= */
/* =========================================
   DIODE SOLUTIONS - GLOBAL TOP BAR
========================================= */

body .top-info-bar {
    width: 100%;
    min-height: 44px;

    background:
        radial-gradient(
            ellipse at 0% 50%,
            rgba(37, 99, 235, 0.38) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at 100% 50%,
            rgba(124, 58, 237, 0.38) 0%,
            transparent 50%
        ),
        #08121F;

    color: #ffffff;
    font-family: "Outfit", sans-serif;
    position: relative;
    z-index: 1050;
}

/* Full width, with small edge spacing */
body .top-info-bar .top-info-container {
    width: 100%;
    max-width: none;
    min-height: 44px;

    margin: 0;
    padding: 7px 4%;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

/* Left: email and phone */
body .top-info-bar .top-info-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}

/* Right: location and social links */
body .top-info-bar .top-info-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 24px;
}

body .top-info-bar .top-social-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
}

/* Links */
body .top-info-bar .top-info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body .top-info-bar a {
    color: #ffffff;
    text-decoration: none;

    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

body .top-info-bar i {
    font-size: 14px;
}

body .top-info-bar a:hover {
    color: #ffffff;
    opacity: 0.8;
    transform: translateY(-2px);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    body .top-info-bar .top-info-container {
        padding: 9px 3%;
        gap: 12px;
    }

    body .top-info-bar .top-info-left,
    body .top-info-bar .top-info-right {
        gap: 12px;
    }

    body .top-info-bar a {
        font-size: 12px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    body .top-info-bar .top-info-container {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 10px 12px;
    }

    body .top-info-bar .top-info-left,
    body .top-info-bar .top-info-right {
        justify-content: center;
        gap: 10px 15px;
    }

    body .top-info-bar a {
        font-size: 11px;
    }

    body .top-info-bar .top-social-links {
        gap: 14px;
    }
}
/* The navbar sticks only after the top bar has scrolled away. */
.custom-nav.sticky-top { top: 0; z-index: 1030; }
@media (max-width: 768px) {
    .top-info-container { width: calc(100% - 28px); gap: 12px; }
    .top-info-left, .top-info-right { gap: 12px; }
    .top-info-bar .top-info-link { font-size: 12px; }
}
@media (max-width: 576px) {
    .top-info-container { flex-direction: column; justify-content: center; gap: 8px; }
    .top-info-left, .top-info-right { justify-content: center; flex-wrap: wrap; gap: 8px 16px; }
    .top-info-bar .top-info-link { font-size: 11px; }
}
