
:root {
  --primary: #2f5b9c;
  --primary-dark: #1f3f6d;
  --background: #f5f7fa;
  --text: #1f2933;
  --muted: #5f6c7b;
  --border: #d8e1ea;
  --white: #ffffff;
  --footer: #10233c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

nav a,
footer a,
.btn {
  transition: 0.2s ease;
}

.container {
  width: min(1150px, 92%);
  margin: 0 auto;
}

header {
  background: rgba(5, 8, 15, 0.96);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.logo img {
  height: 62px;
}

.logo-text .main {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.logo-text .sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

nav {
  display: flex;
  gap: 2.75rem;
  align-items: center;
}

nav a {
  color: rgba(255,255,255,0.88);
  font-weight: 600;
}

nav a:hover {
  color: white;
}

.hero {
  position: relative;
  padding: 6rem 0;
  background:
    linear-gradient(
      rgba(5,8,15,0.70),
      rgba(5,8,15,0.78)
    ),
    url('images/confined-space.jpg') center top / cover no-repeat;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.9rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: #c9dbff;
  max-width: 700px;
}

.hero p {
  font-size: 1.15rem;
  color: #d7dde6;
  max-width: 700px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.95rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  transition: 0.2s ease;
}

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

.primary:hover {
  background: var(--primary-dark);
}

.secondary {
  border: 2px solid rgba(120, 160, 230, 0.9);
  color: rgba(190, 210, 255, 0.95);
}

.secondary:hover {
  background: rgba(70, 110, 190, 0.22);
  border-color: rgba(150, 190, 255, 1);
  color: white;
}

.hero-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

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

.hero-card ul {
  padding-left: 1.25rem;
}

.hero-card li {
  margin-bottom: 0.75rem;
}

.section {
  padding: 5rem 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-dark);
}

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

.service {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
}

.service h4 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service p {
  color: var(--muted);
}

.alt {
  background: white;
}

.industry-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.industry-tags {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.industry-tags span {
  background: #e6eef8;
  color: var(--primary-dark);
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
}

.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.about p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 1050px;
}
footer {
  background: var(--footer);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: start;
}

.footer-grid > div:nth-child(1) {
  text-align: left;
}

.footer-grid > div:nth-child(2) {
  text-align: center;
}

.footer-grid > div:nth-child(3) {
  text-align: right;
}

footer h4 {
  margin-bottom: 1rem;
}

footer p {
  color: rgba(255,255,255,0.8);
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {

  nav {
    display: none;
  }

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

  .hero {
    padding: 4rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .footer-grid > div:nth-child(1),
  .footer-grid > div:nth-child(2),
  .footer-grid > div:nth-child(3) {
    text-align: left;
  }

  footer a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

}