.text-white { color: #ffffff !important; }
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Theme variables - natural palette */
:root {
    --color-ink: #232a2e;          /* deep charcoal */
    --color-muted: #5b646b;        /* cool gray */
    --color-border: #e6e8ea;       /* subtle border */
    --color-bg: #ffffff;           /* page background */
    --color-tint: #f6f7f8;         /* light section bg */
    --color-accent: #2d5a87;       /* subdued blue */
    --color-accent-2: #8bb4a0;     /* sage/green accent */
    --color-accent-3: #c8d3c2;     /* soft olive */
}

html, body { height: 100%; }

body {
    font-family: 'Inter', sans-serif;
    line-height: 1;
    color: var(--color-ink);
    background: url('image.png') center/cover fixed no-repeat;
}

/* Alternative background for index2.html */
body.index2-bg {
    background: url('/new_image.png') center/cover fixed no-repeat;
}

/* Ensure index2 hero does not override the body background */
body.index2-bg .hero {
    background: transparent;
}

/* Global background readability overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    pointer-events: none;
    z-index: 0;
}

main, header, .page-hero, .login-hero, .hero { position: relative; z-index: 1; }

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

/* Header and Navigation */
.header {
    background: rgba(0,0,0,0.35);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
}

/* Keep index (homepage) header transparent */
.homepage .header {
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
}

/* Market Ticker */
.market-ticker { display: none; }

.ticker-container {
    width: 100%;
    overflow: hidden;
}

.ticker-scroll {
    display: flex;
    animation: scroll 60s linear infinite;
    white-space: nowrap;
}

.ticker-content {
    display: flex;
    align-items: center;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-right: 3rem;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.ticker-name {
    font-weight: 600;
    color: #4fd1c7;
    min-width: 80px;
}

.ticker-price {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 100px;
}

.ticker-change {
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    min-width: 120px;
}

.ticker-change.positive {
    color: #48bb78;
    background: rgba(72, 187, 120, 0.1);
}

.ticker-change.negative {
    color: #f56565;
    background: rgba(245, 101, 101, 0.1);
}

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

/* Pause animation on hover */
.ticker-scroll:hover {
    animation-play-state: paused;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo { display: flex; align-items: center; }
.logo h1 { display: none; }
.logo img { height: 72px; width: auto; display: block; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin-left: auto; /* push menu to the right when logo is absent */
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: opacity 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    opacity: 0.85;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.85);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-accent);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: url('image.png') center/cover no-repeat;
    color: #ffffff;
    padding: 140px 0 140px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.35));
}

.parallax-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 12s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 4s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    33% { transform: translateY(-20px) rotate(120deg); opacity: 0.6; }
    66% { transform: translateY(10px) rotate(240deg); opacity: 0.4; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* For the peka2 homepage, use a single wide column with side padding (no split) */
.homepage .hero .hero-container {
    display: block;
    max-width: 1000px;
    padding-left: 40px;
    padding-right: 40px;
}

.homepage .hero .hero-content.constrained {
    max-width: 100%;
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Homepage split hero layout */
.hero.hero-split .hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: calc(100vh - 120px);
    gap: 2rem;
}

.hero-left .constrained {
    max-width: 520px;
    margin-left: auto; /* center within left half visually */
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-logo-large {
    height: 120px; /* roughly 2x header logo */
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}

/* Bottom-centered simple nav on homepage */
.homepage-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 40px;
    display: block;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    z-index: 10;
}

.home-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    width: 720px;
    margin: 0;
    justify-content: flex-end;
}

.home-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.home-link:hover { opacity: 0.85; }

@media (max-width: 900px) {
    .hero.hero-split .hero-container { grid-template-columns: 1fr; min-height: 70vh; }
    .hero-left .constrained { margin: 0 auto; text-align: center; }
    .homepage-logo-large { height: 90px; }
}

/* Overlay Menu */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 37, 59, 0.96);
    color: #eef2f6;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.menu-overlay.open { display: flex; }

.menu-overlay-inner { position: relative; width: 100%; max-width: 900px; padding: 40px; }

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #cbd5e0;
    font-size: 2rem;
    cursor: pointer;
}

.menu-overlay-list {
    list-style: none;
    display: grid;
    gap: 1.25rem;
    text-align: center;
}

.menu-overlay-list a {
    color: #eef2f6;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    transition: color 0.2s ease;
}

.menu-overlay-list a:hover { color: #c9e2d0; }

/* Keywords Band */
.keywords { 
    padding: 20px 0; 
    background: var(--color-bg); 
    border-top: 1px solid var(--color-border); 
    border-bottom: 1px solid var(--color-border); 
    position: relative;
    overflow: hidden;
    display: none;
}

.keywords-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ambient-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent-3), transparent);
    animation: drift 8s ease-in-out infinite;
}

.line-1 {
    top: 30%;
    left: -100%;
    width: 200%;
    animation-delay: 0s;
}

.line-2 {
    bottom: 30%;
    right: -100%;
    width: 150%;
    animation-delay: 4s;
}

@keyframes drift {
    0%, 100% { transform: translateX(0); opacity: 0.3; }
    50% { transform: translateX(50%); opacity: 0.6; }
}

.keywords-row { 
    display: flex; 
    gap: 2rem; 
    justify-content: center; 
    flex-wrap: wrap; 
    position: relative;
    z-index: 1;
}

.kw { 
    color: var(--color-muted); 
    letter-spacing: 0.12em; 
    text-transform: uppercase; 
    font-weight: 600; 
    cursor: default; 
    transition: color 0.25s ease, transform 0.2s ease;
    animation: pulse 3s ease-in-out infinite;
}

.kw:nth-child(1) { animation-delay: 0s; }
.kw:nth-child(2) { animation-delay: 0.6s; }
.kw:nth-child(3) { animation-delay: 1.2s; }
.kw:nth-child(4) { animation-delay: 1.8s; }
.kw:nth-child(5) { animation-delay: 2.4s; }

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.kw:hover { 
    color: var(--color-accent-2); 
    transform: translateY(-2px);
}

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-24px); }
.reveal-right { transform: translateX(24px); }
.reveal-up { transform: translateY(24px); }
.reveal-left.visible, .reveal-right.visible, .reveal-up.visible { transform: none; }

/* Section Background Patterns */
.section-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    display: none;
}

.pattern-dots {
    background-image: radial-gradient(circle, var(--color-accent) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: drift 20s linear infinite;
}

.pattern-grid {
    background-image: 
        linear-gradient(var(--color-accent) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-accent) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: drift 25s linear infinite reverse;
}

.pattern-lines {
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        var(--color-accent) 10px,
        var(--color-accent) 11px
    );
    animation: drift 30s linear infinite;
}

.hero-eyebrow {
    display: inline-block;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 720px;
}

/* Use serif typeface for the homepage hero paragraphs */
.homepage .hero-subtitle {
    font-family: 'Playfair Display', serif;
    color: #000000;
    font-weight: 600;
    font-size: 1.3rem;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: rgba(255,255,255,0.9);
    color: #0f253b;
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a365d;
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-placeholder {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 200px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.chart-bar {
    width: 30px;
    background: linear-gradient(to top, var(--color-accent-2), var(--color-accent-3));
    border-radius: 4px 4px 0 0;
    animation: growUp 1s ease-out;
}

@keyframes growUp {
    from { height: 0; }
    to { height: var(--height); }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--color-tint);
    position: relative;
    overflow: hidden;
}

/* Focus Areas */
.focus-areas {
    padding: 80px 0 40px;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.focus-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-intro {
    color: var(--color-muted);
    max-width: 760px;
    margin: 0.75rem auto 0;
    font-size: 1.05rem;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.focus-card {
    display: block;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    text-decoration: none;
    background: #fff;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.focus-card:hover {
    background: #f9fbfa;
    border-color: #dbe1dd;
    transform: translateY(-2px);
}

.focus-card h3 {
    font-family: 'Playfair Display', serif;
    color: #0f253b;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.focus-card p {
    color: var(--color-muted);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #0f253b;
    margin-bottom: 3rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    text-align: left;
    box-shadow: none;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.feature-card:hover {
    background: #f9fbfa;
    border-color: #dbe1dd;
    transform: translateY(-2px);
}

.feature-card h3 {
    color: #0f253b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.feature-card p {
    color: var(--color-muted);
    line-height: 1.6;
}

/* Mission Section */
.mission {
    padding: 80px 0;
    background: #fff;
}

.mission-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #4a5568;
    font-weight: 400;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: #1a365d;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #4fd1c7;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #edf2f7 0%, #f7fafc 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #0f253b;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.cta-content p {
    font-size: 1.15rem;
    color: #2a3b4a;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-tagline {
    font-size: 1.1rem;
    color: #0f253b;
    margin-bottom: 2rem !important;
    font-style: italic;
}

/* Footer */
.footer {
    background: #0f253b;
    color: #eef2f6;
    padding: 60px 0 20px;
}

/* Updates */
.updates {
    padding: 60px 0 80px;
    background: var(--color-tint);
    position: relative;
    overflow: hidden;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.update-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.25rem 1.25rem 1.1rem;
}

.update-meta {
    color: var(--color-muted);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.update-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #0f253b;
    margin-bottom: 0.35rem;
}

.update-teaser {
    color: var(--color-muted);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #c9e2d0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e6f0ea;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    .ticker-item {
        gap: 1rem;
        margin-right: 2rem;
        font-size: 0.85rem;
    }

    .ticker-name {
        min-width: 60px;
    }

    .ticker-price {
        min-width: 80px;
        font-size: 1rem;
    }

    .ticker-change {
        min-width: 100px;
        padding: 0.2rem 0.4rem;
    }

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

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

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Page Hero Section */

.page-hero {
    position: relative;
    background: transparent;
    color: #ffffff;
    padding: 140px 0 100px;
    text-align: center;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    color: #eef2f6;
}

/* About Page Styles */
.about-content {
    padding: 80px 0;
    padding-top: 20vh !important; /* push toward visual center on inner pages */
}

.about-intro,
.mission-section,
.team-section {
    margin-bottom: 4rem;
    text-align: center;
}

.about-intro h2,
.mission-section h2,
.team-section h2 {
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.about-intro p,
.mission-section p,
.team-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.values-section {
    margin-bottom: 4rem;
}

.values-section h2 {
    text-align: center;
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.value-card p {
    color: #4a5568;
    line-height: 1.6;
}

.approach-section {
    margin-bottom: 4rem;
}

.approach-section h2 {
    text-align: center;
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.philosophy-item {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #4fd1c7;
}

.philosophy-item h3 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.philosophy-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Services Page Styles */
.services-overview {
    padding: 80px 0;
    background: #f7fafc;
}

.services-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.services-intro h2 {
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.services-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    color: #4a5568;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4fd1c7;
    font-weight: bold;
}

.asset-classes {
    padding: 80px 0;
    padding-top: 20vh !important;
    background: transparent;
    color: #ffffff;
}

.asset-classes h2 {
    text-align: center;
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.asset-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border-top: 4px solid rgba(79, 209, 199, 0.7);
    color: #eef2f6;
}

/* Story card inherits asset-card but left-align text */
.story-card { text-align: left; }

.asset-card h3 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.asset-card p {
    color: #dbe4ea;
    line-height: 1.6;
}

.process-section {
    padding: 80px 0;
    background: #f7fafc;
}

.process-section h2 {
    text-align: center;
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #4fd1c7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.process-step p {
    color: #4a5568;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-content {
    padding: 80px 0;
    padding-top: 20vh !important;
}

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

/* On peka2/contact2 where only left column remains, use single column */
body.index2-bg .contact-grid {
    grid-template-columns: 1fr;
}

/* Nudge the contact box down a bit for better vertical balance */
body.index2-bg .contact-methods {
    margin-top: 4vh;
}

.contact-info h2 {
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-info p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 3rem;
}

.contact-methods {
    margin: 0 auto 3rem;              /* center the frame */
    max-width: 900px;                 /* limit width */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.5rem;
    display: grid;                    /* two-column layout */
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
    padding: 0;                        /* spacing handled by grid gap */
    background: transparent;
    border-radius: 0;
}

.contact-method + .contact-method { border-top: none; }

@media (max-width: 768px) {
    .contact-methods { grid-template-columns: 1fr; }
}

.contact-icon {
    font-size: 2rem;
    margin-right: 0.25rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #1a365d;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-details p {
    color: #dbe4ea;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

/* Make the Call Us phone icon red/pink */
.contact-methods .contact-method:nth-child(2) .contact-icon {
    color: #ff4d6d;
}

/* Licensing box: keep headline color, make inner text white */
.licensing-info .license-details,
.licensing-info .license-item,
.licensing-info .license-label,
.licensing-info .license-value {
    color: #ffffff;
}

.licensing-info {
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: none;
}

.licensing-info h3 {
    color: #1a365d;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.license-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.license-item {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.license-item:last-child {
    border-bottom: none;
}

.license-label {
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.license-value {
    color: #4a5568;
    font-size: 1rem;
}

.map-section {
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: none;
}

.map-section h2 {
    color: #1a365d;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.map-section p {
    color: #dbe4ea;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    border-radius: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #1a365d;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4fd1c7;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.privacy-link {
    color: #4fd1c7;
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.faq-section {
    padding: 80px 0;
    background: #f7fafc;
}

.faq-section h2 {
    text-align: center;
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid,
    .philosophy-grid,
    .asset-grid,
    .process-steps,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

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

/* Loading animation for chart bars */
.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.4s; }
.chart-bar:nth-child(5) { animation-delay: 0.5s; }

/* Login Page */
.login-hero {
    position: relative;
    min-height: 100vh;
    background: transparent;
    display: flex;
    align-items: flex-start; /* start so we can control spacing precisely */
    justify-content: center;
    padding-top: 20vh; /* match contact page vertical offset */
    padding-bottom: 0;
}

.login-overlay {
    position: absolute;
    inset: 0;
    background: transparent; /* match other pages (use only global body overlay) */
}

.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 360px; /* slightly narrower */
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 0.75rem 1rem; /* reduce internal top padding */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-top: 80px; /* push further down per request */
}

.login-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    color: #1a365d;
    margin: 0;
    line-height: 1.2;
}

.login-subtitle {
    color: var(--color-muted);
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

.login-form .form-group + .form-group { margin-top: 0.75rem; }

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0 0.75rem;
}

.forgot-link { color: var(--color-accent); text-decoration: none; }
.forgot-link:hover { text-decoration: underline; }

.login-message {
    margin-top: 0.5rem;
    color: #2a3b4a;
    font-size: 0.95rem;
}

/* Modal popups */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.modal.open { display: flex !important; }

.modal-content {
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #0f253b;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: #2a3b4a;
    cursor: pointer;
}

.modal-body { color: #2a3b4a; line-height: 1.6; font-size: 0.95rem; }

/* Legal snippets */
.legal-snippets {
    padding: 40px 0 80px;
}

.legal-block { 
    max-width: 820px; 
    margin: 0 auto 24px; 
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 16px 18px;
}

.legal-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #0f253b;
    margin-bottom: 6px;
}

.legal-block p { color: #2a3b4a; font-size: 0.95rem; }
