/* ==========================================================================
   104 Impact - Institutional VC Website Styles
   ========================================================================== */

/* ============================
   Font Import
   ============================ */

/* PP Neue Montreal — Primary Font (Headings) */
@font-face {
    font-family: 'PP Neue Montreal';
    src: url('../fonts/PPNeueMontreal-Regular.woff2') format('woff2'),
        url('../fonts/PPNeueMontreal-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* PP Writer — Secondary Font (Body) */
@font-face {
    font-family: 'PP Writer';
    src: url('../fonts/PPWriter-Regular.woff2') format('woff2'),
        url('../fonts/PPWriter-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ============================
   Global Font Variables
   ============================ */

:root {
    --font-primary: 'PP Neue Montreal', 'Inter', Arial, sans-serif;
    --font-secondary: 'PP Writer', 'Inter', Georgia, serif;

    --color-primary: #004164;
    /* Forever Blue – headings & accents */
    --color-accent: #004141;
    /* Forest Green – primary buttons */
    --color-bg: #CFC6B5;
    /* Serenity Sand – background base */
    --color-highlight: #E59E3E;
    /* Sunny Yellow – hover / highlights */
    --color-callout: #B73D28;
    /* Red Earth – alerts / callouts */
    --color-secondary: #8061A1;
    /* Secondary */

    /* ============================
       Global Color Variables
       ============================ */

    /* Neutrals */
    --color-white: #ffffff;
    --color-light-grey: #f4f4f4;
    --color-background: #e1e3e4;
    /* background light tone */
    --color-text: #313131;
    /* primary text dark tone */

    /* Primary / Accent */
    --color-accent: #3c948b;
    /* accent / highlight */

    /* Dark / Footer */
    --color-dark: #202121;
    /* very dark background (footer) */

    /* Additional supporting greys */
    --color-grey-mid: #a6abab;
    /* mid-grey for less-emph text */
    --color-grey-dark: #3c3c3c;
}


/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    /* font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; */
    font-family: var(--font-primary);
    line-height: 1.6;
    /* color: #EAEAEA; */
    /* background-color: #000000; */
    color: var(--color-primary);
    background-color: var(--color-white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    /* font-weight: 700; */
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Accent Colors */
:root {
    --accent-yellow: #FFD65A;
    --accent-red: #A6432D;
    --accent-lavender: #C1A5FF;
    --accent-sand: #E3CDA4;
    --primary-accent: var(--accent-yellow);
    --text-primary: #FFFFFF;
    --text-secondary: #EAEAEA;
    --text-muted: #A0A0A0;
    --border-subtle: rgba(234, 234, 234, 0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    /* background: rgba(0, 0, 0, 0.95); */
    /* backdrop-filter: blur(20px); */
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s ease;
}

.nav-container {
    border-top: 1px solid #fff;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem 0rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-family: var(--font-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-accent);
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    width: 100%;
    min-height: calc(100vh - 5px);
    background-color: #08070c;
    position: relative;
    background-image: url(../images/hero.webp);
    background-position: 50% 20%;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Animated Stars Background */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.stars::before,
.stars::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
}

.stars::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.stars::after {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.hero-content {
    max-width: 1200px;
    height: 98vh;
    /* min-height: 100vh; */
    margin: 0 auto;
    padding: 0 2rem;
    /* padding: 5rem 2rem 0 2rem; */
    /* display: grid; */
    /* grid-template-columns: 1fr 1fr; */
    /* gap: 4rem; */
    /* align-items: center; */
    display: flex;
    justify-content: center;
    align-items: end;
    padding-bottom: 5rem;
}

.hero-text {
    z-index: 2;
    text-align: center;
}

.hero-title {
    /* max-width: 380px; */
    text-align: center;
    font-size: 4rem;
    /* font-weight: 700; */
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-family: var(--font-primary);
    /* max-width: 90%; */
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-image: url(../images/earth_satellite.jpg);
    background-size: auto;
    background-position: 35% 50%;
    background-repeat: no-repeat;
    opacity: 0;
    animation: fadeInHero 2s ease-in forwards;
}

@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: scale(1.02);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.earth-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(255, 214, 90, 0.1);
    transition: transform 0.6s ease;
}

.earth-image:hover {
    transform: scale(1.02);
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--primary-accent);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 214, 90, 0.3);
}

.secondary-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    /* background: transparent; */
    background-color: var(--color-secondary);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Sections */
section {
    padding: 6rem 0;
}

.p-0 {
    padding: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    /* color: var(--text-primary); */
    color: var(--color-primary);
    font-size: 2.5rem;
    font-weight: 600;
}


/* pages hero section */
.inner-page-hero {
    min-height: auto;
}

.inner-page-hero .hero-content {
    padding-top: 100px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}


/* Values Section */
.values {
    background: rgba(255, 255, 255, 0.02);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 15px;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 214, 90, 0.1), transparent);
    transition: left 0.5s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    border-color: var(--primary-accent);
    transform: translateY(-5px);
}

.value-image {
    width: 100%;
    height: 300px;
    margin-bottom: 0.5rem;
}

.value-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.value-content {
    padding: 1rem 1.2rem;
}

.value-title {
    color: var(--primary-accent);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.value-description {
    /* color: var(--text-secondary); */
    font-size: 1rem;
    line-height: 1.6;
}

/* Portfolio Preview */
/* .portfolio-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
} */

.portfolio-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll-left 40s linear infinite;
}

.portfolio-card {
    flex: 0 0 auto;
    /* background: rgba(255, 255, 255, 0.03); */
    /* border: 1px solid var(--border-subtle); */
    /* border-radius: 15px; */
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.portfolio-card:hover {
    border-color: var(--primary-accent);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.portfolio-logo {
    width: 130px;
    height: 60px;
    object-fit: contain;
    /* margin-bottom: 1.5rem; */
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-logo {
    transform: scale(1.1);
}

.portfolio-company {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.portfolio-cta {
    text-align: center;
    margin-top: 4rem;
}

/* CTA Section */
.cta-section {
    /* background: rgba(255, 214, 90, 0.05); */
    background-color: var(--color-accent);
    text-align: center;
}

.cta-title {
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    min-width: 180px;
}

.cta-link:hover {
    background: var(--primary-accent);
    color: #000000;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    /* background: rgba(255, 255, 255, 0.02); */
    background-color: var(--color-text);
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 3rem;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-accent);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Page-specific styles */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.page-hero .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        border-top: none;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-image {
        height: 400px;
        background-position: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        /* gap: 3rem; */
        gap: 0;
        text-align: center;
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .values-grid {
        /* grid-template-columns: 1fr; */
        gap: 1.5rem;
    }

    .portfolio-carousel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-buttons {
        /* flex-direction: column; */
        align-items: center;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .footer-nav,
    .footer-social {
        justify-content: center;
        gap: 1.2rem;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 4rem 0;
    }

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

@media (max-width: 480px) {
    .hero-image {
        height: 300px;
        background-size: cover;
    }

    .hero-content {
        padding-top: 0px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card {
        padding: 1.5rem;
    }

    .cta-link {
        min-width: 150px;
        padding: 0.8rem 1.5rem;
    }
}