:root {
    --primary: #f8fafc;
    --secondary-bg: #ffffff;
    --accent: #ca8a04;
    /* Slightly darker gold for contrast on white */
    --text-main: #0f172a;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(15, 23, 42, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(to right, #ca8a04, #eab308);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-primary {
    background: linear-gradient(135deg, #ca8a04 0%, #a16207 100%);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600 !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(202, 138, 4, 0.3);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.3));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    color: white;
    /* Force white text on dark hero overlay */
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn-outline {
    border: 1px solid white;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: white;
    color: #0f172a;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--secondary-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.about-text p {
    color: var(--text-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.floating-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    color: var(--text-main);
}

.icon-gold {
    color: var(--accent);
    width: 32px;
    height: 32px;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--primary);
}

.bg-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    z-index: -1;
    opacity: 0.05 !important;
    /* Lighter opacity for light theme */
    mix-blend-mode: multiply;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.process-card {
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s;
    background: white;
    border: 1px solid #e2e8f0;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.icon-box {
    background: rgba(202, 138, 4, 0.1);
    color: var(--accent);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.process-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text-main);
}

.process-card p {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: #ffffff;
    padding: 4rem 0 0;
    border-top: 1px solid #e2e8f0;
    color: var(--text-main);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.footer-brand p {
    color: var(--text-muted);
}

.footer h4 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 600;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--accent);
}

.footer-bottom {
    background: #f1f5f9;
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mission, Vision, Values Section */
.mvv-section {
    padding: 8rem 0;
    background-color: var(--secondary-bg);
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

.mvv-section .section-header h2 {
    color: var(--text-main);
}

.mvv-section .section-header p {
    color: var(--text-muted);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mvv-card {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

/* icon-box-dark removed in favor of standard icon-box */
.mvv-card .icon-box {
    margin-bottom: 1.5rem;
}

.mvv-card:hover .icon-box {
    background: var(--accent);
    color: white;
    transform: scale(1.1) rotate(5deg);
    transition: all 0.3s ease;
}

.mvv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.mvv-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.list-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

/* Laboratory Section */
.lab-section {
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 25vh;
}

.lab-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: right center;
    z-index: -2;
}


.lab-content {
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
}

.lab-text {
    max-width: 550px;
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.lab-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.lab-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.lab-list {
    margin-top: 1.5rem;
}

.lab-section .lab-list li {
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .process-grid,
    .mvv-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

/* Innovation Section */
.innovation-section {
    padding: 8rem 0;
    background-color: #0f172a;
    color: white;
    position: relative;
    overflow: hidden;
}

.innovation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.innovation-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #f8fafc, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.innovation-text p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.tech-list {
    list-style: none;
    margin-top: 3rem;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.tech-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.innovation-image {
    position: relative;
}

.innovation-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glowing-circle {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--accent);
    filter: blur(60px);
    opacity: 0.4;
    border-radius: 50%;
    z-index: -1;
}

@media (max-width: 768px) {
    .innovation-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .innovation-text h2 {
        font-size: 2.5rem;
    }
}

/* Blog Page Styles */
.blog-page {
    background: #f8fafc;
}

.blog-header {
    padding: 10rem 0 4rem;
    text-align: center;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.blog-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.blog-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.blog-section {
    padding: 6rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.blog-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.blog-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-content h3 a:hover {
    color: var(--accent);
}

.blog-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s;
}

.read-more:hover {
    gap: 0.8rem;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}