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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Color Variables - Professional Biotech Theme */
:root {
  --primary-color: #1e40af; /* Professional blue - represents trust and innovation */
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --secondary-color: #0f172a; /* Dark slate - represents professionalism */
  --secondary-dark: #020617;
  --accent-color: #6366f1; /* Indigo - represents technology and science */
  --accent-light: #8b5cf6;

  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;

  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-dark: #111827;

  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Section Styling */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-image {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.05);
  transition: filter 0.3s ease;
}

.logo-image:hover {
  filter: brightness(1.15) contrast(1.1);
}

.logo-text {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #eff6ff 100%);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%231e40af" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.highlight {
  color: var(--primary-color);
  position: relative;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 2px;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

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

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Hero Visual Slideshow */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slideshow-container {
  position: relative;
  max-width: 750px;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: white;
}

.slideshow-wrapper {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.6s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.slide.active .slide-overlay {
  transform: translateY(0);
}

.slide-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

.slide-overlay p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
}

/* Navigation Arrows */
.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.slide-nav:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-50%) scale(1.1);
}

.slide-nav.prev {
  left: 15px;
}

.slide-nav.next {
  right: 15px;
}

/* Slide Indicators */
.slide-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.indicator.active,
.indicator:hover {
  background: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-card {
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color),
    var(--accent-color)
  );
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-icon {
  font-size: 2rem;
  padding: 0.75rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-header h3 {
  color: var(--text-primary);
  margin: 0;
}

.card-content p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  width: 85%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 4px;
  animation: progressAnimation 2s ease-out;
}

.progress-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

@keyframes progressAnimation {
  from {
    width: 0;
  }
  to {
    width: 85%;
  }
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--bg-secondary);
}

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

.about-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.about-card .card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.about-card .card-icon svg {
  fill: white;
  width: 48px;
  height: 48px;
}

.about-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

/* Services Section */
.services {
  padding: 5rem 0;
}

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

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: translateX(0);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--primary-color);
}

.service-icon svg {
  fill: var(--primary-color);
  width: 40px;
  height: 40px;
}

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

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

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

/* UVC Info Section */
.uvc-info {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  position: relative;
}

.uvc-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.08);
  z-index: 1;
}

.uvc-info .container {
  position: relative;
  z-index: 2;
}

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

.uvc-text h2 {
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.uvc-intro {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 1;
  color: #f0f9ff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.uvc-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.benefit-icon {
  font-size: 2rem;
  flex-shrink: 0;
  color: white;
}

.benefit-icon svg {
  fill: white;
  width: 32px;
  height: 32px;
}

.benefit-content h4 {
  color: #ecfdf5;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.benefit-content p {
  opacity: 1;
  margin: 0;
  color: #e0f2fe;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* UVC Visual */
.uvc-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.uvc-video {
  width: 100%;
  max-width: 750px;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
}

.uvc-diagram {
  width: 300px;
  height: 200px;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.wave {
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  margin: 0.5rem;
  animation: wave 2s ease-in-out infinite;
}

.wave:nth-child(2) {
  animation-delay: 0.2s;
}

.wave:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes wave {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.8;
  }
  50% {
    transform: scaleX(1.5);
    opacity: 1;
  }
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-header h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
}

.contact-subtitle {
  color: var(--text-secondary);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-content {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.contact-info {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.info-section {
  position: relative;
  padding-bottom: 2rem;
}

.info-section:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

.info-section h3 {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-details p {
  color: var(--text-primary);
  margin: 0;
  line-height: 1.7;
  font-size: 1.1rem;
  font-weight: 500;
}

.info-details p + p {
  margin-top: 0.5rem;
}

/* Contact Image */
.contact-image {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  height: 100%;
  align-self: stretch;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Contact Form */
.contact-form-wrapper {
  background: white;
  padding: 4rem;
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 800px;
  width: 100%;
}

.contact-form-wrapper h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fafafa;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
  transform: translateY(-1px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-group select {
  cursor: pointer;
}

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

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

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-image {
  height: 32px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

/* Contact Section Logo */
.contact-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
}

.contact-logo {
  height: 80px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.contact-tagline h4 {
  color: var(--primary-color);
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.contact-tagline p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-section {
  text-align: center;
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #9ca3af;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

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

.footer-section a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--primary-light);
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-links a {
  font-size: 1.5rem;
  transition: transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.social-links a:hover {
  transform: scale(1.1);
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: #9ca3af;
  transition: fill 0.2s ease;
}

.social-links a:hover svg {
  fill: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
  /* Tablet styles */
  .contact-content {
    display: flex;
    justify-content: center;
  }

  .contact-image {
    min-height: 350px;
  }

  .contact-image img {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  /* Logo responsive styling */
  .logo-image {
    height: 32px;
    max-width: 100px;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  /* Contact brand responsive */
  .contact-brand {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem;
  }

  .contact-logo {
    height: 36px;
    max-width: 90px;
  }

  /* Hide desktop navigation, show mobile toggle */
  .nav-menu {
    display: none;
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 2rem 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    margin: 0.5rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Hero responsive */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

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

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  /* Slideshow responsive */
  .slideshow-container {
    max-width: 100%;
    margin: 0 1rem;
  }

  .slideshow-wrapper {
    height: 350px;
  }

  .slide-overlay {
    padding: 1.5rem;
  }

  .slide-overlay h3 {
    font-size: 1.25rem;
  }

  .slide-overlay p {
    font-size: 0.875rem;
  }

  .slide-nav {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .slide-nav.prev {
    left: 10px;
  }

  .slide-nav.next {
    right: 10px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  /* Services responsive */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* UVC section responsive */
  .uvc-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  /* Contact responsive */
  .contact {
    padding: 4rem 0;
  }

  .contact-header h2 {
    font-size: 2rem;
  }

  .contact-subtitle {
    font-size: 1.125rem;
  }

  .contact-content {
    display: flex;
    justify-content: center;
  }

  .contact-form-wrapper {
    padding: 2.5rem;
    max-width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .info-grid {
    gap: 2rem;
  }

  .contact-image {
    min-height: 250px;
    height: auto;
  }

  .contact-image img {
    min-height: 250px;
  }

  /* Footer responsive */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  /* General spacing adjustments */
  .container {
    padding: 0 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .about-cards,
  .services-grid {
    gap: 1rem;
  }

  .about-card,
  .service-card {
    padding: 1.5rem;
  }

  /* Slideshow very small screens */
  .slideshow-wrapper {
    height: 300px;
  }

  .slide-overlay {
    padding: 1rem;
  }

  .slide-overlay h3 {
    font-size: 1.125rem;
  }
}

/* Lazy Loading Optimization */
img[loading="lazy"] {
  background-color: #f3f4f6;
  background-image: linear-gradient(
    90deg,
    #f3f4f6 0%,
    #e5e7eb 50%,
    #f3f4f6 100%
  );
  background-size: 200% 100%;
  animation: loading-placeholder 1.5s ease-in-out infinite;
}

img[loading="lazy"].loaded {
  background: none;
  animation: none;
}

@keyframes loading-placeholder {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Video lazy loading optimization */
video[preload="metadata"] {
  background-color: #1f2937;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8 5v14l11-7z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 48px 48px;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  img[loading="lazy"] {
    animation: none;
  }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .header,
  .nav-toggle,
  .hero-visual,
  .btn {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .hero,
  .about,
  .services,
  .uvc-info,
  .contact {
    padding: 1rem 0;
    break-inside: avoid;
  }
}
