.logo .image,
.logo .text {
float: left;
}
.logo .image img {
	max-width: 70px;
	margin-right: 10px;
}
.logo .text {
	float: left;
	margin-top: 5px;
}

html {
scroll-behavior: smooth;
}

body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #343a40;
}

.header {
width: 95%;
  height: 70px;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: table;
  background-color: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  padding: 0 15px;
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.5rem;
  color: #343a40;
  min-width: 475px;
}

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

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #343a40;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #007bff;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #343a40;
  margin: 5px;
  transition: all 0.3s ease;
}

main {
  padding: 2rem;
}

section {
  padding: 3rem 0;
  text-align: center;
}

.service-section {
    background-color: #ffffff;
    padding: 2rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}


#hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
}


.hero-content {
    text-align: left;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    margin-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}



.service-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
}


.service-card {
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    width: 300px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.service-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.service-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
    color: #007bff;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  color: #6c757d;
}

#contact {
  background-color: #e9ecef;
  padding: 3rem 2rem;
}

#contact h2 {
  margin-bottom: 1rem;
}

#contact p {
  margin-bottom: 2rem;
}

#contact form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
}

.error-message {
  color: #dc3545;
  font-size: 0.8rem;
  margin-bottom: 10px;
  text-align: left;
}

.captcha-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.captcha-container label {
  margin-bottom: 0.5rem;
  text-align: left;
}

#contact input,
#contact textarea {
  margin-bottom: 0.5rem;
  padding: 0.8rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

#contact textarea {
    resize: vertical;
}

.btn {
  background-color: #007bff;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn:hover {
  background-color: #0056b3;
}

footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #343a40;
  color: white;
}

.service-description {
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
  color: #6c757d;
  line-height: 1.6;
  padding: 0 15px;
}

.details-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.details-container.active {
  opacity: 1;
  max-height: 500px; 
}

@media screen and (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0px;
    top: 60px;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .burger {
    display: block;
  }

  .nav-active {
    transform: translateX(0%);
  }
  
  .hero-content {
      text-align: center;
  }
  
  #hero {
    flex-direction: column;
  }
  
  .hero-image {
      margin-left: 0;
      margin-top: 20px;
  }
}