* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  background-color: #fff;
}

body {
  overflow-x: hidden;
}

nav {
  margin-left: none;
  margin-right: none;
}

/*-------------------*/
/*KONTAKT-HERO*/
/*-------------------*/

.kontakt-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 50px;
  margin-bottom: 108px;
  margin-left: 108px;
  margin-right: 108px;
}

.kontakt-hero h1 {
  font-size: 54px;
}

.kon-text {
  font-size: 18px;
  color: #4e4e4e;
  max-width: 600px;
}

.head-head {
  display: flex;
  flex-direction: row;
  gap: 4px;
  font-size: 18px;
}

.head2 {
  color: #b62f3b;
}
.kont-line {
  height: 3px;
  width: 65px;
  background-color: #b62f3b;
}

.kontakt-card {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}

.kontakt-card h1 {
  color: #111;
}
.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}
/*-------------------*/
/*KONTAKT FORMULÄR-INFO*/
/*-------------------*/

.main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
  margin-left: 108px;
  margin-right: 108px;
}

.main h2 {
  font-size: 2em;
}
form {
  background-color: #b62f3b;
  padding: 40px;
  border-radius: 8px;
}
.left-kontakt,
.formulär {
  max-width: 700px;
  min-width: 700px;
}

.formulär h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 10px;
}

.formulär p {
  color: #bdbdbd;
  margin-bottom: 35px;
  line-height: 1.6;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
  background: #b62f3b;
  background-color: #b62f3b;
}

.form-group label {
  color: #e4e4e4;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  background-color: #b62f3b;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 14px 16px;
  color: #111;
  font-size: 0.95rem;
  transition: 0.25s;
  outline: none;
  box-sizing: border-box;
}

.form-group input {
  height: 52px;
}

.form-group textarea {
  resize: vertical;
  min-height: 170px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #d71920;
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.15);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 30px 0;
  background-color: #b62f3b;
}

.checkbox input {
  margin-top: 4px;
  accent-color: #d71920;
}

.checkbox label {
  color: #bdbdbd;
  line-height: 1.5;
  font-size: 0.9rem;
  background-color: #b62f3b;
}

button {
  width: 100%;
  height: 55px;
  border: none;
  border-radius: 8px;
  background: #d71920;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

button:hover {
  background: #f02028;
}

/*-------------------*/
/*NAVIGATION*/
/*-------------------*/

.logo {
  height: 108px;
  width: auto;
  display: block;
  object-fit: contain;

  margin-left: 12px;
  padding: 0;
}

nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-link {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.link {
  text-decoration: none;
  color: #3d3d3d;
  font-size: 18px;
  position: relative;
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #b62f3b;
  transition: 0.3s;
}

.link:hover::after {
  width: 100%;
}

.link:hover {
  transition: 0.3s ease;
  transform: scale(1.04);
  color: #b62f3b;
}

.link-tjänst {
  margin-bottom: 24px;
}
#tjänster {
  scroll-margin-top: 120px; /* Anpassa efter navbarens höjd */
}
.dropdown {
  position: relative;
  display: inline-block;
  border-radius: 12px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  /*padding: 12px 16px;*/
  border-radius: 0 0 12px 12px;
  /*border: 1px solid rgba(182, 47, 59, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);*/
  z-index: 1001;
  white-space: nowrap;
  min-width: 220px;
  text-align: left;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dropdown:hover .dropdown-toggle::after,
.dropdown:focus-within .dropdown-toggle::after {
  width: 100%;
}

.dropdown:hover .dropdown-toggle,
.dropdown:focus-within .dropdown-toggle {
  color: #b62f3b;
}

.dropdown-item {
  color: #4e4e4e;
  font-size: 18px;
  text-decoration: none;
  padding: 4px 0;
  display: block;
}

.drop1 {
  margin-top: 12px;
}

.dropdown-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #b62f3b;
  transition: 0.3s;
}

.dropdown-item:hover {
  color: #b62f3b;
  transform: scale(1.04);
  transition: 0.3s ease;
}

.dropdown:hover > .dropdown-toggle {
  color: #b62f3b;
}

.button {
  border-radius: 12px;
  padding: 6px;
  padding-left: 16px;
  padding-right: 16px;
  background-color: #b62f3b;
  color: #fff;
  border: none;
  font-size: 18px;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.contact-btn {
  display: flex;
  flex-direction: row;
  justify-content: end;
  margin-right: 48px;
  text-decoration: none;
}

.button:hover {
  background-color: #a42a35;
  transition: transform 0.3s ease;
  transform: scale(1.04);
}

footer {
  margin-top: 108px;
}

.footer-cl {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 50px;
}

.logo-footer {
  height: auto;
  width: 240px;
  display: block;
  object-fit: contain;

  margin-left: 12px;
  padding: 0;
}

.link-foot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.footer-heading {
  font-size: 20px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.footer-link {
  text-decoration: none;
  color: #3d3d3d;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.link-te {
  color: #b62f3b;
  text-decoration: underline;
}

.footer-link:hover {
  transform: scale(1.089);
  color: #b62f3b;
}

.hero-footer {
  gap: 16px;
}

.footer-text {
  max-width: 280px;
  line-height: 1.6;
  color: #555;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  justify-self: center;
}

.social-icon {
  font-size: 24px;
  color: #b62f3b;
  transition: transform 0.3s ease;
}

.kontakt-icon {
  font-size: 18px;
  color: #b62f3b;
  transition: transform 0.3s ease;
}
