* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url(./ASSETS/FONT/PlusJakartaSans-VariableFont_wght.ttf) format("truetype");
}

@font-face {
    font-family: 'Plus Jakarta Sans Italic';
    src: url(./ASSETS/FONT/PlusJakartaSans-Italic-VariableFont_wght.ttf) format("truetype");
}

@font-face {
    font-family: 'Instrument sans';
    src: url('./ASSETS/FONT/InstrumentSerif-Italic.ttf') format('truetype');
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    height: 100%;
    background: #050b10;
}

.animation-container {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 999;
    background: #050b10;
    opacity: 1;
    animation: introSequence 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes introSequence {
    0% {
        opacity: 1;
    }

    75% {
        /* stays fully opaque, hiding the hero, until 4.1s */
        opacity: 1;
    }

    100% {
        /* eases out into the hero by 5.5s */
        opacity: 0;
        pointer-events: none;
    }
}

/* This outer element does ONLY centering (translate). It is centered on
           the screen the SAME way the owl is centered, and its transform is
           never touched by the animation below. */
.center-anchor {
    position: absolute;
    top: 50%;
    left: 50%;
    /* 145vmax guarantees the square still fully covers the viewport
               at every rotation angle, on any screen aspect ratio */
    width: 145vmax;
    height: 145vmax;
    transform: translate(-50%, -50%);
}

/* This inner element does ONLY rotation. Keeping rotation and
           centering on separate elements avoids the animation's "transform"
           keyframes overwriting the translate(-50%,-50%) above (a CSS
           animation replaces the whole transform value, it doesn't add to it). */
.spin-wrapper {
    width: 100%;
    height: 100%;
    animation: spin 20s linear infinite;
    transform-origin: center center;
    overflow: hidden;
}

.numbers-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* extra zoom so the image's own outer edges are pushed past the
               visible area and only the numbers/circle pattern shows */
    transform: scale(1.2);
    transform-origin: center center;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Owl centered with the exact same anchor point as the image wrapper above */
.owl {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(200px, 45vmin, 544px);
    height: auto;
    aspect-ratio: 544 / 292;
}

/* solid neon circles sit inside each eye ring, with padding, and blink */
.owl-eye-fill {
    fill: rgba(200, 245, 62, 1);
    transform-box: fill-box;
    transform-origin: center;
    animation: blink 4s ease-in-out infinite;
}

.owl-eye-fill.right {
    animation-delay: 0.1s;
}

@keyframes blink {

    0%,
    85%,
    100% {
        transform: scaleY(1);
    }

    90% {
        transform: scaleY(0.05);
    }

    95% {
        transform: scaleY(1);
    }
}

.instrument-sans {
    font-family: 'Instrument sans';
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans';
    background: black;
    color: #fff;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-image: url("./Sophix-9/bg.webp");
    background-position: bottom center;
    background-repeat: no-repeat;
    background-color: #000;

}

/* fade the bottom of the hero into the black pillars section */
.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 220px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000);
    pointer-events: none;
    z-index: 1;
}

.single-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
}

/* NAVBAR */

.navbar {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 28px 80px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


nav {
    display: flex;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: #c6d3f5;
    font-size: 14px;
    transition: .3s;
}

nav a:hover,
nav a.active {
    color: #C8F53E;
    ;
}

.nav-right {
    display: flex;
    gap: 25px;
    color: #d4dcef;
    font-size: 14px;
}

/* HERO CONTENT */

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 100px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0px;
}

.hero-content h1 span {
    display: block;
    color: #00A6FF;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -2px;
}

.hero-content p {
    margin-top: 28px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;

    color: #b9c4d7;
    font-size: 17px;
    line-height: 1.8;
}


#aboutus {
    border-bottom: 0.85px solid rgba(255, 255, 255, 0.08);
}

.about-us-element {
    border-right: 0.85px solid rgba(255, 255, 255, 0.08);
}

.our-services {
    width: 100%;
    /* BLUE GLOW (left side) — edit here:
       ellipse <width> <height> at <x> <y>  → size and position
       rgba(r, g, b, alpha)                 → colour and brightness */
    background:
        radial-gradient(ellipse 32vw 27vw at 15vw 14vw,
            rgba(16, 38, 96, 0.75) 0%,
            rgba(12, 30, 75, 0.45) 0%,
            rgba(6, 15, 40, 0.15) 68%,
            rgba(0, 0, 0, 0) 100%),
        #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Fortune 500 block, overlapping the faded bottom of the network graphic */
.fortune {
    position: relative;
    z-index: 2;
    margin-top: clamp(-140px, -9vw, -40px);
    padding: 0 16px 60px;
    text-align: center;
    max-width: 1200px;
}

.fortune-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #fff;
    line-height: 1;
}

.fortune-side {
    font-size: 30px;
    font-weight: 500;
}

.fortune-num {
    font-size: 104px;
    font-weight: 400;
    color: #C8F53E;
    letter-spacing: -2px;
}

.fortune-exp {
    margin-top: 6px;
    color: #C8F53E;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 0.3em;
    padding-left: 0.3em;
}

.our-services .fortune-text {
    margin-top: 32px;
    max-width: 600px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.45);
}

.fortune-tags {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.fortune-tags span {
    border: 1px solid #C8F53E;
    border-radius: 999px;
    padding: 8px 18px;
    color: #fff;
    font-size: 13px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pillars-wrap {
    position: relative;
    width: min(900px, 92vw);
}

.pillars-img {
    display: block;
    width: 100%;
    height: auto;
    /* the source image has a light 1-2px strip on its right edge */
    clip-path: inset(0 0.8% 0 0);
    /* image has a solid black background — let the section's blue glow show through */
    mix-blend-mode: lighten;
    /* trim the empty black space at the top of the image */
    margin-top: -12%;
}

.pillars-wrap {
    overflow: hidden;
}

.pillars-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.our-services h1 {
    font-size: 64px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #fff;
}

.our-services h1 span {
    display: block;
    color: #C8F53E;
    font-weight: 500;
    letter-spacing: -1px;
}

.our-services p {
    margin-top: 40px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;

    color: rgba(255, 255, 255, 0.4);
    font-size: 17px;
    line-height: 1.8;
}

.our-service-text {
    padding: 50px 0;
}

.sectors {
    aspect-ratio: 16 / 9;
    background-image: url("./ASSETS/IMG/IMG03-1.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sectors span {
    font-style: italic;
}

.button-sectors {
    border: 0.85px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0px;
    letter-spacing: 0px;
}

footer {
    background-image: url("./ASSETS/IMG/FOOTER.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;

}

/* RESPONSIVE */

@media(max-width:992px) {
    .home p {
        padding-top: 300px;
        font-size: 13px;
        font-weight: 500;
        list-style: 18px;
        color: #fff;
    }

    .navbar {
        padding: 25px 30px;
    }

    nav {
        display: none;
    }


    .pillars-text {
        top: 42%;
    }

    .fortune-title {
        gap: 8px;
    }

    .fortune-side {
        font-size: 14px;
    }

    .fortune-num {
        font-size: 52px;
        letter-spacing: -1px;
    }

    .fortune-exp {
        font-size: 15px;
    }

    .our-services .fortune-text {
        margin-top: 18px;
        padding: 0;
        font-size: 12px;
    }

    .fortune-tags {
        margin-top: 24px;
        gap: 8px;
    }

    .fortune-tags span {
        padding: 6px 12px;
        font-size: 10px;
    }

    .hero-content h1,
    .hero-content h1 span,
    .our-services h1,
    .our-services h1 span {
        font-size: 30px;
    }

    .hero-content h1 span,
    .our-services h1 span {
        letter-spacing: 0px;
    }

    .our-services p {
        margin-top: 16px;
        padding: 0 16px;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
        line-height: 18px;
    }

    .our-services div {
        width: 100%;
    }

    .our-service-text {
        padding: 20px 0;
    }

    .about-us-element {
        border-bottom: 0.85px solid rgba(255, 255, 255, 0.08);
    }

    .our-services,
    .who-we-serve,
    .sectors {
        overflow-x: hidden !important;
    }
}

@media(max-width:600px) {

    .hero-content {
        margin-top: 150px;
    }
}