* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  background-color: #fff;
}

/*-------------------*/
/*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);
}

/*-------------------*/
/*HERO*/
/*-------------------*/

/*-------------------*/
/*HERO*/
/*-------------------*/

.hero-fastigheter {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  margin-bottom: 150px;
  margin-top: 50px;
}

.left {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 8px;
  margin-left: 108px;
}

.right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-photo {
  position: relative;
  width: 750;
  height: 550px;

  overflow: hidden;
  border-radius: 16px 0 0 16px;
}

.hero-image {
  transform: translateX(80px);
  overflow: hidden;
}

.heading {
  font-size: 54px;
  margin-top: 8px;
}

.framtiden {
  font-size: 54px;
  color: #b62f3b;
}

.under-heading {
  display: flex;
  flex-direction: row;
  gap: 3px;

  font-size: 18px;
  margin-bottom: 18px;
}

.under-heading1 {
  color: #585858;
}

.under-heading2 {
  color: #b62f3b;
  font-weight: 600;
}
.hero-text-fastigheter {
  min-width: 600px;
  font-size: 18px;
  line-height: 1.6;
}

.hero-line {
  width: 460px;
  height: 3px;
  background: #b62f3b;
  margin-bottom: 25px;
}

.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;
  margin-top: 24px;
}

.hero-button:hover {
  transform: scale(1.089);
}

.hero-icon {
  font-size: 24px;
  background-color: #b62f3b;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.recension {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
  margin-top: 36px;
  background-color: #fafafa;
}

.card-line {
  width: 3px;
  height: 125px;
  background-color: #e7e7e7;
  border-radius: 12px;
}

.rec-text {
  align-self: center;
  justify-self: center;
  text-align: center;
  color: #3d3d3d;
  min-width: 200px;
}

.rec-icon {
  font-size: 36px;
  color: #b62f3b;
}

.rec-heading {
  font-size: 18px;
  font-weight: 500;
  color: #020202;
}

.line {
  height: 3px;
  width: 40px;
  background-color: #b62f3b;
}

/*-------------------*/
/*Tjänster*/
/*-------------------*/

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-left: 108px;
  margin-right: 108px;
  margin-bottom: 108px;
}

.service-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 36px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  border: 1px solid #ececec;
  transition: 0.35s;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #b52d35;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.typo-service {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tj-line {
  height: 3px;
  width: 48px;
  background-color: #b62f3b;
}

.tjtext {
  color: #4e4e4e;
  margin-bottom: 24px;
}

.tjänst-icon {
  font-size: 108px;
  max-height: 54px;
  min-height: 54px;
  max-width: 54px;
  min-width: 54px;

  color: #b62f3b;
  padding: 24px;
  background-color: #efefef;
  border-radius: 50%;
}
.tjhead {
  font-size: 28px;
}

.hero-tjänster {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  gap: 18px;
  margin-bottom: 24px;
}

.heading-tjänster {
  font-size: 54px;
  color: #111;
}

.under-tjänster {
  color: #b62f3b;
  font-weight: 600;
  font-size: 18px;
}

.text-tjänster {
  font-size: 18px;
  max-width: 400px;
  color: #4e4e4e;
}

.forcards {
  margin-left: 108px;
  margin-right: 108px;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.status-badge {
  display: none;
}
.for-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid #ececec;
  transition: 0.35s;
}

.for-card:hover {
  transform: translateY(-8px);
  border-color: #b52d35;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}
.vemicon {
  margin-bottom: 18px;
}

.forvem {
  margin-bottom: 108px;
}

.tjhead {
  font-weight: 500;
}

/*-------------------*/
/*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-bottom: 200px;
}

.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;
}

/*-------------------*/
/*FOOTER*/
/*-------------------*/

.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;
}
