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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(90%, 1200px);
  margin: 0 auto;
}

/* Navigation bar */
/* Navigation bar */
.navbar {
  background-color: #ffffff;
  color: #111;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.logo img {
  height: 50px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-weight: 500;
}

/* Navigation menu */
.nav-menu li a {
  color: #111;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: #d22730; /* brand red */
}

/* Mobile navigation */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #d22730;
  transition: transform 0.3s ease;
}

.nav-toggle-label span::before {
  content: '';
  transform: translateY(-8px);
}

.nav-toggle-label span::after {
  content: '';
  transform: translateY(8px);
}

/* Hero section */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

/* Dark overlay on hero */
.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

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

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #d22730;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background-color: #b41c24;
}

.btn.secondary {
  background-color: transparent;
  border: 2px solid #d22730;
  color: #d22730;
}

.btn.secondary:hover {
  background-color: #d22730;
  color: #fff;
}

/* Services section */
.services {
  padding: 4rem 0 2rem;
  background-color: #fff;
  text-align: center;
}

 .services h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #d22730;
 }

.services .subtitle {
  color: #555;
  margin-bottom: 2rem;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  background-color: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  max-width: 330px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

 .card h3 {
  font-size: 1.25rem;
  margin: 1rem 1rem 0.5rem;
  color: #d22730;
 }

.card p {
  padding: 0 1rem 1.5rem;
  flex-grow: 1;
  color: #555;
  font-size: 0.95rem;
}

/* About section */
.about {
  padding: 4rem 0;
  background-color: #fff;
  color: #333;
}

 .about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #d22730;
  text-align: center;
 }

.about p {
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  color: #444;
}

/* Customers section */
.customers {
  padding: 4rem 0;
  background-color: #f5f5f5;
  text-align: center;
}

 .customers h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #d22730;
 }

.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.logos img {
  width: 140px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 0.3s, opacity 0.3s;
}

.logos img:hover {
  filter: none;
  opacity: 1;
}

/* Call to action */
/* Contact call to action */
.contact-cta {
  background-color: #d22730;
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.contact-cta h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.contact-cta p {
  margin-bottom: 1.5rem;
  color: #f5f5f5;
}

.contact-cta .btn {
  background-color: #fff;
  color: #d22730;
  border: 2px solid #fff;
}

.contact-cta .btn:hover {
  background-color: #d22730;
  color: #fff;
  border-color: #fff;
}

/* Footer */
footer {
  background-color: #111;
  color: #fff;
  padding: 1.5rem 0;
  text-align: center;
}

 .footer-content a {
  color: #d22730;
  transition: color 0.3s;
 }

 .footer-content a:hover {
  color: #fff;
 }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
  padding-bottom: 2rem;
}

.page-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin: 0;
  color: #fff;
}

/* Page content section */
.page-content {
  padding: 3rem 0;
  background-color: #fff;
}

 .page-content h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #d22730;
 }

.page-content p {
  margin-bottom: 1rem;
  color: #444;
  line-height: 1.7;
}

.bullet-list {
  list-style: none;
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.bullet-list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 0;
  color: #ed8b00;
  font-size: 1.25rem;
  line-height: 1;
}

/* Contact page */
.contact-page {
  padding: 4rem 0;
  background-color: #fff;
}

.contact-page h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #d22730;
}

.intro-text {
  text-align: center;
  margin-bottom: 2rem;
  color: #555;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #0a2940;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ed8b00;
}

button[type='submit'] {
  background-color: #ed8b00;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

button[type='submit']:hover {
  background-color: #c76f00;
}

#form-success {
  text-align: center;
  margin-top: 1.5rem;
  color: #111;
  font-weight: 500;
}

.hidden {
  display: none;
}

/* Contact form on home page */
.contact-form-section {
  padding: 4rem 0;
  background-color: #fff;
  color: #333;
}

.contact-form-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #d22730;
}

.contact-form-section .subtitle {
  text-align: center;
  margin-bottom: 2rem;
  color: #555;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-section form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-section #home-form-success {
  text-align: center;
  margin-top: 1.5rem;
  color: #0a2940;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: #ffffff;
    border-left: 1px solid #eee;
    flex-direction: column;
    padding-top: 4rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-menu li {
    margin: 1.5rem 0;
    text-align: center;
  }

  .nav-toggle-label {
    display: block;
  }

  /* Show menu when checkbox checked */
  .nav-toggle:checked ~ .nav-menu {
    transform: translateX(0);
  }
}