/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header */
header {
  background: #0d1b2a;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
header h1 {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links li a:hover {
  color: #00aaff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger div {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #0d1b2a, #1b263b);
  color: #fff;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}
.hero-content {
  max-width: 800px;
}
.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.hero-img {
  max-width: 100%;
  border-radius: 10px;
  margin-top: 15px;
}

/* Services */
.services {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}
.services h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #0d1b2a;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.card h3 {
  margin-bottom: 10px;
  color: #1b263b;
}

/* Section Images */
.section-img {
  max-width: 90%;
  border-radius: 10px;
  margin: 20px 0;
}

/* Footer */
footer {
  background: #0d1b2a;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* ✅ Responsive Fix */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #0d1b2a;
    border-radius: 5px;
    padding: 15px;
    width: 200px;
  }

  .nav-links.active {
    display: flex; /* show dropdown when active */
  }

  .hamburger {
    display: flex;
  }
}