/* 
   Bio-Echelon Sovereignty & Longevity Maintenance Authority
   Clinical Sanctuary Aesthetic
*/

:root {
    --sanctuary-white: #FDFDFD;
    --gene-deep-sea: #008080;
    --platinum-silver: #E5E4E2;
    --life-pulse-red: #DC143C;
    --iridescent-gradient: linear-gradient(45deg, #e0f7fa, #80deea, #4dd0e1, #26c6da, #00bcd4, #00acc1, #0097a7, #00838f, #006064);
}

body {
    background-color: var(--sanctuary-white);
    color: #333;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Iridescent Pulse Effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border: 8px solid transparent;
    border-image: linear-gradient(45deg, rgba(0, 128, 128, 0.1), rgba(220, 20, 60, 0.1), rgba(229, 228, 226, 0.1)) 1;
    z-index: 9999;
    animation: pulse-border 10s infinite alternate;
}

@keyframes pulse-border {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* Navbar Styling */
.navbar {
    background-color: rgba(253, 253, 253, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--platinum-silver);
    padding: 1rem 2rem;
}

.navbar-brand {
    font-weight: 700;
    color: var(--gene-deep-sea) !important;
    letter-spacing: 1px;
    font-size: 1.2rem;
}

.nav-link {
    color: #555 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--gene-deep-sea) !important;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: radial-gradient(circle at center, #ffffff 0%, #f0f4f4 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gene-deep-sea);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Cards & Components */
.bio-card {
    background: white;
    border: 1px solid var(--platinum-silver);
    border-radius: 0;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.bio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 128, 128, 0.05);
    border-color: var(--gene-deep-sea);
}

.bio-card h3 {
    color: var(--gene-deep-sea);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

.text-gene { color: var(--gene-deep-sea); }
.text-pulse { color: var(--life-pulse-red); }
.text-platinum { color: #888; }

/* Footer */
footer {
    background-color: #f8f9fa;
    border-top: 1px solid var(--platinum-silver);
    padding: 4rem 0;
    margin-top: 4rem;
}

/* Custom Animations */
.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

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

/* Iridescent Pulse Animation for specific elements */
.iridescent-text {
    background: linear-gradient(90deg, #008080, #00bcd4, #008080);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Medical Table Style */
.medical-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.medical-table th {
    color: var(--gene-deep-sea);
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 10px;
    border-bottom: 2px solid var(--platinum-silver);
}

.medical-table td {
    background: white;
    padding: 15px;
    border-top: 1px solid var(--platinum-silver);
    border-bottom: 1px solid var(--platinum-silver);
}

.medical-table td:first-child { border-left: 1px solid var(--platinum-silver); }
.medical-table td:last-child { border-right: 1px solid var(--platinum-silver); }
