/* Titans IT Tech simple site styles */

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, sans-serif;
  color: #042E55;
  line-height: 1.6;
  background-color: #ffffff;
}

/* navigation bar */
header.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.5rem;
  background-color: #ffffff;
  border-bottom: 2px solid #e6f2fb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .logo img {
  height: 50px;
  width: auto;
}

.navbar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

.navbar nav a {
  text-decoration: none;
  color: #042E55;
  font-weight: 600;
  transition: color 0.2s ease;
}

.navbar nav a:hover {
  color: #0197f2;
}

/* hero section */
.hero {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #042E55;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/hero.png");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: grayscale(100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background-color: #0197f2;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: #0078c4;
}

.btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #0197f2;
  padding: 0.75rem 1.5rem;
  border: 2px solid #0197f2;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  background-color: #0197f2;
  color: #ffffff;
}

/* sections */
section {
  padding: 3rem 1.5rem;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #042E55;
}

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

.card {
  background-color: #f7fbfe;
  border: 1px solid #e6f2fb;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: #0197f2;
}

.card:hover {
  transform: translateY(-4px);
}

.about-content, .services-list {
  max-width: 800px;
  margin: 0 auto;
}

/* footer */
footer {
  background-color: #042E55;
  color: #ffffff;
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
}

footer .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-content p {
    font-size: 1.25rem;
  }
}