:root {
  --primary: #0a4d68;
  --primary-light: #088395;
  --accent: #05bfdb;
  --dark: #0a2a3a;
  --text: #1a2a3a;
  --light: #f7fafc;
  --white: #ffffff;
  --gray: #64748b;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

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

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 72px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-light);
}

.cta-btn {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.cta-btn:hover {
  background: var(--primary-light);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, rgba(5,15,25,0.92), rgba(10,30,45,0.88)), url('lab-hero.jpg') center/cover no-repeat;
  color: white;
  padding: 7rem 0 5rem;
  text-align: center;
}

.hero-logo {
  display: block;
  margin: 0 auto 2.5rem;
  height: 260px;
  width: auto;
  filter: drop-shadow(0 6px 30px rgba(0,0,0,0.5));
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

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

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

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

.hero p.hero-differentiator {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 auto 1.5rem;
  max-width: 650px;
  opacity: 0.9;
  letter-spacing: 0.3px;
}

.service-card {
  background: var(--light);
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--accent);
  position: relative;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.about-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Contact */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
  display: block;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: var(--primary-light);
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0 1.5rem;
  text-align: center;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  list-style: none;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-logo {
    height: 180px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 5rem 0 4rem;
  }
  section {
    padding: 3.5rem 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-subtitle {
    margin-bottom: 2rem;
  }
}
