* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  background-color: #fff;
}

body {
  overflow-x: hidden;
}

/*-------------------*/
/*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);
}

/*-------------------*/
/*OM OSS HERO*/
/*-------------------*/

.omoss-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-left: 108px;
  margin-top: 50px;
  margin-bottom: 108px;
}

.left-hero {
  display: flex;
  flex-direction: column;
}

.under-heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  margin-bottom: 36px;
}

.under-heading2 {
  color: #b62f3b;
}

.heading {
  font-size: 54px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
}
.heading2 {
  font-size: 54px;
  color: #b62f3b;
}
.heading1 {
  font-size: 54px;
}
.hero-text-omoss {
  line-height: 1.3;
  max-width: 600px;
  font-size: 16px;
  margin-bottom: 22px;
  color: #4e4e4e;
}

.head-head {
  margin-bottom: 36px;
  font-size: 36px;
  margin-top: 36px;
}

.hero-line {
  height: 3px;
  width: 60px;
  background-color: #b62f3b;
}

.omoss-bild {
  position: relative;
  width: 100%;
  height: 600px;
  object-fit: cover;
  overflow: hidden;
  border-radius: 16px 0 0 16px;
}
.hero-button {
  border-radius: 12px;
  padding: 12px;
  padding-left: 24px;
  padding-right: 24px;
  background-color: #b62f3b;
  color: #fff;
  border: none;
  font-size: 18px;
  transition: transform 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}
/*-------------------*/
/*OM OSS CARDS*/
/*-------------------*/

.omoss-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-left: 108px;
  margin-right: 108px;
}

.omoss-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  text-align: start;
  background: white;
  border: 1px solid #ececec;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  transition: 0.35s;

  padding: 24px;

  display: flex;
  flex-direction: column;

  background-color: #fafafa;
  min-width: 300px;
  max-width: 300px;
}

.number {
  font-size: 36px;
  background-color: #fafafa;
}

.card-heading {
  font-size: 18px;
  background-color: #fafafa;
}

.omoss-bio {
  font-size: 16px;
  color: #4e4e4e;
  max-width: 200px;
  background-color: #fafafa;
}

.omoss-icon {
  color: #b62f3b;
  font-size: 48px;
  background-color: #fafafa;
}

.omoss-line {
  height: 3px;
  width: 50px;
  background-color: #b62f3b;
}

/*-------------------*/
/*HISTORIA*/
/*-------------------*/

.historia {
  margin-left: 108px;
  margin-right: 108px;
  margin-top: 108px;
}

.hist-head {
  color: #b62f3b;
  color: 18px;
}

.heading-h {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 72px;
}

.heading-h p {
  font-size: 16px;
  color: #4e4e4e;
  margin-right: 72px;
}

.heading-h h2 {
  font-size: 36px;
}

.hist-line {
  width: 100%;
  height: 3px;
  background-color: #4e4e4e;
}

.hist-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hist-card h2 {
  color: #b62f3b;
}

.hist-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.hist-card p {
  color: #4e4e4e;
  max-width: 200px;
  font-size: 16px;
}

.dot {
  position: relative;
  bottom: 7px;
  height: 10px;
  width: 10px;
  background-color: #b62f3b;
  border-radius: 50%;
}

/*-------------------*/
/*VÄRDERINGAR*/
/*-------------------*/
.värde {
  margin-left: 108px;
  margin-right: 108px;
  margin-top: 72px;
}

.värde-hero {
  margin-bottom: 54px;
  text-align: center;
}

.värde-hero p {
  color: #b62f3b;
  font-size: 16px;
}

.värde-hero h2 {
  font-size: 36px;
}

.värde-cards {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  background: white;
  border: 1px solid #ececec;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  transition: 0.35s;
  background-color: #fafafa;
  padding: 25px;

  gap: 12px;
}
.värde-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  text-align: start;
  border-radius: 8px;
  transition: 0.35s;

  padding: 24px;

  display: flex;
  flex-direction: column;

  min-width: 300px;
  max-width: 300px;
  background-color: #fafafa;
}

.värde-line {
  height: 130px;
  width: 3px;
  background-color: #b62f3b;
}

.p,
.h {
  background-color: #fafafa;
}

/*-------------------*/
/*FOOTER*/
/*-------------------*/

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;
}

/*-------------------*/
/*CTA*/
/*-------------------*/

.cta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-left: 108px;
  margin-right: 108px;
  background-color: #a42a35;
  padding: 72px;
  border-radius: 8px;
  margin-top: 72px;
}

.cta h3 {
  font-size: 48px;
  background-color: #a42a35;
}

.text-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #a42a35;
  color: #fff;
}

.cta p {
  font-size: 18px;
  color: #4e4e4e;
  background-color: #a42a35;
  color: #fff;
}

.cta-line {
  height: 1px;
  width: 100%;
  background-color: #bd444f;
  margin-top: 48px;
  margin-bottom: 48px;
}

.cta button {
  align-self: center;
  margin-bottom: 25px;
  border: 2px solid #fff;
}
