/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --border-color: #e2e8f0;
    --shadow-color: rgba(15, 23, 42, 0.1);

    /* Accent Colors */
    --primary-500: #8b5cf6;
    --primary-600: #7c3aed;
    --primary-700: #6d28d9;
    --secondary-500: #06b6d4;
    --secondary-600: #0891b2;
    --accent-500: #ec4899;
    --success-500: #10b981;
    --warning-500: #f59e0b;
    --error-500: #ef4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 var(--shadow-color);
    --shadow-md:
        0 4px 6px -1px var(--shadow-color), 0 2px 4px -2px var(--shadow-color);
    --shadow-lg:
        0 10px 15px -3px var(--shadow-color), 0 4px 6px -4px var(--shadow-color);
    --shadow-xl:
        0 20px 25px -5px var(--shadow-color),
        0 8px 10px -6px var(--shadow-color);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-base: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

/* Light Theme (Default) */
body {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --border-color: #e2e8f0;
    --shadow-color: rgba(15, 23, 42, 0.1);
}

/* Dark Theme Variables */
.dark-theme {
    --bg-primary: #0f0f23;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-card: #1e1e3f;
    --text-primary: #ffffff;
    --text-secondary: #a8a8b3;
    --text-tertiary: #7d7d8a;
    --border-color: #2d2d44;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all var(--transition-base);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    width: 100%;
    box-sizing: border-box;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

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

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

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

.btn-outline:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    cursor: pointer;
    background: var(--bg-card);
    border: 2px solid var(--primary-500);
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    width: 70px;
    height: 40px;
    display: flex;
    align-items: center;
    margin-right: var(--space-md);
}

.theme-toggle:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.toggle-track {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.toggle-thumb {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dark-theme .toggle-thumb {
    left: calc(100% - 32px);
}

.sun-icon {
    opacity: 1;
    transition: all 0.3s ease;
    color: #f59e0b;
}

.moon-icon {
    opacity: 0;
    position: absolute;
    transition: all 0.3s ease;
    color: #6366f1;
}

.dark-theme .sun-icon {
    opacity: 0;
    transform: rotate(180deg);
}

.dark-theme .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.light-theme .sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.light-theme .moon-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
}

.dark-theme .navbar {
    background: rgba(15, 15, 35, 0.95);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo-icon {
    width: 80px;
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: all var(--transition-base);
    border-radius: 10%;
}

.logo:hover .logo-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

/* Dark theme logo styling */

.dark-theme .logo:hover .logo-icon {
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

@keyframes logoPulse {
    0%,
    100% {
        box-shadow: var(--shadow-sm);
    }
    50% {
        box-shadow:
            0 0 0 4px rgba(139, 92, 246, 0.1),
            var(--shadow-sm);
    }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-base);
}

.nav-link:hover {
    color: var(--primary-500);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: nowrap;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: var(--space-sm);
    order: 2;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

/* Hero Section */
.hero {
    position: relative;
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
    overflow: hidden;
    background: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.modelling-hero {
    background: linear-gradient(
        135deg,
        var(--bg-primary) 0%,
        var(--bg-secondary) 100%
    );
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0.05;
    z-index: -1;
}

.dark-theme .hero-bg {
    opacity: 0.1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

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

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-500);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 60%;
    animation-delay: 4s;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: var(--space-lg);
}

.breadcrumb a {
    color: var(--primary-500);
    text-decoration: none;
}

.breadcrumb i {
    font-size: 0.75rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1.2s ease-out;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 1.2s ease-out 0.6s both;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    animation: fadeInUp 1.2s ease-out 0.9s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-500);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1.2s ease-out 0.5s both;
    position: relative;
    padding: var(--space-lg);
}

.molecular-structure {
    width: 200px;
    height: 200px;
    position: relative;
    animation: rotate 20s linear infinite;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
}

.molecule-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    animation: pulse 2s ease-in-out infinite;
    z-index: 5;
}

.orbit {
    position: absolute;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.molecular-structure .orbit {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
    .molecular-structure .orbit {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.orbit-1 {
    width: 100px;
    height: 100px;
    animation: rotateOrbit 8s linear infinite reverse;
}

.orbit-2 {
    width: 160px;
    height: 160px;
    animation: rotateOrbit 12s linear infinite;
}

.orbit-3 {
    width: 220px;
    height: 220px;
    animation: rotateOrbit 16s linear infinite reverse;
}

.orbit-4 {
    width: 280px;
    height: 280px;
    animation: rotateOrbit 20s linear infinite;
}

.atom {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--secondary-500);
    border-radius: 50%;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.8);
    animation: atomGlow 3s ease-in-out infinite alternate;
}

@keyframes rotate {
    from {
        transform: translateY(-50%) rotate(0deg);
    }
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

@keyframes rotateOrbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Footer Specific Styles */
.internship-info {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 2px solid var(--primary-500);
    position: relative;
    overflow: hidden;
}

.internship-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.info-badge {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.info-badge i {
    color: var(--primary-500);
    font-size: 1.5rem;
    margin-top: 2px;
}

.info-badge strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.info-badge p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.contact-details {
    display: grid;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.contact-section .contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.contact-section .contact-item i {
    color: var(--primary-500);
    font-size: 1.2rem;
    margin-top: 4px;
    min-width: 20px;
}

.contact-section .contact-item strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.contact-section .contact-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* Core Capabilities Styles */
.core-capabilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

.capability-item {
    background: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.capability-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transition: left var(--transition-slow);
}

.capability-item:hover::before {
    left: 0;
}

.capability-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-500);
}

.capability-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

.capability-item:hover .capability-icon {
    transform: rotate(5deg) scale(1.1);
}

.capability-item h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
    font-weight: 600;
}

.capability-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.materials-coverage {
    background: var(--bg-secondary);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: var(--space-2xl);
    border: 1px solid var(--border-color);
}

.materials-coverage p {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0;
}

/* Pharmaceutical Capabilities Styles */
.pharma-capabilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

.pharma-item {
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.pharma-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-secondary);
    transition: width var(--transition-base);
}

.pharma-item:hover::after {
    width: 100%;
}

.pharma-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.pharma-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.pharma-item:hover .pharma-icon {
    transform: rotate(5deg) scale(1.1);
}

.pharma-item h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
    font-weight: 600;
}

.pharma-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.virtual-lab-note {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.1),
        rgba(236, 72, 153, 0.1)
    );
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: var(--space-2xl);
    border: 1px solid rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.virtual-lab-note::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(139, 92, 246, 0.1) 0%,
        transparent 70%
    );
}

.lab-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto var(--space-md);
    position: relative;
    z-index: 1;
transition: transform var(--transition-base);
}

.lab-icon:hover {
    transform: scale(1.05);
}

.virtual-lab-note p {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Multiphysics Grid Styles */
.multiphysics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

.multiphysics-item {
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.multiphysics-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent var(--primary-500) transparent transparent;
    transition: all var(--transition-base);
}

.multiphysics-item:hover::before {
    border-width: 0 40px 40px 0;
}

.multiphysics-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-500);
}

.multiphysics-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.multiphysics-item:hover .multiphysics-icon {
    animation: float 2s ease-in-out infinite;
}

.multiphysics-item h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
    font-weight: 600;
}

.multiphysics-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.integrated-simulation-note {
    background: var(--bg-secondary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: var(--space-2xl);
    border: 1px solid var(--border-color);
    position: relative;
}

.integration-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto var(--space-md);
    animation: pulse 3s infinite;
}

.integrated-simulation-note p {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Why Our Tools Section */
.why-our-tools {
    background: var(--bg-secondary);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.why-our-tools::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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%238b5cf6" opacity="0.1"/><circle cx="75" cy="25" r="1" fill="%23ec4899" opacity="0.1"/><circle cx="50" cy="75" r="1" fill="%2306b6d4" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 30s ease-in-out infinite;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent);
    transform: translate(-50%, -50%);
    transition: all var(--transition-slow);
    border-radius: 50%;
}

.benefit-card:hover::before {
    width: 200px;
    height: 200px;
}

.benefit-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-500);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto var(--space-lg);
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}

.benefit-card:hover .benefit-icon {
    transform: rotate(5deg) scale(1.1);
}
}

.benefit-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Additional Animation Keyframes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.8);
    }
}

@keyframes rotateSimple {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Materials Showcase Section */
.materials-video-section {
    margin-top: var(--space-2xl);
    padding: var(--space-xl) 0;
}

.video-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.materials-showcase {
    position: relative;
    height: 400px;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.1),
        rgba(236, 72, 153, 0.1),
        rgba(6, 182, 212, 0.1)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.materials-background {
    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"><defs><pattern id="materials-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%238b5cf6" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23materials-grid)"/></svg>');
    animation: materialFlow 20s linear infinite;
}

.material-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-500);
    border-radius: 50%;
    animation: floatParticle 8s ease-in-out infinite;
    opacity: 0.7;
}

.material-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    background: var(--primary-500);
}

.material-particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 1.5s;
    background: var(--secondary-500);
}

.material-particle:nth-child(3) {
    top: 40%;
    left: 30%;
    animation-delay: 3s;
    background: var(--accent-500);
}

.material-particle:nth-child(4) {
    top: 80%;
    left: 60%;
    animation-delay: 4.5s;
    background: var(--success-500);
}

.material-particle:nth-child(5) {
    top: 30%;
    left: 70%;
    animation-delay: 6s;
    background: var(--warning-500);
}

.material-particle:nth-child(6) {
    top: 70%;
    left: 20%;
    animation-delay: 7.5s;
    background: var(--primary-600);
}

.materials-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-primary);
    padding: var(--space-lg);
}

.material-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

.material-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all var(--transition-base);
    animation: materialPulse 3s ease-in-out infinite;
}

.material-icon:nth-child(1) {
    animation-delay: 0s;
}
.material-icon:nth-child(2) {
    animation-delay: 0.5s;
}
.material-icon:nth-child(3) {
    animation-delay: 1s;
}
.material-icon:nth-child(4) {
    animation-delay: 1.5s;
}

.material-icon:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(139, 92, 246, 0.2);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.material-icon i {
    font-size: 2rem;
    color: var(--primary-500);
    transition: all var(--transition-base);
}

.material-icon:hover i {
    color: var(--primary-600);
    transform: scale(1.1);
}

.material-icon span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.showcase-text h3 {
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@keyframes materialFlow {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-20px, -20px);
    }
}

@keyframes floatParticle {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-15px) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
        opacity: 0.9;
    }
}

@keyframes materialPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.02);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .core-capabilities,
    .pharma-capabilities,
    .multiphysics-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .capability-item,
    .pharma-item,
    .multiphysics-item,
    .benefit-card {
        padding: var(--space-lg);
    }

    .virtual-lab-note,
    .integrated-simulation-note,
    .materials-coverage {
        padding: var(--space-lg);
        margin-top: var(--space-lg);
    }

    .materials-showcase {
        height: 250px;
    }

    .material-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .showcase-text h3 {
        font-size: 1.4rem;
    }

    .showcase-text p {
        font-size: 1rem;
    }

    .material-icon {
        padding: var(--space-sm);
    }

    .material-icon i {
        font-size: 1.5rem;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .internship-info {
        padding: var(--space-md);
        margin-top: var(--space-md);
        margin-right: 0 !important;
    }

    .info-badge {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .contact-section .contact-item {
        margin-bottom: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .material-icons {
        grid-template-columns: 1fr;
    }

    .showcase-text h3 {
        font-size: 1.2rem;
    }

    .info-badge i {
        font-size: 1.2rem;
    }

    .contact-section .contact-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
}

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

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

@keyframes pulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.8);
    }
}

@keyframes atomGlow {
    0% {
        box-shadow: 0 0 15px rgba(6, 182, 212, 0.8);
        opacity: 0.8;
    }
    100% {
        box-shadow: 0 0 25px rgba(6, 182, 212, 1);
        opacity: 1;
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    background: var(--primary-500);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Introduction Section */
.introduction-about {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.intro-about-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-section {
    background: var(--bg-card);
    padding: var(--space-3xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    max-width: 800px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.intro-section:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.intro-section h2 {
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
}

.intro-section p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* Services Section */
.services {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    background: var(--bg-card);
    border: 2px solid var(--primary-500);
    position: relative;
}

.service-card.featured::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.1;
}

.service-card.featured:hover {
    background: var(--gradient-primary);
    color: white;
    border: none;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.service-card.featured:hover * {
    color: white !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: var(--space-lg);
}

.service-card h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.service-card p {
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--success-500);
    font-size: 0.75rem;
}

.service-footer {
    margin-top: auto;
}

/* Applications Section */
.applications {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.application-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    text-align: center;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.application-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto var(--space-lg);
}

.application-card h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.application-card p {
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
}

.application-examples {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.application-examples span {
    background: var(--bg-tertiary);
    color: var(--primary-500);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Process Section */
.process {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.step-content h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Technology Stack Section */
.tech-stack {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.tech-category {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tech-category h3 {
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    text-align: center;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.tech-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.tech-item:hover {
    background: var(--primary-500);
    color: white;
    transform: scale(1.05);
}

.tech-item i {
    font-size: 1.125rem;
    color: var(--primary-500);
}

.tech-item:hover i {
    color: white;
}

.tech-item span {
    font-weight: 500;
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    padding: var(--space-3xl) 0;
    background: var(--gradient-primary);
    color: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-2xl);
    align-items: center;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: white;
}

.cta-text p {
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
}

.cta .btn-primary {
    background: white;
    color: var(--primary-500);
}

.cta .btn-primary:hover {
    background: var(--bg-tertiary);
    color: var(--primary-500);
}

.cta .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta .btn-outline:hover {
    background: white;
    color: var(--primary-500);
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--primary-500);
    width: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.footer-copyright {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-base);
}

.footer-legal a:hover {
    color: var(--primary-500);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-lg);
        max-width: 100%;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
        max-width: 100%;
        padding: 0;
        min-height: auto;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: var(--space-xl) 0;
        position: relative;
    }

    .hero-text {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: clamp(2.25rem, 4.5vw, 3rem);
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 500px;
        margin: 0 auto;
        justify-items: center;
    }

    .molecular-structure {
        width: 300px;
        height: 300px;
        margin: 0 auto;
        transform-origin: center center;
        position: relative;
        top: 0;
        animation: rotateSimple 20s linear infinite;
    }

    .molecular-structure .orbit {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .intro-about-grid {
        padding: 0 var(--space-md);
    }

    .intro-section {
        padding: var(--space-2xl);
        max-width: 100%;
    }

    .intro-section h2 {
        font-size: 1.75rem;
    }

    .intro-section p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--space-xl);
    }

    .applications-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .tech-categories {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
        max-width: 100%;
    }

    .hero {
        position: relative;
        overflow: hidden;
        padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
        text-align: center;
        min-height: 95vh;
    }

    .hero .container {
        padding: 0 var(--space-md);
        max-width: 100%;
        position: relative;
        z-index: 2;
    }

    .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
    }

    .floating-particles {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        z-index: 1;
    }

    .grid-overlay {
        background-size: 35px 35px;
    }

    .particle {
        width: 2.5px;
        height: 2.5px;
        opacity: 0.4;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
        max-width: 100%;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--space-2xl);
        transition: left var(--transition-base);
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .logo-icon {
        width: 65px;
        height: 65px;
    }

    .nav-container {
        padding: 0 var(--space-md);
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .nav-actions {
        gap: var(--space-sm);
    }

    .theme-toggle {
        width: 60px;
        height: 35px;
        margin-right: 0;
    }

    .btn.btn-primary {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 var(--space-sm);
    }

    .nav-actions {
        gap: var(--space-xs);
    }

    .theme-toggle {
        width: 50px;
        height: 30px;
        padding: 4px;
    }

    .btn.btn-primary {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.8rem;
        display: none;
    }

    .hero {
        padding: calc(70px + var(--space-xl)) 0 var(--space-xl);
        min-height: 100vh;
        position: relative;
        overflow: hidden;
    }

    .hero .container {
        padding: 0 var(--space-sm);
        position: relative;
        z-index: 2;
    }

    .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
    }

    .floating-particles {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        z-index: 1;
        overflow: hidden;
    }

    .hero-content {
        gap: var(--space-lg);
        position: relative;
        z-index: 2;
    }

    .particle {
        width: 2px;
        height: 2px;
        opacity: 0.3;
    }

    .grid-overlay {
        background-size: 25px 25px;
    }

    .hero-title {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        max-width: 300px;
        margin: 0 auto;
        justify-items: center;
    }

    .molecular-structure {
        width: 250px;
        height: 250px;
        margin: 0 auto;
        transform-origin: center center;
        position: relative;
        top: 0;
        animation: rotateSimple 20s linear infinite;
    }

    .molecular-structure .orbit {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: var(--space-xl) 0;
        width: 100%;
        margin-top: var(--space-lg);
        position: relative;
    }

    .hero-text {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

    .tech-items {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
        max-width: 100%;
    }

    .logo-icon {
        width: 55px;
        height: 55px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .nav-container {
        padding: 0 var(--space-sm);
    }

    .hero-title {
        font-size: clamp(1.75rem, 3.5vw, 2rem);
    }

    .hero-subtitle {
        font-size: clamp(0.875rem, 2vw, 1rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-xs);
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .intro-section h2 {
        font-size: 1.5rem;
    }

    .molecular-structure {
        width: 180px;
        height: 180px;
        margin: 0 auto;
        transform-origin: center center;
        position: relative;
        top: 0;
        animation: rotateSimple 20s linear infinite;
    }

    .molecular-structure .orbit {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .orbit-1 {
        width: 60px;
        height: 60px;
    }

    .orbit-2 {
        width: 90px;
        height: 90px;
    }

    .orbit-3 {
        width: 120px;
        height: 120px;
    }

    .orbit-4 {
        width: 150px;
        height: 150px;
    }

    .molecule-center {
        width: 30px;
        height: 30px;
    }

    .atom {
        width: 8px;
        height: 8px;
        top: -4px;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .cta-text h2 {
        font-size: 2rem;
    }
}

/* ===== CONTACT FORM MODAL ===== */
.contact-btn {
    margin-top: var(--space-lg);
}

.contact-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    display: none;
    opacity: 0;
    transition: all var(--transition-base);
}

.contact-form-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    z-index: 1;
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.contact-form-modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xl);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-body {
    padding: var(--space-xl);
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all var(--transition-base);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: var(--error-500);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-end;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.form-actions .btn {
    min-width: 120px;
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    .contact-form-modal {
        padding: var(--space-md);
    }

    .modal-content {
        max-width: 100%;
        max-height: 95vh;
    }

    .modal-header {
        padding: var(--space-lg);
    }

    .modal-body {
        padding: var(--space-lg);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .form-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .modal-header {
        padding: var(--space-md);
    }

    .modal-body {
        padding: var(--space-md);
    }

    .modal-header h3 {
        font-size: 1.25rem;
    }
}

/* ===== NOTIFICATION STYLES ===== */
.notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    border-left: 4px solid var(--primary-500);
}

.notification-success {
    border-left-color: var(--success-500);
}

.notification-error {
    border-left-color: var(--error-500);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.notification-content i {
    font-size: 1.2rem;
}

.notification-success .notification-content i {
    color: var(--success-500);
}

.notification-error .notification-content i {
    color: var(--error-500);
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.notification-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links {
    justify-content: center;
}

.photo-overlay .social-links {
    display: flex;
    gap: var(--space-md);
}

/* ===== NOTIFICATION ANIMATIONS ===== */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ===== VIDEO SHOWCASE SECTION ===== */
.video-showcase {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.video-showcase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(139, 92, 246, 0.05) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.video-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-top: var(--space-2xl);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--bg-card);
    transition: all 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
}

.simulation-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.simulation-video:hover {
    transform: scale(1.02);
}

.video-description {
    padding: var(--space-lg);
}

.video-description h3 {
    color: var(--text-primary);
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-description p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

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

.video-highlights li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.video-highlights li:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.video-highlights li i {
    color: var(--primary-500);
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* Video section animations */
.video-showcase .section-header {
    animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.video-wrapper {
    animation: fadeInLeft 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s both;
}

.video-description {
    animation: fadeInRight 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s both;
}

.video-highlights li {
    animation: fadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.video-highlights li:nth-child(1) { animation-delay: 0.7s; }
.video-highlights li:nth-child(2) { animation-delay: 0.8s; }
.video-highlights li:nth-child(3) { animation-delay: 0.9s; }
.video-highlights li:nth-child(4) { animation-delay: 1s; }

/* Video player wrapper and overlay styles */
.video-player-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.8) 0%,
        rgba(236, 72, 153, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border-radius: var(--radius-xl);
}

.video-overlay:hover {
    opacity: 0.9;
}

.simulation-video:not([data-playing]) + .video-overlay {
    display: flex;
}

.simulation-video[data-playing] + .video-overlay {
    display: none;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--space-lg);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.play-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.play-button i {
    margin-left: 4px; /* Adjust play icon position */
}

.video-title h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-title p {
    font-size: 1rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive design for video section */
@media (max-width: 768px) {
    .video-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .video-wrapper {
        margin-bottom: var(--space-lg);
    }

    .video-description {
        padding: var(--space-md);
    }

    .video-description h3 {
        font-size: 1.5rem;
    }

    .video-description p {
        font-size: 1rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .video-title h4 {
        font-size: 1.25rem;
    }

    .video-title p {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .video-showcase {
        padding: var(--space-2xl) 0;
    }

    .video-container {
        gap: var(--space-lg);
    }

    .video-wrapper {
        aspect-ratio: 4/3;
    }

    .video-description h3 {
        font-size: 1.25rem;
    }

    .video-highlights li {
        font-size: 0.875rem;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .video-title h4 {
        font-size: 1rem;
    }

    .video-title p {
        font-size: 0.75rem;
    }
}
