/* ========================================
   ALPHAVEST VENTURES — One Page
   Minimal, corporate, Apple-like
   ======================================== */

:root {
    --navy: #0B1034;
    --navy-light: #141a4a;
    --white: #ffffff;
    --off-white: #f7f7f8;
    --gray-100: #f0f0f2;
    --gray-300: #c8c8d0;
    --gray-500: #6e6e80;
    --gray-700: #3a3a4a;
    --accent: #b8954c;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    color: var(--navy);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 1;
    transition: opacity 0.6s ease;
}

body.loading {
    opacity: 0;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 48px;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 12px rgba(11, 16, 52, 0.06);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(27, 31, 59, 0.08);
}

.nav-logo img {
    height: 32px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav.scrolled .nav-logo img {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--navy);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--navy);
    transition: all 0.3s ease;
}

.nav-toggle span:first-child {
    margin-bottom: 8px;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--navy);
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    background: var(--white);
    overflow: hidden;
    position: relative;
    /* Subtle radial glow behind map area */
    background-image: radial-gradient(ellipse 60% 60% at 75% 45%, rgba(196, 163, 90, 0.04) 0%, transparent 70%);
}

.hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 120px 0 80px;
}

.hero-left {
    flex: 0 0 60%;
    padding-left: 5%;
    padding-right: 2%;
    margin-top: -160px;
}

.hero-logo {
    height: 72px;
    margin-bottom: 44px;
    display: block;
}

.hero h1 {
    font-size: clamp(36px, 4.2vw, 60px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #1B1F3B;
    margin-bottom: 32px;
}

.h1-bold {
    font-weight: 600;
}

.h1-accent {
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.h1-accent::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #C4A35A;
    transition: width 1s cubic-bezier(0.25, 0.1, 0.25, 1), background 1.2s ease;
}

.h1-accent.sweep::after {
    width: 100%;
    background: linear-gradient(90deg, #C4A35A 0%, rgba(196,163,90,0.15) 100%);
}

.hero-sub {
    font-size: clamp(15px, 1.15vw, 18px);
    color: #4A4F6B;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
}


/* Hero CTA Link */
.hero-cta-btn {
    display: inline-block;
    margin-top: 36px;
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--accent);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.hero-cta-btn:hover {
    color: #1B1F3B;
    border-color: #1B1F3B;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}

/* ---- Map & Connections ---- */
.hero-right {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 4%;
}

.map-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: visible;
}

.morocco-svg {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}



/* Responsive hero */
@media (max-width: 1024px) {
    .hero-inner {
        flex-direction: column;
        padding: 76px 32px 80px;
        gap: 48px;
        align-items: center;
        justify-content: flex-start;
        min-height: auto;
    }
    .nav {
        background: #ffffff;
    }
    .hero-left {
        flex: none;
        width: 100%;
        padding: 0;
        text-align: center;
        margin-top: 0;
    }
    .hero-logo {
        height: 56px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 3px;
    }
    .hero-right {
        flex: none;
        width: 70%;
        padding: 0;
    }
    .hero-sub br { display: none; }
    .hero-cta { justify-content: center; }
    .h1-accent::after { left: 50%; transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .hero-right { width: 60%; }
    .hero-inner { padding: 76px 24px 80px; }
}

/* ---- Sections ---- */
.section {
    padding: 140px 48px;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
}

.label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 72px;
}

/* ---- At a Glance Strip ---- */
.section-glance {
    background: var(--navy);
    padding: 0;
}

.glance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1400px;
    margin: 0 auto;
}

.glance-item {
    padding: 40px 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.glance-item:last-child {
    border-right: none;
}

.glance-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.glance-value {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .glance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .glance-item {
        padding: 28px 20px;
    }
    .glance-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 480px) {
    .glance-grid {
        grid-template-columns: 1fr;
    }
    .glance-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 24px 20px;
    }
}

/* ---- Vision ---- */
.section-vision {
    background: var(--navy);
    color: var(--white);
}

.section-vision .label {
    color: var(--accent);
}

.statement h2 {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 28px;
}

.statement-body {
    font-size: clamp(16px, 1.3vw, 19px);
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-300);
    max-width: 680px;
}

/* ---- Statements / Stats ---- */
.section-statements {
    background: var(--navy);
    padding-top: 0;
    padding-bottom: 140px;
}

.statements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 64px;
}

.stat-card {
    color: var(--white);
}

.stat-number {
    display: block;
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--accent);
    margin-bottom: 12px;
}

.stat-card p {
    font-size: 15px;
    font-weight: 300;
    color: var(--gray-300);
    line-height: 1.6;
}

/* ---- Quote ---- */
.section-quote {
    background: var(--off-white);
    text-align: center;
    padding: 160px 48px;
}

.section-quote h2 {
    font-size: clamp(28px, 3.8vw, 52px);
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.quote-text {
    font-size: clamp(30px, 4.2vw, 58px) !important;
}

.quote-accent {
    color: var(--accent);
    font-weight: 500;
}

/* ---- Strategy ---- */
.section-strategy {
    background: var(--off-white);
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 80px;
}

.strategy-item {
    padding: 40px 0;
    border-top: 1px solid var(--gray-100);
}

.strategy-number {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-300);
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.strategy-item h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.strategy-item p {
    font-size: 15px;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---- Team ---- */
.section-team {
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    text-align: center;
}

.team-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 24px rgba(11, 16, 52, 0.08);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.team-member:hover .team-photo {
    box-shadow: 0 8px 32px rgba(11, 16, 52, 0.14);
    transform: translateY(-4px);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Team intro */
.team-intro {
    font-size: clamp(16px, 1.3vw, 19px);
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-500);
    max-width: 720px;
    margin-bottom: 64px;
}

/* Track Record */
.track-record {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 80px;
    padding-top: 64px;
    border-top: 1px solid var(--gray-100);
}

.track-heading {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
}

.track-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.track-list li {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--gray-500);
    padding-left: 16px;
    border-left: 2px solid var(--gray-100);
}

.track-accent {
    display: block;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 2px;
}

.team-member h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.team-role {
    display: block;
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 400;
    margin-bottom: 2px;
}

.team-location {
    display: block;
    font-size: 12px;
    color: var(--gray-300);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.team-linkedin {
    display: inline-block;
    margin-top: 10px;
    color: var(--gray-300);
    transition: color 0.3s ease;
}

.team-linkedin:hover {
    color: #0077B5;
}

/* ---- Partners ---- */
.section-partners {
    background: var(--white);
}

.partners-tier-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-300);
    text-align: center;
    margin-bottom: 40px;
}

.partners-tier-label--secondary {
    margin-top: 64px;
}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.45;
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo--large img {
    height: 64px;
}

.partners-logos--secondary {
    gap: 64px;
}

.partners-logos--secondary .partner-logo img {
    height: 36px;
    opacity: 0.35;
}

/* ---- Contact ---- */
.section-contact {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 160px 48px;
}

.contact-content h2 {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.contact-content > p {
    font-size: 16px;
    font-weight: 300;
    color: var(--gray-300);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* CTA Primary Button */
.cta-btn-primary {
    display: inline-block;
    padding: 16px 44px;
    border: 1px solid var(--accent);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease;
    margin-bottom: 32px;
}

.cta-btn-primary:hover {
    background: var(--accent);
    color: var(--navy);
}

.contact-or {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 300;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}

.contact-link-secondary {
    display: inline-block;
    color: var(--gray-300);
    text-decoration: none;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.01em;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-link-secondary:hover {
    color: var(--white);
    border-color: var(--accent);
}

.contact-locations {
    margin-top: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.contact-loc span {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-300);
}

.contact-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

/* ---- Footer ---- */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 40px 48px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.4;
}

.footer-copy {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 300;
}

.footer-nav {
    display: flex;
    gap: 28px;
}

.footer-nav a {
    text-decoration: none;
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 300;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-locations {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-dot {
    color: var(--accent);
}

/* ---- Reveal Animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav { padding: 0 24px; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; flex-direction: column; justify-content: center; }

    .section { padding: 100px 24px; }
    .hero { padding: 120px 24px 80px; }
    .section-quote { padding: 120px 24px; }
    .section-contact { padding: 120px 24px; }
    .footer { padding: 32px 24px; }

    .statements-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .strategy-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .track-record {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 12px;
    }

    .footer-nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 32px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
