/* --------------------------------
   FONT & RESET
-----------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #050814;
    --bg-card: #0b1020;
    --bg-card-hover: #11182b;
    --accent: #00e3ff;
    --accent-soft: rgba(0, 227, 255, 0.2);
    --text-main: #f9fafb;
    --text-muted: #a7b0c6;
    --border-soft: rgba(255, 255, 255, 0.06);
    --radius-md: 14px;
    --radius-lg: 18px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.7);
}

html, body {
    height: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(0, 227, 255, 0.08), transparent 55%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.12), transparent 55%),
        var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
}

/* --------------------------------
   GLOBAL LAYOUT
-----------------------------------*/
.container {
    width: min(1120px, 100% - 3rem);
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --------------------------------
   HEADER / NAVBAR
-----------------------------------*/
header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: linear-gradient(
        to bottom,
        rgba(3, 7, 18, 0.95),
        rgba(3, 7, 18, 0.85),
        transparent
    );
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    gap: 1.5rem;
}

.logo {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-main);
}

/* main nav links */
#navbar {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

#navbar a {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.25s ease, opacity 0.25s ease;
}

#navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
    transition: width 0.25s ease;
}

#navbar a:hover {
    color: var(--accent);
}

#navbar a:hover::after,
#navbar a.active::after {
    width: 100%;
}

#navbar a.active {
    color: var(--accent);
}

/* mobile button */
.menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.7rem;
    color: var(--text-main);
}

/* --------------------------------
   HERO (HOME PAGE)
   <section class="hero"> in index.html
-----------------------------------*/
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 120px 0 90px;
    color: #fff;
    overflow: hidden;
}

/* background image – change URL if you want another trading image */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(0,0,0,0.88), rgba(5,8,20,0.96)),
        url("https://images.unsplash.com/photo-1560179707-f14e90ef3623?q=80&w=2073&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
            center/cover no-repeat;
    opacity: 20;
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(0,227,255,0.18), transparent 55%),
        radial-gradient(circle at bottom left, rgba(59,130,246,0.22), transparent 55%);
    mix-blend-mode: screen;
    opacity: 0.9;
    z-index: -1;
}

.hero .container {
    max-width: 700px;
}

.hero h2 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent);
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 540px;
}

/* Hero button that links to About */
.hero .btn {
    display: inline-block;
    margin-top: 26px;
    padding: 12px 30px;
    border-radius: 999px;
    background: var(--accent);
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 0 26px rgba(0, 227, 255, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero .btn:hover {
    transform: translateY(-2px);
    background: #34f0ff;
    box-shadow: 0 0 40px rgba(0, 227, 255, 0.9);
}

/* --------------------------------
   FEATURES (HOME CARDS)
   <section class="features container">
-----------------------------------*/
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
    padding: 70px 0 40px;
    margin-top: -10px;
}

.feature-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, var(--accent-soft), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--accent);
    box-shadow: 0 18px 45px rgba(0, 227, 255, 0.35);
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --------------------------------
   PAGE HEADER (other pages)
   <section class="page-header">
-----------------------------------*/
.page-header {
    position: relative;
    padding: 110px 0 70px;
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(0,227,255,0.18), transparent 60%),
        linear-gradient(160deg, #020617, #020617 45%, #050814 100%);
    z-index: -1;
}

.page-header h2 {
    font-size: 2.3rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

/* --------------------------------
   GENERIC CONTENT SECTION
   <section class="container content">
-----------------------------------*/
.content {
    margin: 40px auto 80px;
    max-width: 880px;
    font-size: 0.98rem;
    color: var(--text-muted);
}

.content p + p {
    margin-top: 16px;
}

/* --------------------------------
   LEADERSHIP CARDS
   <section class="container leadership">
-----------------------------------*/
.leadership {
    margin: 40px auto 90px;
    max-width: 880px;
}

.leadership .leader-box {
    background: var(--bg-card);
    padding: 24px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    margin-bottom: 18px;
}

.leader-box h3 {
    margin-bottom: 6px;
    color: var(--text-main);
    font-size: 1.05rem;
}

.leader-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.leader-box:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--accent);
    box-shadow: 0 16px 42px rgba(0, 227, 255, 0.28);
}

/* --------------------------------
   CONTACT PAGE small tweaks
-----------------------------------*/
.content h3 {
    margin-top: 24px;
    margin-bottom: 6px;
    color: var(--text-main);
    font-size: 1rem;
}

/* --------------------------------
   FOOTER
-----------------------------------*/
footer {
    background: #020617;
    color: #6b7280;
    text-align: center;
    padding: 28px 0 32px;
    font-size: 0.85rem;
    border-top: 1px solid rgba(15, 23, 42, 0.85);
    margin-top: 50px;
}

/* --------------------------------
   RESPONSIVE
-----------------------------------*/
@media (max-width: 900px) {
    header .container {
        padding-inline: 0.25rem;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 70px;
    }

    .hero .container {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 2rem, 100%);
    }

    #navbar {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        background: rgba(3, 7, 18, 0.98);
        padding: 18px 22px 20px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.95);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
    }

    #navbar a {
        padding-block: 6px;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        text-align: left;
    }

    .hero h2 {
        font-size: 2.1rem;
    }
}

@media (max-width: 480px) {
    header .container {
        gap: 0.75rem;
    }

    .logo {
        font-size: 0.9rem;
        letter-spacing: 0.12em;
    }

    .hero p {
        font-size: 0.95rem;
    }
}
