/* --- GLOBAL STYLES --- */
html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

:root {
    --black-text-color: #4d4d4d;
    --white-text-color: #ffffff;
    --grey-background-color: #f2f2f2;
    --hover-text-color: #00AFEE;
    font-size: 16px;
}

body {
    color: var(--black-text-color);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
    width: 100%;
}

.bg-grey {
    background-color: var(--grey-background-color) !important;
}

.container {
    max-width: 1100px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 300;
    opacity: 1;
}

/* --- HEADER & NAVIGATION --- */
header {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

.logo {
    height: 2rem;
}

.ecosystem-logos {
    height: 2rem;
}

.nav-link {
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    padding: 8px 15px !important;
}

a {
    text-decoration: none;
    color: var(--black-text-color);
}

a:hover,
.nav-link:hover {
    /* text-decoration: underline;
    color: #2A1673 !important; */
    color: var(--hover-text-color) !important
}

/* Navbar Toggler */
.navbar-toggler {
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    outline: none !important;
}

.hamburger-toggle {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--black-text-color, #4d4d4d);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggler[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.navbar-toggler[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 991px) {
    header.menu-open {
        background: #fff !important;
        height: 100vh;
        overflow-y: auto;
    }

    .navbar-collapse {
        background: transparent;
        padding: 40px 0;
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        text-align: center;
    }

    .nav-link {
        color: #333 !important;
        font-size: 1.5rem;
        margin-bottom: 15px;
        font-weight: 300;
    }
}

/* --- TOP WRAPPER (HERO + ABOUT) --- */
#top-wrapper {
    position: relative;
    width: 100%;
    background: linear-gradient(to top, #2C6798 0%, #2C6798 40%, #ffffff 100%);
    overflow: hidden;
    padding-top: 150px;
    padding-bottom: 80px;
}

/* Canvas Animation Layers */
.canvas-layer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
}

#canvas-bg {
    filter: blur(4px);
    opacity: 0.3;
    pointer-events: none;
}

#canvas-mid {
    filter: blur(2px);
    opacity: 0.5;
    pointer-events: none;
}

#canvas-fg {
    pointer-events: auto;
}

/* --- HERO SECTION --- */
.hero-content h1 {
    color: #2b3b7c;
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-content p {
    color: #555;
    font-size: 1.1rem;
    max-width: 700px;
}

/* --- ABOUT SECTION --- */
.about-intro {
    /* font-size: 1.75rem; */
    text-align: center;
}

.about-text-cols p {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.7;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 25px;
    height: 100%;
    transition: transform 0.3s;
    border-radius: var(--bs-border-radius-sm) !important;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-card p {
    font-size: 0.95rem;
    margin: 0;
    font-weight: 300;
}

.tech-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tech-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.tech-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tech-list span {
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.8;
}

/* --- ECOSYSTEM --- */
.ecosystem-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.ecosystem-logos span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #666;
}

/* --- TEAM & ADVISORS --- */
.person-card {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

.person-card img {
    height: 7rem;
    border-color: rgba(85, 85, 85, 0.5) !important;
    border-width: 1px;
    border-style: solid;
}

.person-card h4 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 1.2rem !important;
    margin-bottom: 0 !important;
}

.person-card .role {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 1rem;
    color: #777;
    font-weight: 500;
    line-height: 1.2 !important;
}

.person-card p {
    font-size: 0.9rem;
    margin-top: 1rem !important;
    color: #555;
    line-height: 1.2 !important;
    font-weight: 300;
}

/* --- LOCATION --- */


/* --- CONTACT --- */
.contact-form input,
.contact-form textarea {
    background: #f4f4f4;
    border: none;
    padding: 12px 15px;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 4px;
}

.contact-form button {
    background: #a9b2b8;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: var(--hover-text-color);
}

/* --- FOOTER --- */
footer {
    background: #f8f9fa;
    padding: 30px 0;
    font-size: 0.85rem;
    color: #777;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 767px) {
    :root {
        font-size: 14px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .person-card {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .about-intro {
        font-size: 1.5rem !important;
    }

    .about-text-cols [class*="col-"] {
        padding-right: 1.5rem !important;
    }
}