html { scroll-behavior: smooth; }

html, body { height: 100%; margin: 0; }

body {
    background: radial-gradient(circle at 20% 20%, #0f2c2c, #071a1a);
    min-height: 100vh;
    padding-top: 90px;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}


.custom-navbar {
    background: #0e0d0d;;
    backdrop-filter: blur(10px);
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
    z-index: 1030;
}

.custom-navbar > .container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.navbar-brand { display: flex; align-items: center; }

.logo-wrap {
    display: flex;
    align-items: center;    
    text-decoration: none;
    flex-shrink: 0;
}
.logo-block {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    white-space: nowrap;
}

.logo-divider {
    width: 1px;
    height: 28px;
    background: rgb(244 238 238 / 84%);
    flex-shrink: 0;
}

.tagline {
    font-size: 11px;
    color: #868279;
    margin-top: 4px;
    white-space: normal;
    width: 115%;
}

/* Nav links */
.navbar-nav {
    flex-wrap: nowrap;
    align-items: self-end;
    justify-content: space-between;
    width: 60%;
}

.nav-link {
    color: #8f8f8f !important;
    font-weight: 400;
    padding: 8px 14px !important;
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
}

.nav-link:hover  { color: #ffffff !important; }
.active-link     { color: #ffffff !important; }

/* Navbar buttons */
.btn-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-request {
    background: #c8962a;
    color: #000 !important;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    border: none;
}

.btn-request:hover { background: #d3a133; }

.btn-login {
    border: none;
    background: transparent;
    color: #d5d5d5 !important;
    padding: 7px 10px;
    border-radius: 0;
    font-size: 14px;
}

.btn-login:hover {
    background: transparent;
    border: none;
    color: #ffffff !important;
}

/* Toggler */
.navbar-toggler {
    border: none;
    flex-shrink: 0;
    margin-left: 10px;
    padding: 4px 8px;
    z-index: 1031;
}
.btn-check:focus+.btn, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(17 17 17 / 25%);
}

.navbar-toggler:focus { box-shadow: none; outline: none; }

@media screen and (min-width: 992px) and (max-width: 1280px) {
    .logo-text     { font-size: 20px; }
    .logo-divider  { height: 28px; }
    .tagline       { font-size: 10px; }
    .logo-wrap     { gap: 8px; }
    .nav-link      { padding: 8px 6px !important; font-size: 13px; }
    .btn-request,
    .btn-login     { padding: 6px 10px; font-size: 12px; }
    .btn-tag       { gap: 6px; }
}


@media screen and (min-width: 992px) and (max-width: 1100px) {
    .tagline       { display: none; }
    .logo-divider  { display: none; }
    .logo-text     { font-size: 18px; }
    .nav-link      { padding: 8px 4px !important; font-size: 12px; }
    .btn-request,
    .btn-login     { padding: 5px 8px; font-size: 11px; }
}


.mega-dropdown { position: relative; }

.mega-menu {
    position: absolute;
    top: 140%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 340px;
    padding: 20px;
    background: #000000;
    border-radius: 14px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.9s cubic-bezier(0.29, -0.1, 0.56, 1.23);
    z-index: 999;
    display: block;
}

.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.mega-menu::before {
    content: "";
    position: absolute;
    top: -8px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px; height: 16px;
    background: #0a0a0a;
    border-radius: 3px;
}

.menu-item {
    display: flex;
    gap: 14px;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.menu-item:hover {  box-shadow: 0px 1px 1px 1px #cb8f37; }

.icon-box {
    width: 40px; height: 40px;
    background: rgb(8, 8, 8);
    color: #f3bd0a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.main-icon { background-color: black; }

.menu-item h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #cbccce;
}

.menu-item h6:hover { color: #eeae4ff7; }
.menu-item p { margin: 0; font-size: 12px; color: #6b7280; }

.dropdown-toggle-custom { position: relative; cursor: default; }

.dropdown-toggle-custom::after {
    content: "";
    display: inline-block;
    margin-left: 5px;
    width: 6px; height: 6px;
    border-right: 2px solid #cfd8dc;
    border-bottom: 2px solid #cfd8dc;
    transform: rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease;
    vertical-align: middle;
}

.mega-dropdown:hover .dropdown-toggle-custom::after {
    transform: rotate(-135deg);
    border-color: #c8962a;
}


.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 70% 40%, rgba(34,211,238,0.25), transparent 50%),
        radial-gradient(circle at 20% 30%, rgba(16,185,129,0.15), transparent 40%),
        #071a1a;
}

.hero-container { max-width: 1200px; position: relative; bottom: 50px; }
.hero-left { color: white; }
a { color: #868279; }

.ai-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #2dd4bf;
    border-radius: 30px;
    font-size: 13px;
    color: #2dd4bf;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.hero-sub  { color: #cbd5e1; font-size: 18px; margin-bottom: 10px; }
.hero-desc { color: #94a3b8; font-size: 17px; margin-bottom: 35px; }

.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

.btn-primary-custom {
    background: #21CBD1;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
    border: 1px solid #92dcde;
}

.btn-primary-custom:hover {
    border: 1px solid #e7eeed;
    color: #fff;
    box-shadow: 0px 0px 14px 0px #D9D9D96E;
}

.btn-outline-custom {
    padding: 14px 28px;
    border-radius: 10px;
    border: 1.8px solid #CFFDFF;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn-outline-custom:hover {
    background: rgba(45,212,191,0.1);
    color: white;
    box-shadow: 0px 0px 14px 0px #21CBD1;
}

.arrow { margin-left: 6px; }
.hero-right { text-align: right; }

.dashboard-img {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}


.risk-section { padding: 65px 0; color: #fff; }
.section-title { font-size: 42px; font-weight: 700; color: whitesmoke; }
.section-sub { color: #9ca3af; margin-top: 10px; }

.risk-card {
    background: linear-gradient(145deg, #111827, #0b1220);
    border: 2px solid #FFFFFF52;
    border-radius: 16px;
    padding: 35px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    min-height: 230px;
}

.risk-card h5 { font-size: 20px; margin-bottom: 10px; }
.risk-card p  { color: #9ca3af; font-size: 15px; }

.learn-more {
    position: absolute;
    bottom: 30px; left: 35px;
    font-size: 14px;
    color: #14f1d9;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.35s ease;
}

.risk-card:hover { transform: translateY(-6px); box-shadow: 0px 0px 10px 0px #21CBD1; }
.risk-card:hover .learn-more { opacity: 1; transform: translateY(0); }


.teams-section {
    background-color: #0d1117;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

:root {
    --bg-dark: #0b0f14;
    --card-dark: #161b22;
    --cyan-glow: #00f2ff;
    --text-muted: #8b949e;
}

.team-card {
    background: var(--card-dark);
    border: 2px solid #FFFFFF52;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.footer-top {
     padding: 35px 0 25px;
}

.team-card .icon-box { font-size: 1.8rem; color: #00f2ff; margin-bottom: 20px; }
.team-card h5 { font-weight: 600; margin-bottom: 12px; }
.team-card p  { color: #8b949e; font-size: 0.95rem; line-height: 1.5; margin-bottom: 20px; }

.arrow-footer i { opacity: 0; transform: translateY(5px); transition: all 0.3s ease; }
.team-card:hover .arrow-footer i { opacity: 1; transform: translateX(0); color: #00f2ff; }
.team-card:hover { box-shadow: 0px 0px 10px 0px #21CBD1; border: 2px solid #FFFFFF52; }

.process-heading { font-size: 40px; }

.flow-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.flow-item { width: 150px; text-align: center; }
.flow-item small { font-size: 0.75rem; font-weight: 600; display: block; }

.icon-sq {
    background: #e0f7f8;
    color: #008b8b;
    width: 90px; height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin: 0 auto 12px;
    font-size: 20px;
}

.flow-arrow { font-size: 22px; color: #000; }


.why-ryxon-container {
    background-color: #e5e5e5;
    border-radius: 20px;
    width: 100%;
    overflow: hidden;
}

.why-title { font-size: 2.5rem; font-weight: 600; }

.black-card {
    background: #111;
    color: white;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    height: 100%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.black-card h6 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; color: #FFFFFF; }
.black-card p  { font-size: 0.95rem; color: #ccc; line-height: 1.6; margin-bottom: 0; }
.why-card:hover { color: rgb(219,212,212); background: #002D52; }


.btn-dark-custom {
    background: #333; color: white;
    padding: 12px 25px; border-radius: 50px;
    border: none; font-weight: 600;
}

.btn-req { position: relative; display: inline-flex; align-items: center; gap: 6px; color: white; }
.btn-ri  { transition: all 0.3s ease; }
.btn-req:hover .btn-ri { transform: rotate(-45deg); }
.btn-req:hover { background-color: rgb(68,145,143); color: white; }


.ryxon-footer {
   background: #0E0E11;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-heading {
   font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
    color: #ffffff;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    padding-bottom: 10px;
    margin-top: 15px;
}
.footer-legal {
    display: flex;
    gap: 20px; 
    font-size:12px;
}
@media (min-width: 992px) {
    .products-col {
        margin-left: 110px;
    }
}

.footer-links li { margin-bottom: 12px; }
.footer-links a  { color: #868279; text-decoration: none; font-size: 14px; transition: color 0.3s ease; list-style: none }
.footer-links a:hover { color: #fff; }

.border-top-fade  { border-top: 1px solid rgba(255,255,255,0.05); }
.copyright-text   { color: #868279; font-size: 14px; margin: 0; }


.main-content-wrapper { flex: 1 0 auto; }
section, .hero-section { flex-shrink: 0; }
.reveal { transition: opacity 0.3s ease, transform 0.3s ease; will-change: transform, opacity; }


@media (max-width: 991.98px) {

    body { padding-top: 70px; }

    /* Logo */
    .logo-wrap    { gap: 8px; }
    .logo-text    { font-size: 20px; }
    .logo-divider { height: 24px; }
    .tagline      { font-size: 10px; white-space: nowrap; }

    /* Collapsed panel */
    .navbar-collapse {
        background: #071a1a;
        padding: 20px;
        margin-top: 12px;
        border-radius: 10px;
        flex-direction: column;
        align-items: stretch;
    }

    .navbar-nav { flex-direction: column; text-align: center; width: 100%; }
    .navbar-nav .nav-link { padding: 10px 0 !important; font-size: 16px; margin: 0; }

    .btn-tag {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 12px;
        width: 100%;
    }

    .btn-tag .btn { width: 100%; max-width: 280px; text-align: center; }

    /* Mega menu */
    .mega-menu {
        position: static;
        transform: none !important;
        width: 100%; box-shadow: none;
        opacity: 1; visibility: visible;
        display: none;
        background: rgba(255,255,255,0.05);
        padding: 10px; border-radius: 8px;
    }

    .mega-dropdown:hover .mega-menu { display: block; }
    .mega-menu::before              { display: none; }
    .menu-item h6                   { color: #101111; }

    /* Hero */
    .hero-container { bottom: 0; text-align: center; padding-top: 40px; }
    .hero-title     { font-size: 36px; }

    .hero-buttons   { flex-direction: column; align-items: center; gap: 15px; margin-top: 20px; }

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%; max-width: 300px;
        display: inline-block;
        text-align: center;
        padding: 12px 20px;
    }

    .hero-right { text-align: center; margin-top: 40px; }

    /* Flow */
    .flow-wrapper   { flex-direction: column; align-items: center; gap: 20px; }
    .flow-arrow     { display: none; }
    .flow-item      { width: 45%; margin-bottom: 20px; }
    .flow-item .icon-sq { width: 80px; height: 80px; }

    /* Footer */
    .ryxon-footer .text-lg-end { text-align: left !important; }
}

@media (max-width: 575.98px) {
    .logo-text       { font-size: 18px; }
    .logo-divider    { height: 20px; }
    .hero-title      { font-size: 28px; }
    .hero-buttons    { padding: 0 20px; }
    .section-title   { font-size: 26px; }
    .process-heading { font-size: 22px; }
    .flow-item       { width: 100%; }
    .why-title       { font-size: 1.8rem; }
    .why-ryxon-container { padding: 20px !important; }
    .black-card      { min-height: auto; padding: 1.5rem; }

    .tagline { 
        font-size: 9px; 
        white-space: nowrap;
    }
    .logo-wrap    { gap: 6px; }
}


@media (max-width: 360px) {
    .logo-divider { height: 18px; }
    .tagline   { font-size: 8px; }
    .logo-text { font-size: 16px; }
    .logo-wrap { gap: 4px; }
}


@media (max-width: 768px) {
    .process-heading     { font-size: 26px; }
    .why-title           { font-size: 1.8rem; }
    .why-ryxon-container { padding: 1.5rem !important; }
    .black-card          { min-height: auto; padding: 1.5rem; }
}


@media (max-width: 991.98px) {

           .navbar-collapse {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 62px);
        overflow-y: auto;
        background: #0b0b0b;
        padding: 24px 20px 30px;
        margin-top: 0;
        border-radius: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        z-index: 1025;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    
    .navbar-nav {
        flex-direction: column;
        gap: 4px;
        width: 100%;
        text-align: left;       
    }

    .navbar-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link {
        padding: 14px 8px !important;
        font-size: 15px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-nav .nav-link:hover {
        color: #a18548 !important;
        background: rgba(45, 212, 191, 0.05);
        border-radius: 8px;
        padding-left: 12px !important;
    }


    .btn-tag {
        flex-direction: row;         
        gap: 10px;
        margin-top: 20px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        width: 100%;
        justify-content: center;
    }

    .btn-tag .btn {
        flex: 1;
        max-width: 160px;
        text-align: center;
    }

    /* Mega menu inside mobile */
    .mega-menu {
        border-left: 2px solid rgba(0, 0, 0, 0.3);
        margin-left: 8px;
        padding: 8px 12px;
        border-radius: 0 8px 8px 0;
        background: rgba(10, 10, 10, 0.04);
    }

    .menu-item {
        padding: 10px 8px;
    }

    .menu-item h6 {
        color: #dde0e0;
        font-size: 13px;
    }

    .menu-item p {
        color: rgba(255, 255, 255, 0.5);
        font-size: 11px;
    }
}


body {
    overflow-x: hidden;  
}


.main-content-wrapper {
    overflow-x: hidden;  
    width: 100%;
}

.footer-links {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    list-style: none !important;
}