@import url("https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&display=swap");

:root {
    --purple: #6c3eeb;
    --purple-dark: #5530cc;
    --purple-soft: #f0ebff;
    --dark: #0e0e0e;
    --body-text: #444;
    --muted: #777;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Clash Display", sans-serif;
    color: var(--body-text);
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

/* ──────────────────────────────────
           NAVBAR
        ────────────────────────────────── */
#mainNav {
    background: #fff !important;
    padding: 16px 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
    transition:
        padding 0.3s,
        box-shadow 0.3s;
}

#mainNav.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.45rem;
    color: #111 !important;
    letter-spacing: -0.3px;
}

.navbar-nav .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333 !important;
    padding: 6px 14px !important;
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--purple) !important;
}

.btn-contact {
    background: var(--purple);
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition:
        background 0.25s,
        transform 0.25s;
}

.btn-contact:hover {
    background: var(--purple-dark);
    transform: translateY(-1px);
}

.navbar-toggler {
    border: 1.5px solid rgba(108, 62, 235, 0.25);
    padding: 5px 9px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(108,62,235,.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ──────────────────────────────────
           HERO SLIDER  (white/light bg)
        ────────────────────────────────── */
#heroCarousel {
    background: #f7f8fc;
}

.hero-slide {
    min-height: calc(100vh - 68px);
    padding: 90px 0 60px;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: clamp(28px, 4.5vw, 52px);
    font-family: "Clash Display", sans-serif;
    font-weight: 500;
    color: #111;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.hero-sub {
    font-size: 20px;
    color: #12141d;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--purple);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition:
        background 0.25s,
        transform 0.25s,
        box-shadow 0.25s;
}

.btn-hero:hover {
    background: var(--purple-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(108, 62, 235, 0.32);
}

.btn-hero .arrow-circle {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.hero-img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-placeholder {
    width: 100%;
    aspect-ratio: 5/4;
    background: linear-gradient(135deg, #e8e4ff 0%, #dce8ff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-placeholder i {
    font-size: 7rem;
    color: rgba(108, 62, 235, 0.2);
}

/* carousel dots */
.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(108, 62, 235, 0.25);
    margin: 0 4px;
    transition: all 0.3s;
}

.carousel-indicators .active {
    background: var(--purple);
    width: 24px;
    border-radius: 4px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 44px;
    height: 44px;
    background: rgba(108, 62, 235, 0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 16px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(27%) sepia(99%) saturate(1000%) hue-rotate(240deg);
}

.bg-first {
    background-image: url("../image/BG_1.svg");
    background-size: cover;
    background-position: center;
}

.bg-second {
    background-image: url("../image/BG_2.svg");
    background-size: cover;
    background-position: center;
}

.bg-third {
    background-image: url("../image/BG_3.svg");
    background-size: cover;
    background-position: center;
}

/* ──────────────────────────────────
           SHARED
        ────────────────────────────────── */
section {
    padding: 88px 0;
}

.sec-title {
    font-size: clamp(28px, 4.5vw, 60px);
    font-weight: 500;
    color: #12141d;
    line-height: 1.22;
    letter-spacing: -0.4px;
}

.sec-sub {
    font-size: clamp(15px, 1.5vw, 18px);
    color: #12141d;
    line-height: 30px;
}

.btn-purple {
    display: inline-block;
    background: var(--purple);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 11px 26px;
    border-radius: 8px;
    text-decoration: none;
    transition:
        background 0.25s,
        transform 0.25s;
}

.btn-purple:hover {
    background: var(--purple-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* ──────────────────────────────────
           SECTION 2 — SOLUTIONS (3 cards)
        ────────────────────────────────── */
.solutions-section {
    background: #fff;
}

.sol-card {
    border: 1.5px solid #eeebff;
    border-radius: 16px;
    padding: 32px 24px;
    height: 100%;
    transition: all 0.3s;
    background-color: #f9f9ff;
    text-align: center;
}

.sol-card:hover {
    border-color: #c9bfff;
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(108, 62, 235, 0.1);
}

.sol-ico {
    /* width: 52px; height: 52px;
            background: var(--purple-soft); */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.sol-ico i {
    font-size: 1.5rem;
    color: var(--purple);
}

.sol-card h5 {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 500;
    color: #111;
    margin-bottom: 10px;
}

.sol-card p {
    font-size: clamp(14px, 1.5vw, 18px);
    color: #12141d;
    line-height: 1.65;
    margin: 0;
}

/* ──────────────────────────────────
           ABOUT AIMEXA (inside section 2)
        ────────────────────────────────── */
.about-wrap {
    background: #fff;
    padding: 0;
}

.about-img-box {
    position: relative;
    border-radius: 18px;
    overflow: visible;
}

.about-img-placeholder {
    width: 100%;
    min-height: 380px;
    background: linear-gradient(135deg, #e8e4ff, #dce8ff);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-placeholder i {
    font-size: 6rem;
    color: rgba(108, 62, 235, 0.18);
}

.exp-badge {
    position: absolute;
    bottom: -18px;
    left: 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 16px 22px;
    text-align: center;
    min-width: 110px;
}

.exp-badge .exp-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--purple);
    line-height: 1;
}

.exp-badge .exp-lbl {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 500;
    margin-top: 2px;
}

/* ──────────────────────────────────
           AWARDS
        ────────────────────────────────── */
.awards-wrap {
    background: #fff;
}

.awards-img-placeholder {
    width: 100%;
    min-height: 360px;
    background: linear-gradient(135deg, #e8e4ff, #dce8ff);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.awards-img-placeholder i {
    font-size: 6rem;
    color: rgba(108, 62, 235, 0.18);
}

/* ──────────────────────────────────
           SECTION 3 — DARK INDUSTRIES
        ────────────────────────────────── */
.industries-section {
    background: #f9f9ff;
    padding: 90px 0;
}

.industries-section .sec-title {
    color: #000000;
}

.ind-card {
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    background: #ffffff;
    height: 100%;
    transition: all 0.3s;
}

.ind-card:hover {
    background: rgba(108, 62, 235, 0.12);
    border-color: rgba(108, 62, 235, 0.3);
    transform: translateY(-4px);
}

.ind-ico {
    width: 50px;
    height: 50px;
    /* background: rgba(108, 62, 235, .15); */
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.ind-ico i {
    font-size: 1.4rem;
    color: #a78bfa;
}

.ind-card h5 {
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 10px;
}

.ind-card p {
    font-size: 16px;
    color: #000000;
    line-height: 1.65;
    margin: 0;
}

/* ──────────────────────────────────
           SECTION 4 — PARTNERS & CLIENTS
        ────────────────────────────────── */
.partners-section {
    background: #fff;
}

/* ── orbit animation ── */
.orbit-wrap {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1;
    margin: 0 auto;
    /* CSS vars used inside keyframes — resolved per element */
    --r: 178px;
    /* translateY radius */
    --ls: 64px;
    /* logo size */
}

.orbit-ring {
    position: absolute;
    inset: 0;
    border: 1.5px dashed rgba(108, 62, 235, 0.2);
    border-radius: 50%;
}

.orbit-center {
    position: absolute;
    inset: 26%;
    border: 1.5px dashed rgba(108, 62, 235, 0.1);
    border-radius: 50%;
    background: rgba(108, 62, 235, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-center i {
    font-size: 2.4rem;
    color: rgba(108, 62, 235, 0.2);
}

/* invisible pivot at the center — just rotates */
.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    animation: orbit-rotate 12s linear infinite;
    animation-delay: calc(var(--i) * -2s);
}

/* visible card — translated out to radius, counter-rotates to stay upright */
.orbit-icon {
    position: absolute;
    width: var(--ls);
    height: var(--ls);
    top: calc(var(--ls) / -2);
    left: calc(var(--ls) / -2);
    background: #fff;
    border: 1.5px solid #eeebff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    animation: orbit-counter 12s linear infinite;
    animation-delay: calc(var(--i) * -2s);
    transition: box-shadow 0.3s;
}

.orbit-icon:hover {
    box-shadow: 0 6px 22px rgba(108, 62, 235, 0.22);
}

.orbit-icon i {
    font-size: 1.55rem;
    color: var(--purple);
}

@keyframes orbit-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes orbit-counter {
    from {
        transform: translateY(calc(-1 * var(--r))) rotate(0deg);
    }

    to {
        transform: translateY(calc(-1 * var(--r))) rotate(-360deg);
    }
}

/* ──────────────────────────────────
           SECTION 5 — CTA BANNER + FOOTER
        ────────────────────────────────── */
.cta-section {
    background: #f7f8fc;
    padding: 70px 0;
}

.cta-card {
    background: linear-gradient(135deg, #7b3feb 0%, #5b3fcc 45%, #e8605a 100%);
    border-radius: 24px;
    padding: 70px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 65%
    );
    top: -100px;
    left: -80px;
    border-radius: 50%;
}

.cta-card::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(
        circle,
        rgba(232, 96, 90, 0.25) 0%,
        transparent 65%
    );
    bottom: -80px;
    right: -60px;
    border-radius: 50%;
}

.cta-card h2 {
    font-size: clamp(28px, 4.5vw, 60px);
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.4px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.btn-cta-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 12px 34px;
    border-radius: 8px;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.btn-cta-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

/* FOOTER */
footer {
    background: #fff;
    padding: 60px 0 0;
    border-top: 1px solid #f0edff;
}

.foot-brand {
    font-weight: 600;
    font-size: 24px;
    color: #111;
    display: block;
    margin-bottom: 14px;
    text-decoration: none;
}

.foot-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.foot-links li {
    margin-bottom: 10px;
}

.foot-links a {
    font-size: 14px;
    color: #52525b;
    text-decoration: none;
    transition: color 0.2s;
}

.foot-links a:hover {
    color: var(--purple);
}

.foot-col-title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 18px;
}

.foot-divider {
    border-color: #f0edff;
    margin: 40px 0 0;
}

.foot-bottom {
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.foot-social {
    display: flex;
    gap: 8px;
}

.foot-soc-ico {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #eeebff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s;
}

.foot-soc-ico:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
}

.foot-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.foot-bottom-links a {
    font-size: 13px;
    color: #52525b;
    text-decoration: none;
    transition: color 0.2s;
}

.foot-bottom-links a:hover {
    color: var(--purple);
}

.foot-copy {
    font-size: 13px;
    color: #52525b;
}

/* ──────────────────────────────────
           RESPONSIVE
        ────────────────────────────────── */
@media (max-width: 991.98px) {
    .hero-slide {
        padding: 100px 0 60px;
    }

    .hero-img-wrap {
        margin-top: 36px;
    }

    .exp-badge {
        bottom: -14px;
    }

    .orbit-wrap {
        max-width: 340px;
        --r: 138px;
        --ls: 54px;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 64px 0;
    }

    .hero-slide {
        padding: 96px 0 55px;
    }

    .about-img-placeholder {
        min-height: 260px;
    }

    .awards-img-placeholder {
        min-height: 260px;
    }

    .cta-card {
        padding: 50px 24px;
    }

    .foot-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .orbit-wrap {
        max-width: 280px;
        --r: 108px;
        --ls: 46px;
    }
}

@media (max-width: 575.98px) {
    section {
        padding: 52px 0;
    }

    .hero-slide {
        padding: 90px 0 48px;
        text-align: center;
    }

    .hero-sub {
        margin: 0 auto 28px;
    }

    .btn-hero {
        margin: 0 auto;
    }

    .orbit-wrap {
        max-width: 180px;
        --r: 88px;
        --ls: 38px;
    }
    .bg-third {
        background-image: url("../image/bg3Mobile.png");
        background-size: contain;
        background-position: center;
        display: block;
    }
    .bg-first,
    .bg-second,
    .bg-third {
        background-repeat: no-repeat;
    }
}
