/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

img {
  max-width: 100%;
}

a {
  color: #8e0202;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.anchor {
  position: relative;
  top: -220px;
}

/* Logo */
#svg-tagline {
  display: none;
}

#svg-text {
  transform: translateY(20px);
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
}

.header-up {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}

.logo {
  display: flex;
}

.logo a {
  flex: 0 1 0;
  display: flex;
  font-weight: normal;
}

.logo svg {
  height: 50px;
  min-width: 285px;
  max-width: 100%;
}

.tagline {
  font-family: "TeXGyreAdventor";
  font-weight: normal;
  font-size: 0.8rem;
  text-align: center;
  color: #1f5a8a;
}

nav ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

nav li {
  display: inline-block;
}

nav a {
  display: flex;
  font-weight: 600;
  padding: 0.5rem 0.5rem;
  line-height: 1;
  border-radius: 4px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #f0f0f0;
  text-decoration: none;
}

.contact-header {
  display: none;
}

.phone-number {
  font-size: 1rem;
  font-weight: bold;
  color: #8e0202;
  display: inline-block;
  height: 24px;
  margin-right: 1rem;
}

.social-links {
  flex: 0 0 auto;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-links a {
  display: flex;
}

.banner {
  padding: 12rem 0 ;
}

/* Hero section */
.hero {
  /*color: white;*/
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  display: inline-block;
  background-color: #8e0202;
  color: white;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #a60303;
  text-decoration: none;
}

.btn-secondary {
  background-color: #333;
}

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

.cta-buttons .btn {
  width: 85%;
}

/* Sections */
section {
  padding: 2rem 1rem;
}

.section-title {
  font-size: 1.8rem;
  color: #8e0202;
  margin-bottom: 2rem;
  text-align: center;
}

/* Services */
.services-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
}

.service-card {
  flex: 1 1 auto;
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
  color: #8e0202;
  margin-bottom: 1rem;
}

/* Why choose us */
.benefits {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
}

.benefit-item {
  flex: 1 1 auto;
  background-color: white;
  padding: 1.5rem;
  border-left: 4px solid #8e0202;
}

/* Areas */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.area-tag {
  background-color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

/* Process */
.process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: #8e0202;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 1rem;
}

/* Team */
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.team-card img {
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-info h3 {
  margin-bottom: 1rem;
}

/* Contact */
.contact-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-info {
  flex: 1 1 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
}

.contact-info h3 {
  color: #8e0202;
  margin-bottom: 0.5rem;
}

.contact-info ul {
  list-style: none;
}

.contact-info li {
  margin-bottom: 0.25rem;
  /*display: flex;*/
  /*align-items: center;*/
}

.contact-info li i {
  margin-right: 1rem;
  color: #8e0202;
}

.contact-info .btn {
  width: 100%;
  text-align: center;
}

.socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0 2rem;
  margin-top: 1rem;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 3rem 1rem;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: white;
}

.copyright {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #aaa;
}

.copyright a {
  color: #aaa;
}

/* Responsive */
@media (min-width: 600px) {
  .banner {
    padding: 14rem 0 ;
  }

  .header-container {
    gap: 1.5rem;
  }

  .header-up {
    flex-direction: row;
  }

  .logo svg {
    height: 60px;
    min-width: 460px;
    max-width: 100%;
  }

  #svg-tagline {
    display: unset;
  }

  #svg-text {
    transform: unset;
  }

  .tagline {
    display: none;
  }

  .contact-header {
    display: flex;
    align-items: center;
  }

  .phone-number {
    display: none;
  }

  nav ul {
    gap: 0.5rem;
  }

  nav a {
    padding: 0.5rem 0.5rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .btn {
    font-size: 1rem;
  }

  .cta-buttons {
    gap: 2rem;
  }

  .cta-buttons .btn {
    width: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  section {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
  }

  .service-card {
    flex: 1 1 33%;
  }

  .benefit-item {
    flex: 1 1 33%;
  }

  .contact-info {
    flex: 1 1 50%;
  }

  .footer-links {
    flex-direction: row;
    gap: 2rem;
  }
}

@media (min-width: 677px) {
  .anchor {
    top: -170px;
  }
}

@media (min-width: 1000px) {
  .anchor {
    top: -200px;
  }

  .banner {
    padding: 16rem 0 ;
  }

  .header-container {
    gap: 2rem;
  }

  .logo svg {
    height: 70px;
    min-width: 530px;
    max-width: 100%;
  }

  .phone-number {
    display: inline-block;
  }

  nav ul {
    gap: 1.5rem;
  }

  nav a {
    padding: 0.75rem 1rem;
  }

  .hero {
    padding: 4rem 1rem 2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .benefit-item {
    flex: 1 1 25%;
  }

  .contact-info {
    flex: 1 1 33%;
  }

  .footer-links {
    flex-direction: row;
    gap: 2rem;
  }
}
