@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --primary-color: #003366;
  --secondary-color: #00bfff;
  --text-color: #ffffff;
  --background-color: #f5f7fa;
  --transition-speed: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--background-color);
  color: #333;
  font-size: 1.6rem;
  line-height: 1.6;
  padding-top: 90px; /* offset for fixed header */
  overflow-x: hidden;
}

/* ========================
   HEADER
======================== */
.header {
  background-color: var(--primary-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header .logo img {
  height: 50px;
  width: auto;
}

.header .navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header .navbar ul li a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.6rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all var(--transition-speed);
}

.header .navbar ul li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--secondary-color);
  text-decoration: none;
}

/* ========================
   PAYROLL INTRO
======================== */
.payroll-intro {
  background: #e6f2ff;
  padding: 7rem 2rem 5rem;
  text-align: center;
}

.payroll-intro h1 {
  font-size: 3.2rem;
  color: var(--primary-color);
  font-weight: 600;
}

.payroll-intro p {
  font-size: 1.6rem;
  color: #555;
  max-width: 800px;
  margin: 1rem auto 0;
}

/* ========================
   NAV BUTTON LINK
======================== */
nav.text-center.my-3 a.btn {
  background-color: var(--secondary-color);
  color: #fff;
  font-size: 1.6rem;
  padding: 1rem 2.5rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 2rem;
  display: inline-block;
  transition: background-color var(--transition-speed);
}

nav.text-center.my-3 a.btn:hover {
  background-color: #009acd;
}

/* ========================
   HERO SECTION
======================== */
.hero {
  background-color: var(--primary-color);
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.8rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ========================
   SERVICES
======================== */
.services {
  max-width: 1200px;
  margin: auto;
  padding: 4rem 2rem;
}

.services h2 {
  font-size: 2.8rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 3rem;
  text-align: center;
}

.service-box {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.service-box h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-box p {
  font-size: 1.4rem;
  color: #555;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
  }

  .header .navbar ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1rem;
  }

  .payroll-intro h1,
  .hero h1 {
    font-size: 2.4rem;
  }

  .payroll-intro p,
  .hero p {
    font-size: 1.4rem;
  }

  .services h2 {
    font-size: 2.2rem;
  }

  nav.text-center.my-3 a.btn {
    font-size: 1.4rem;
    padding: 0.8rem 2rem;
  }
}
