/* Modern, Premium Design System for Health Bridge Ventures */

:root {
    --primary-blue: #2A45B0; /* Deeper, richer premium blue */
    --secondary-blue: #1E328A;
    --accent-blue: #4F70E7;
    --emerald-green: #71B233; /* Slightly darker for better contrast */
    --emerald-light: #F2F8EC;
    --white: #FFFFFF;
    --off-white: #F4F7FA;
    --text-dark: #0F172A;
    --text-light: #475569;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(42, 69, 176, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-blue);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

.no-scroll {
    overflow: hidden;
}

.section-padding {
    padding: 60px 0;
}

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

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

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

.nav-btns {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--emerald-green);
}

.logo-img {
    height: 65px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: inline-block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links li a {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-green);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.8s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(10, 38, 71, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-emerald {
    background-color: var(--emerald-green);
    color: var(--white);
}

.btn-emerald:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(130, 195, 65, 0.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--emerald-light) 0%, transparent 70%);
    z-index: 0;
    border-radius: 50%;
    opacity: 0.5;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image:hover img {
    transform: scale(1.03) rotate(1deg);
}

/* Section Styling */
.section-tag {
    color: var(--emerald-green);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1rem;
}

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

/* Foundation Section */
.foundation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.foundation-header .section-title {
    margin-bottom: 0;
    font-size: 2.2rem;
}

.foundation-header .section-tag {
    margin-bottom: 0.75rem;
}

.foundation-logo {
    width: 200px;
    height: auto;
    flex-shrink: 0;
    opacity: 0.9;
}

.foundation-main-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.foundation-main-text > div > p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.9;
}

.foundation-main-text > div > p:last-of-type {
    margin-bottom: 0;
}

.vision-mission {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.vm-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    border-left: 4px solid var(--emerald-green);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.vm-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.vm-card h4 {
    color: var(--emerald-green);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.vm-card p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

/* Why Us Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why-card {
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-green);
}

.why-card i {
    font-size: 2.5rem;
    color: var(--emerald-green);
    margin-bottom: 1.5rem;
    display: block;
}

.why-card h3 {
    margin-bottom: 1rem;
}

/* Investment Focus */
.focus-bg {
    background-color: var(--primary-blue);
    color: var(--white);
}

.focus-bg h2, .focus-bg h3, .focus-bg p {
    color: var(--white);
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.focus-item {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.focus-item:hover {
    background: var(--emerald-green);
}

.investment-range {
    background: var(--emerald-green);
    padding: 3rem;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.range-info h4 {
    font-size: 2rem;
    color: var(--white);
}

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

.portfolio-card {
    height: 320px;
    background: var(--white);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    background-size: cover;
    background-position: center;
}

/* Fallback gradient backgrounds for portfolio cards */
.portfolio-card:nth-child(1) {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}
.portfolio-card:nth-child(2) {
    background: linear-gradient(135deg, #064e3b, #10b981);
}
.portfolio-card:nth-child(3) {
    background: linear-gradient(135deg, #4c1d95, #8b5cf6);
}
.portfolio-card:nth-child(4) {
    background: linear-gradient(135deg, #7f1d1d, #ef4444);
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

.portfolio-card::after {
    content: 'Coming Soon';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--emerald-green);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(113, 178, 51, 0.3);
}

.portfolio-card h3 {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1.3;
}

.portfolio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Team Section */
#team {
    padding-bottom: 30px;
}

.pitch-section {
    padding-top: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.team-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

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

.team-img {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 8px 20px rgba(42, 69, 176, 0.25);
    overflow: hidden;
    border: 3px solid var(--emerald-light);
}

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

.team-info h3 {
    margin-bottom: 0.5rem;
}

.team-info .role {
    color: var(--emerald-green);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

/* Form Section */
.pitch-section {
    background: var(--off-white);
}

.pitch-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

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

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

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea, .form-group select {
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--emerald-green);
    box-shadow: 0 0 0 3px var(--emerald-light);
}

/* Contact Form - single column layout */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Contact & Footer */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--emerald-green);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    font-size: 1.8rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--emerald-green);
    transform: translateY(-3px);
}

footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s ease-in-out;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-only {
        display: block;
        margin-top: 2rem;
    }

    .desktop-only {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-grid, .team-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .foundation-main-text {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    .section-padding {
        padding: 50px 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .pitch-form {
        grid-template-columns: 1fr;
    }
    
    .logo-img {
        height: 45px;
    }

    .form-group.full {
        grid-column: span 1;
    }
    
    .foundation-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .foundation-logo {
        width: 150px;
    }

    .foundation-main-text {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

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

    .foundation-header {
        text-align: center;
        align-items: center;
    }

    .foundation-text-box {
        text-align: center;
    }

    .investment-range {
        padding: 2rem;
    }

    .contact-grid {
        gap: 3rem;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 38, 71, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.active {
    display: flex;
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-content i {
    font-size: 4rem;
    color: var(--emerald-green);
    margin-bottom: 1.5rem;
}

.modal-content h2 {
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--emerald-green);
    transform: translateY(-5px);
}

