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

html, body {
  font-family: 'Noto Sans', sans-serif;
  color: #000;
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100vw;
}

h1, h2, h3 {
  font-family: 'Lora', serif;
  font-weight: 700;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 1.5rem;
  }
}

.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  flex-wrap: wrap;
}

.site-header {
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-footer {
  background-color: #1E1E1E;
  color: white;
  border-top: 4px solid #2577b5;
  gap: 1rem;
}

.logo, .logo-footer { 
  font-size: 2rem; 
  font-family: 'Lora', serif;
  color: #2577b5;
}

.logo img {
    padding: .7rem;
    width: 17%;
    height: auto;
}

.logo-footer img {
    padding: .7rem;
    width: 17%;
    height: auto;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1f2c3a;
  z-index: 1100;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: #1f2c3a;
  font-size: 1.2rem;
  position: relative;
  padding: 0.8rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #2577b5;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #2577b5;
}

.site-footer .nav-links a {
  color: white;
  transition: color 0.3s ease;
}

.site-footer .nav-links a:hover {
  color: #2577b5;
}

/* phone Navigation */
@media (max-width: 767px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transition: max-height 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    max-height: 500px;
    padding: 1rem 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.75rem;
  }
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 400px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "Professional. Reliable. Straightforward.";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: 'Lora', serif;
  font-size: 2.5rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem 2rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.hero:hover::after {
  background: rgba(0, 0, 0, 0.6);
}

.about {
  padding: 4rem 2rem;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-content p {
  font-size: 1rem;
}

.about-content img {
  width: 100%;
  max-width: 525px;
  max-height: 375px;
  border-radius: 5px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content img:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (min-width: 992px) {
  .about-content {
    flex-direction: row;
    align-items: center;
  }

  .about-content p {
    font-size: 1.5rem;
  }
}

.services {
  padding: 4rem 2rem;
  background-color: #f4f4f4;
  text-align: center;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.service {
  flex: 1;
  background-color: #2577b5;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.service img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
  display: block;
}

.service:hover {
  background-color: #1f2c3a;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
  .service-grid {
    flex-direction: row;
  }

  .service {
    max-width: calc(33.333% - 1rem);
  }
}

.testimonials {
  padding: 2rem;
  background-color: #1f2c3a;
  color: white;
  text-align: center;
}

.testimonial-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial {
  background-color: rgba(255,255,255,0.1);
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 400px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
  background-color: rgba(255,255,255,0.15);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.testimonial img {
  width: 100%;
  max-width: 300px;
  max-height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #2577b5;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.testimonial:hover img {
  border-color: white;
  transform: scale(1.05);
}

.testimonial .author {
  font-weight: 300;
  font-style: italic;
}

@media (min-width: 768px) {
  .testimonial-grid {
    flex-direction: row;
  }

  .testimonial {
    flex: 1;
  }
}

.center-button {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.main-button {
  background-color: #2577b5;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 2rem;
  border: 2px solid transparent;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.main-button:hover {
  background-color: #1f2c3a;
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.menu-close {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #1f2c3a;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 110;
}

.nav-links.active + .menu-close {
  display: block;
}

.menu-toggle.hidden {
  display: none;
}