/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Research tiles (single-page) ===== */
.research-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1rem;
    align-items: start;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 0.9rem;
    box-shadow: 0 6px 18px rgba(75,91,95,0.05);
    margin-bottom: 1rem;
}

.research-media {
    width: 100%;
}

.research-media .yt-player,
.research-media img.research-image {
    width: 100%;
    height: 260px; /* increased for better consistency */
    display: block;
    object-fit: cover;
    border-radius: 8px;
    overflow: hidden;
}

.research-content {
    padding-top: 0.25rem;
}

@media (max-width: 900px) {
    .research-card {
        grid-template-columns: 1fr;
    }
    .research-media .yt-player,
    .research-media img.research-image {
        height: 220px;
    }
}

:root {
    --primary-dark: #4b5b5f;
    --light-bg: #dfd8cf;
    --accent-grey: #a4aca7;
    --depth-1: #6c7c84;
    --depth-2: #738484;
    --warm-accent: #e6d9c9;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    
    /* Enhanced Color Palette */
    --teal-primary: #14b8a6;
    --teal-light: #5eead4;
    --teal-dark: #0f766e;
    --coral-accent: #fb7185;
    --coral-light: #fda4af;
    --purple-accent: #a78bfa;
    --purple-light: #c4b5fd;
    --amber-accent: #fbbf24;
    --amber-light: #fcd34d;
    --emerald-accent: #10b981;
    --emerald-light: #6ee7b7;
    --sky-accent: #38bdf8;
    --sky-light: #7dd3fc;
    --rose-accent: #f43f5e;
    --indigo-accent: #6366f1;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    color: var(--primary-dark);
    max-width: 100vw;
    position: relative;
}

.gradient-text {
    background: linear-gradient(135deg, var(--teal-primary), var(--purple-accent), var(--coral-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== Floating Navigation ===== */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 95%;
    max-width: min(1400px, calc(100vw - 20px));
    animation: navSlideDown 0.6s ease-out;
}

@keyframes navSlideDown {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(75, 91, 95, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    max-width: 100%;
    overflow: visible;
    flex-wrap: nowrap;
}

.floating-nav.scrolled .nav-container {
    padding: 0.75rem 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    min-width: 0;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    animation: heartbeat 2s ease-in-out infinite;
}

.nav-logo i {
    font-size: 1.75rem;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10% { transform: scale(1.15); }
    20% { transform: scale(1); }
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}

.nav-link {
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: white;
    transition: transform 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-weight: 600;
}

.cart-btn {
    position: relative;
    padding: 0.75rem 1.25rem;
    background: var(--depth-1);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    min-width: 45px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(167, 139, 250, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(251, 113, 133, 0.06) 0%, transparent 50%);
    animation: particlesFloat 20s ease-in-out infinite;
}

@keyframes particlesFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(167, 139, 250, 0.15));
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid var(--teal-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-out 0.2s both;
    color: var(--teal-dark);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--depth-1);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stat-card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.75rem;
    background: white;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border-left: 4px solid var(--teal-primary);
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.1);
    transition: all 0.3s ease;
}

.stat-card:nth-child(1) {
    border-left-color: var(--teal-primary);
}

.stat-card:nth-child(2) {
    border-left-color: var(--coral-accent);
}

.stat-card:nth-child(3) {
    border-left-color: var(--purple-accent);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--accent-grey);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 1s both;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-primary), var(--emerald-accent));
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
}

.btn-secondary {
    background: white;
    backdrop-filter: blur(10px);
    color: var(--teal-primary);
    border: 2px solid var(--teal-primary);
}

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

.hero-image {
    position: relative;
    height: 600px;
    animation: fadeInRight 1s ease-out 0.5s both;
}

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

.floating-card {
    position: absolute;
    padding: 1.25rem 1.75rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
    border-left: 4px solid var(--teal-primary);
}

.floating-card i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
}

.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
    border-left-color: var(--coral-accent);
}

.card-1 i {
    background: linear-gradient(135deg, var(--coral-accent), var(--rose-accent));
}

.card-2 {
    top: 50%;
    right: 5%;
    animation-delay: 1s;
    border-left-color: var(--purple-accent);
}

.card-2 i {
    background: linear-gradient(135deg, var(--purple-accent), var(--indigo-accent));
}

.card-3 {
    bottom: 15%;
    right: 15%;
    animation-delay: 2s;
    border-left-color: var(--amber-accent);
}

.card-3 i {
    background: linear-gradient(135deg, var(--amber-accent), var(--amber-light));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dna-container {
    padding-top: 50px;
    width: 100%;
    height: 100%;
}

.strain {
    width: 155px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-primary), var(--purple-accent), var(--coral-accent));
    position: relative;
    margin: 0px auto;
    margin-top: 28px;
    margin-bottom: 28px;
    animation: rotate-strain 1.7s linear infinite;
}

.strain:nth-child(odd) {
    background: linear-gradient(90deg, var(--teal-primary), var(--emerald-accent));
}

.strain:nth-child(even) {
    background: linear-gradient(90deg, var(--coral-accent), var(--purple-accent));
}

.strain:before, .strain:after {
    content: "";
    display: block;
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-primary), var(--purple-accent));
    margin-top: -8px;
    animation-duration: 1.7s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.strain:before {
    left: 0;
    margin-left: -9px;
    animation-name: strain-size-left;
}

.strain:after {
    right: 0;
    margin-right: -9px;
    animation-name: strain-size-right;
}

/* Animation Delays */
.strain:nth-child(1), .strain:nth-child(1):before, .strain:nth-child(1):after { animation-delay: 0.15s; }
.strain:nth-child(2), .strain:nth-child(2):before, .strain:nth-child(2):after { animation-delay: 0.3s; }
.strain:nth-child(3), .strain:nth-child(3):before, .strain:nth-child(3):after { animation-delay: 0.45s; }
.strain:nth-child(4), .strain:nth-child(4):before, .strain:nth-child(4):after { animation-delay: 0.6s; }
.strain:nth-child(5), .strain:nth-child(5):before, .strain:nth-child(5):after { animation-delay: 0.75s; }
.strain:nth-child(6), .strain:nth-child(6):before, .strain:nth-child(6):after { animation-delay: 0.9s; }
.strain:nth-child(7), .strain:nth-child(7):before, .strain:nth-child(7):after { animation-delay: 1.05s; }
.strain:nth-child(8), .strain:nth-child(8):before, .strain:nth-child(8):after { animation-delay: 1.2s; }
.strain:nth-child(9), .strain:nth-child(9):before, .strain:nth-child(9):after { animation-delay: 1.35s; }
.strain:nth-child(10), .strain:nth-child(10):before, .strain:nth-child(10):after { animation-delay: 1.5s; }
.strain:nth-child(11), .strain:nth-child(11):before, .strain:nth-child(11):after { animation-delay: 1.65s; }
.strain:nth-child(12), .strain:nth-child(12):before, .strain:nth-child(12):after { animation-delay: 1.8s; }

/* DNA Keyframes */
@keyframes rotate-strain {
    0% { width: 155px; }
    25% { width: 0; }
    50% { width: 155px; }
    75% { width: 0; }
    100% { width: 155px; }
}

@keyframes strain-size-left {
    0% { transform: scale(1) translateX(0px); }
    25% { transform: scale(0.5); }
    50% { transform: scale(1) translateX(155px); }
    75% { transform: scale(1.5); }
    100% { transform: scale(1) translateX(0px); }
}

@keyframes strain-size-right {
    0% { transform: scale(1) translateX(0px); }
    25% { transform: scale(1.5); }
    50% { transform: scale(1) translateX(-155px); }
    75% { transform: scale(0.5); }
    100% { transform: scale(1) translateX(0px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--teal-primary);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: linear-gradient(180deg, var(--teal-primary), var(--emerald-accent));
    border-radius: 2px;
    animation: mouseScroll 1.5s infinite;
}

@keyframes mouseScroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ===== Section Styles ===== */
.section-padding {
    padding: 100px 0;
}

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

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(167, 139, 250, 0.15));
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid var(--teal-light);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal-dark);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--accent-grey);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    padding: 2.5rem;
    background: white;
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border-left: 4px solid var(--teal-primary);
    box-shadow: 0 10px 40px rgba(20, 184, 166, 0.1);
    transition: all 0.4s ease;
}

.about-card:nth-child(1) {
    border-left-color: var(--teal-primary);
}

.about-card:nth-child(2) {
    border-left-color: var(--coral-accent);
}

.about-card:nth-child(3) {
    border-left-color: var(--purple-accent);
}

.about-card:nth-child(4) {
    border-left-color: var(--amber-accent);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.2);
}

.about-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--teal-primary), var(--emerald-accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: white;
}

.about-card:nth-child(1) .about-icon {
    background: linear-gradient(135deg, var(--teal-primary), var(--emerald-accent));
}

.about-card:nth-child(2) .about-icon {
    background: linear-gradient(135deg, var(--coral-accent), var(--rose-accent));
}

.about-card:nth-child(3) .about-icon {
    background: linear-gradient(135deg, var(--purple-accent), var(--indigo-accent));
}

.about-card:nth-child(4) .about-icon {
    background: linear-gradient(135deg, var(--amber-accent), var(--amber-light));
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.about-card p {
    color: var(--accent-grey);
    line-height: 1.7;
}

.values-section {
    padding: 3rem;
    background: white;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.values-section h3 {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary-dark);
}

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

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-item:nth-child(5n+1) {
    border-color: var(--teal-primary);
}

.value-item:nth-child(5n+2) {
    border-color: var(--coral-accent);
}

.value-item:nth-child(5n+3) {
    border-color: var(--purple-accent);
}

.value-item:nth-child(5n+4) {
    border-color: var(--amber-accent);
}

.value-item:nth-child(5n+5) {
    border-color: var(--sky-accent);
}

.value-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.2);
}

.value-item i {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: white;
}

.value-item:nth-child(5n+1) i {
    background: linear-gradient(135deg, var(--teal-primary), var(--emerald-accent));
}

.value-item:nth-child(5n+2) i {
    background: linear-gradient(135deg, var(--coral-accent), var(--rose-accent));
}

.value-item:nth-child(5n+3) i {
    background: linear-gradient(135deg, var(--purple-accent), var(--indigo-accent));
}

.value-item:nth-child(5n+4) i {
    background: linear-gradient(135deg, var(--amber-accent), var(--amber-light));
}

.value-item:nth-child(5n+5) i {
    background: linear-gradient(135deg, var(--sky-accent), var(--sky-light));
}

.value-item span {
    font-weight: 600;
    color: var(--primary-dark);
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 0;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    border-top: 4px solid var(--teal-primary);
}

.service-card:nth-child(3n+1) {
    border-top-color: var(--teal-primary);
}

.service-card:nth-child(3n+2) {
    border-top-color: var(--coral-accent);
}

.service-card:nth-child(3n+3) {
    border-top-color: var(--purple-accent);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(20, 184, 166, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--teal-primary), var(--emerald-accent));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.service-card:nth-child(3n+1) .service-icon {
    background: linear-gradient(135deg, var(--teal-primary), var(--emerald-accent));
}

.service-card:nth-child(3n+2) .service-icon {
    background: linear-gradient(135deg, var(--coral-accent), var(--rose-accent));
}

.service-card:nth-child(3n+3) .service-icon {
    background: linear-gradient(135deg, var(--purple-accent), var(--indigo-accent));
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--accent-grey);
    line-height: 1.7;
}

/* ===== Products Section ===== */
.products-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    background: white;
    border: 2px solid var(--teal-primary);
    border-radius: 50px;
    color: var(--teal-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--teal-primary), var(--emerald-accent));
    color: white;
    border-color: var(--teal-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    border-top: 4px solid var(--teal-primary);
}

.product-card:nth-child(4n+1) {
    border-top-color: var(--teal-primary);
}

.product-card:nth-child(4n+2) {
    border-top-color: var(--coral-accent);
}

.product-card:nth-child(4n+3) {
    border-top-color: var(--purple-accent);
}

.product-card:nth-child(4n+4) {
    border-top-color: var(--amber-accent);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.2);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--light-bg);
}

.product-content {
    padding: 1.5rem;
}

/* Make Research tiles visually identical to Product tiles */
.research-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    border-top: 4px solid var(--teal-primary);
    display: block; /* stack media above content */
    margin-bottom: 1rem;
    padding: 0; /* remove inner padding so image sits flush like product-card */
}

.research-media {
    width: 100%;
}

.research-media .yt-player,
.research-media img.research-image {
    width: 100%;
    height: 200px; /* same as .product-image */
    display: block;
    object-fit: cover;
    background: var(--light-bg);
}

/* Stronger specificity to override other product CSS when needed */
.research-card .research-media img.research-image.product-image,
.research-card .research-media .yt-player img.product-image {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    background: var(--light-bg) !important;
}

.research-content {
    padding: 1.5rem; /* match .product-content */
}

.product-category {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(167, 139, 250, 0.1));
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--teal-dark);
    margin-bottom: 0.75rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.product-brand {
    color: var(--accent-grey);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

.product-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--teal-primary), var(--emerald-accent));
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

/* ===== Research Section ===== */
.research-grid {
    display: grid;
    /* limit max column size so a single card doesn't expand full width */
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    gap: 1.5rem;
    justify-content: center; /* center when fewer columns than available space */
}

/* Ensure items don't stretch to full width and are centered */
.research-grid {
    justify-items: center;
}

.research-grid > .research-card {
    width: 100%;
    max-width: 360px;
    justify-self: center;
    box-sizing: border-box;
}
.research-card {
    /* make research cards use the same visual language as product cards */
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    border-top: 4px solid var(--teal-primary);
    margin-bottom: 0;
    padding: 0;
}

.research-card:nth-child(4n+1) { border-top-color: var(--teal-primary); }
.research-card:nth-child(4n+2) { border-top-color: var(--coral-accent); }
.research-card:nth-child(4n+3) { border-top-color: var(--purple-accent); }
.research-card:nth-child(4n+4) { border-top-color: var(--amber-accent); }

.research-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.2);
}

.research-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--light-bg);
}

/* Make research cards uniform height and layout */
.research-card {
    display: flex;
    flex-direction: column;
    min-height: 360px; /* total card height — adjusted to match updated media height */
}

.research-media {
    position: relative;
    height: 260px; /* fixed media height so all cards align */
    overflow: hidden;
    background: var(--light-bg);
}

.research-media .research-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yt-player {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.yt-player iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.yt-playbtn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    font-size: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.research-content {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* Clamp description to avoid varying heights */
.research-description {
    color: var(--accent-grey);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* show max 3 lines */
    line-clamp: 3;
    overflow: hidden;
}

@media (max-width: 600px) {
    .research-card { min-height: auto; }
    .research-media { height: 180px; }
}

.research-content {
    padding: 2rem;
}

.research-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.research-description {
    color: var(--accent-grey);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.research-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--accent-grey);
    font-size: 0.9rem;
}

/* Ensure research tiles are uniform across pages (override duplicates) */
.research-card {
    min-height: auto !important;
}
.research-media {
    height: 200px !important;
}
.research-media img.research-image,
.research-media .yt-player,
.research-media .research-image {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ===== Pricing Section ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border-top: 4px solid var(--teal-primary);
}

.pricing-card:nth-child(3n+1) {
    border-top-color: var(--teal-primary);
}

.pricing-card:nth-child(3n+2) {
    border-top-color: var(--coral-accent);
}

.pricing-card:nth-child(3n+3) {
    border-top-color: var(--purple-accent);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--teal-primary), var(--emerald-accent));
    color: white;
    transform: scale(1.05);
    border-top: none;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, var(--coral-accent), var(--rose-accent));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: var(--accent-grey);
    margin-bottom: 2rem;
}

.pricing-card.featured .pricing-period {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features i {
    color: #27ae60;
}

.pricing-card.featured .pricing-features i {
    color: white;
}

.pricing-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--teal-primary), var(--emerald-accent));
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-card.featured .pricing-btn {
    background: white;
    color: var(--teal-primary);
}

.pricing-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3);
}

/* ===== Blog Section ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    border-left: 4px solid var(--teal-primary);
}

.blog-card:nth-child(4n+1) {
    border-left-color: var(--teal-primary);
}

.blog-card:nth-child(4n+2) {
    border-left-color: var(--coral-accent);
}

.blog-card:nth-child(4n+3) {
    border-left-color: var(--purple-accent);
}

.blog-card:nth-child(4n+4) {
    border-left-color: var(--amber-accent);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.2);
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--light-bg);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--accent-grey);
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: var(--accent-grey);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal-primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-link:hover {
    gap: 1rem;
    color: var(--teal-dark);
}

/* ===== Contact Section ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

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

.contact-card {
    padding: 2rem;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--teal-primary);
}

.contact-card:nth-child(1) {
    border-top-color: var(--teal-primary);
}

.contact-card:nth-child(2) {
    border-top-color: var(--coral-accent);
}

.contact-card:nth-child(3) {
    border-top-color: var(--purple-accent);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.15);
}

.contact-card i {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-bottom: 1rem;
    color: white;
}

.contact-card:nth-child(1) i {
    background: linear-gradient(135deg, var(--teal-primary), var(--emerald-accent));
}

.contact-card:nth-child(2) i {
    background: linear-gradient(135deg, var(--coral-accent), var(--rose-accent));
}

.contact-card:nth-child(3) i {
    background: linear-gradient(135deg, var(--purple-accent), var(--indigo-accent));
}

.contact-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--accent-grey);
}

.contact-form {
    padding: 3rem;
    background: white;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-grey);
}

.form-group textarea + i {
    top: 1.5rem;
    transform: none;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--teal-primary), var(--emerald-accent));
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-newsletter h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: var(--depth-2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.1);
}

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

/* ===== Notification Animations ===== */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

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

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

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

/* ===== Cart Modal ===== */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cart-modal.active {
    display: flex;
}

.cart-modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

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

.cart-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.cart-modal-header h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-close:hover {
    background: #f0f0f0;
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--accent-grey);
}

.cart-empty i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.cart-empty p {
    font-size: 1.25rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

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

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.cart-item-details p {
    font-size: 0.875rem;
    color: var(--accent-grey);
    margin-bottom: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-grey);
    background: white;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-item-quantity button:hover {
    background: var(--depth-1);
    color: white;
    border-color: var(--depth-1);
}

.cart-item-quantity span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    background: rgba(231, 76, 60, 0.1);
}

.cart-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.cart-modal-footer .btn-primary {
    width: 100%;
    justify-content: center;
}

/* ===== Checkout Form Styles ===== */
.cart-modal-body .form-group {
    margin-bottom: 1.5rem;
}

.cart-modal-body .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.cart-modal-body .form-group input[type="text"],
.cart-modal-body .form-group input[type="email"],
.cart-modal-body .form-group input[type="tel"],
.cart-modal-body .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cart-modal-body .form-group input[type="file"] {
    width: 100%;
    padding: 0.5rem;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
}

.cart-modal-body .form-group input:focus,
.cart-modal-body .form-group textarea:focus {
    outline: none;
    border-color: var(--depth-1);
    box-shadow: 0 0 0 3px rgba(108, 124, 132, 0.1);
}

.cart-modal-body .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--depth-1);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links:not(.active) {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .cart-btn {
        padding: 0.5rem 0.75rem;
        min-width: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cart-btn i {
        margin: 0;
    }
    
    .nav-logo span {
        font-size: 1.25rem;
    }
    
    .floating-nav {
        top: 10px;
        width: calc(100% - 20px);
        max-width: calc(100vw - 20px);
    }
    
    .nav-container {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .products-grid,
    .services-grid,
    .research-grid,
    .pricing-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-card {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Mobile Menu Styles */
    .nav-links {
        position: fixed;
        top: 80px;
        left: 10px;
        right: 10px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-radius: 30px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        max-width: calc(100vw - 20px);
    }
    
    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        color: var(--primary-dark) !important;
    }
    
    .nav-link::before {
        background: var(--primary-dark) !important;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(75, 91, 95, 0.1) !important;
        color: var(--primary-dark) !important;
    }
    
    /* Responsive DNA Animation */
    .hero-image {
        height: 400px;
    }
    
    .dna-container {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
    
    .strain {
        width: 120px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    @keyframes rotate-strain {
        0% { width: 120px; }
        25% { width: 0; }
        50% { width: 120px; }
        75% { width: 0; }
        100% { width: 120px; }
    }
    
    @keyframes strain-size-left {
        0% { transform: scale(1) translateX(0px); }
        25% { transform: scale(0.5); }
        50% { transform: scale(1) translateX(120px); }
        75% { transform: scale(1.5); }
        100% { transform: scale(1) translateX(0px); }
    }
    
    @keyframes strain-size-right {
        0% { transform: scale(1) translateX(0px); }
        25% { transform: scale(1.5); }
        50% { transform: scale(1) translateX(-120px); }
        75% { transform: scale(0.5); }
        100% { transform: scale(1) translateX(0px); }
    }
}

/* Desktop-specific overrides to ensure research tiles are uniform on large screens */
@media (min-width: 900px) {
    .research-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
        gap: 2rem;
        align-items: start;
    }

    .research-card {
        display: flex !important;
        flex-direction: column !important;
        min-height: 420px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        padding: 0 !important;
    }

    .research-media {
        height: 220px !important;
        flex: 0 0 auto !important;
    }

    .research-media .research-image,
    .research-media .yt-player {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    .research-content {
        flex: 1 1 auto !important;
        padding: 1.25rem 1.5rem !important;
    }
}
