/* ===================================
   Font Imports
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700&display=swap');

/* ===================================
   CSS Reset & Base Styles
   =================================== */

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

:root {
    --primary-color: #f53d54;
    --primary-dark: #e12a41;
    --text-dark: #2c3e50;
    --text-light: #555;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --orange: #f39c12;
    --orange-hover: #e67e22;
    --navy: #1b283b;

    --font-primary: 'Rubik', sans-serif;
    --font-secondary: 'Rubik', sans-serif;
    --font-body: 'Onest', sans-serif;
    --font-nav: 'Rubik', sans-serif;
    --font-logo: 'Montserrat', sans-serif;

    --max-width: 1280px;
    --header-height: 80px;

    
    --accent-color: #ff4757; 
    --border-color: #dfe4ea;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    font-weight: 400;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===================================
   Global Typography
   =================================== */

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.section-title-white {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 30px;
    text-align: center;
}

.section-title strong {
    font-weight: 700;
    display: block;
}

.section-title-white strong {
    font-weight: 700;
    display: block;
}


/* ===================================
   Header Styles
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: var(--header-height);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    gap: 30px;
}

.logo svg {
    height: 25px;
    width: auto;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

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

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    font-family: var(--font-nav);
    font-weight: 400;
    font-size: 16px;
    color: var(--text-dark);
    padding: 10px 0;
    display: block;
}

.nav-menu > li > a:hover {
    color: var(--primary-color);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--gray-medium);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    margin-bottom: 8px;
}

.dropdown li:last-child {
    margin-bottom: 0;
}

.dropdown li a {
    padding: 14px 16px 14px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: 8px;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.dropdown li a sub {
    font-size: 0.75em;
    vertical-align: baseline;
    position: relative;
    bottom: -0.15em;
}

.dropdown li a:hover {
    background: var(--gray-light);
    color: var(--primary-color);
    transform: translateX(4px);
}

.dropdown li a.active {
    background: var(--gray-light);
    color: var(--primary-color);
    font-weight: 600;
}

.dropdown li a::before {
    display: none;
}

.dropdown-wide {
    columns: 2;
    min-width: 540px;
    column-gap: 20px;
    column-rule: 1px solid var(--gray-medium);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
}

.has-dropdown:hover .dropdown-wide {
    transform: translateX(-50%) translateY(0);
}

.dropdown-wide li {
    break-inside: avoid;
}

/* Enhanced dropdown styles for Targets menu */
.dropdown-targets {
    min-width: 620px;
    padding: 8px 8px 8px 0;
}

.dropdown-targets li {
    margin-bottom: 0;
}

.dropdown-item-enhanced {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 8px 8px 6px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-item-enhanced:hover {
    background: var(--gray-light);
    transform: translateX(0);
}

.dropdown-item-enhanced .dropdown-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0px;
}

.dropdown-item-enhanced .dropdown-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dropdown-item-enhanced .dropdown-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.dropdown-item-enhanced .dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.dropdown-item-enhanced .dropdown-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-primary);
    line-height: 1.3;
}

.dropdown-item-enhanced .dropdown-title sub {
    font-size: 0.75em;
    vertical-align: baseline;
    position: relative;
    bottom: -0.15em;
}

.dropdown-item-enhanced .dropdown-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
    font-family: var(--font-body);
}

.dropdown-item-enhanced:hover .dropdown-title {
    color: var(--primary-color);
}

.dropdown a[data-icon]::before {
    display: none;
}

.dropdown a[data-icon] {
    gap: 0;
}

/* =====================
   Team Carousel (v2)
   ===================== */

.team-carousel-section {
    padding: 80px 0 60px;
    background: #f4f5f7;
}

/* Clips the overflowing side cards at screen edges */
.team-carousel-track-outer {
    position: relative;
    width: 100%;
    height: 460px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Invisible center anchor — all cards are positioned relative to it */
.team-carousel-track {
    position: relative;
    width: 200px;
    height: 340px;
    flex-shrink: 0;
}

.tc-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s ease;
}

.tc-photo {
    width: 200px;
    height: 280px;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #d0d7e0 0%, #bcc4cf 100%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.tc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.tc-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-photo-placeholder::after {
    content: 'Photo';
    font-size: 0.8rem;
    color: #aab0bb;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tc-info {
    margin-top: 14px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
}

.tc-card-active .tc-info {
    opacity: 1;
}

.tc-name {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 4px;
}

.tc-role {
    font-size: 0.78rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Prev / Next buttons */
.tc-btn {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    transition: background 0.2s, color 0.2s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.tc-btn-prev { left: 16px; }
.tc-btn-next { right: 16px; }

/* Dots */
.tc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.tc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.tc-dot-active {
    background: var(--primary-color);
    transform: scale(1.3);
}

@media (max-width: 767px) {
    .team-carousel-track-outer {
        height: 380px;
    }
    .tc-btn-prev { left: 4px; }
    .tc-btn-next { right: 4px; }
}

/* =====================
   Team Page
   ===================== */

.team-about-section {
    padding: 80px 0;
    background: var(--white);
}

.team-about-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.team-about-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px 0;
}

.team-about-text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 15px 0;
}

.team-about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 160px;
}

.team-stat {
    text-align: center;
    padding: 20px;
    background: var(--gray-light);
    border-radius: 12px;
}

.team-stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.team-stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-members-section {
    padding: 80px 0 100px;
    background: var(--gray-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    cursor: default;
}

a.team-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.team-profile-header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.team-profile-photo {
    flex-shrink: 0;
    width: 340px;
    height: 460px;
    max-height: 460px;
    border-radius: 10px;
    overflow: hidden;
}

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

.team-profile-intro {
    flex: 1;
}

@media (max-width: 768px) {
    .team-profile-header {
        flex-direction: column;
    }
    .team-profile-photo {
        width: 100%;
        max-width: 280px;
    }
}


.team-card-photo {
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
   
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}

.team-card-photo img {
    width: 100%;
    height: calc(100% + 26px);
    object-fit: cover;
    object-position: top;
    display: block;
    margin-top: -26px;
}

.team-card-photo-placeholder {
    background: linear-gradient(135deg, #e8ecf1 0%, #d0d7e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card-photo-placeholder span {
    font-size: 0.85rem;
    color: #aab0bb;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.team-card-info {
    padding: 24px;
}

.team-card-name {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px 0;
}

.team-card-role {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.team-card-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.team-card-badges {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.team-badge {
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid var(--primary-color, #e63946);
    color: var(--primary-color, #e63946);
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.team-badge:hover {
    background: var(--primary-color, #e63946);
    color: #fff;
}

.contributions-text .help-paragraph a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Publications list */
.pub-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}
.pub-item {
    display: flex;
    gap: 12px;
    padding: 0.85rem 0;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}
.pub-item:first-child { border-top: 1px solid #eee; }
.pub-num {
    font-size: 13px;
    color: #aaa;
    min-width: 28px;
    text-align: right;
    padding-top: 1px;
    flex-shrink: 0;
}
.pub-content { flex: 1; min-width: 0; }
.pub-authors {
    font-size: 13px;
    color: #555;
    display: block;
    margin-bottom: 2px;
}
.pub-link {
    font-size: 14px;
    color: var(--primary-color, #e63946);
    text-decoration: none;
    display: block;
    line-height: 1.45;
    margin-bottom: 4px;
}
.pub-link:hover { text-decoration: underline; }
.pub-nolink {
    font-size: 14px;
    color: #222;
    display: block;
    line-height: 1.45;
    margin-bottom: 4px;
}
.pub-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 2px;
}
.pub-journal {
    font-size: 12px;
    color: #888;
    flex: 1;
}
.pub-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 3px;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    text-decoration: none;
}
.badge-pubmed { background: #dbeafe; color: #1e40af; }
.badge-pmc { background: #dcfce7; color: #166534; }
.badge-journal { background: #f3f4f6; color: #374151; }
.badge-none { background: #fee2e2; color: #991b1b; }
.badge-pmc:hover { background: #bbf7d0; }

@media (max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-about-inner {
        grid-template-columns: 1fr;
    }
    .team-about-stats {
        flex-direction: row;
        min-width: unset;
    }
    .team-stat {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-about-stats {
        flex-wrap: wrap;
    }
}

/* Header CTA Button */
.header-cta-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

.header-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 61, 84, 0.4);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    height: calc(100vh - 100px);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-slider {
    position: relative;
    width: 100%;
}

.hero-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease-in-out;
}

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

.hero-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
    margin-top: -160px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

/* Hero Slider Arrows */
.hero-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-arrow.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-left {
    left: 10px;
}

.hero-arrow-right {
    right: 10px;
}

/* Hero Slider Dots */
.hero-dots {
    position: absolute;
    bottom: 260px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.hero-dot.active {
    background: var(--white);
    border-color: var(--white);
    width: 14px;
    height: 14px;
}

.hero-curve {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 150px;
    background-image: url('../assets/hero-curve.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center bottom;
    z-index: 3;
}

/* ===================================
   About Slider Section
   =================================== */

.about-slider-section {
    padding: 0;
    background: var(--white);
}

.about-slider-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--white);
    width: 100%;
    margin: 0;
}

.about-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.about-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.7s ease-out;
}

.about-slide {
    position: relative;
    min-width: 70%;
    width: 70%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 60px 80px;
    flex-shrink: 0;
}

/* Individual slide background colors */
.about-slide[data-slide="1"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.about-slide[data-slide="2"] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.about-slide[data-slide="3"] {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.about-slide[data-slide="4"] {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.about-slide-content {
    z-index: 2;
    align-self: flex-start;
    padding-top: 20px;
}

.about-slide-title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-slide-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

.about-slide-btn {
    background-color: var(--accent-green);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.about-slide-btn:hover {
    background-color: darken(var(--accent-green), 10%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.about-slide-image {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.about-slide-image img {
    max-width: 100%;
    height: auto;
    opacity: 0.85;
    transition: transform 0.6s ease;
}

.about-slide.active .about-slide-image img {
    animation: slideImageIn 0.8s ease-out;
}

@keyframes slideImageIn {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    to {
        opacity: 0.85;
        transform: translateX(0) scale(1);
    }
}

/* Slider Navigation Arrows */
.about-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.about-slider-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(46, 163, 242, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.about-slider-arrow-left {
    left: 20px;
}

.about-slider-arrow-right {
    right: 20px;
}

/* Slider Dots */
.about-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.about-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(46, 163, 242, 0.3);
    border: 2px solid rgba(46, 163, 242, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.about-slider-dot:hover {
    background: rgba(46, 163, 242, 0.6);
    transform: scale(1.2);
}

.about-slider-dot.active {
    background: #2EA3F2;
    border-color: #2EA3F2;
    width: 14px;
    height: 14px;
}

/* Background Toggle Button */
.bg-toggle-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(46, 163, 242, 0.4);
    transition: all 0.3s ease;
    z-index: 100;
}

.bg-toggle-btn:hover {
    background: #1d8cd8;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(46, 163, 242, 0.6);
}

.bg-toggle-btn svg {
    color: var(--white);
}

.bg-toggle-btn.active {
    background: var(--accent-green);
}

.bg-toggle-btn.active:hover {
    background: #b8d44e;
}

/* About slide with background image */
.about-slide.has-background {
    background-size: cover;
    background-position: top left;
    background-blend-mode: overlay;
}

.about-slide[data-slide="1"].has-background {
    background-image: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%), url('../assets/1.jpg');
}

.about-slide[data-slide="2"].has-background {
    background-image: linear-gradient(135deg, rgba(240, 147, 251, 0.7) 0%, rgba(245, 87, 108, 0.7) 100%), url('../assets/2.jpg');
}

.about-slide[data-slide="3"].has-background {
    background-image: linear-gradient(135deg, rgba(79, 172, 254, 0.7) 0%, rgba(0, 242, 254, 0.7) 100%), url('../assets/3.jpg');
}

.about-slide[data-slide="4"].has-background {
    background-image: linear-gradient(135deg, rgba(67, 233, 123, 0.7) 0%, rgba(56, 249, 215, 0.7) 100%), url('../assets/4.jpg');
}

/* ===================================
   What We Offer Section
   =================================== */

.what-we-offer-section {
    padding: 100px 0;
    background: #ffffff;
}

.what-we-offer-section2 {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}


.what-we-offer-section .section-title {
    text-align: center;
    margin-bottom: 80px;
}

.offer-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid rgba(44, 62, 80, 0.15);
}

.offer-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

/* Alternate layout for even rows (2, 4) - image on left */
.offer-row:nth-child(even) {
    grid-template-columns: 1fr 2fr;
}

.offer-row:nth-child(even) .offer-content {
    order: 2;
}

.offer-row:nth-child(even) .offer-sidebar {
    order: 1;
    border-left: none;
    border-right: 1px solid #e8eef5;
    padding-left: 0;
    padding-right: 0px;
}

.offer-content {
    padding: 0;
}

.offer-title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.offer-description {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 0;
}

.offer-sidebar {
    padding-left: 0px;
    border-left: 1px solid #e8eef5;
}

.offer-sidebar img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: right center;
    display: block;
    border-radius: 8px;
    margin-top: 60px;
}

.offer-sidebar-header {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-sidebar-section {
    margin-bottom: 25px;
}

.offer-sidebar-section:last-child {
    margin-bottom: 0;
}

.offer-subtitle {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.offer-tag {
    background: var(--white);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(44, 62, 80, 0.1);
    transition: all 0.2s ease;
}

.offer-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.offer-usecases {
    margin-top: 30px;
}

.offer-usecases-header {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.offer-usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.offer-usecase-item {
    display: flex;
    gap: 15px;
}

.offer-usecase-icon {
    display: none;
}

.offer-usecase-content h4 {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.offer-usecase-content p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

.offer-service-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.offer-service-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-medium);
}

.offer-service-list li:last-child {
    border-bottom: none;
}

.offer-service-list li strong {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text-dark);
}

.offer-service-list li p {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.cell-type-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.cell-type-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-light);
    border: 1px solid var(--gray-medium);
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

.cell-type-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Human Stem Cell Derived Cell Models */
.cell-models-section {
    padding: 100px 0;
    background: var(--gray-light);
}

/* Cell Model Carousel */
.cmc-wrapper {
    padding: 60px 0;
}

.cmc-track-outer {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmc-track {
    position: relative;
    width: 260px;
    height: 420px;
    flex-shrink: 0;
}

.cmc-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.cmc-image {
    position: relative;
    width: 260px;
    height: 320px;
    border-radius: 22px;
    overflow: hidden;
    background: #d0d7e0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.cmc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cmc-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.cmc-info {
    margin-top: 14px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 0 4px;
}

.cmc-card-active .cmc-info {
    opacity: 1;
}

.cmc-name {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px;
}

.cmc-desc {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.cmc-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    transition: background 0.2s, color 0.2s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmc-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.cmc-btn-prev { left: 16px; }
.cmc-btn-next { right: 16px; }

.cmc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.cmc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.cmc-dot-active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.cell-models-section .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 50px;
    font-size: 1.05rem;
    color: var(--text-light);
}

.cell-models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-color);
}

.cell-model-card {
    background: var(--gray-light);
    padding-top: 0;
}

.cell-model-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cell-model-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    padding: 40px 32px;
}

.cell-model-cta-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.cell-model-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.cell-model-cta-btn:hover {
    background: #d4293f;
}

.cell-model-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: #e8ecf1;
    overflow: hidden;
}

.cell-model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cell-model-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.cell-model-info {
    padding: 20px;
}

.cell-model-name {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.cell-model-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .cell-models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cell-models-grid {
        grid-template-columns: 1fr;
    }
    .cell-models-section {
        padding: 60px 0;
    }
}

.offer-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-btn:hover {
    background-color: #d63546;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 61, 84, 0.3);
}

.offer-btn:active {
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .offer-row,
    .offer-row:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
        padding-bottom: 50px;
    }

    .offer-content {
        padding-right: 0;
    }

    .offer-title {
        font-size: 1.5rem;
    }

    .offer-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .offer-sidebar {
        display: none;
    }

    .offer-usecases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===================================
   Technology Platforms Section
   =================================== */

.technology-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.tech-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.tech-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tech-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.tech-description {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   Technology Service Mapping Section
   =================================== */

.tech-mapping-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 15px;
    margin-bottom: 40px;
}

.mapping-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}

.mapping-table {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mapping-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.mapping-table th,
.mapping-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.mapping-table th {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
}

.mapping-table tbody tr:hover {
    background: #f9fafb;
}

.tech-name {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-dark);
    text-align: left;
}

.check-mark {
    color: #10b981;
    font-size: 1.5rem;
    font-weight: bold;
}

.no-mark {
    color: #d1d5db;
    font-size: 1.2rem;
}

/* ===================================
   Biological Models Section
   =================================== */

.bio-models-section {
    padding: 80px 0;
    background: var(--white);
}

.bio-models-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 50px;
}

.bio-block {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 40px;
    border-radius: 12px;
    color: var(--white);
}

.bio-block:last-child {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.bio-block-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--white);
}

.bio-list {
    list-style: none;
    padding: 0;
}

.bio-list li {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 2;
    padding-left: 30px;
    position: relative;
}

.bio-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
}

/* ===================================
   Process Section
   =================================== */

.process-section {
    padding: 0px 0 80px 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 500;
    margin: 0 auto 25px;
}

.step-title {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.step-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   Why ChanPharm Section
   =================================== */

.why-chanpharm-section {
    padding: 80px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 50px;
}

.why-item {
    display: flex;
    gap: 25px;
}

.why-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.why-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.why-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    padding: 80px 0;
    background: #d4ed6e;
}

.cta-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cta-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.3;
}

.cta-title strong {
    font-weight: 700;
}

.cta-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cta-contact-item {
    border-top: 1px solid var(--text-dark);
    padding-top: 20px;
}

.cta-email {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
}

.cta-phone {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-dark);
}

.cta-email:hover,
.cta-phone a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.cta-email:hover,
.cta-phone a:hover {
    color: var(--primary-color);
}

/* ===================================
   End-to-End Services Section
   =================================== */

.end-to-end-services {
    padding: 100px 0;
    background: #e8e8e8;
}

.end-to-end-services .section-title {
    text-align: left;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #2c3e50;
    border-radius: 16px;
    padding: 60px 40px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-number {
    font-family: var(--font-primary);
    font-size: 5rem;
    font-weight: 300;
    color: #d4ed6e;
    line-height: 1;
}

.service-card-title {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.3;
    min-height: 60px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-list li {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--white);
    padding-top: 20px;
    border-top: 1px solid rgba(212, 237, 110, 0.3);
}

/* ===================================
   Company Showcase Section
   =================================== */

.company-showcase {
    padding: 0;
    background: var(--white);
}

.showcase-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.showcase-left {
    background: var(--white);
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.showcase-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.showcase-title strong {
    font-weight: 700;
    display: block;
}

.showcase-description {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.showcase-signature {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 15px;
}

.showcase-sign {
    max-width: 150px;
    height: auto;
    display: block;
}

.showcase-right {
    
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.showcase-right::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 150px;
    
    z-index: 3;
    transform: translateX(-1px);
}

.showcase-content {
    flex: 1;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.showcase-year {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.showcase-text {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
    
}

.showcase-person {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: auto;
    max-width: 110%;
    object-fit: contain;
    object-position: bottom right;
    z-index: 1;
}






/* ===================================
   Services Section
   =================================== */

.services-section {
    padding: 60px 0;
    background: var(--gray-light);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.service-item.reverse {
    grid-template-columns: 1fr 1fr;
}

.service-item.reverse .service-content {
    order: 2;
}

.service-item.reverse .service-image {
    order: 1;
}

.service-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.service-description {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
    text-align: justify;
}

.btn-more {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-more:hover {
    background: var(--primary-color);
    color: var(--white);
}

.service-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

/* ===================================
   Footer Styles
   =================================== */

.footer {
    background: var(--navy);
    color: #a8b2c1;
    padding: 40px 0 80px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-company-name {
    font-family: var(--font-body);
    font-size: 2rem;
    line-height: 2.6875rem;
    font-weight: 300;
    color: #a8b2c1;
    margin-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 100px;
    margin-bottom: 40px;
}

.footer-item {
    color: #a8b2c1;
}

.footer-item-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 500;
    color: #a8b2c1;
    border-bottom: 1px solid #a8b2c1;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.footer-colon {
    color: var(--primary-color);
    font-weight: 700;
}

.footer-item-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.625rem;
    color: #a8b2c1;
}

.footer-item-text a {
    color: #a8b2c1;
    transition: color 0.3s ease;
}

.footer-item-text a:hover {
    color: var(--white);
}

.footer-logo-item {
    grid-column: span 1;
}

.footer-logo-svg {
    height: 144px;
    width: auto;
}

.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 40px;
    color: #a8b2c1;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 8px;
}

.footer-links a {
    color: #a8b2c1;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copyright {
    color: #a8b2c1;
}

.footer-partner {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-partner strong {
    font-weight: 600;
}

.footer-logo img {
    max-width: 120px;
    opacity: 0.8;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Service Page Styles
   =================================== */

/* Service Hero Section */
@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.service-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: var(--header-height);
    animation: heroFadeIn 0.7s ease-in both;
}

.service-hero-compact {
    min-height: 220px;
}

.service-hero-ion-channel {
    background-image: url('../assets/screeningbg.jpg');
    background-position: left center;
    background-color: #03101f;
}

.service-hero-team {
    background-image: none;
    background-color: #03101f;
}

.service-hero-team .service-hero-overlay {
    right: 0;
    background: linear-gradient(to bottom, rgba(27, 40, 59, 0.025) 0%, rgba(27, 40, 59, 0.3) 100%);
}

.service-hero-cardiac{
    background-image: url('../assets/cardiacbg.jpg');
    background-position: left center;
    background-color: #5f3244;
}

.service-hero-cardiac2 {
    background-image: url('../assets/2.jpg');
    background-position: center center;
    background-color: var(--navy);
}

.service-hero-cardiac2 .service-hero-overlay {
    right: 0;
    background: linear-gradient(to right, rgb(102 43 64 / 36%) 0%, rgb(135 45 57 / 0%) 100%);
}

.service-hero-content-with-image {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.service-hero-text {
    flex: 1;
    min-width: 0;
}

.service-hero-image-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.service-hero-side-image {
    max-height: 480px;
    max-width: 630px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 32px rgba(0,0,0,0.35));
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.service-hero-side-image.loaded {
    opacity: 1;
    transform: translateX(0);
}

@keyframes heroImageFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
    .service-hero-content-with-image {
        flex-direction: column;
    }
    .service-hero-image-right {
        display: none;
    }
    .service-hero-image-right {
        justify-content: center;
    }
    .service-hero-side-image {
        max-height: 200px;
    }
}

.service-hero-compact {
    min-height: 250px;
    background-image: url('../assets/screeningbg.jpg');
    background-color: var(--navy);
    background-position: center center;
}

.service-hero-compact .service-hero-cardiac-overlay {
    right: 0;
    background: linear-gradient(135deg, rgba(245, 61, 84, 0.3) 0%, rgb(245 61 84 / 84%) 100%);
}

service-hero-neurotoxicity{
    background-image: url('../assets/3.jpg');
    background-position: left center;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(27, 40, 59, 0.85) 0%, rgba(27, 40, 59, 0.3) 100%);
}

.service-hero-cardiac-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 50%;
    bottom: 0;
    background: linear-gradient(to right, rgb(21 18 20 / 85%) 0%, rgba(107, 59, 84, 1) 90%);

}


.service-hero-stemcell-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 50%;
    bottom: 0;
    background: linear-gradient(to right, rgb(0 0 0) 0%, rgb(103 157 177 / 0%) 90% 0%);
    z-index: 2;
}


.service-hero-neurotoxicity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 50%;
    bottom: 0;
    background: linear-gradient(to right, rgb(7 13 25) 0%, rgb(8 13 23) 90% 0%);
}

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

.service-hero-content {
    max-width: 800px;
    padding: 80px 0;
}

.hero-video-container {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    overflow: hidden;
    z-index: 1;
}

.hero-video-container-stemcell {

    width: 100%;

}

.hero-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 968px) {
    .hero-video-container {
        display: none;
    }

    .service-hero-ion-channel {
        background-image: url('../assets/1.jpg');
        background-position: center center;
        background-size: cover;
    }

    .service-hero-cardiac {
        background-image: url('../assets/2.jpg');
        background-position: center center;
        background-size: cover;
    }
    .service-hero-stemcell {
        background-image: url('../assets/4.jpg');
        background-position: center center;
        background-size: cover;
    }

    .service-hero-neurotoxicity {
        background-image: url('../assets/3.jpg');
        background-position: center center;
        background-size: cover;
    }

    .service-hero-overlay {
        right: 0;
    }

    .service-hero-cardiac-overlay {
        right: 0;
        background: linear-gradient(to right, rgb(21 18 20 / 45%) 0%, rgba(107, 59, 84, 0.1) 90%);
    }

    .service-hero-stemcell-overlay {
        right: 0;
        background: linear-gradient(to right, rgb(21 18 20 / 45%) 0%, rgba(107, 59, 84, 0.1) 90%);
    }

    .service-hero-neurotoxicity-overlay {
        right: 0;
        background: none;
     }
}

.service-hero-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.service-hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 0;
}

.service-hero-subtitle:first-of-type {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.service-hero-subtitle:last-of-type {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    .service-hero-subtitle:last-of-type {
        display: none;
    }
}

/* Service Introduction */
.service-intro {
    padding: 80px 0;
    background: var(--white);
}

.service-intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.service-intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-intro-text:last-child {
    margin-bottom: 0;
}

.service-intro-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ===================================
   How Can We Help Section
   =================================== */

.help-section {
    padding: 80px 0;
    background: var(--white);
}

.help-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

/* Sidebar Styles */
.help-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.sidebar-nav {
    padding: 0;
}

.sidebar-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0 0 20px 0;
    margin: 0;
    border-bottom: 2px solid var(--gray-medium);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid var(--gray-medium);
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu li a {
    display: block;
    padding: 15px 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-menu li a:hover {
    color: var(--primary-color);
}

.sidebar-menu li.active a {
    color: var(--primary-color);
    font-weight: 600;
    padding-left: 20px;
}

.sidebar-menu li.active a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
}

.sidebar-contact-panel {
    margin-top: 30px;
    padding: 30px 20px;
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.sidebar-contact-panel:hover {
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    border-color: var(--primary-color);
}

.contact-panel-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.contact-panel-icon svg {
    width: 24px;
    height: 24px;
}

.contact-panel-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.contact-panel-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.contact-panel-phone {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 0 15px 0;
    transition: all 0.3s ease;
}

.contact-panel-phone:hover {
    color: var(--primary-dark);
}

.contact-panel-btn {
    display: block;
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-panel-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.sidebar-brochure {
    background: var(--primary-color);
    border-radius: 8px;
    padding: 30px;
    color: var(--white);
}

.brochure-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: var(--white);
}

.brochure-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.9);
}

.brochure-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background: var(--white);
    color: var(--primary-color);
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.brochure-btn:hover {
    background: var(--text-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sidebar-tags-section {
    padding: 0;
}

.sidebar-tags-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0 0 15px 0;
    margin: 0 0 15px 0;
    border-bottom: 2px solid var(--gray-medium);
}

.sidebar-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-tags li {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-dark);
    padding: 10px 12px;
    background: var(--gray-light);
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.sidebar-tags li:hover {
    background: var(--gray-medium);
    transform: translateX(5px);
}

/* Content with Tags Layout */
.content-with-tags {
    position: relative;
    margin-bottom: 30px;
}

.content-with-tags::after {
    content: '';
    display: table;
    clear: both;
}

.tags-container {
    float: right;
    width: 280px;
    margin-left: 30px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Compact Tags Styles */
.compact-tags-section {
    padding: 0;
}

.compact-tags-title {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0 0 8px 0;
    margin: 0 0 8px 0;
    border-bottom: 2px solid var(--gray-medium);
}

.compact-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.compact-tags li {
    font-family: var(--font-body);
    font-size: 0.75rem;
    line-height: 1.3;
    color: var(--text-dark);
    padding: 6px 10px;
    background: var(--gray-light);
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.compact-tags li:hover {
    background: var(--gray-medium);
    transform: translateX(3px);
}

.compact-tags li a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.compact-tags li a:hover {
    color: var(--primary-color);
}

/* Responsive adjustment for tags */
@media (max-width: 968px) {
    .tags-container {
        display: none;
    }
}

.technology-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.technology-tags li {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--white);
    transition: all 0.3s ease;
}

.technology-tags li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

/* Main Content Styles */
.help-content {
    padding: 0;
}

.help-heading {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-dark);
    margin: 50px 0 25px 0;
    line-height: 1.3;
}

.help-content > .help-heading:first-of-type {
    margin-top: 0;
}

.help-heading-technologies {
    margin-top: 60px;
}

.help-heading-highlight {
    font-weight: 700;
    color: var(--primary-color);
}

.help-content h3 {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 60px 0 20px 0;
    line-height: 1.3;
}

.help-content h3 .help-heading-highlight {
    font-weight: 700;
    color: var(--primary-color);
}

.help-paragraph {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0 0 20px 0;
}

.help-list {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0 0 20px 0;
    padding-left: 1.5em;
    list-style: disc;
}

.help-list li {
    margin-bottom: 8px;
}

.help-list a,
.help-paragraph a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Text with image layout */
.help-text-with-image {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 30px 0;
}

.help-text-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Image Carousel */
.help-carousel {
    width: 100%;
    margin: 20px 0;
}

.carousel-main {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.carousel-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(200, 200, 200, 0.2);
    border: 2px solid rgba(200, 200, 200, 0.5);
    color: var(--text-light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    font-weight: bold;
}

.carousel-nav:hover {
    background: var(--primary-color);
    border: none;
    color: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* Center align for 2 thumbnails */
.carousel-thumbnails.thumbnails-center {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    max-width: 60%;
    margin: 0 auto;
}

/* Full width for 3+ thumbnails */
.carousel-thumbnails.thumbnails-full {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

.carousel-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.carousel-thumb:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.carousel-thumb.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(245, 61, 84, 0.3);
}

.carousel-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.help-stats {
    margin-top: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--gray-light);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 10px 0;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Responsive Styles */
@media (max-width: 980px) {
    .help-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .help-sidebar {
        display: none;
    }

    .help-content {
        order: 1;
        padding: 0;
    }

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

    .help-heading {
        font-size: 2rem;
    }

    .help-content h3 {
        font-size: 1.5rem;
    }

    .carousel-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .help-content {
        padding: 0px 0px;
    }

    .help-heading {
        font-size: 1.8rem;
    }

    .help-content h3 {
        font-size: 1.3rem;
        margin: 30px 0 15px 0;
    }

    .help-paragraph {
        font-size: 1rem;
    }

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

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

    .stat-label {
        font-size: 0.85rem;
    }
}

/* Service Section Base */
.service-section {
    padding: 100px 0;
    background: var(--white);
}

.service-section-alt {
    background: linear-gradient(180deg, #f5f7fa 0%, #e8eef5 100%);
}

.service-section-dark {
    background: var(--navy);   
}

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

.service-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

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

.service-section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

.service-section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

.service-section-description strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Service Features List */
.service-features-list {
    list-style: none;
    max-width: 700px;
    
}

.service-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(44, 62, 80, 0.1);
}

.service-features-list li:last-child {
    border-bottom: none;
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.5;
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.capability-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.capability-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    color: var(--primary-color);
}

.capability-icon svg {
    width: 100%;
    height: 100%;
}

.capability-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.capability-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Platforms Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.platform-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid rgba(44, 62, 80, 0.1);
    border-radius: 12px;
    padding: 35px 30px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(245, 61, 84, 0.1);
}

.platform-header {
    margin-bottom: 15px;
}

.platform-name {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.platform-vendor {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.platform-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
}

.platform-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--navy);
    background: rgba(27, 40, 59, 0.08);
    padding: 6px 12px;
    border-radius: 4px;
}

/* Targets Grid */
.targets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.targets-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.targets-card-title {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.targets-list {
    list-style: none;
}

.targets-list li {
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}

.targets-list li:last-child {
    border-bottom: none;
}

.target-abbrev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 28px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
    background: var(--primary-color);
    border-radius: 4px;
    flex-shrink: 0;
}

.targets-visual {
    margin-top: 30px;
}

.targets-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* New Targets Section Layout */
.targets-new-section {
    padding: 80px 0;
    background: var(--white);
}

.targets-new-heading {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(44, 62, 80, 0.15);
}

.targets-intro {
    margin-bottom: 60px;
}

.targets-intro-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.targets-intro-text:last-child {
    margin-bottom: 0;
}

.targets-numbered-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 60px;
}

.target-numbered-item {
    position: relative;
}

.target-number {
    font-family: var(--font-primary);
    font-size: 5rem;
    font-weight: 300;
    color: rgba(44, 62, 80, 0.4);
    line-height: 1;
    margin-bottom: 15px;
}

.target-item-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.target-item-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Methods Grid */
.methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.method-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid rgba(44, 62, 80, 0.1);
    border-radius: 12px;
    padding: 40px;
}

.method-icon {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.method-icon svg {
    width: 100%;
    height: 100%;
}

.method-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.method-list {
    list-style: none;
}

.method-list li {
    position: relative;
    padding: 8px 0 8px 20px;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.5;
}

.method-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Workflow Timeline */
.workflow-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.workflow-step {
    text-align: center;
    position: relative;
}

.workflow-step-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    background: var(--primary-color);
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.workflow-step-content {
    padding: 0 10px;
}

.workflow-step-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.4;
}

.workflow-step-description {
    display: none;
}

/* Applications Grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
}

.application-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid rgba(44, 62, 80, 0.1);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.application-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.application-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    color: var(--primary-color);
}

.application-icon svg {
    width: 100%;
    height: 100%;
}

.application-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
}

/* ===================================
   Responsive Styles
   =================================== */

/* Service Page Responsive */
@media (max-width: 1200px) {
    .applications-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 980px) {
    .service-hero {
        min-height: 400px;
    }

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

    .service-hero-subtitle {
        font-size: 1.2rem;
    }

    .capabilities-grid,
    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .targets-grid,
    .methods-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .targets-numbered-list {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .targets-new-heading {
        font-size: 2rem;
    }

    .targets-intro-text {
        font-size: 1rem;
    }

    .target-number {
        font-size: 3.5rem;
    }

    .workflow-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .workflow-timeline::before {
        display: none;
    }

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

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .about-slider {
        height: 400px;
        padding: 0 20px;
    }

    .about-slide {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px;
    }

    .about-slide-title {
        font-size: 1.8rem;
    }

    .about-slide-text {
        font-size: 1rem;
    }

    .about-slide-image {
        display: none;
    }

    .showcase-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 20px;
    }

    .showcase-left {
        padding: 60px 30px;
    }

    .showcase-right::before {
        width: 100px;
    }

    .showcase-content {
        padding: 60px 30px;
    }

    .showcase-person {
        max-width: 35%;
    }

    .technology-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .bio-models-grid {
        gap: 40px;
    }

    .why-grid {
        gap: 40px;
    }

    .service-item,
    .service-item.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .service-item.reverse .service-content,
    .service-item.reverse .service-image {
        order: unset;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-company-name {
        font-size: 1.75rem;
    }
}

@media (max-width: 1100px) {
    :root {
        --header-height: 70px;
    }

    .header-content {
        height: var(--header-height);
    }

    .logo img {
        height: 40px;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 30px 20px;
        overflow-y: auto;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid var(--gray-medium);
    }

    .nav-menu > li > a {
        padding: 20px 30px;
        font-size: 18px;
        text-align: left;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--gray-light);
        margin-top: 10px;
        display: none;
    }

    .has-dropdown.active .dropdown {
        display: block;
    }

    .dropdown-wide {
        columns: 1;
        min-width: unset;
        left: auto;
        transform: none;
        column-rule: none;
        column-gap: 0;
    }

    .has-dropdown:hover .dropdown-wide {
        transform: none;
    }

    .dropdown-targets {
        min-width: unset;
        padding: 0;
    }

    .dropdown-item-enhanced {
        padding: 14px 16px;
        gap: 12px;
    }

    .dropdown-item-enhanced .dropdown-content {
        flex: 1;
    }

    .offer-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
        max-width: 100%;
        text-align: center;
    }

    .header-cta-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

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

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        min-height: 500px;
        height: 70vh;
    }

    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
    }

    .hero-arrow-left {
        left: 10px;
    }

    .hero-arrow-right {
        right: 10px;
    }

    .hero-arrow svg {
        width: 18px;
        height: 18px;
    }

    .hero-dots {
        bottom: -50px;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }

    .hero-dot.active {
        width: 12px;
        height: 12px;
    }

    .hero-curve {
        height: 80px;
    }

    .about-slider-section {
        padding: 0;
    }

    .about-slider {
        height: 350px;
        padding: 0 20px;
    }

    .about-slide {
        padding: 40px 30px;
    }

    .about-slide-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .about-slide-text {
        font-size: 0.95rem;
    }

    .about-slider-arrow {
        width: 40px;
        height: 40px;
    }

    .about-slider-arrow-left {
        left: 10px;
    }

    .about-slider-arrow-right {
        right: 10px;
    }

    .about-slider-arrow svg {
        width: 18px;
        height: 18px;
    }

    .about-slider-dots {
        bottom: 20px;
    }

    .about-slider-dot {
        width: 10px;
        height: 10px;
    }

    .about-slider-dot.active {
        width: 12px;
        height: 12px;
    }

    .technology-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .tech-card {
        padding: 30px 25px;
    }

    .mapping-table th,
    .mapping-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }

    .bio-models-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bio-block {
        padding: 40px 30px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .process-step {
        padding: 35px 25px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .why-item {
        flex-direction: column;
        text-align: center;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

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

    .cta-email,
    .cta-phone {
        font-size: 1.2rem;
    }

    .end-to-end-services .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 40px 30px;
    }

    .service-number {
        font-size: 4rem;
    }

    .service-card-title {
        font-size: 1.5rem;
        min-height: auto;
    }

    .service-list li {
        font-size: 1rem;
    }

    .showcase-container {
        padding: 0;
    }

    .showcase-left,
    .showcase-content {
        padding: 40px 20px;
    }

    .showcase-right::before {
        width: 60px;
    }

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

    .showcase-description {
        font-size: 0.95rem;
    }

    .showcase-text {
        max-width: 100%;
        padding-right: 0;
    }

    .showcase-person {
        max-width: 30%;
        opacity: 0.6;
    }

    .service-item {
        margin-bottom: 40px;
        padding: 25px 20px;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .service-description {
        text-align: left;
    }

    .service-image img {
        height: 250px;
    }

    .footer {
        padding: 40px 0 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-company-name {
        font-size: 1.5rem;
    }

    .footer-item-title {
        font-size: 1.1rem;
    }

    .footer-logo-svg {
        height: 100px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

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

    .hero-subtitle {
        font-size: 0.9rem;
    }

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

    .service-title {
        font-size: 1.2rem;
    }

    /* Service Page Mobile */
    .service-hero {
        min-height: 350px;
    }

    .service-hero-content {
        padding: 60px 0;
    }

    .service-hero-title {
        font-size: 2rem;
    }

    .service-hero-subtitle {
        font-size: 1rem;
    }

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

    .service-section-header {
        margin-bottom: 40px;
    }

    .service-section-title {
        font-size: 1.8rem;
    }

    .service-intro-text {
        font-size: 1.05rem;
    }

    .capability-card,
    .platform-card,
    .targets-card,
    .method-card {
        padding: 30px 25px;
    }

    .workflow-timeline {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .workflow-step-number {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }

    .applications-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .application-item {
        padding: 20px 15px;
    }
}

/* ===================================
   process Section
   =================================== */
   /* Основной фон секции */
.process-section {
    background: radial-gradient(circle at center, #1a2a44 0%, #050a14 100%);
    color: white;
    font-family: 'Arial', sans-serif;
    position: relative;
    /* Важно: НЕ используем overflow: hidden здесь, иначе sticky внутри не сработает */
}

/* --- ЧАСТЬ 1: Стили для текста --- */

/* Уменьшили высоту с 250vh до 130vh. 
   Теперь скроллить придется почти в 2 раза меньше */
.scroll-text-track {
    height: 180vh; 
    position: relative;
    width: 100%;
}

/* Липкий контейнер тоже можно сделать чуть меньше экрана, 
   чтобы пользователь видел, что снизу что-то есть */
.sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh; /* Оставим 100, чтобы центровка была красивой */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}




/* Обертка: ставит элементы вертикально */
.client-quote-wrapper {
    display: flex;
    flex-direction: column; /* ВАЖНО: Элементы друг под другом */
    align-items: center;    /* Центрируем всё по горизонтали */
    justify-content: center;
    gap: 15px;              /* Расстояние между "Client:" и текстом */
    width: 100%;
    margin-top: 20px;       /* Небольшой отступ сверху, если нужно */
}

/* Слово "Client:" */
.static-label {
    font-size: 1.2rem;      /* Можно сделать чуть меньше основного текста */
    font-weight: 700;
    text-transform: uppercase; /* Опционально: сделать капсом */
    color: #a0aec0;         /* Серый цвет */
    letter-spacing: 2px;
}

/* Контейнер для меняющихся фраз */
.morph-text-container {
    position: relative;
    width: 100%;
    max-width: 800px;       /* Ограничиваем ширину строки */
    height: 80px;           /* Зарезервированная высота, чтобы текст не прыгал */
}

/* Сам текст */
.morph-text {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    margin: 0;
    
    text-align: center;     /* ВАЖНО: Текст по центру */
    font-size: 1.8rem;      /* Размер шрифта побольше */
    line-height: 1.2;
    color: white;
    
    /* Разрешаем перенос строк, так как это выглядит красиво по центру */
    white-space: normal;    
    
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.1s linear; 
    will-change: opacity, transform;
}

/* Адаптив для мобильных (текст чуть меньше) */
@media (max-width: 600px) {
    .morph-text {
        font-size: 1.4rem;
        padding: 0 20px; /* Отступы по бокам, чтобы не прилипало к краям экрана */
    }
    .morph-text-container {
        height: 120px; /* Больше высоты для мобильных, так как строк будет больше */
    }
}

/* --- ЧАСТЬ 2: Стили для шагов (Сдвигаем их вниз) --- */

.process-content-wrapper {
    padding: 20px 20px 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: #050a14;
    box-shadow: 0 -50px 100px #050a14;
}

/* ... Далее идут ваши старые стили для .step-card, .process-header и т.д. ... */
/* Просто скопируйте их из предыдущего ответа, они не изменились */
.process-header { text-align: center; margin-bottom: 50px; }
.process-header h2 { font-size: 2rem; margin-bottom: 10px; text-transform: uppercase; }
.steps-container { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 600px; }
.step-card { width: 100%; min-height: 150px; position: relative; margin-bottom: 50px; padding: 40px 60px 60px 60px; clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%); display: flex; justify-content: center; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: transform 0.3s ease; }
.step-card:hover { transform: scale(1.02); z-index: 10; }
.step-card.blue { background: linear-gradient(135deg, #0d3b66 0%, #0066cc 100%); z-index: 3; }
.step-card.purple { background: linear-gradient(135deg, #2d1b4e 0%, #663399 100%); z-index: 2; }
.step-card.red { background: linear-gradient(135deg, #4a0e16 0%, #b32020 100%); z-index: 1; }
.step-content { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.step-number { font-size: 3rem; font-weight: bold; opacity: 0.8; margin-right: 20px; }
.step-icon { font-size: 3rem; margin-left: 20px; }
.hidden-element { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.visible-element { opacity: 1; transform: translateY(0); }
.process-cta { margin-top: 50px; text-align: center; border: 1px solid rgba(255,255,255,0.3); padding: 30px 50px; border-radius: 10px; background: rgba(255,255,255,0.05); }
.cta-button { display: inline-block; margin-top: 15px; padding: 12px 30px; border: 1px solid white; color: white; text-decoration: none; text-transform: uppercase; transition: all 0.3s; border-radius: 4px; }
.cta-button:hover { background: white; color: #050a14; }



/* Why ChanPharm Section */
.why-chanpharm {
    padding: 100px 0;
    background: var(--white);
}

.why-chanpharm .section-title {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.pillars-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.pillar-card {
    background: var(--gray-light);
    border-radius: 12px;
    padding: 40px 35px;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

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

.pillar-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.pillar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pillar-list li {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
    padding-left: 0;
}

.pillar-list li strong {
    display: block;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

@media (max-width: 980px) {
    .pillars-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .why-chanpharm {
        padding: 60px 0;
    }
}

/* ===================================
   Biological Models Section (New)
   =================================== */

.bio-container {
    padding: 100px 0;
    background: var(--gray-light);
    display: none;
}

.bio-container .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.bio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.bio-card {
    background: var(--white);
    padding: 40px 35px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.bio-number {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--primary-color);    
    line-height: 1;
    margin-bottom: 20px;
}

.bio-card-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.bio-card-title {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.bio-card-description {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

@media (max-width: 980px) {
    .bio-container {
        display: block;
        padding: 60px 0;
    }

    .bio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bio-number {
        font-size: 3rem;
    }

    .bio-card-title {
        font-size: 1.25rem;
    }

    .bio-card-description {
        font-size: 0.95rem;
    }
}

/* Circular Biological Models Section */
.bio-circular-section {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
    min-height: 900px;
}

.bio-circular-section .section-title {
    margin-bottom: 0px;
}

.bio-circular-wrapper {
    position: relative;
    min-height: 800px;
}

.bio-circular-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    
    overflow: hidden;
    
    z-index: 2;
}

.bio-circular-center img,
.bio-circular-center svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bio-circular-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 5px 20px rgba(44, 62, 80, 0.1);
    transition: box-shadow 0.3s ease;
    will-change: transform;
    cursor: pointer;
}

.bio-circular-icon:hover {
    box-shadow: 0 8px 30px rgba(245, 61, 84, 0.2);
}

.bio-circular-text {
    position: absolute;
    max-width: 320px;
}

.bio-circular-text h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 600;
    white-space: nowrap;
}

.bio-circular-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.45;
}

/* Circular item positioning is handled by JavaScript */
/* This allows dynamic positioning for any number of items */

/* Responsive styles for circular section */
@media (max-width: 980px) {
    .bio-circular-section {
        display: none;
    }
}

/* Начальное состояние элементов до анимации */
.reveal {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: blur(10px); /* Легкое размытие для эффекта проявления */
}

/* Смещение влево для первой карточки */
.slide-left {
  transform: translateX(-50px);
}

/* Смещение вправо для второй карточки */
.slide-right {
  transform: translateX(50px);
}

/* Состояние, когда элемент виден (добавляется через JS) */
.reveal.active {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}


/* Общий контейнер */
.scroll-sequence {
  position: relative;
  width: 100%;
}

/* Режим 1: Картинка "прилипает" к экрану */
.scroll-sequence.is-sticky {
  height: 300vh; /* Длина скролла для анимации */
}
.scroll-sequence.is-sticky canvas {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

/* Режим 2: Картинка летит вверх вместе со страницей */
.scroll-sequence.is-scrolling {
  height: 100vh; /* Здесь высота может быть меньше */
  margin: 50px 0;
}
.scroll-sequence.is-scrolling canvas {
  position: relative; /* Не фиксируем */
  width: 100%;
  height: auto;
}

/* ===================================
   Platforms Accordion Styles
   =================================== */

.platforms-accordion {
  width: 100%;
  border-top: 1px solid var(--gray-medium);
  border-bottom: 1px solid var(--gray-medium);
}

.accordion-item {
  border-bottom: 1px solid var(--gray-medium);
  transition: all 0.3s ease;
}

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

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: all 0.3s ease;
}

.accordion-title {
  font-size: 1.125rem;
  
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  transition: color 0.3s ease;
}

.accordion-header:hover .accordion-title {
  color: var(--primary-color);
}

.accordion-icon {
  font-size: 2rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-body {
  padding: 0 20px 16px 20px;

}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* Technology tags */
.tech-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  margin-left: 12px;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

.tech-tag-high {
  background: rgba(0, 200, 83, 0.15);
  color: #00a854;
}

.tech-tag-medium {
  background: rgba(0, 102, 204, 0.15);
  color: #0066cc;
}

.tech-tag-gold {
  background: rgba(255, 165, 0, 0.15);
  color: #d97706;
}

.tech-tag-neutral {
  background: rgba(100, 116, 139, 0.1);
  color: #64748b;
}


/* --- New Styles for Channel Profile Section --- */

/* Use the variables from previous CSS if available, else define them here */


.channel-profile-section {
    padding-top: 20px;
    margin-bottom: 60px; /* Spacing between major sections (e.g., Nav1.7 and Nav1.8) */
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 40px;
}

.profile-heading {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 30px;
    position: relative;
}

/* Optional: A small accent line under the main heading */
.profile-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.profile-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Spacing between the three main blocks */
    padding-bottom: 20px;
}

/* --- 1. Key Features Box Styles --- */
.key-features-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    grid-column: 1 / -1; /* Span all columns in the grid */
}

.box-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}


.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.feature-list-single {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 15px;
    color: #535c68;
    line-height: 1.5;
}

.feature-item strong {
    
    display: block; /* Makes the bold text sit on its own line above description */
    margin-bottom: 4px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--accent-color); /* Default icon color */
    margin-top: 3px;
}

/* Specific colors for different icons if desired */
.feature-icon-ban { color: #e74c3c; } /* Red for "No" */
.feature-icon-safe { color: #27ae60; } /* Green for "Safe" */


/* --- 2. Mechanism Callout Styles --- */
.mechanism-callout {
    background-color: #eef2f7; /* A slightly different cool gray/blue background */
    border-left: 4px solid var(--primary-color);
    padding: 20px 25px;
    border-radius: 0 12px 12px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.mechanism-icon svg {
    width: 36px;
    height: 36px;
    
    opacity: 0.8;
}

.mechanism-callout p {
    margin: 0;
    font-size: 16px;
   
}


/* --- 3. Compounds Gallery Styles --- */
.compounds-gallery {
    margin-top: 10px;
    max-width: 100%;
    overflow: visible;
    display: block;
}

.assay-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
    font-size: 1rem;
}

.assay-list-item {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    line-height: 1.6;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
}

.assay-list-text {
    flex: 1;
    min-width: 0;
}

.assay-list-item::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color, #e63946);
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 7px;
}

.assay-list-item .assay-figure {
    width: 100%;
    margin-top: 16px;
    padding-left: 22px;
}

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

.cardiac-assay-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 1rem;
}

.cardiac-assay-row {
    display: table-row;
}

.cardiac-assay-row:not(.cardiac-assay-header):nth-child(even) .cardiac-assay-cell {
    background: var(--gray-light, #f8f9fa);
}

.cardiac-assay-cell {
    display: table-cell;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    vertical-align: middle;
}

.cardiac-assay-header .cardiac-assay-cell {
    font-weight: 600;
    border-bottom: 2px solid var(--border-color, #e0e0e0);
    color: var(--text-primary, #333);
}

.cardiac-assay-name {
    width: 60%;
}

.cardiac-assay-name a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cardiac-assay-conc {
    width: 20%;
    text-align: center;
}

.assay-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color, #f53d54);
}

@media (max-width: 768px) {
    .cardiac-assay-table,
    .cardiac-assay-row,
    .cardiac-assay-cell {
        display: block;
    }
    .cardiac-assay-header {
        display: none;
    }
    .cardiac-assay-cell {
        padding: 8px 12px;
    }
    .cardiac-assay-cell.cardiac-assay-conc {
        text-align: left;
    }
    .cardiac-assay-cell.cardiac-assay-conc::before {
        content: attr(data-label) ": ";
        font-weight: 600;
    }
}

.assay-figure-placeholder {
    width: 100%;
    min-height: 260px;
    background-color: var(--gray-light, #f8f9fa);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 2px dashed var(--border-color, #e0e0e0);
    border-radius: 6px;
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
}

.assay-placeholder-note {
    font-size: 0.875rem;
    color: #856404;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 4px 10px;
}

.assay-figures-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 24px 0;
}

.assay-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.assay-figure-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.assay-figure-caption {
    font-size: 1rem;
    color: var(--text-secondary, #666);
    line-height: 1.5;
}

.assay-figure-caption a {
    color: var(--text-secondary, #666);
    text-decoration: underline;
}


.compounds-gallery-mobile {
    display: none;
}

.compounds-grid {
    display: grid;
    /* Grid that fits as many 220px+ cards as possible */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.compound-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

/* Subtle hover effect for cards */
.compound-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-color: #cbd5e0;
}

.compound-image-container {
    height: 180px; /* Fixed height for consistency */
    padding: 20px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f1f1;
}

.compound-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures structure isn't stretched */
    filter: grayscale(20%); /* Slight grayscale to make them look uniform */
    transition: filter 0.2s;
}

.compound-card:hover img {
    filter: grayscale(0%); /* Color returns on hover */
}

.compound-details {
    padding: 15px;
    background-color: var(--bg-light);
}

.compound-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    
}

.compound-type {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #7f8fa6;
    font-weight: 500;
}

/* --- Compounds Carousel Styles --- */
.compounds-carousel {
    position: relative;
    margin-top: 20px;
    max-width: 100%;
}

.compounds-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    width: 100%;
    overflow: hidden;
}

.compounds-carousel .compound-card {
    flex: 0 0 calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
}

.compounds-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.compounds-carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.compounds-carousel-prev {
    left: -50px;
}

.compounds-carousel-next {
    right: -50px;
}

.compounds-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 5px;
}

/* Tablet responsiveness */
@media (max-width: 900px) {
    .compounds-carousel .compound-card {
        flex: 0 0 calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
}

/* Mobile responsiveness tweaks */
@media (max-width: 600px) {
    .nav-section-with-sidebar {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
    }
    .feature-list {
        gap: 16px;
    }
    .mechanism-callout {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .compounds-gallery:has(.compounds-grid) {
        display: none; /* Hide desktop image gallery on mobile */
    }
    .compounds-gallery-mobile {
        display: block; /* Show mobile gallery on mobile */
    }
    .compounds-grid {
         grid-template-columns: 1fr; /* Stack compound cards on small screens */
    }
    .compound-image-container {
        height: 220px; /* Slightly taller on mobile for better visibility */
    }
    .compounds-carousel .compound-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .compounds-carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    .compounds-carousel-prev {
        left: -35px;
    }
    .compounds-carousel-next {
        right: -35px;
    }
}


/* Двухколоночная сетка для десктопов */
.profile-split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Карточка "Featured" (для VX-548) */
.featured-compound-card {
    background: #fff;
    border: 2px solid #27ae60; /* Зеленая рамка для успеха */
    border-radius: 12px;
    padding: 20px;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.1);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #27ae60;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.featured-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.featured-image {
    width: 120px;
    flex-shrink: 0;
}

.compound-desc {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #535c68;
}

/* Список остальных соединений */
.other-compounds-list {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #dfe4ea;
}

.list-heading {
    margin: 0 0 15px 0;
    font-size: 14px;
    text-transform: uppercase;
    color: #7f8fa6;
}

.compound-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.compound-tag {
    background: white;
    border: 1px solid #dcdde1;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag-name {
    font-weight: 600;
    color: #2c3e50;
}

.tag-target {
    font-size: 11px;
    background: #eef2f7;
    padding: 2px 6px;
    border-radius: 4px;
    color: #7f8fa6;
}

.mixed-target .tag-target {
    background: #fff3cd;
    color: #856404;
}

/* Адаптивность */
@media (max-width: 768px) {
    .profile-split-row {
        grid-template-columns: 1fr;
    }
    .featured-content {
        flex-direction: column;
        text-align: center;
    }
}



/* --- Services Overview Section (Borders Update) --- */

.services-overview-section {
    padding: 60px 0;
    background-color: #fff !important;
}

/* Сетка */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0; /* ВАЖНО: Убираем gap, чтобы границы работали корректно */
    align-items: stretch; /* Растягиваем карточки, чтобы границы были одинаковой высоты */
}

/* Карточка услуги */
.service-card {
    text-align: left;
    /* Используем padding для создания пространства вместо gap */
    padding: 0 30px; 
    /* Добавляем правую границу для всех карточек */
    border-right: 1px solid #e1e4e8; 
    
    background: transparent !important;
    box-shadow: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
}

/* Убираем границу у самой последней карточки (справа) */
.service-card:last-child {
    border-right: none;
}

/* --- Остальные стили (без изменений) --- */
.icon-wrapper {
    height: 110px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start; /* Выравнивание иконки по левому краю, как на скриншоте */
    margin-bottom: 25px;
}

.icon-wrapper img {
    max-width: 100%;
    height: auto;
    max-height: 90px;
    display: block;
    object-fit: contain;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
    color: #0b1f3f !important;
}

.service-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.service-title a:hover {
    color: #ff4757;
}

.service-desc {
    font-size: 16px;
    color: #5d666e !important;
    line-height: 1.6;
    margin: 0;
}

/* --- Адаптивность для мобильных (убираем вертикальные границы) --- */

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        border-right: none; /* Убираем вертикальные границы */
        /* Можно добавить нижнюю границу для разделения рядов, если нужно */
        border-bottom: 1px solid #e1e4e8; 
        padding: 30px 15px; /* Добавляем вертикальные отступы */
    }

    /* Убираем нижнюю границу у последних двух элементов (на планшете) */
    .service-card:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        border-right: none;
        border-bottom: 1px solid #e1e4e8;
        padding: 30px 0;
        text-align: center; /* На телефоне красивее по центру */
    }
    
    .icon-wrapper {
        justify-content: center;
    }
    
    .service-card:last-child {
        border-bottom: none;
    }
}

/* ===================================
   Contact Page Styles
   =================================== */

.contact-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.7);
    z-index: 2;
}

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

.contact-hero-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
    padding: 80px 0;
}

.contact-hero-label {
    display: inline-block;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: var(--font-primary);
}

.contact-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: var(--font-primary);
}

.contact-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-family: var(--font-body);
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 350px;
    }

    .contact-hero-content {
        padding: 60px 0;
    }

    .contact-hero-title {
        font-size: 36px;
    }

    .contact-hero-subtitle {
        font-size: 18px;
    }
}

.contact-section {
    padding: 100px 0;
    background: var(--gray-light);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-info-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: var(--font-primary);
}

.contact-info-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-detail-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-family: var(--font-primary);
}

.contact-detail-item p,
.contact-detail-item a {
    font-size: 15px;
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.6;
}

.contact-detail-item a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-family: var(--font-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-primary);
}

.form-group .required {
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-medium);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(245, 61, 84, 0.1);
}

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

.contact-submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: var(--font-primary);
}

.contact-submit-btn svg {
    width: 18px;
    height: 18px;
}

.contact-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 61, 84, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.form-error {
    background: #fee;
    color: #c33;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    border-left: 4px solid #c33;
    margin-bottom: 10px;
}

.form-success {
    text-align: center;
    padding: 60px 40px;
}

.form-success svg {
    width: 64px;
    height: 64px;
    color: #10b981;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-family: var(--font-primary);
}

.form-success p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-map-section {
    width: 100%;
    height: 450px;
    background: var(--gray-light);
}

.contact-map-section iframe {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info {
        position: static;
    }

    .contact-form-wrapper {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-info-title {
        font-size: 28px;
    }

    .contact-form-title {
        font-size: 24px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .contact-map-section {
        height: 350px;
    }
}

/* ===================================
   Hero Services Bar Overlay
   =================================== */

.hero-services-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.hsb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.hsb-card {
    display: flex;
    flex-direction: column;
    padding: 32px 26px;
    text-decoration: none;
    background: rgba(8, 18, 40, 0.50);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.hsb-card:last-child {
    border-right: none;
}

.hsb-card:hover {
    background: rgba(20, 40, 85, 0.68);
}

.hsb-title {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.hsb-desc {
    display: none;
}

/* Offer sub-buttons — parallelogram style */
.offer-sub-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.offer-sub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color);
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 0;
    text-decoration: none;
    transform: skewX(-16deg);
    position: relative;
    transition: background 0.2s ease, color 0.2s ease;
}

.offer-sub-btn span {
    display: block;
    transform: skewX(16deg);
    white-space: nowrap;
}

.offer-sub-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 992px) {
    .hsb-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hsb-card {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-services-bar {
        display: none;
    }

    .hero-dots {
        bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hsb-grid {
        grid-template-columns: 1fr;
    }
}


/* ===================================
   CiPA Screening Table
   =================================== */

.cipa-table-wrapper {
    overflow-x: auto;
    margin: 24px 0 56px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.cipa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 500px;
}

@media (hover: hover) {
    .cipa-table tr[data-img]:hover td {
        background: #f0f4ff;
        cursor: pointer;
    }
}

.cipa-table thead tr:first-child th {
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    padding: 14px 18px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.12);
}

.cipa-table thead tr:last-child th {
    background: #2c3e50;
    color: #fff;
    font-weight: 600;
    padding: 12px 18px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.10);
}

.cipa-table tbody tr:nth-child(odd) td {
    background: #f8f9fa;
}

.cipa-table tbody tr:nth-child(even) td {
    background: #eef1f4;
}

.cipa-table tbody td {
    padding: 11px 18px;
    text-align: center;
    border: 1px solid #dde2e8;
    color: var(--text-dark);
    vertical-align: middle;
}

.cipa-panel-label {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
    border-right: 2px solid #c8d0da !important;
}

.cipa-yes {
    color: var(--primary-color);
}

.cipa-ongoing {
    font-style: italic;
    color: #999;
    font-size: 13px;
}

.cipa-intro-layout {
    overflow: hidden;
    margin-bottom: 32px;
}

.cipa-intro-image {
    float: right;
    margin: 0 0 24px 40px;
}

.cipa-intro-image img {
    max-width: 346px;
    width: 100%;
    display: block;
}

.cipa-channel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 48px 0;
    gap: 1px;
    background: var(--border-color);
}

.cipa-channel-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding-top: 40px;
}

.cipa-channel-card-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #fff;
    display: block;
}

.cipa-channel-card-body {
    padding: 20px 24px;
    flex: 1;
}

.cipa-channel-card-title {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px 0;
}

.cipa-channel-card-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

.cipa-channel-card-text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 640px) {
    .cipa-channel-grid {
        grid-template-columns: 1fr;
    }
}

.cipa-channel-img {
    float: right;
    margin: 0 0 16px 32px;
    max-width: none;
    width: 50%;
    border-radius: 8px;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .cipa-intro-image {
        float: none;
        margin: 0 0 24px 0;
    }
    .cipa-intro-image img {
        max-width: 100%;
    }
    .cipa-channel-img {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 12px 0;
    }
}
