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

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #0c1d2f; /* deep navy background */
  color: #ffffff;
  line-height: 1.6;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: rgba(12, 29, 47, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

nav .logo img {
  height: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #a5c6f6;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffffff;
}

/* Mobile navigation toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: #a5c6f6;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* overlay gradient over background image */
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.9)
    ),
    url("assets/bg-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero img.logo {
  width: 150px;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 30px;
  color: #c5d6f0;
}

.cta-btn {
  padding: 12px 30px;
  background-color: #0066cc;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #008fff;
}

/* Sections */
section {
  padding: 80px 20px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: center;
}

.section-subtitle {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #c5d6f0;
  text-align: center;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d1dbea;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: #112340;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.service-card .icon {
  width: 50px;
  margin-bottom: 20px;
  /* colorize monochrome SVG icons to match the primary palette */
  filter: invert(56%) sepia(94%) saturate(2682%) hue-rotate(190deg) brightness(98%) contrast(93%);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.service-card p {
  font-size: 0.95rem;
  color: #c5d6f0;
}

/* Contact */
.contact-section {
  background-color: #0a1831;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 280px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 10px;
  color: #c5d6f0;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-radius: 4px;
  background-color: #112340;
  color: #ffffff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7f8fa7;
}

.contact-form button {
  padding: 12px;
  background-color: #0066cc;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #008fff;
}

/* Footer */
footer {
  background-color: #091425;
  color: #7f8fa7;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(12, 29, 47, 0.95);
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
  }

  nav ul.open {
    max-height: 300px;
  }

  .nav-toggle {
    display: flex;
  }
}