*, *::after, *::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  color: #fff;
}

body {
  background-color: #000;
}

header {
  background: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

header .logo img {
  height: 50px;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: calc((10 / 16) * 1rem);
}

header a {
  transition: border-bottom 0.3s ease;
}

header a:hover {
  border-bottom: 2px solid #6469F9;
  border-radius: calc((5 / 16) * 1rem);
  color: #6469F9;
}

.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(backgroundmain.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center; 
  padding: calc((200 / 16) * 1rem) calc((100 / 16) * 1rem);
}


.hero-text {
  color: #fff;
  margin: calc((25 / 16) * 1rem) 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero h1 {
  font-size: calc((70 / 16) * 1rem);
}

.hero p {
  font-size: calc((25 / 16) * 1rem);
}

.hero a {
  color: #fff;
  text-decoration: none;
}

.hero-button {
  background-color: #000;
  padding: calc((15 / 16) * 1rem) calc((20 / 16) * 1rem);
  border-radius: calc((10 / 16) * 1rem);
  width: fit-content;
  transition: border-bottom 0.3s ease;
}

.hero-button:hover {
  border-bottom: 2px solid #6469F9;
}

section {
  margin: calc((200 / 16) * 1rem) 0;
}

section h2 {
  padding: calc((25 / 16) * 1rem);
  text-align: center;
  font-size: calc((50 / 16) * 1rem);
}

.row-1 {
  display: grid;
  grid-template-columns: repeat(3, minmax(400px, 450px));
  justify-content: space-evenly;
  gap: calc((25 / 16) * 1rem);
  padding: calc((25 / 16) * 1rem);
} 

.row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(400px, 450px));
  justify-content: space-around;
  gap: calc((25 / 16) * 1rem);
  padding: calc((25 / 16) * 1rem);
}

.service-card {
  background-color: #1D2228;
  padding: calc((25 / 16) * 1rem);
  border-radius: calc((10 / 16) * 1rem);
  max-width: calc((500 / 16) * 1rem);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: scale(1.1);
}

.services-container a {
  text-decoration: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: calc((10 / 16) * 1rem);

}

.card-image {
  aspect-ratio: 2 / 3;
  max-width: calc((300 / 16) * 1rem);
  width: 100%;
}

.card-image img {
  max-width: calc((200 / 16) * 1rem);
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc((10 / 16) * 1rem);
}

.card-text h3 {
  font-size: calc((20 / 16) * 1rem);
}
.card-text {
  display: flex;
  flex-direction: column;
  row-gap: calc((25 / 16) * 1rem);
}

#about {
  display: grid;
  place-content: center;
  padding: calc((25 / 16) * 1rem);
}

#about p {
  max-width: calc((1300 / 16) * 1rem);
  font-size: calc((25 / 16) * 1rem);
  line-height: calc((40 / 16) * 1rem);
}

#contact {
  background-color: #1D2228;
  border-radius: calc((10 / 16) * 1rem);
  margin: calc((100 / 16) * 1rem);
  padding: calc((120 / 16) * 1rem);
  padding-top: calc((40 / 16) * 1rem) ;
}

#contact form {
  display: flex;
  flex-direction: column;
  row-gap: calc((30 / 16) * 1rem);
}

#contact dev {
  display: flex;
  flex-direction: column;
}

#contact button {
  background-color: #000;
  width: fit-content;
  padding: calc((15 / 16) * 1rem) calc((20 / 16) * 1rem);
  border-radius: calc((10 / 16) * 1rem);
  transition: border-bottom 0.3s ease;
  font-size: calc((20 / 16) * 1rem);
  border: 1px solid #000
}

#contact button:hover {
  color: #6469F9;
  border-bottom: 2px solid #6469F9;
}

#contact label {
  margin: calc((20 / 16) * 1rem) 0;
  font-size: calc((20 / 16) * 1rem);
}

#contact input {
  height: calc((40 / 16) * 1rem);
  max-width: calc((400 / 16) * 1rem);
  border-radius: calc((7 / 16) * 1rem);
}

#contact textarea {
  border-radius: calc((7 / 16) * 1rem);
}

hr {
  padding: 0 calc((100 / 16) * 1rem);
  color: #80808080;
  width: 75%;
  text-align: center;
  align-self: center;
  margin: 0 auto;
}

footer {
  display: grid;
  place-content: center;
}

footer p {
  width: fit-content;
  padding: calc((20 / 16) * 1rem);
}

.audit-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(backgroundmain.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center; 
  padding: calc((200 / 16) * 1rem) calc((100 / 16) * 1rem);
}

.audit-hero h1 {
  font-size: calc((70 / 16) * 1rem);
}

.audit-hero p {
  font-size: calc((25 / 16) * 1rem);
}

.table {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.table-container {
  background-color: black;
  color: white;
  border: 2px solid white;
  border-radius: 15px; /* Adjust as needed */
  overflow: visible; /* Ensures smooth corners */
  background-clip: border-box; /* Ensures proper background rendering */
  padding: 0 calc((50 / 16) * 1rem);
}

.table-container li {
  font-size: calc((25 / 16) * 1rem);
  line-height: calc((100/ 16) * 1rem);
}

.importance {
  display: flex;
  padding: calc((100/ 16) * 1rem);
  gap: calc((100/ 16) * 1rem);
  background-color: #1D2228;
  margin: calc((100 / 16) * 1rem);
  border-radius: calc((10 / 16) * 1rem);
}

.importance h2 {
  text-align: left;
  padding: calc((25 / 16) * 1rem) 0;
}

.why-important {
  width: 50%;
}

.why-important p {
  font-size: calc((25 / 16) * 1rem);
}

.contact-button {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.contact-button a {
  padding: calc((25 / 16) * 1rem);
  border: #fff solid 2px;
  width: fit-content;
  text-decoration: none;
  border-radius: calc((10 / 16) * 1rem);
  font-size: calc((25 / 16) * 1rem);
  background-color: #000;
  border: 1px solid #000;
  transition: border-bottom 0.3s ease;
}

.contact-button a:hover {
  color: #6469F9;
  border-bottom: 2px solid #6469F9;
}

.training {
  margin: calc((100 / 16) * 1rem) 0;
}

@media (max-width: 1300px) {
  .row-1 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 450px));
  }

  .row-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 450px));
  }

  .importance {
    padding: calc((50/ 16) * 1rem);
  }
}
@media (max-width: 800px) {
  #contact {
    padding: calc((50 / 16) * 1rem);
  }

  .hero h1 {
    font-size: calc((50 / 16) * 1rem);
  }

  .importance {
    display: grid;
    margin: calc((50 / 16) * 1rem);
  }

  .importance h2 {
    font-size: calc((40 / 16) * 1rem);
  }

  .importance p {
    font-size: calc((20 / 16) * 1rem);
  }

  .why-important {
    width: 100%;
  }

  .contact-button {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: calc((35 / 16) * 1rem);
  }

  section h2 {
    font-size: calc((35 / 16) * 1rem);;
  }

  #contact {
    margin: calc((35 / 16) * 1rem);
  }
}

@media (max-width: 550px) {
  header nav ul {
    gap: 0;
  }

  header nav ul li a {
    font-size: calc((13 / 16) * 1rem);
  }

  header {
    padding: calc((10 / 16) * 1rem);
  }

  .hero {
    padding: calc((70/ 16) * 1rem);
  }

  #contact {
    padding: calc((35 / 16) * 1rem);
  }

  .importance {
    margin: calc((25 / 16) * 1rem);
    padding: calc((25 / 16) * 1rem);
    gap: calc((25 / 16) * 1rem);
  }

  .audit-hero h1 {
    font-size: calc((35 / 16) * 1rem);
  }
}
/* ==== Стилизация формы ==== */
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto;
  padding: 30px;
  background-color: #2a2f35;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

#contact-form label {
  font-weight: bold;
  margin-bottom: 5px;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: #3b4047;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #6469F9;
  box-shadow: 0 0 8px rgba(100, 105, 249, 0.5);
  background-color: #444950;
}

#contact-form button {
  background-color: #6469F9;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#contact-form button:hover {
  background-color: #4e52d3;
}

