/* ============================================
   TRIESTE CAPITAL - PROFESSIONAL HEDGE FUND WEBSITE
   Color Scheme: Navy Blue (#1B3A5F), Dark Blue (#0F2537), 
                 Gold Accent (#D4AF37), White (#FFFFFF)
   ============================================ */

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-primary: #1B3A5F;
    --navy-dark: #0F2537;
    --navy-light: #2C4E73;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-gray: #E8EAED;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --text-dark: #1A1A1A;
    --black: #000000;
    --shadow-sm: 0 2px 8px rgba(15, 37, 55, 0.1);
    --shadow-md: 0 4px 16px rgba(15, 37, 55, 0.15);
    --shadow-lg: 0 8px 32px rgba(15, 37, 55, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--navy-primary);
    flex-shrink: 0;
}

.logo-icon {
    display: flex;
    align-items: center;
    order: 1;
}

.logo-text {
    order: 2;
}

.logo-bars {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-end;
}

.logo-bars .bar {
    height: 3px;
    background: var(--navy-primary);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

.logo-bars .bar-1 {
    width: 32px;
}

.logo-bars .bar-2 {
    width: 24px;
}

.logo-bars .bar-3 {
    width: 16px;
}

.logo:hover .logo-bars .bar {
    background: var(--navy-light);
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--navy-primary);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--navy-primary);
    transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.cta-nav {
    background: var(--navy-primary);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
}

.nav-link.cta-nav::after {
    display: none;
}

.nav-link.cta-nav:hover {
    background: var(--navy-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(15,37,55,0.85)), 
                url('../images/nyc-skyline.jpg') center/cover;
    filter: grayscale(30%);
    z-index: -2;
}

.hero-background::before {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(27, 58, 95, 0.3) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator i {
    font-size: 1.2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--navy-dark);
    border-color: var(--white);
}

.btn-primary:hover {
    background: var(--off-white);
    border-color: var(--off-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 6rem 0;
}

.section:nth-child(even) {
    background-color: var(--off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--navy-primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: var(--navy-primary);
    margin: 0 auto;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    position: relative;
    background: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(15,37,55,0.95)), 
                url('../images/deep-sea-background.jpg') center/cover !important;
    background-attachment: fixed !important;
    color: var(--white) !important;
}

.about-section .section-label {
    color: var(--white) !important;
}

.about-section .section-title {
    color: var(--white) !important;
}

.about-section .title-underline {
    background: var(--white) !important;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.8;
}

.about-content .lead-text {
    color: var(--white);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    line-height: 1.6;
}

.about-image {
    position: relative;
}

.trieste-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-light) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.image-placeholder i {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
}

.image-caption {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    border-left: 4px solid var(--white);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.image-caption strong {
    color: var(--white);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.image-caption p:last-child {
    margin-bottom: 0;
    color: var(--white);
}

/* ============================================
   STRATEGY SECTION
   ============================================ */
.strategy-section {
    background: linear-gradient(to bottom, rgba(248,249,250,0.95), rgba(255,255,255,0.97)), 
                url('../images/nyc-skyline.jpg') center/cover;
    background-attachment: fixed;
}

.strategy-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.strategy-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--navy-primary);
}

.strategy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.strategy-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--navy-primary), var(--navy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.strategy-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.strategy-card h3 {
    font-size: 1.4rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.strategy-card p {
    color: var(--dark-gray);
    line-height: 1.7;
}

.strategy-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-primary));
    border-radius: 8px;
}

.metric-box {
    text-align: center;
    color: var(--white);
}

.metric-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

/* ============================================
   PERFORMANCE SECTION
   ============================================ */
.performance-section {
    background: linear-gradient(to bottom, rgba(248,249,250,0.95), rgba(255,255,255,0.97)), 
                url('../images/nyc-skyline.jpg') center/cover;
    background-attachment: fixed;
}

.performance-notice {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 2rem;
    background: var(--white);
    border-left: 4px solid var(--navy-primary);
    border-radius: 4px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}

.performance-notice i {
    font-size: 1.5rem;
    color: var(--navy-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.performance-notice p {
    color: var(--dark-gray);
    line-height: 1.7;
}

.performance-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.highlight-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-card i {
    font-size: 3rem;
    color: var(--navy-primary);
    margin-bottom: 1.5rem;
}

.highlight-card h4 {
    font-size: 1.3rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.highlight-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ============================================
   RESEARCH SECTION
   ============================================ */
.research-section {
    background: linear-gradient(to bottom, rgba(255,255,255,0.97), rgba(248,249,250,0.95)), 
                url('../images/nyc-skyline.jpg') center/cover;
    background-attachment: fixed;
}

.research-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.15rem;
    color: var(--dark-gray);
    line-height: 1.8;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.research-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--navy-primary);
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.research-icon {
    width: 60px;
    height: 60px;
    background: var(--off-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.research-icon i {
    font-size: 2rem;
    color: var(--navy-primary);
}

.research-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.research-date,
.research-type {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.research-date {
    background: var(--off-white);
    color: var(--medium-gray);
}

.research-type {
    background: var(--navy-primary);
    color: var(--white);
}

.research-card h4 {
    font-size: 1.3rem;
    color: var(--navy-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.research-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-research {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--navy-primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.btn-research:hover {
    background: var(--navy-dark);
    transform: translateX(5px);
}

.research-note {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-left: 4px solid var(--navy-primary);
    border-radius: 4px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}

.research-note i {
    font-size: 1.5rem;
    color: var(--navy-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.research-note p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
    background: linear-gradient(to bottom, rgba(255,255,255,0.97), rgba(248,249,250,0.95)), 
                url('../images/nyc-skyline.jpg') center/cover;
    background-attachment: fixed;
}

.team-single {
    max-width: 1000px;
    margin: 0 auto;
}

.team-card-main {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--navy-primary);
}

.team-photo {
    float: left;
    width: 250px;
    margin-right: 3rem;
    margin-bottom: 2rem;
}

.team-photo img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.team-info h3 {
    font-size: 2rem;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 1.1rem;
    color: var(--navy-primary);
    font-weight: 600;
    margin-bottom: 2rem;
    display: block;
}

.team-details h4 {
    font-size: 1.3rem;
    color: var(--navy-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.team-details h4:first-child {
    margin-top: 0;
}

.team-details p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.team-details ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.team-details li {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.team-details .location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--navy-primary);
    margin-top: 2rem;
}

.team-details .location i {
    font-size: 1.2rem;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.15rem;
    color: var(--dark-gray);
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.team-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--navy-primary);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--navy-primary), var(--navy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-avatar i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.team-card h3 {
    font-size: 1.3rem;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.team-bio {
    color: var(--dark-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   LEGAL DISCLAIMERS SECTION
   ============================================ */
.legal-section {
    background: linear-gradient(to bottom, rgba(15, 37, 55, 0.95), rgba(0, 0, 0, 0.95)), 
                url('../images/nyc-skyline.jpg') center/cover;
    background-attachment: fixed;
    color: var(--white);
}

.legal-section .section-label {
    color: var(--white);
}

.legal-section .section-title {
    color: var(--white);
}

.legal-section .title-underline {
    background: var(--white);
}

.legal-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.legal-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--white);
    transition: var(--transition);
}

.legal-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.legal-card h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-card h4 i {
    color: var(--white);
    font-size: 1.3rem;
}

.legal-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 0.95rem;
}

.legal-card strong {
    color: var(--white);
    font-weight: 700;
}

/* ============================================
   DOCUMENTS SECTION
   ============================================ */
.documents-section {
    background: linear-gradient(to bottom, rgba(248,249,250,0.95), rgba(255,255,255,0.97)), 
                url('../images/nyc-skyline.jpg') center/cover;
    background-attachment: fixed;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.documents-grid.single-document {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.document-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.document-icon {
    width: 60px;
    height: 60px;
    background: var(--off-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.document-icon i {
    font-size: 2rem;
    color: var(--navy-primary);
}

.document-card h4 {
    font-size: 1.3rem;
    color: var(--navy-primary);
    margin-bottom: 0.75rem;
}

.document-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-document {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--navy-primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.btn-document:hover {
    background: var(--navy-dark);
    transform: translateX(5px);
}

.documents-note {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-left: 4px solid var(--navy-primary);
    border-radius: 4px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}

.documents-note i {
    font-size: 1.5rem;
    color: var(--navy-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.documents-note p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* ============================================
   ONBOARDING SECTION
   ============================================ */
.onboarding-section {
    background: linear-gradient(to bottom, rgba(255,255,255,0.97), rgba(248,249,250,0.95)), 
                url('../images/nyc-skyline.jpg') center/cover;
    background-attachment: fixed;
}

.onboarding-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.onboarding-info h3 {
    font-size: 1.6rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.onboarding-info h3:first-child {
    margin-top: 0;
}

.onboarding-info p {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.requirements-list {
    list-style: none;
    margin-bottom: 2rem;
}

.requirements-list li {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--off-white);
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.requirements-list i {
    color: var(--navy-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.process-steps {
    margin-top: 2rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--navy-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ============================================
   FORM STYLES
   ============================================ */
.onboarding-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--navy-primary);
}

.onboarding-form h3 {
    font-size: 1.8rem;
    color: var(--navy-primary);
    margin-bottom: 0.75rem;
}

.onboarding-form > p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy-primary);
    box-shadow: 0 0 0 3px rgba(27, 58, 95, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
    color: var(--dark-gray);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.form-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--medium-gray);
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 3rem;
}

.form-success i {
    font-size: 4rem;
    color: var(--navy-primary);
    margin-bottom: 1.5rem;
}

.form-success h3 {
    font-size: 2rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.form-success p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    order: 1;
}

.footer-logo .logo-text {
    order: 2;
}

.footer-logo .logo-bars {
    align-items: flex-end;
}

.footer-logo .logo-bars .bar {
    background: var(--white);
}

.footer-logo .bar-1 {
    width: 32px;
}

.footer-logo .bar-2 {
    width: 24px;
}

.footer-logo .bar-3 {
    width: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

.footer-section p {
    margin-bottom: 0.75rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-section i {
    width: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.75rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-disclaimer-text {
    font-size: 0.8rem;
    max-width: 800px;
    margin: 1rem auto 0;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--navy-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--navy-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-grid,
    .onboarding-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .strategy-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Fix background images not showing on mobile */
    .about-section,
    .strategy-section,
    .performance-section,
    .research-section,
    .team-section,
    .legal-section,
    .documents-section,
    .onboarding-section {
        background-attachment: scroll !important;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .strategy-metrics,
    .performance-highlights,
    .team-grid,
    .documents-grid,
    .research-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-photo {
        float: none;
        width: 200px;
        margin: 0 auto 2rem;
    }
    
    .team-card-main {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .onboarding-form-container {
        padding: 2rem;
    }
}
/* ============================================
   NEW FEATURES - PROFESSIONAL AESTHETIC ENHANCEMENTS
   ============================================ */

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--white);
}

.loader-bars {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.loader-bar {
    width: 4px;
    height: 40px;
    background: linear-gradient(to bottom, var(--navy-primary), var(--white));
    animation: loaderAnimation 1.2s ease-in-out infinite;
}

.loader-bar:nth-child(1) { animation-delay: 0s; height: 60px; }
.loader-bar:nth-child(2) { animation-delay: 0.15s; height: 45px; }
.loader-bar:nth-child(3) { animation-delay: 0.3s; height: 30px; }

@keyframes loaderAnimation {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.4); opacity: 0.5; }
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 3px;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--navy-primary), var(--white));
    z-index: 1001;
    transition: width 0.1s linear;
}

/* 3D Submarine Section - Challenger Deep */
.trieste-submarine-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(
        to bottom,
        #000508 0%,
        #010d1a 15%,
        #021526 30%,
        #010f1e 50%,
        #000a14 70%,
        #00060d 85%,
        #000305 100%
    );
    overflow: hidden;
}

/* Trench walls effect */
.trieste-submarine-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.7) 0%, transparent 15%, transparent 85%, rgba(0,0,0,0.7) 100%),
        radial-gradient(ellipse at 50% 100%, rgba(5,20,40,0.6) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
}

/* Section label at top */
.submarine-section-label {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
}

.submarine-section-label span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(79, 195, 247, 0.6);
}

.submarine-section-label h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: rgba(255,255,255,0.8);
    margin-top: 0.5rem;
    font-weight: 600;
}

#submarine-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Depth indicator and text overlay are defined in consolidated block below */
.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Card Hover Effects */
.strategy-card,
.research-card,
.highlight-card,
.document-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.strategy-card:hover::before,
.research-card:hover::before,
.highlight-card:hover::before,
.document-card:hover::before {
    left: 100%;
}

.strategy-card:hover,
.research-card:hover,
.highlight-card:hover,
.document-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(27, 58, 95, 0.3);
}

/* Stats Counter Animation */
.stat-value[data-count] {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.stat-value.counting {
    opacity: 1;
    transform: scale(1);
}

/* Parallax Effect Enhancements */
.hero-background,
.about-section,
.legal-section {
    background-attachment: fixed;
    background-position: center;
}

@media (max-width: 768px) {
    .submarine-fact {
        padding: 2rem;
    }
    
    .submarine-fact h3 {
        font-size: 1.8rem;
    }
    
    .submarine-fact p {
        font-size: 1rem;
    }

    .trieste-submarine-section {
        height: 250vh;
    }

    .submarine-fact:nth-child(1) { top: 60vh; }
    .submarine-fact:nth-child(2) { top: 120vh; }
    .submarine-fact:nth-child(3) { top: 185vh; }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--navy-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--navy-primary), var(--white));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--navy-light), var(--white));
}

/* Button Ripple Effect */
.btn,
.btn-primary,
.btn-secondary,
.btn-research,
.btn-document,
.btn-submit {
    position: relative;
    overflow: hidden;
}

.btn::after,
.btn-primary::after,
.btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after,
.btn-primary:active::after,
.btn-secondary:active::after {
    width: 300px;
    height: 300px;
}

/* Enhanced Section Transitions */
.section {
    opacity: 0;
    animation: sectionFadeIn 1s ease forwards;
}

@keyframes sectionFadeIn {
    to { opacity: 1; }
}

/* Enhanced Form Focus States */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 58, 95, 0.15);
}

/* Professional Transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient Text Effect */
.hero-title {
    background: linear-gradient(135deg, var(--white) 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image Lazy Loading Effect */
img {
    opacity: 0;
    animation: imageLoad 0.8s ease forwards;
}

@keyframes imageLoad {
    to { opacity: 1; }
}

/* Number Counter Effect */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-value.animate {
    animation: countUp 1s ease forwards;
}

/* ===========================================
   CONSOLIDATED FIXES - CLEAN
   =========================================== */

/* Prevent zoom on mobile */
body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* -------------------------------------------
   SUBMARINE SECTION - SINGLE SOURCE OF TRUTH
   ------------------------------------------- */

/* Section label at top center: "The Bathyscaphe Trieste / Challenger Deep" */
.submarine-section-label {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
    width: 90%;
}

.submarine-section-label span {
    font-size: 0.85rem;
    color: rgba(79, 195, 247, 0.7);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.submarine-section-label h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 600;
}

/* Depth Indicator - RIGHT SIDE, below title, above 3D model */
.trieste-submarine-section .depth-indicator {
    position: absolute;
    top: 120px;
    right: 40px;
    left: auto;
    bottom: auto;
    transform: none;
    z-index: 10;
    background: rgba(10, 30, 50, 0.9);
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    border: 2px solid rgba(79, 195, 247, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.depth-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4FC3F7;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
    margin-bottom: 0.2rem;
}

.depth-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    line-height: 1.4;
}

/* Text Overlay - BOTTOM LEFT */
.trieste-submarine-section .submarine-text-overlay {
    position: absolute;
    bottom: 35px;
    left: 35px;
    right: auto;
    top: auto;
    transform: none;
    max-width: 420px;
    z-index: 10;
    background: rgba(10, 30, 50, 0.9);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(79, 195, 247, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.submarine-text-overlay p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* -------------------------------------------
   MOBILE HERO - WHITE BACKGROUND (no skyline)
   ------------------------------------------- */
@media (max-width: 768px) {
    /* Hide the NYC skyline background div on mobile */
    .hero .hero-background {
        background: var(--navy-dark) !important;
        background-image: none !important;
        filter: none !important;
    }

    /* iOS doesn't support background-attachment: fixed */
    .about-section,
    .strategy-section,
    .performance-section,
    .research-section,
    .team-section,
    .legal-section,
    .documents-section,
    .onboarding-section {
        background-attachment: scroll !important;
    }
}

/* -------------------------------------------
   MOBILE SUBMARINE SECTION
   ------------------------------------------- */
@media (max-width: 768px) {
    .trieste-submarine-section {
        height: 100vh;
        min-height: 500px;
    }

    .submarine-section-label {
        top: 15px;
    }

    .submarine-section-label span {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }

    .submarine-section-label h3 {
        font-size: 1.4rem;
    }

    /* Depth indicator: right side, below title */
    .trieste-submarine-section .depth-indicator {
        top: 90px;
        right: 15px;
        padding: 0.7rem 1rem;
    }

    .depth-number {
        font-size: 1.4rem;
    }

    .depth-label {
        font-size: 0.6rem;
        letter-spacing: 1.5px;
    }

    /* Text overlay: bottom left */
    .trieste-submarine-section .submarine-text-overlay {
        bottom: 15px;
        left: 15px;
        right: 15px;
        max-width: none;
        padding: 1rem;
    }

    .submarine-text-overlay p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .submarine-section-label h3 {
        font-size: 1.1rem;
    }

    .trieste-submarine-section .depth-indicator {
        top: 80px;
        right: 10px;
        padding: 0.5rem 0.8rem;
    }

    .depth-number {
        font-size: 1.2rem;
    }

    .depth-label {
        font-size: 0.55rem;
    }

    .trieste-submarine-section .submarine-text-overlay {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 0.8rem;
    }

    .submarine-text-overlay p {
        font-size: 0.75rem;
    }
}
