/* ==========================================================================
   Base resets & typography
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==========================================================================
   CSS Custom Properties (Theme/Variation Swapping)
   ========================================================================== */

/* Corporate Trust Variation Variables */
.variation-corporate {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #0f172b;
    /* Matches Brand Secondary */
    --text-secondary: #475569;
    --primary-color: #293c7b;
    /* Brand Primary */
    --secondary-color: #0f172b;
    /* Brand Secondary */
    --accent-color: #f59e0b;
    /* Amber */
    --border-color: #e2e8f0;
    --shadow: 0 10px 30px -10px rgba(79, 70, 229, 0.08);
    --shadow-hover: 0 20px 40px -15px rgba(79, 70, 229, 0.15);
    --gradient-primary: linear-gradient(135deg, #293c7b 0%, #0f172b 100%);
    --gradient-accent: linear-gradient(135deg, #293c7b 0%, #6366f1 100%);
    --hero-bg: radial-gradient(circle at 100% 0%, rgba(79, 70, 229, 0.05) 0%, rgba(15, 23, 43, 0.03) 70%), #ffffff;
    --card-glow-opacity: 0;
    --font-hero: 'Outfit', sans-serif;
    --radius-card: 12px;
}

/* Bio-Tech Aurora Variation Variables */
.variation-biotech {
    --bg-primary: #090d16;
    /* Deep obsidian space */
    --bg-secondary: #0f172b;
    /* Brand Secondary */
    --bg-card: rgba(15, 23, 43, 0.65);
    /* Glassmorphism background */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --primary-color: #293c7b;
    /* Brand Primary */
    --secondary-color: #06b6d4;
    /* Neon Cyan Cyber Accent */
    --accent-color: #a855f7;
    /* Purple */
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-hover: 0 12px 40px 0 rgba(79, 70, 229, 0.2);
    --gradient-primary: linear-gradient(135deg, #293c7b 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #293c7b 0%, #a855f7 100%);
    --hero-bg: #090d16;
    --card-glow-opacity: 0.15;
    --font-hero: 'Outfit', sans-serif;
    --radius-card: 24px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */

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

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #ffffff;
}

.variation-biotech .btn-primary {
    color: #090d16;
    font-weight: 700;
}

.nav-cta {
    color: #ffffff !important;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease !important;
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35) !important;
}

.nav-cta:active {
    transform: translateY(0) scale(0.98) !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

/* Biotech Header Glassmorphism */
.variation-biotech .site-header {
    background-color: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(12px);
}

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

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

.logo-img {
    height: 40px;
    width: auto;
    max-width: 100%;
    display: block;
    transition: filter 0.3s ease;
}

.variation-biotech .logo-img {
    filter: brightness(0) invert(1);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a:not(.nav-cta) {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
}

.main-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}



.main-nav a:not(.nav-cta):hover {
    color: var(--text-primary);
}

.main-nav a:not(.nav-cta):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 12rem 0 9rem 0;
    background-image: url('/assets/homesection_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 85vh;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: background-color 0.4s ease;
}

.variation-corporate .hero-bg-overlay {
    background: transparent;
}

.variation-biotech .hero-bg-overlay {
    background: linear-gradient(to right, rgba(9, 13, 22, 0.95) 30%, rgba(9, 13, 22, 0.8) 100%);
}

/* Glowing background elements for Biotech variation */
.hero-glow-1,
.hero-glow-2 {
    display: none;
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

.variation-biotech .hero-glow-1 {
    display: block;
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.12);
    top: -10%;
    right: 5%;
}

.variation-biotech .hero-glow-2 {
    display: block;
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.12);
    bottom: 10%;
    left: 10%;
}

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

.hero-content {
    max-width: 800px;
    margin: 0;
    text-align: left;
}

.hero-tagline {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: 0;
    margin-right: 0;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

/* ==========================================================================
   Section Styling & Headers
   ========================================================================== */
section {
    padding: 6rem 0;
    position: relative;
}

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

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ==========================================================================
   Core Foundations Section
   ========================================================================== */
.foundations-section {
    background-color: var(--bg-secondary);
}

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

.foundation-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effects */
.foundation-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

/* Glow layout for biotech */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 60%);
    opacity: var(--card-glow-opacity);
    pointer-events: none;
}

.variation-biotech .foundation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s;
}

.variation-biotech .foundation-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card-tag {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    min-height: 70px;
}

.card-stat {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.stat-sub {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

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

.lead-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.body-text {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
}

.about-stat-item {
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
}

.about-stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.about-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.about-quote-container {
    display: flex;
    justify-content: center;
}

.quote-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 3rem;
    box-shadow: var(--shadow);
    position: relative;
}

.quote-icon {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    line-height: 0;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: 2rem;
    left: 2rem;
}

blockquote {
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.quote-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* ==========================================================================
   Clinical Expertise Section
   ========================================================================== */
.clinical-section {
    background-color: var(--bg-secondary);
}

.clinical-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    position: relative;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    text-decoration: none;
    color: inherit;
    flex-direction: column;
    justify-content: flex-end;
    height: 380px;
    padding: 2rem 1.5rem;
    flex: 1 1 320px;
    max-width: 370px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-bg-img {
    transform: scale(1.06);
}

.service-card-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(15, 23, 43, 0) 0%, rgba(15, 23, 43, 0.6) 45%, rgba(15, 23, 43, 0.98) 100%);
    transition: opacity 0.4s ease;
}

.service-card-full-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.25rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.variation-corporate .service-card-full-overlay {
    background: rgba(15, 23, 43, 0.96);
    /* Brand secondary color #0f172b */
}

.variation-biotech .service-card-full-overlay {
    background: rgba(15, 23, 43, 0.94);
    /* Brand secondary color #0f172b */
    backdrop-filter: blur(8px);
}

.service-card:hover .service-card-full-overlay {
    opacity: 1;
}

.service-desc {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    margin: 0;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-desc {
    transform: translateY(0);
}

.variation-biotech .service-desc {
    color: #e2e8f0;
}

.service-card-interactive-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.service-card-interactive-content a {
    pointer-events: auto;
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.service-icon-wrapper {
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.05);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
}

.service-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    align-self: flex-start;
}

.service-link .arrow {
    transition: transform 0.3s;
}

.service-link:hover .arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   IT Services Section
   ========================================================================== */
.it-section {
    background-color: var(--bg-primary);
}

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

.it-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.it-image-placeholder {
    height: 180px;
    background-color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 1rem;
}

.it-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.it-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.it-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.it-sub {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.it-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Visual mocks in IT Cards */
.window-header {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
}

.window-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.window-header .dot.red {
    background-color: #ef4444;
}

.window-header .dot.yellow {
    background-color: #eab308;
}

.window-header .dot.green {
    background-color: #22c55e;
}

.window-code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: #38bdf8;
    width: 100%;
    padding-left: 1rem;
}

.window-code code {
    display: block;
}

.phone-screen {
    width: 80px;
    height: 140px;
    border: 3px solid #334155;
    border-radius: 12px;
    background-color: #1e293b;
    position: relative;
    overflow: hidden;
}

.phone-status {
    height: 10px;
    background-color: #0f172a;
}

.phone-content-mock {
    padding: 10px;
}

.mock-card {
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 4px;
    margin-bottom: 10px;
}

.mock-line {
    height: 6px;
    background-color: #475569;
    border-radius: 2px;
    margin-bottom: 6px;
}

.mock-line.short {
    width: 60%;
}

.test-terminal {
    font-family: monospace;
    font-size: 0.75rem;
    color: #10b981;
    width: 100%;
}

.test-terminal code {
    display: block;
    margin-bottom: 4px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.variation-biotech .site-footer {
    background-color: #05070a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.logo-footer {
    margin-bottom: 1.5rem;
}

.logo-footer .logo-img {
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 0.95rem;
    max-width: 300px;
}

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

.contact-item h5 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.contact-item p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-item a:hover {
    color: #ffffff;
}

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

/* ==========================================================================
   Variation Switcher Control Panel Styling
   ========================================================================== */
.variation-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 9999;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s;
}

.variation-panel.collapsed {
    transform: translateY(calc(100% - 50px));
}

.variation-biotech .variation-panel {
    background-color: #0f172a;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.variation-biotech .panel-header {
    background-color: #1e293b;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.panel-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f172a;
}

.variation-biotech .panel-title {
    color: #ffffff;
}

.panel-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 700;
    color: #64748b;
}

.panel-content {
    padding: 1.25rem;
}

.panel-desc {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.variation-biotech .panel-desc {
    color: #94a3b8;
}

.variation-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.var-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background-color: transparent;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    width: 100%;
}

.variation-biotech .var-btn {
    border-color: rgba(255, 255, 255, 0.1);
}

.var-btn:hover {
    background-color: #f1f5f9;
}

.variation-biotech .var-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.var-btn.active {
    border-color: #0f4c81;
    background-color: #f0f7ff;
}

.variation-biotech .var-btn.active {
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.1);
}

.var-icon {
    font-size: 1.5rem;
}

.var-label {
    display: flex;
    flex-direction: column;
}

.var-label strong {
    font-size: 0.85rem;
    color: #0f172a;
}

.variation-biotech .var-label strong {
    color: #ffffff;
}

.var-label small {
    font-size: 0.7rem;
    color: #64748b;
}

.variation-biotech .var-label small {
    color: #94a3b8;
}

/* ==========================================================================
   Responsive adjustments
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .variation-panel {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
    }
}

/* ==========================================================================
   Header Dropdown Menu styles
   ========================================================================== */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background-color: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 43, 0.08);
    display: flex;
    gap: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    margin-top: 0.5rem;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-left: 1px solid var(--border-color, #e2e8f0);
    border-top: 1px solid var(--border-color, #e2e8f0);
}

.nav-dropdown-wrapper:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-wrapper:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 200px;
}

.dropdown-col-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-primary, #293c7b);
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}

.dropdown-column a {
    font-size: 0.9rem;
    color: var(--text-secondary, #475569) !important;
    font-weight: 500;
    padding: 0.15rem 0;
    transition: all 0.2s ease !important;
    text-align: left;
}

.dropdown-column a::after {
    display: none !important;
}

.dropdown-column a:hover {
    color: var(--color-primary, #293c7b) !important;
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .nav-dropdown {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0.5rem 0 0 1rem;
        flex-direction: column;
        gap: 1.5rem;
        display: none;
        opacity: 1;
        visibility: visible;
    }

    .nav-dropdown-wrapper:hover .nav-dropdown {
        display: flex;
    }

    .nav-dropdown::before {
        display: none;
    }

    .dropdown-column {
        min-width: unset;
    }
}