* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #ffffff;
  color: #222;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

main {
  min-height: 70vh;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.narrow {
  max-width: 680px;
}

/* HEADER / NAV */

/* HEADER */

header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 100px;
  width: auto;
  display: block;
}

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

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;

  transition: color 0.2s ease;
}

nav a:hover {
  color: #0077cc;
}

nav a.active {
  color: #0077cc;
}
nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;

  width: 0%;
  height: 2px;

  background: #0077cc;
  transition: width 0.25s ease;
}

nav a:hover::after {
  width: 100%;
}

/* HERO */

.hero {
  position: relative;
  min-height: 80vh;
  background: url("../images/hero-image.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  color: #ffffff;
  animation: fadeUp 1s ease;
}

.hero-kicker {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.9;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero p {
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* BUTTON */

.btn {
  display: inline-block;
  background: #0077cc;
  color: #fff;
  padding: 13px 30px;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: #005fa3;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* HOME SERVICES */

.services {
  padding: 80px 0;
  text-align: center;
}

.services h2 {
  margin-bottom: 40px;
  font-size: 32px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 8px;
  background: #fafafa;
}

.service-card h3 {
  margin-bottom: 14px;
}

/* INNER PAGES */

.page-hero {
  background: #ffffff;
  padding: 18px 0 16px 0;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.page-hero h1 {
  font-size: 32px;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 16px;
  color: #555;
  margin: 0;
}

.page-section {
  padding: 70px 0;
}

.page-section h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  margin-top: 36px;
  color: #222;
}

.page-section h2 + p {
  margin-top: 4px;
}

/* remove extra spacing above the first heading */
.page-section h2:first-of-type {
  margin-top: 0;
}

.page-section p {
  font-size: 18px;
  line-height: 1.85;
  color: #444;
  margin-bottom: 26px;
}

.about-quote {
  margin: 48px -40px;
  padding: 30px 36px;
  border-left: 4px solid #0077cc;
  background: #f7f9fc;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 600;
  color: #1f2937;
}

/* PORTFOLIO */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.portfolio-card {
  border: 1px solid #eee;
  background: #fafafa;
  border-radius: 8px;
  padding: 30px;
}

.portfolio-card h3 {
  margin-bottom: 12px;
}

/* CONTACT FORM */

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

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 16px;
}

.contact-form textarea {
  resize: vertical;
}

/* FOOTER */

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 25px 0;
  margin-top: 40px;
}

/* RESPONSIVE */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 16px;
  }
  .about-quote {
  font-size: 20px;
  padding: 22px 20px;
}

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
  }

  .hero {
    padding: 90px 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .services,
  .page-section {
    padding: 50px 0;
  }

  
}