:root {
    --dx-primary: #0eb3b0;
    /* electric pink #FF3D71 cyan #0d9189  or #6C63FF  or #0B1020 */
    --dx-accent: #0eb3b0;
    /* electric magenta */
    --dx-dark: #0B1020;
    /* near-black */
    --dx-light: #F6F8FF;
    /* off-white */
    --dx-muted: #9aa4b2;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    background: var(--dx-dark);
    color: #e7e9f3;
}

.btn-primary {
    --bs-btn-bg: var(--dx-primary);
    --bs-btn-border-color: var(--dx-primary);
    --bs-btn-hover-bg: #0000;
    --bs-btn-hover-border-color: #3cacae;
}

.btn-accent {
    --bs-btn-bg: var(--dx-primary);
    --bs-btn-border-color: var(--dx-primary);
    --bs-btn-hover-bg: var(--dx-accent);
    --bs-btn-hover-border-color: var(--dx-accent);
    color: #fff
}

.nav-link {
    color: white !important;
}

.text-gradient {
    background: linear-gradient(92deg, var(--dx-primary), var(--dx-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section {
    padding: 150px 0
}

.section-sm {
    padding: 48px 0
}

/* Hero */
/* .hero {
    position: relative;
    background: radial-gradient(1000px 500px at 20% -10%, rgba(108, 99, 255, .6), transparent 60%),
        radial-gradient(800px 400px at 90% 10%, rgba(255, 61, 113, .35), transparent 60%),
        linear-gradient(180deg, #0B1024 0%, #0B1020 100%);
    overflow: hidden;
} */
.hero {
    position: relative;
    background: radial-gradient(1000px 500px at 20% -10%, rgba(108, 99, 255, .6), transparent 60%), radial-gradient(800px 400px at 90% 10%, rgb(47 155 141 / 35%), transparent 60%), linear-gradient(180deg, #0B1024 0%, #0B1020 100%);
    overflow: hidden;
}

.hero .orb {
    position: absolute;
    filter: blur(60px);
    opacity: .35;
    border-radius: 50%;
}

.hero .orb.one {
    width: 220px;
    height: 220px;
    background: var(--dx-primary);
    left: -60px;
    bottom: -60px
}

.hero .orb.two {
    width: 260px;
    height: 260px;
    background: var(--dx-accent);
    right: -70px;
    top: -70px
}

.glass {
    background: rgba(246, 248, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

.card.brand {
    border: 0;
    background: #000000
}

.card.brand:hover {
    transform: translateY(-4px);
    transition: transform .25s ease
}

.card.brand h6 {
    color: whitesmoke;
}

.card.brand i {
    font-size: 28px;
    /* adjust size */
    transition: 0.3s ease-in-out;
}

/* Twitter */
.card.brand i.bi-twitter-x {
    color: #1DA1F2;
}

/* LinkedIn */
.card.brand i.bi-linkedin {
    color: #0077B5;
}

/* YouTube */
.card.brand i.bi-youtube {
    color: #FF0000;
}

/* Discord */
.card.brand i.bi-discord {
    color: #5865F2;
}

/* Optional: hover glow effect */
.card.brand i:hover {
    transform: scale(1.2);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    /* background: rgba(108, 99, 255, .15); */
    background: linear-gradient(92deg, var(--dx-primary), var(--dx-accent));
}

.feature-icon i {
    font-size: 22px;
    color: #cfd4ff
}

.shadow-soft {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25)
}

/* Roadmap */
.roadmap .phase {
    position: relative
}

.phase .badge-phase {
    position: absolute;
    top: -14px;
    left: -14px
}

/* CTA banner */
.cta {
    background: linear-gradient(92deg, var(--dx-primary), var(--dx-accent));
}

/* Footer */
footer {
    border-top: 1px dashed rgba(255, 255, 255, .12)
}

/* Back to top */
#backToTop {
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1040;
    display: none
}

/* Utilities */
.muted {
    color: var(--dx-muted)
}

/* Offcanvas tweaks */
.offcanvas {
    background: #0d1228
}

.offcanvas .nav-link {
    color: #cfd4ff
}

.offcanvas .nav-link:hover {
    color: #fff
}

/* Make images responsive and pretty */
.rounded-2xl {
    border-radius: 1.25rem
}

@media (max-width: 576px) {
    .section {
        padding: 64px 0
    }
}

/* Logo animation */
.logo-container {
    position: relative;
    width: 240px;
    height: 60px;
    overflow: hidden;
}

.logo-container a {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.logo-icon {
    position: absolute;
    left: 0;
    width: 70px;
    height: auto;
    transition: all 0.3s ease;
}

.logo-full {
    position: absolute;
    left: 0px;
    white-space: nowrap;
    opacity: 0;
    width: 100%;
    font-size: 40px;
    transform: translateX(-100px);
    transition: all 0.3s ease;
}

.logo-container:hover .logo-icon {
    transform: translateX(100px);
    opacity: 0;
}

.logo-container:hover .logo-full {
    opacity: 1;
    transform: translateX(0);
}

.logo-gradient {
    width: 120px;
    /* adjust */
    height: 120px;
    /* adjust */
    background: linear-gradient(90deg, #0d9189, #3ba6dd, #6a5af9);
    /* same as Brand */
    -webkit-mask: url("assets/imgs/logo-icon.png") no-repeat center/contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask: url("assets/imgs/logo-icon.png") no-repeat center/contain;
}


/* cards design  */

.card .fw-semibold {
    color: whitesmoke;
}

.dropdown-menu.show {
    display: block;
    background: linear-gradient(92deg, var(--dx-primary), var(--dx-accent));
    width: 250px;
    left: -80px;
}

.dropdown-item {
    color: whitesmoke !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: var(--dx-primary);
}


/* services css  */
#services {
    background: url("https://images.unsplash.com/photo-1522199755839-a2bacb67c546?q=80&w=1600&auto=format&fit=crop") no-repeat center center/cover;
    position: relative;
    z-index: 1;
}

#community {
    background: url("https://cdn.pixabay.com/photo/2016/11/22/08/54/banner-1848699_960_720.jpg") no-repeat center center/cover;
    position: relative;
    z-index: 1;
}

/* dark overlay for readability */
#services::before,
#community::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(12 32 31 / 80%);
    z-index: -1;
}

#services .glass {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#services .glass:hover {
    transform: translateY(-10px) rotate3d(1, 1, 0, 6deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

#services h2 span {
    display: inline-block;
    animation: bounceText 2s infinite alternate;
}

@keyframes bounceText {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10px) scale(1.05);
    }
}


/* our work  */
.work-card {
    height: 300px;
    transition: transform 0.4s ease;
}

.work-card img {
    object-fit: cover;
    height: 100%;
    transition: transform 0.4s ease;
}

.work-card:hover img {
    transform: scale(1.1);
}

.work-card .overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-card:hover .overlay {
    opacity: 1;
}

/* Hidden by default */
.more-projects {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

/* Visible state */
.more-projects.show {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

/* our team  */
.team-flip {
    perspective: 1000px;
    width: 100%;
    height: 410px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.team-flip:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-front {
    background: rgba(255, 255, 255, 0.05);
}

.flip-front img {
    width: 95%;
    height: auto;
    object-fit: cover;
}

.flip-back {
    background: rgba(255, 255, 255, 0.08);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-social a {
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: #0d9189;
    /* brand accent */
}