:root {
  --color-black: #0a0a0a;
  --color-black-soft: #111827;
  --color-blue: #2ba4f0;
  --color-blue-dark: #1e7fc4;
  --color-gold: #c9a227;
  --color-gold-light: #e8c547;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-white: #ffffff;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-gray-700);
  line-height: 1.6;
  background: var(--color-white);
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(43, 164, 240, 0.2);
  border-top-color: var(--color-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-black-soft);
  z-index: 999;
  padding: 1rem 0;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-white);
}

.header-logo .logo {
  height: 40px;
  width: auto;
}

.company-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-white);
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: 0.3s;
}

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

.nav-list a {
  color: var(--color-gray-300);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

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

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

.section-dark {
  background: var(--color-black-soft);
  color: var(--color-white);
}

.section-light {
  background: var(--color-gray-50);
  color: var(--color-gray-700);
}

.section-accent {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
  color: var(--color-white);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0.9;
}

/* Hero */
.hero {
  text-align: center;
  padding: 6rem 0;
}

.hero-eyebrow {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.hero-tagline {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--color-blue-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-blue);
}

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

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

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.highlight-card {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--color-blue);
}

.highlight-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-blue);
}

.highlight-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-legal {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.legal-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.legal-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gray-500);
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.legal-value {
  font-size: 0.95rem;
  color: var(--color-gray-700);
  line-height: 1.5;
}

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

.service-card {
  background: var(--color-black);
  padding: 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(43, 164, 240, 0.2);
}

.service-card:hover {
  border-color: var(--color-blue);
  transform: translateY(-4px);
}

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

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-blue);
}

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

.service-card li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-card li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--color-gold);
}

/* Projects */
.projects-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.project-stat {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.project-stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 0.5rem;
}

.project-stat-label {
  font-size: 0.95rem;
  color: var(--color-gray-500);
  font-weight: 600;
}

.table-responsive {
  overflow-x: auto;
  border-radius: 0.5rem;
}

.projects-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: 0.5rem;
  overflow: hidden;
}

.projects-table thead {
  background: var(--color-black-soft);
  color: var(--color-white);
}

.projects-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
}

.projects-table td {
  padding: 1rem;
  border-top: 1px solid var(--color-gray-200);
  font-size: 0.95rem;
}

.projects-table tbody tr:hover {
  background: var(--color-gray-50);
}

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.client-card {
  background: var(--color-black);
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  border: 1px solid rgba(43, 164, 240, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.client-card:hover {
  border-color: var(--color-blue);
  background: rgba(43, 164, 240, 0.05);
}

.client-card p {
  color: var(--color-white);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
}

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

.gallery-item {
  background: var(--color-white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  width: 100%;
  height: 200px;
  background: var(--color-gray-100);
  object-fit: cover;
}

.gallery-title {
  padding: 1rem;
  font-weight: 600;
  color: var(--color-gray-700);
}

/* Sample Reports */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.report-card {
  background: var(--color-black);
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(43, 164, 240, 0.2);
  transition: all 0.3s ease;
}

.report-card:hover {
  border-color: var(--color-blue);
  transform: translateY(-4px);
}

.report-image {
  width: 100%;
  height: 250px;
  background: var(--color-gray-200);
  object-fit: cover;
}

.report-content {
  padding: 1.5rem;
}

.report-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 0.75rem;
}

.report-desc {
  font-size: 0.95rem;
  color: var(--color-gray-300);
  line-height: 1.5;
}

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

.equipment-section {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.equipment-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-blue);
}

.equipment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-gray-200);
}

.equipment-item:last-child {
  border-bottom: none;
}

.equipment-name {
  font-weight: 500;
  color: var(--color-gray-700);
}

.equipment-qty {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.key-person {
  background: linear-gradient(135deg, rgba(43, 164, 240, 0.1), rgba(201, 162, 39, 0.1));
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 1.5rem;
  border-left: 4px solid var(--color-gold);
}

.key-person h4 {
  font-size: 1.1rem;
  color: var(--color-blue);
  margin-bottom: 0.5rem;
}

.key-person p {
  font-size: 0.9rem;
  margin: 0.25rem 0;
  color: var(--color-gray-700);
}

/* Why Us */
.why-us-headline {
  font-size: 1.3rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  opacity: 0.95;
}

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

.strength-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--color-gold-light);
  display: flex;
  gap: 1rem;
}

.strength-item:before {
  content: "✓";
  font-size: 1.5rem;
  color: var(--color-gold-light);
  font-weight: bold;
  flex-shrink: 0;
}

.strength-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.why-us-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.contact-item {
  display: flex;
  gap: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--color-blue);
  flex-shrink: 0;
}

.contact-details h3 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-details p {
  font-size: 0.95rem;
  color: var(--color-gray-300);
  line-height: 1.5;
}

.contact-details a {
  color: var(--color-blue);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-map {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

.contact-form-container {
  background: var(--color-black);
  padding: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(43, 164, 240, 0.2);
}

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

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

.form-group label {
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--color-gray-600);
  border-radius: 0.375rem;
  background: var(--color-black-soft);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(43, 164, 240, 0.1);
}

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

/* Footer */
.footer {
  background: var(--color-black);
  color: var(--color-gray-300);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(43, 164, 240, 0.2);
  font-size: 0.9rem;
}

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--color-black-soft);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-list.active {
    max-height: 400px;
  }

  .nav-list li {
    padding: 0.75rem 1rem;
  }

  body {
    padding-top: 60px;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    padding: 3rem 0;
  }

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

  .section-title {
    font-size: 2rem;
  }

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

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

  .contact-map iframe {
    min-height: 300px;
  }

  .projects-table {
    font-size: 0.85rem;
  }

  .projects-table th,
  .projects-table td {
    padding: 0.75rem 0.5rem;
  }
}

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

  .section-title {
    font-size: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .services-grid,
  .clients-grid,
  .gallery-grid,
  .reports-grid {
    grid-template-columns: 1fr;
  }

  .projects-summary {
    grid-template-columns: 1fr;
  }
}