/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #1a1a1a;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #ffffff;
  padding: 4px 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  max-height: 75px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: bold;
  color: #1a1a1a;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0073e6;
}

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #f5f5f5 100%);
  z-index: 2;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}

.video-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-content {
  z-index: 3;
  padding: 2rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.hero-button {
  background-color: #0073e6;
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s;
  display: inline-block;
}

.hero-button:hover {
  background-color: #005bb5;
}

/* Services Section */
.services-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.service-card {
  background-size: cover;
  background-position: center;
  color: white;
  border-radius: 12px;
  padding: 40px;
  height: 600px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  z-index: 0;
}

.service-card h3,
.service-card a {
  position: relative;
  z-index: 1;
}

.service-card a {
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  background-color: rgba(0, 115, 230, 0.8);
  padding: 8px 16px;
  border-radius: 4px;
  margin-top: 10px;
}

.service-card a:hover {
  background-color: rgba(0, 91, 181, 0.8);
}

.emergency-bg { background-image: url('NG marketing.png'); }
.power-bg     { background-image: url('ngc.png'); }
.logistics-bg { background-image: url('ngd.png'); }
.tech-bg      { background-image: url('ngboat.png'); }

/* CTA Section */
.cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 0;
}

/* About Section */
.flat-about {
  background: white;
  padding: 60px 20px;
  text-align: center;
}

/* Footer */
footer {
  background-color: #f8f8f8;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
  color: #777;
}

/* Mobile Nav */
.menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

/* Responsive: Mobile Only */
@media (max-width: 768px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 10px;
  }

  .service-card {
    padding: 20px;
    height: 300px;
  }

  .cta .container {
    padding: 40px 20px;
  }

  .hero {
    height: 400px;
    padding: 60px 10px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  footer {
    padding: 20px 10px;
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .site-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 4px 10px;
    text-align: left;
  }

  .logo {
    max-height: 60px;
    margin-bottom: 0;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
    background-color: #0073e6;
    color: white;
    padding: 8px 16px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    background-color: white;
    border-top: 1px solid #eee;
    padding: 10px 15px;
  }

  .mobile-menu a {
    padding: 10px 0;
    text-decoration: none;
    font-weight: bold;
    color: #1a1a1a;
    border-bottom: 1px solid #eee;
  }

  .mobile-menu a:hover,
  .mobile-menu a.active {
    color: #0073e6;
  }

  .mobile-menu.active {
    display: flex;
  }
}
