:root {
    --primary-dark: #1a1a2e;
    --primary-blue: #16213e;
    --accent-blue: #4a90e2;
    --accent-orange: #f5a623;
    --text-light: #e0e6ed;
    --text-muted: #8892b0;
    --background-dark: #0f0f23;
    --surface: #1e1e3f;
    --gradient: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
}

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

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--background-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Animated DNA Helix Logo */
@keyframes spin3D {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@media (prefers-reduced-motion: no-preference) {
    .dna-logo {
        animation: spin3D 8s linear infinite;
        transform-style: preserve-3d;
        transform-origin: center center;
    }
}

.logo-container {
    perspective: 1000px;
    width: 60px;
    height: 60px;
}

.dna-logo svg {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 2px 8px rgba(74, 144, 226, 0.3));
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
    transition: all 0.3s ease;
}

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

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

.brand h1 {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.contact-info {
    font-size: 0.9rem;
    color: var(--accent-orange);
    font-weight: 500;
}

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

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

nav a:hover,
nav a.active {
    color: var(--accent-blue);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Page Content */
main {
    padding-top: 120px;
    min-height: calc(100vh - 120px);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-light);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    background: var(--gradient);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

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

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
}

.hero h1 {
    font-family: 'Crimson Text', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    opacity: 0;
    animation: slideInUp 1s ease 0.3s forwards;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInUp 1s ease 0.6s forwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 3rem;
    opacity: 0;
    animation: slideInUp 1s ease 0.9s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: slideInUp 1s ease 1.2s forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: var(--accent-orange);
    color: white;
}

.cta-button.secondary {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

/* Content Sections */
.content-section {
    padding: 6rem 0;
    background: var(--surface);
}

.intro-section {
    padding: 6rem 0;
    background: var(--surface);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.intro-item {
    background: rgba(74, 144, 226, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
}

.intro-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 40px rgba(74, 144, 226, 0.2);
}

.intro-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.intro-item h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

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

.overview-section {
    padding: 6rem 0;
    background: var(--primary-dark);
}

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

.overview-text h3 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.overview-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.overview-image {
    text-align: center;
}

.overview-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.learn-more-btn {
    display: inline-block;
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.learn-more-btn:hover {
    color: var(--accent-blue);
}

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

.service-card {
    background: rgba(74, 144, 226, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 40px rgba(74, 144, 226, 0.2);
}

.service-card h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.service-card ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
    color: var(--text-light);
}

.service-card li {
    margin-bottom: 0.5rem;
}

/* News Section Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.news-category h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    color: var(--accent-orange);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 0.5rem;
}

.news-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-item {
    background: rgba(74, 144, 226, 0.05);
    border-left: 4px solid var(--accent-blue);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.news-item:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: translateX(5px);
}

.news-item h4 {
    font-family: 'Crimson Text', serif;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.news-item p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.news-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--accent-blue);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-link::before {
    content: '→';
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.news-link:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
}

.news-link:hover::before {
    transform: translateX(3px);
}

.featured-links {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--primary-blue);
    border-radius: 12px;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.featured-links h3 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

.resource-link {
    display: block;
    padding: 2rem;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
}

.resource-link:hover {
    background: rgba(74, 144, 226, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.link-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.resource-link h4 {
    font-family: 'Crimson Text', serif;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.resource-link p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact Section Styles */
.contact-section {
    padding: 6rem 0;
    background: var(--primary-dark);
}

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

.contact-card {
    background: rgba(74, 144, 226, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 12px;
    padding: 3rem;
}

.contact-card h3 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.company-subtitle {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 226, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
}

.contact-text {
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-cta {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cta-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.cta-card h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent-orange);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-button:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.button-icon {
    font-size: 1.2rem;
}

.contact-note {
    background: rgba(74, 144, 226, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
}

.contact-note strong {
    color: var(--text-light);
}

.contact-note p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

.contact-note p:first-of-type {
    margin-bottom: 0.5rem;
}

.expertise-highlight {
    background: rgba(245, 166, 35, 0.05);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 12px;
    padding: 2rem;
}

.expertise-highlight h4 {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
}

.expertise-highlight ul {
    list-style: none;
    padding: 0;
}

.expertise-highlight li {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.expertise-highlight li::before {
    content: '';
    margin-right: 0.5rem;
}

/* Footer */
footer {
    background: var(--background-dark);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(74, 144, 226, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .featured-links {
        padding: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .cta-card {
        padding: 2rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}