/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f6f8;
  color: #0a1f44;
  padding-top: 80px;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #003f63;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}
.navbar .logo img {
  height: 50px;
}
.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.navbar .nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}
.navbar .nav-links a:hover,
.navbar .nav-links .active {
  color: #00b1f2;
}

/* Hero Section */
.services-hero {
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.services-hero .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 12px;
}
.services-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.services-hero p {
  font-size: 1.3rem;
}

/* Services Section */
.services-section {
  padding: 80px 40px;
  background-color: #ffffff;
  text-align: center;
}
.services-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.services-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.service-card {
  background: #f9fbff;
  border-radius: 16px;
  padding: 20px;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 123, 255, 0.1);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 20px rgba(0, 123, 255, 0.2);
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}
.service-card h3 {
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 1rem;
  color: #555;
}

/* Call to Action */
.cta {
  background: #003f63;
  color: white;
  text-align: center;
  padding: 60px 20px;
}
.cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.cta-btn {
  background-color: #00b1f2;
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.cta-btn:hover {
  background-color: #008dcf;
}

/* Scroll-to-top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 1000;
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
  transition: background 0.3s, transform 0.3s;
}
.scroll-to-top:hover {
  background: #0056b3;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
    align-items: center;
  }
}
