:root {
    --bg-main: #1d303e;
    --bg-dark: #111827;
    --bg-darker: #0B0F1A;
    --bg-footer: #0A0D14;

    --text-main: #E5E7EB;
    --text-light: #f7f8f9;
    --text-muted: #aaa;

    --accent: #00C2FF;
    --border: #1F3B73;
    --success: #4ADE80;
}

html {
    font-size: 100%;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* =========================
   NAVBAR
========================= */

header {
    position: fixed;
    top: 0;
    width: 100%;

    background: rgba(11, 15, 26, 0.9);
    border-bottom: 1px solid var(--border);

    padding: 15px 50px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 1000;
}

header h1 {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container img {
    height: 75px;
    width: auto;
}

.brand-name {
    background: linear-gradient(90deg, #f1f2ef, #2cacec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-text {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    text-align: center;
    line-height: 1.3;
}

.brand-name {
    margin: 0;
}

.slogan {
    margin: -2px 0 0 0;
    font-size: 12px;
    font-style: italic;
    color: #f3f3f0;
}

nav a {
    color: var(--text-main);
    margin-left: 20px;
    text-decoration: none;
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);

    transition: 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--accent);
}

nav a.active {
    border-bottom: 2px solid var(--accent);
}

/* =========================
   HERO SECTION
========================= */

.hero {
    position: relative;

    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#particles-js {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background: var(--bg-darker);

    z-index: 0;
}

.hero h2,
.hero p {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    text-align: center;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-top: 10px;
    text-align: center;
}

/* =========================
   SECTIONS
========================= */

section {
    padding: 120px 10% 20px;
    flex: 1;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 20px;
    color: var(--accent);
}

.section-subtext {
    max-width: 700px;
    margin: 0 auto;

    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;

    text-align: center;
    color: var(--text-light);
}

/* =========================
   GRID & CARDS
========================= */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    position: relative;
    overflow: visible;

    background: var(--bg-dark);
    padding: 20px;

    border-radius: 10px;
    border: 1px solid var(--border);

    display: flex;
    align-items: center;
    gap: 12px;

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.card i {
    color: var(--accent);
    font-size: 18px;
    min-width: 20px;

    animation: float 3s ease-in-out infinite;
}

.card.active i {
    transform: rotate(10deg) scale(1.2);
    color: var(--success);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* =========================
   TOOLTIP
========================= */

.tooltip {
    position: absolute;

    bottom: 120%;
    left: 50%;

    transform: translateX(-50%);

    width: 220px;
    padding: 12px;

    background: rgba(0, 0, 0, 0.9);
    color: #fff;

    border-radius: 10px;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;
}

.card:hover .tooltip,
.card.active .tooltip {
    opacity: 1;
    visibility: visible;
}

/* =========================
   PROCESS SECTION
========================= */

.process {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 150px;

    background: var(--bg-dark);

    padding: 15px;

    border-radius: 8px;
    text-align: center;
}

/* =========================
   ABOUT SECTION
========================= */

.about-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.about-container p {
    flex: 1;
    max-width: 100%;
    text-align: justify;
}

.about-image {
    width: 150px;
    height: 180px;

    object-fit: cover;

    border-radius: 12px;
    border: 2px solid var(--border);

    flex-shrink: 0;
}

.value-list {
    margin: 20px 0;
    padding-left: 20px;
}

.value-list li {
    margin-bottom: 10px;
    color: var(--text-main);
}

/* =========================
   COMPANY SECTION
========================= */

.company-section {
    padding: 120px 10% 40px;
}

.company-card {
    display: flex;
    align-items: center;
    gap: 40px;

    background: var(--bg-dark);

    padding: 30px;

    border-radius: 16px;
    border: 1px solid var(--border);

    transition: 0.3s;
}

.company-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.company-image-wrapper {
    flex-shrink: 0;
}

.company-image {
    width: 180px;
    height: 180px;

    object-fit: contain;
    object-position: top;

    border-radius: 50%;
    border: 3px solid var(--accent);
}

.company-content {
    flex: 1;
}

.company-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.company-title {
    color: var(--accent);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.company-bio {
    color: var(--text-main);
    line-height: 1.7;
    text-align: justify;
}


/* =========================
   FOUNDER SECTION
========================= */

.founder-section {
    padding: 120px 10% 40px;
}

.founder-card {
    display: flex;
    align-items: center;
    gap: 40px;

    background: var(--bg-dark);

    padding: 30px;

    border-radius: 16px;
    border: 1px solid var(--border);

    transition: 0.3s;
}

.founder-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.founder-image-wrapper {
    flex-shrink: 0;
}

.founder-image {
    width: 180px;
    height: 180px;

    object-fit: contain;
    object-position: top;

    border-radius: 50%;
    border: 3px solid var(--accent);
}

.founder-content {
    flex: 1;
}

.founder-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.founder-title {
    color: var(--accent);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.founder-bio {
    color: var(--text-main);
    line-height: 1.7;
    text-align: justify;
}

/* =========================
   FOOTER
========================= */

footer {
    text-align: center;

    padding: 30px;

    background: var(--bg-footer);

    border-top: 1px solid var(--border);

    color: var(--text-muted);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    header {
        flex-direction: column;
        padding: 15px;
    }

    nav {
        margin-top: 10px;

        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        margin: 8px;
    }

    .tooltip {
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
        font-size: 14px;
    }

    .card {
        flex-direction: column;
        text-align: center;
    }

    .about-container {
        flex-direction: column;
        align-items: center;
    }

    .about-container p {
        text-align: left;
    }
}

/* =========================
   ABOUT PAGE IMPROVEMENTS
========================= */

.founder-card {
    margin-top: 20px;
}

.founder-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.founder-bio {
    margin-top: 10px;
}

/* spacing between card and text */
.card + .section-subtext {
    margin-top: 20px;
}

/* better list spacing */
.value-list {
    margin-top: 15px;
}

.value-list li {
    line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .founder-card {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .founder-bio {
        text-align: left;
    }

    .founder-image {
        width: 150px;
        height: 150px;
    }
}

/* =========================
   CONTACT PAGE
========================= */

.contact-section {
    padding: 110px 10%;
}

.contact-container {
    margin-top: 30px;

    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;

    align-items: start;
}

.contact-info{
    display: flex;
    align-items: center; /* vertically aligns image and text */
    gap: 50px; /* optional spacing between image and text */
}

.contact-info {
    background: var(--bg-dark);

    padding: 25px;

    border-radius: 12px;
    border: 1px solid var(--border);
}

.contact-info p {
    margin-bottom: 18px;
    line-height: 0.5;
}

.contact-form {
    background: var(--bg-dark);

    padding: 30px;

    border-radius: 12px;
    border: 1px solid var(--border);

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 14px;

    border-radius: 8px;
    border: 1px solid var(--border);

    background: #0f172a;
    color: var(--text-main);

    font-size: 1rem;

    outline: none;

    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form button {
    background: var(--accent);
    color: #000;

    border: none;

    padding: 14px 20px;

    border-radius: 8px;

    font-size: 1rem;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

.contact-form button:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* HIGHLIGHTS PANEL */
.highlight-box {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    background: #0f172a;
    color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);

    /* MOVE SLIGHTLY UP */
    margin-top: -220px;
}

/* HEADER */
.highlight-header {
    background: #0f172a;
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.highlight-header h3 {
    font-size: 18px;
    letter-spacing: 0.5px;
}

/* CONTENT AREA */
.highlight-content {
    height: 160px;
    overflow: hidden;
    position: relative;
    padding: 12px;
}

/* AUTO SLIDING CONTAINER */
.highlight-track {
    display: flex;
    flex-direction: column;
    gap: 12px;

    animation: autoShuffle 10s linear infinite;
}

/* STOP ANIMATION ON HOVER */
.highlight-track:hover {
    animation-play-state: paused;
}

/* UPDATE ITEMS */
.update {
    background: rgba(255,255,255,0.08);
    padding: 12px;
    border-radius: 8px;
    line-height: 1.5;
    transition: 0.3s;
    cursor: pointer;
    min-height: 60px;

    display: flex;
    align-items: center;
}

/* HOVER EFFECT */
.update:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(5px);
}

/* AUTO VERTICAL SHUFFLE */
@keyframes autoShuffle {

    0% {
        transform: translateY(0);
    }

    20% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-72px);
    }

    45% {
        transform: translateY(-72px);
    }

    50% {
        transform: translateY(-144px);
    }

    70% {
        transform: translateY(-144px);
    }

    75% {
        transform: translateY(-216px);
    }

    95% {
        transform: translateY(-216px);
    }

    100% {
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .contact-highlight-wrapper {
        flex-direction: column;
    }

    .highlight-box {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
    }
}

/* =========================
   ULTRA MODERN PROCESS UI
========================= */

.process-roadmap {
    position: relative;
    padding: 100px 20px;
    background: #0b1020;
    overflow: hidden;
}

.process-roadmap::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(0, 255, 255, 0.08);
    border-radius: 50%;
    top: -200px;
    left: -150px;
    filter: blur(80px);
}

.process-roadmap::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(0, 140, 255, 0.08);
    border-radius: 50%;
    bottom: -150px;
    right: -100px;
    filter: blur(80px);
}

.process-subtitle {
    text-align: center;
    color: #aab4d4;
    margin-bottom: 80px;
    font-size: 18px;
}

/* Timeline */

.timeline {
    position: relative;
    max-width: 1200px;
    margin: auto;
}

/* Center Line */

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, #00f0ff, #0066ff);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,255,255,0.5);
}

/* Timeline Items */

.timeline-item {
    padding: 20px 50px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.8s ease;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

/* Circle Node */

.timeline-item::before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    background: #00f0ff;
    border: 4px solid #0b1020;
    top: 40px;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 20px #00f0ff;
}

.timeline-item.left::before {
    right: -11px;
}

.timeline-item.right::before {
    left: -11px;
}

/* Glass Cards */

.timeline-content {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 30px;
    border-radius: 24px;
    position: relative;
    transition: 0.4s ease;
    overflow: hidden;
}

.timeline-content:hover {
    transform: translateY(-10px);
    border-color: rgba(0,240,255,0.5);
    box-shadow:
        0 10px 40px rgba(0,240,255,0.15),
        0 0 20px rgba(0,240,255,0.08);
}

/* Step Number */

.timeline-content span {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 52px;
    font-weight: 800;
    color: rgba(255,255,255,0.06);
}

/* Titles */

.timeline-content h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 24px;
}

/* Text */

.timeline-content p {
    color: #aab4d4;
    line-height: 1.7;
    font-size: 15px;
}

/* Mobile */

@media screen and (max-width: 900px) {

    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left::before,
    .timeline-item.right::before {
        left: 8px;
    }
}


