/* Global Styles */
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

header {
  background-color: #002B5B;
  color: #fff;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

header nav a {
  color: #fff;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

header nav a:hover {
  text-decoration: underline;
}

.hero {
  /* Use a gradient background for hero sections. A custom image can be added by updating this rule. */
  background: linear-gradient(135deg, #004080, #007ACC);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
  color: #fff;
  position: relative;
}

/* Ensure hero videos cover the entire section and stay behind the overlay content */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero .overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  width: 100%;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background-color: #007ACC;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  margin: 0.5rem;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #005A99;
}

section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #002B5B;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid,
.projects-grid,
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #f7f9fb;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin-top: 0;
  color: #002B5B;
}

.card p {
  margin-bottom: 1rem;
}

.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.two-column .column {
  flex: 1;
  min-width: 250px;
}

.footer {
  background-color: #002B5B;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

.footer p {
  margin: 0.5rem 0;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  header nav a {
    margin: 0.5rem;
  }
  .two-column {
    flex-direction: column;
  }
}