/*
Theme Name: Elementum Lab
Theme URI: https://www.elementum.co.in
Author: Elementum
Description: Modern responsive theme for Elementum synthetic organic chemistry lab.
Version: 2.0
Text Domain: elementum-lab
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #020617;
    background: #f8fafc;
    line-height: 1.6;
}

/* Links */
a {
    color: #0f766e;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Layout */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.main {
    flex: 1;
    padding: 32px 5vw 64px;
}

/* Header */
.site-header {
    background: rgba(15,23,42,0.98);
    color: #e5e7eb;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 20;
}
.site-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.site-title a {
    color: #e5e7eb;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.03em;
}
.site-tagline {
    font-size: 11px;
    color: #9ca3af;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #e5e7eb;
    font-size: 22px;
}
.nav-menu {
    display: flex;
    gap: 16px;
    font-size: 14px;
}
.nav-menu a {
    color: #d1d5db;
    padding: 6px 10px;
    border-radius: 999px;
}
.nav-menu a:hover,
.nav-menu a:focus {
    background: rgba(148,163,184,0.18);
}

/* Hero */
.hero {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 40px 24px;
    border-radius: 28px;
    color: #e5e7eb;
    background:
      linear-gradient(135deg, rgba(15,23,42,0.96), rgba(15,23,42,0.96)),
      url('https://images.pexels.com/photos/2280549/pexels-photo-2280549.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat;
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
    gap: 32px;
    align-items: center;
    box-shadow: 0 22px 60px rgba(15,23,42,0.55);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary,
.btn-secondary {
    /* keep existing padding, etc., then add: */
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(34,197,94,0.6);
}
.btn-secondary:hover {
    background: rgba(148,163,184,0.25);
}
.hero-side {
    justify-self: stretch;
}
.hero-card {
    border-radius: 20px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.4);
    padding: 18px 18px 16px;
}
.hero-card h2 {
    margin: 0 0 8px;
    font-size: 16px;
}
.hero-card p {
    margin: 0 0 10px;
    font-size: 13px;
    color: #e5e7eb;
}
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
    margin-top: 8px;
}
.hero-metric span:first-child {
    font-size: 18px;
    font-weight: 600;
}
.hero-metric span:last-child {
    font-size: 11px;
    color: #cbd5f5;
}

/* Sections */
.section {
    max-width: 1120px;
    margin: 40px auto 0;
    padding: 0 20px 32px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(15,23,42,0.04);
}
.section-header {
    margin-bottom: 16px;
}
.section-kicker {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6b7280;
}
.section h2 {
    font-size: 22px;
    margin: 4px 0 6px;
}
.section-lead {
    font-size: 14px;
    color: #4b5563;
    max-width: 720px;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}
.card {
    padding: 16px 14px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
}
.card h3 {
    margin: 0 0 6px;
    font-size: 16px;
}
.card p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

/* Lists */
.list-check {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 0;
}
.list-check li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
}
.list-check li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 2px;
    color: #16a34a;
    font-size: 12px;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
    gap: 24px;
}
.contact-details p {
    margin: 4px 0;
    font-size: 14px;
}

/* Footer */
footer {
    background: #020617;
    color: #9ca3af;
    padding: 18px 5vw;
    font-size: 13px;
    text-align: center;
}

/* Responsive */
@media (max-width: 800px) {
    .hero {
        grid-template-columns: minmax(0,1fr);
        padding: 24px 16px;
    }
    .hero-side {
        order: -1;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 52px;
        right: 5vw;
        background: #020617;
        padding: 10px 14px;
        border-radius: 12px;
        flex-direction: column;
        min-width: 170px;
        box-shadow: 0 18px 45px rgba(15,23,42,0.6);
    }
    .nav-menu.is-open {
        display: flex;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .section {
        margin-top: 24px;
        border-radius: 0;
    }
    .contact-layout {
        grid-template-columns: minmax(0,1fr);
    }
}
