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

:root {
    /* Light theme colors */
    --bg-primary: #fff;
    --bg-secondary: #f8fafc;
    --bg-hero: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    --text-primary: #333;
    --text-secondary: #4b5563;
    --text-light: #6b7280;
    --header-bg: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --card-bg: #fff;
    --border-color: rgba(59, 130, 246, 0.1);
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(59, 130, 246, 0.15);
}

[data-theme="dark"] {
    /* Dark theme colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-hero: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --header-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --card-bg: #1e293b;
    --border-color: rgba(148, 163, 184, 0.2);
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(59, 130, 246, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    background: var(--header-bg);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #f59e0b, #ef4444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.nav-brand h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #fbbf24;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.3s ease;
}

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

.theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    flex-shrink: 0;
    z-index: 1001;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(15deg);
    border-color: rgba(255, 255, 255, 0.5);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    background: var(--bg-hero);
    padding: 120px 0 80px;
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23dbeafe" opacity="0.5"/><circle cx="80" cy="40" r="1" fill="%23dbeafe" opacity="0.3"/><circle cx="40" cy="80" r="1.5" fill="%23dbeafe" opacity="0.4"/></svg>');
    animation: float 20s infinite linear;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .hero-subtitle {
    color: white;
}

.hero-description {
    margin-bottom: 1.25rem;
}

.hero-description p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--card-bg);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e40af;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .hero-badge {
    color: #60a5fa;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-hover);
    background: var(--card-bg);
}

.hero-badge i {
    color: #f59e0b;
    font-size: 1rem;
}

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

.btn-primary {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: var(--card-bg);
    color: #1e40af;
    border: 2px solid #1e40af;
}

[data-theme="dark"] .btn-secondary {
    color: #60a5fa;
    border-color: #60a5fa;
}

.btn-secondary:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-secondary:hover {
    background: #60a5fa;
    color: #0f172a;
}

.btn-download {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

/* Hero Animation */
.lab-scene {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.test-tubes {
    display: flex;
    gap: 1rem;
    align-items: end;
}

.tube {
    width: 30px;
    background: linear-gradient(to top, #3b82f6 0%, #3b82f6 60%, transparent 60%);
    border: 3px solid #1e40af;
    border-radius: 0 0 15px 15px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.tube-1 {
    height: 80px;
    animation-delay: 0s;
}

.tube-2 {
    height: 120px;
    animation-delay: 0.5s;
}

.tube-3 {
    height: 100px;
    animation-delay: 1s;
}

.tube::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -6px;
    width: 42px;
    height: 12px;
    background: #1e40af;
    border-radius: 50%;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
    font-weight: 700;
}

[data-theme="dark"] .section-header h2 {
    color: #60a5fa;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: justify;
    text-justify: inter-word;
}

/* About Section */
.about {
    padding: 50px 0;
    background: var(--bg-secondary);
    transition: background 0.3s ease;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    text-align: justify;
    text-justify: inter-word;
}

.about-features {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.about-features h3 {
    color: #1e40af;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

[data-theme="dark"] .about-features h3 {
    color: #60a5fa;
}

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

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.features-list i {
    color: #10b981;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Video Section */
.video-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
}

.video-section .section-header h2,
.video-section .section-header p {
    color: white;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    position: relative;
    width: 100%;
    transition: box-shadow 0.3s ease;
}

.main-video {
    width: 100%;
    height: auto;
    max-height: 450px;
    border-radius: 15px;
    background: #000;
    display: block;
    object-fit: contain;
}

/* Products Section */
.products {
    padding: 50px 0;
    background: var(--bg-secondary);
    transition: background 0.3s ease;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.product-card {
    background: var(--card-bg);
    padding: 1.2rem;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.8rem;
    box-shadow: 0 4px 20px var(--shadow);
    min-height: 200px;
    height: 100%;
}

.product-card:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.product-content {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-image {
    flex: 0 0 50%;
    width: 200px;
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.product-image img[alt="Urine Container"] {
    max-width: 240px;
    height: auto;
}

.tube-img {
    max-width: 240px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease;
    background: transparent;
}

.product-card:hover .tube-img {
    transform: scale(1.05);
}
.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

.citrate-3-2 { background: #3b82f6; }
.citrate-3-8 { background: #6b7280; }
.edta-k2, .edta-k3 { background: #8b5cf6; }
.fluoride { background: #6b7280; }
.clot-activator { background: #ef4444; }
.gel-clot { background: #f59e0b; }
.sodium-heparin, .lithium-heparin { background: #10b981; }
.acd { background: #fbbf24; color: #333; }
.urine-container { background: #06b6d4; }

.product-header h4 {
    color: #1e40af;
    font-size: 1.1rem;
}

[data-theme="dark"] .product-header h4 {
    color: #60a5fa;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.product-info strong {
    color: #1e40af;
}

[data-theme="dark"] .product-info strong {
    color: #60a5fa;
}

/* Contact Section */
.contact {
    padding: 50px 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
}

.contact .section-header h2,
.contact .section-header p {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-item i {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    line-height: 1.6;
    opacity: 0.9;
    text-align: justify;
    text-justify: inter-word;
}

.contact-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    line-height: 1.6;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: #fbbf24;
    opacity: 1;
    transform: translateX(3px);
}

.download-section {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}

[data-theme="dark"] .download-section {
    background: rgba(15, 23, 42, 0.3);
}

.download-section h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.download-section p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-align: justify;
    text-justify: inter-word;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 1.5rem 0;
    transition: background 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .footer {
    background: #0f172a;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

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

.footer-brand h3 {
    color: #f59e0b;
    margin-bottom: 0.5rem;
}

.footer-cert p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

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

/* Tablet/iPad specific styles - ensures consistent product card sizing */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .lab-scene {
        height: 320px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .product-card {
        min-height: 220px;
        height: 100%;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 1rem;
    }
    
    .product-content {
        flex: 0 0 55%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .product-image {
        flex: 0 0 45%;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .tube-img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
}

/* Mobile-specific responsive design - only applies to actual mobile devices */
@media screen and (max-width: 768px) and (max-device-width: 768px) {
    .nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        position: relative;
        gap: 0.5rem;
    }
    
    .nav-brand {
        flex: 1;
    }
    
    .nav-brand h1 {
        font-size: 1.2rem;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--header-bg);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px var(--shadow);
        display: none;
        z-index: 1001;
        align-items: flex-start;
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .nav-links a {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    /* Remove theme toggle from nav-links dropdown on mobile */
    .nav-links .theme-toggle {
        display: none !important;
    }
    
    /* Style theme toggle when moved outside nav-links on mobile */
    .nav > .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin: 0;
        display: flex !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .container {
        padding: 0 0.8rem;
    }
    
    .hero {
        padding: 90px 0 50px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 0 0.8rem;
    }
    
    .hero-badges {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .about {
        padding: 40px 0;
    }
    
    .products {
        padding: 40px 0;
    }
    
    .contact {
        padding: 40px 0;
    }
    
    .video-section {
        padding: 40px 0;
    }
    
    .video-container {
        max-width: 95%;
        margin: 0 auto;
    }
    
    .main-video {
        max-height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .lab-scene {
        height: 280px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.8rem;
    }
    
    .product-card {
        flex-direction: row;
        text-align: left;
        padding: 1.5rem;
        margin: 0 auto;
        max-width: 100%;
        align-items: stretch;
        gap: 1rem;
        min-height: 200px;
        height: 100%;
    }
    
    .product-content {
        flex: 0 0 60%;
        margin-bottom: 0;
        order: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .product-image {
        flex: 0 0 40%;
        margin-bottom: 0;
        order: 2;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .tube-img {
        max-width: 180px;
        width: auto;
        height: auto;
        margin: 0 auto;
    }
    
    .product-image img[alt="Urine Container"] {
        max-width: 180px;
        width: auto;
        height: auto;
    }
    
    .product-header {
        justify-content: flex-start;
        margin-bottom: 1rem;
    }
    
    .product-info {
        text-align: left;
    }
    
    .product-info p {
        margin-bottom: 0.75rem;
        line-height: 1.5;
        text-align: justify;
        text-justify: inter-word;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

/* Mobile-specific styles for smaller screens */
@media screen and (max-width: 600px) and (max-device-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0 0.6rem;
    }
    
    .product-card {
        padding: 1rem;
        margin: 0;
        flex-direction: row;
        gap: 0.6rem;
        min-height: 180px;
        height: 100%;
        align-items: stretch;
    }
    
    .product-content {
        flex: 0 0 60%;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .product-image {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .tube-img {
        max-width: 160px;
    }
    
    .product-image img[alt="Urine Container"] {
        max-width: 160px;
    }
    
    .product-header {
        margin-bottom: 0.8rem;
    }
    
    .product-info p {
        margin-bottom: 0.6rem;
        font-size: 0.9rem;
        text-align: justify;
        text-justify: inter-word;
    }
}

@media screen and (max-width: 480px) and (max-device-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .nav {
        padding: 0.8rem 1rem;
    }
    
    .nav-brand h1 {
        font-size: 1rem;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .hero {
        padding: 70px 0 30px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        margin-bottom: 0.9rem;
    }
    
    .hero-description p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        margin-bottom: 1rem;
    }
    
    .hero-badges {
        justify-content: center;
        gap: 0.6rem;
    }
    
    .hero-badge {
        padding: 0.45rem 0.9rem;
        font-size: 0.75rem;
    }
    
    .lab-scene {
        height: 250px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .products-grid {
        padding: 0 0.4rem;
        gap: 0.8rem;
    }
    
    .product-card {
        padding: 1rem;
        margin: 0;
        flex-direction: row;
        gap: 0.6rem;
        min-height: 180px;
        height: 100%;
        align-items: stretch;
    }
    
    .product-content {
        flex: 0 0 60%;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .product-image {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .product-header {
        margin-bottom: 0.8rem;
    }
    
    .product-header h4 {
        font-size: 1rem;
    }
    
    .product-info p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
        text-align: justify;
        text-justify: inter-word;
    }
    
    .tube-img {
        max-width: 140px;
    }
    
    .product-image img[alt="Urine Container"] {
        max-width: 140px;
    }
    
    .video-container {
        max-width: 98%;
        margin: 0 auto;
    }
    
    .main-video {
        max-height: 250px;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-item h4 {
        font-size: 1rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.whatsapp-float i {
    animation: whatsapp-ring 1.5s ease-in-out infinite;
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

@keyframes whatsapp-ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-15deg);
    }
    20%, 40% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

/* WhatsApp Button Responsive - Mobile only */
@media screen and (max-width: 768px) and (max-device-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
}

@media screen and (max-width: 480px) and (max-device-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Fix for very small mobile screens */
@media screen and (max-width: 360px) and (max-device-width: 360px) {
    .container {
        padding: 0 6px;
    }
    
    .nav {
        padding: 0.5rem 0.8rem;
    }
    
    .nav-brand h1 {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 60px 0 25px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        margin-bottom: 0.8rem;
    }
    
    .hero-buttons {
        margin-bottom: 0.9rem;
    }
    
    .hero-badges {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .hero-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .hero-badge i {
        font-size: 0.85rem;
    }
    
    .lab-scene {
        height: 220px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .products-grid {
        padding: 0 0.2rem;
        gap: 0.6rem;
    }
    
    .product-card {
        padding: 0.6rem;
        flex-direction: row;
        gap: 0.4rem;
        min-height: 160px;
        height: 100%;
        align-items: stretch;
    }
    
    .product-content {
        flex: 0 0 60%;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .product-image {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .product-header {
        margin-bottom: 0.6rem;
    }
    
    .product-info p {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        text-align: justify;
        text-justify: inter-word;
    }
    
    .tube-img {
        max-width: 120px;
    }
    
    .product-image img[alt="Urine Container"] {
        max-width: 120px;
    }
    
    .video-container {
        max-width: 99%;
        margin: 0 auto;
    }
    
    .main-video {
        max-height: 200px;
    }
    
    .about, .products, .contact, .video-section {
        padding: 30px 0;
    }
}
