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

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #7c3aed;
    --accent: #06b6d4;
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-icon {
    font-size: 2rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Buttons */
.btn-primary, .btn-primary-large {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary:hover, .btn-primary-large:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-secondary-large {
    padding: 1rem 2rem;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

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

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

/* Services Section */
.services {
    background: var(--light-gray);
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-card.featured {
    border: 2px solid var(--primary);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    margin: 1.5rem 0;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.service-link:hover {
    text-decoration: underline;
}

/* Capabilities Section */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.capability-item {
    padding: 2rem;
    border-left: 4px solid var(--primary);
    background: var(--light-gray);
    border-radius: 8px;
}

.capability-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Why Cyclic Peptides Section */
.why-cyclic {
    background: var(--light-gray);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

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

.stat-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-big {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Ingredient Supply Section */
.supply-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.supply-category {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
}

.supply-category h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.supply-category ul {
    list-style: none;
}

.supply-category li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.supply-category li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.supply-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.supply-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    background: var(--light-gray);
}

.about-lead {
    font-size: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 3rem;
    color: var(--gray);
}

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

.about-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.about-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

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

.footer-brand p {
    margin-top: 1rem;
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    opacity: 0.6;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none; /* Add mobile menu toggle in JavaScript */
    }
}

/* 4-Column Services Grid */
.services-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Applications Section */
.applications {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.applications .section-title,
.applications .section-subtitle {
    color: white;
}

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

.application-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.application-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.application-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.application-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Why Choose Section */
.why-choose {
    padding: 5rem 0;
    background: var(--light-gray);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

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

.why-number {
    background: var(--gradient);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.why-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.why-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* Peptide Types Section */
.peptide-types {
    padding: 5rem 0;
    background: white;
}

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

.type-box {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}

.type-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    border: 2px solid var(--primary);
}

.type-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.type-box ul {
    list-style: none;
    padding: 0;
}

.type-box ul li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.type-box ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Footer Company */
.footer-company {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .why-card {
        flex-direction: column;
        text-align: center;
    }
    
    .why-number {
        margin: 0 auto;
    }
}

/* Footer Address */
.footer-address {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.5;
}

/* Biotech Color Scheme Update */
:root {
    --biotech-blue: #1e3a8a;
    --biotech-teal: #0d9488;
    --biotech-green: #059669;
    --biotech-purple: #7c3aed;
    --clinical-gray: #475569;
    --lab-white: #f8fafc;
}

/* CRO Section */
.cro-section {
    padding: 5rem 0;
    background: var(--lab-white);
}

.cro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.cro-category {
    background: white;
    border-left: 4px solid var(--biotech-teal);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.cro-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-left-width: 6px;
}

.cro-category h3 {
    color: var(--biotech-blue);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

.tech-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--clinical-gray);
    line-height: 1.6;
    border-bottom: 1px solid #e2e8f0;
}

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

.tech-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--biotech-teal);
    font-weight: bold;
    font-size: 1.1rem;
}

/* CDMO Section */
.cdmo-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--biotech-blue) 0%, var(--biotech-purple) 100%);
    color: white;
}

.cdmo-section .section-title,
.cdmo-section .section-subtitle {
    color: white;
}

.cdmo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.cdmo-category {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.cdmo-category:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cdmo-category h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: white;
}

.cdmo-category .tech-list li {
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cdmo-category .tech-list li:before {
    color: #10b981;
}

.cdmo-cta {
    margin-top: 4rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cdmo-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.cdmo-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Update Applications for Biotech Theme */
.applications {
    background: linear-gradient(135deg, var(--biotech-green) 0%, var(--biotech-teal) 100%);
}

/* Update buttons for biotech theme */
.btn-primary, .btn-primary-large {
    background: var(--biotech-teal);
}

.btn-primary:hover, .btn-primary-large:hover {
    background: var(--biotech-blue);
}

.btn-secondary-large {
    border: 2px solid var(--biotech-teal);
    color: var(--biotech-teal);
}

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

/* Update gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--biotech-teal) 0%, var(--biotech-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Update why-number gradient */
.why-number {
    background: linear-gradient(135deg, var(--biotech-teal) 0%, var(--biotech-blue) 100%);
}

/* Scientific/Technical Typography */
.tech-list li {
    font-size: 0.95rem;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cro-grid,
    .cdmo-grid {
        grid-template-columns: 1fr;
    }
}
