@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,600&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --asphaltBlack: hsl(0, 0%, 13.3%);
  --brickOrange: hsl(18, 100%, 50%);
  --brickOrangeHover: hsl(18, 97%, 66%);
  --nonCloudyGray: hsl(0, 0%, 96.5%);
  --cloudyGrey: hsl(60, 2%, 90.4%);
  --sphereBlue: hsl(205, 100%, 14.3%);
  --pureWhite: hsl(100, 100%, 100%);
  --pureBlack: hsl(0, 0%, 0%);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

.logo {
  cursor: pointer;
}

body {
  padding: 0;
  margin: 0;
  background-color: var(--pureWhite);
  height: 100%;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Crimson Text', serif;
}

h1 {
  font-size: clamp(36px, 6vw, 4em) !important;
}

h2 {
  font-size: clamp(18px, 3vw, 3em) !important;
}

.h3 {
  font-size: clamp(16px, 2vw, 2em) !important;
}

.h4 {
  font-size: clamp(14px, 1.5vw, 1.5em) !important;
}


button,
a,
p {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(14px, 1.2vw, 1.5em) !important;
}

label,
input[type="text"],
input[type="text"]::placeholder {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(14px, 1.0vw, 1.3em) !important;
}
/* Custom styles for the navbar */

.header {
  display: flex;
  flex-direction: column;
  color: var(--pureWhite);
  position: relative;
  height: 100vh;

}

.video-container {
  background-color: hsla(205, 100%, 14%, 0.208);
}

.bg-video {
  position: absolute;
  z-index: -99;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  max-width: 100vh;
  overflow: hidden;
  object-fit: cover;
}

/* Additional styles for the navbar logo */
.logo {
  margin-top: 6px;
}

.logo img {
  height: 40px;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding-left: 10%;
  padding-right: 10%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  z-index: 99;
}

.navbar.scrolled {
  background-color: var(--sphereBlue);
}

.navbar-links ul {
  list-style: none;
  flex-wrap: nowrap;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

/* Additional styles for the navbar links */
.navbar-links ul li {
  padding: 0 calc(min(15px, 5vw));
}

.navbar-links ul li a {
  white-space: nowrap;
  text-decoration: none;
  color: #FFF;
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  cursor: pointer;
}

.navbar-links ul li a:hover {
  color: var(--brickOrange);
}

/* Style for the button */
.demoBtn {
  white-space: nowrap;
  min-width: 150px;
  background-color: var(--cloudyGrey);
  color: var(--sphereBlue);
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
  font-size: clamp(14px, 1.1vw, 1.3em) !important;
}

.btn-test {
  white-space: nowrap;
  min-width: 150px;
  background-color: var(--brickOrange);
  color: var(--pureWhite);
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
  font-size: clamp(14px, 1.2vw, 1.5em) !important;
}

.btn-signup {
  white-space: nowrap;
  min-width: 150px;
  background-color: var(--brickOrange);
  color: var(--pureWhite);
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
  font-size: clamp(14px, 1.1vw, 1.3em) !important;
}

.btn-test:hover {
  background-color: var(--brickOrangeHover);
}

.btn-signup:hover {
  background-color: var(--brickOrangeHover);
}

/* Hamburger Menu Styles */
.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.burger .line1,
.burger .line2,
.burger .line3 {
  background-color: var(--pureWhite);
  height: 4px;
  width: 25px;
  margin: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
}

.headerText {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90%;
}

.headerText h1 {
  color: var(--white, #F6F6F6);
  text-align: center;
  font-family: Crimson Text;

  font-style: normal;
  font-weight: 600;
  line-height: 97.5%;
  margin-bottom: 0px;
}

.headerText p {
  color: var(--white, #F6F6F6);
  text-align: center;
  font-family: Roboto;
  font-style: normal;
  font-weight: 300;
  line-height: 100%;
}

.showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin: auto;
  margin-top: -10%;
  background-color: var(--cloudyGrey);
  border-radius: 20px;  
  z-index: 1;
  padding: 2%;
}

.showcaseForm {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  z-index: 299;
}

.formGroup {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
}

.formControl {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.label {
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
  color: var(--sphereBlue);
  margin-bottom: 8px;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  font-weight: 400;
  padding: clamp(4px, 1.5vw, 12px);
  color: grey;
  border: none;
  border-radius: 10px;
}

input[type="email"],
input[type="text"]::placeholder {
  color: grey;
}

.formBtn {
  width: 100%;
  padding: clamp(4px, 1.5vw, 12px);
  font-weight: 500;
  background-color: var(--sphereBlue);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.formBtn:hover {
  background-color: #002b499f;
}

.showcase-map {
  padding-top: 40px;
}

/* Resetting padding and margin for content wrappers */
.leaflet-popup-content-wrapper, 
.leaflet-popup-content {
  padding: 0 !important;
  margin: 0 !important;
  width: 400px;
  background: transparent;
  border-radius: 10px;
}

/* Adjustments for custom popup */
.leaflet-popup.popupCustom {
  width: auto !important;  /* Adjust based on your requirement */
  padding: 0 !important;
  margin: 0 !important;
  background: transparent;
  border-radius: 10px;
}

/* Hide popup tip container and close button */
.leaflet-popup-tip-container,
.leaflet-popup-close-button {
  display: none;
}


.propCard, .propCard * {
  box-sizing: border-box;
  background: transparent;
  border-radius: 10px;
}

.propCard {
  visibility: hidden;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  width: 490px;
  background-color: #fff;
}

.propCard .close-icon {
  height: 18px;
  width: 18px;
  background-repeat: no-repeat;
  position: absolute;
  right: 6px;
  top: 6px;
}

.propDetails {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.merge {
  display: flex;
  align-items: center;
  /* width: 80%; */
}

.propImage,
.propText,
.propActions {
  flex-shrink: 0;
  /* Prevent flex items from shrinking */
}

.propImage,
.propText {
  padding: 0px;
  margin: 0px;
  width: 160px;
}

.propImg {
  width: 160px;
  height: 160px;
}

.propImg img {
  width: 160px;
  height: 160px;
  border-radius: 9px 0 0 9px;
  margin: 0;
}

.propText {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 10px;
  font-family: 'Roboto', sans-serif;
}

.propId {
  font-size: 14px;
  line-height: 19px;
  color: #525252;
}

.propName {
  font-size: 24px;
  line-height: 33px;
  color: #37466f;
}

.propAdress {
  font-size: 14px;
  line-height: 19px;
  color: #525252;
}

.propCity {
  font-size: 14px;
  line-height: 19px;
  color: #525252;
}

.propActions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 5px;
  margin-top: 5px;
  gap: 5px;
  width: 15%;
}

.info {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f7f7f7;
  border-radius: 50%;
  background-position: 50%;
  margin: 4px 0;
  -moz-box-shadow: 0 0 2px 0 rgba(0, 0, 0, .55);
  box-shadow: 0 0 2.8px 0.5px rgba(0, 0, 0, .3);
  width: 24px;
  height: 24px;
}

.info img {
  width: 18px;
  height: 18px;
}

.valuation {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f7f7f7;
  border-radius: 50%;
  background-position: 50%;
  margin: 4px 0;
  -moz-box-shadow: 0 0 2px 0 rgba(0, 0, 0, .55);
  box-shadow: 0 0 2.8px 0.5px rgba(0, 0, 0, .3);
  width: 24px;
  height: 24px;
}

.valuation img {
  width: 18px;
  height: 18px;
}

.rent {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f7f7f7;
  border-radius: 50%;
  background-position: 50%;
  margin: 4px 0;
  -moz-box-shadow: 0 0 2px 0 rgba(0, 0, 0, .55);
  box-shadow: 0 0 2.8px 0.5px rgba(0, 0, 0, .3);
  width: 24px;
  height: 24px;
}

.rent img {
  width: 18px;
  height: 18px;
}

.fav {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f7f7f7;
  border-radius: 50%;
  background-position: 50%;
  margin: 4px 0;
  -moz-box-shadow: 0 0 2px 0 rgba(0, 0, 0, .55);
  box-shadow: 0 0 2.8px 0.5px rgba(0, 0, 0, .3);
  width: 24px;
  height: 24px;
}

.fav img {
  width: 18px;
  height: 18px;
}

.triangle {
  width: 0;
  height: 0;
  background-color: transparent;
  border-style: solid;
  border-top-width: 15px;
  border-right-width: 15px;
  border-bottom-width: 0;
  border-left-width: 15px;
  border-top-color: #fff;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  position: absolute;  /* Positioning the triangle */
  bottom: -10px;       /* Adjust this based on your needs */
  left: 50%;           /* Center the triangle relative to the parent */
  transform: translateX(-50%);  /* Fine-tune centering */
}

/* Styling for About */
.about {
  position: relative;
  width: 80%;
  height: auto;
  background-color: #fff;
  margin: auto;
}

.about .row {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin: 10%;
}

.about .col {
  width: 50%;
}

.about .col:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about .col .about-1 {
  width: 90%;  /* Adjust this value to your preference */
  height: auto;
  position: relative;
  margin: auto; /* To center it if needed */
}

.about .col .about-1 img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  z-index: 1;
}

.about .about-list ul {
  list-style: none;
}

.about .about-list li {
  display: flex;
  flex-direction: row;
  line-height: 0.8em;
}

.about .about-list li img {
  width: clamp(20px, 4vw, 40px);
  height: auto;
}

/* Styling for Call to action */
.cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: var(--sphereBlue);
  padding: 10% 5%;
}

.cta .cta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
  padding: 4% 2%;
  width: 80%;
  background-color: #fff;
}

/* Styling for sevices */

.services {
  width: 100%;
  padding: 0 60px;

}

.services-row {
  width: 90%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* margin-left: 10%; */
}

.services-card {
  background-color: #F6F6F6;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 20px;
  padding: 32px;
  min-width: 300px;
  margin: 10px; /* Adding margin to create spacing */
}

.services-card ul {
  margin-left: -40px;
  list-style: none;
}

.services-card ul li:before {
  content: "-";
  padding-right: 5px;
}

.card-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap; /* Enables the wrapping */
  justify-content: center; /* Centers the cards on smaller screens when they stack */
  width: 100%;
  margin-bottom: 55px;
  padding-left: 5%;
  padding-right: 5%;
}

.services-card-icon {
  width: clamp(50px, 8vw, 60px);
  height: clamp(50px, 8vw, 60px);
  margin: 6px auto;
}

.services-card-header {
  color: #002B49;
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
}

.services-card-list .listTitle {
  font-weight: 500;
  color: #858383;
}

.services-card-list {
  font-weight: 300;
  font-family: 'Roboto', sans-serif;
  color: #858383;
}

/* Styling for Prices */
.prices {
  width: 100%;
  margin-top: 60px;
  background: #F5FBFF;
  padding: 5% 0;
}

.prices-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}

.prices-header h2 {
  margin-bottom: 0;
}

.prices-header p {
  margin-top: 0;
}

.prices-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.prices-content-list {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  border: none;
  border-radius: 20px;
  margin-right: -100px;
  background-color: #fff;
  padding: 32px;
}

.prices-content .listTitle {
  font-size: max(14px, 1.2em);
  font-weight: 500;
  color: #858383;
  text-align: left;
  margin-bottom: -25px;
}

.prices-content-list ul {
  list-style: none;
  margin-bottom: 20px;
  text-align: left;
  padding: 20px;
  margin-left: -30px;
}

.prices-content-list li {
  display: flex;
  flex-direction: row;
  text-align: left;
  padding: 0;
  margin-bottom: 0px;
  font-size: max(14px, 1.2em);
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
  color: #858383;
}

.prices-content-list li img {
  width: clamp(15px, 3vw, 40px);
  height: auto;
}

.prices-content-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40%;
  overflow: hidden;
  border-radius: 20px;
}

.prices-content-image img {
  width: auto;
  height: 100vh;
  /* margin-right: 10px; */
  
}

/* Styling for Testimonials */
.testimonials {
  width: 100%;
  background-color: #fff;
  padding: 5% 0;
}

.testimonials-header {
  text-align: center;
}

.testimonials .card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  width: 100%;
  margin: auto;
  background-color: #fff;
}

.testimonials-card {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border-radius: 10px;
  background: #FFF;
  box-shadow: 0px 8px 30px 0px rgba(53, 50, 249, 0.07);
  padding: 32px;
}

.testimonials-card-avatar {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.testimonials-card-avatar .imgAvatar {
  display: flex;
  justify-content: center;
  width: auto;
  height: 84px;
}

.testimonials-card-quote {
  color: #858383;
}

.testimonials-card-footer .name {
  font-weight: 600;
  margin-bottom: -14px;
}

.testimonials-card-footer .title {
  color: #4F4F4F;
}

.quotes {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--brickOrange);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  bottom: 0;
  margin-left: -27px;
}

.line {
  width: 52px;
  height: 4px;
  color: var(--brickOrange);
}

/* Styling for Newsletter */
.news-letter {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #003154;
  color: #FFF;
  text-align: center;
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  padding: 20px;
}

.news-letter h2 {
  margin: 5px;
  font-size: clamp(20px, 3vw, 3em) !important;
}

.responseMessage {
  margin-bottom: 10px;
}

.news-letter form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.news-letter input[type="email"] {
  flex-grow: 1; /* Gör input-fältet flexibelt i bredd */
  margin-right: 10px; /* Skapar mellanrum mellan input och knapp */
  padding: 10px; /* Ger lite extra utrymme inuti input-fältet */
}

.news-letter input[type="submit"] {
  padding: 10px; /* Ger lite extra utrymme inuti knappen */
  white-space: nowrap; /* Förhindrar radbrytning inuti knappen */
}



/* Styling for Footer */
.footer {
  width: 100%;
  background-color: var(--sphereBlue);
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
  padding-top: 2rem;
  padding-left: 10%;
  padding-right: 10%;
}

.footer-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  margin: 0 10px;
  width: 80%;
  text-align: left;
}

.footer-col p {
  color: var(--pureWhite);
  line-height: 1.5em;
}

.footer-col .title {
  display: flex;
  align-items: flex-end;
}

.footer-col .title img {
  height: 40px;
}

.footer-col-content {
   display: flex;
   justify-content: start;
}

.footer-col-logo img {
  height: 40px;
}

.footer-col-content ul {
  padding-top: 0;
  padding-inline-start: 0;
  list-style: none;
}

.footer-col-content li {
  text-align: left;
}

.footer-col-content .socialLinks {
  display: inline-block;
  padding-right: 10px;
}

.footer-col-content li span,
.footer-col-content li a {
  text-decoration: none;
  color: var(--pureWhite);
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

.footer-copy {
  height: 96px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #003154;
  color: #FFF;
  text-align: center;
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
}

.cta-content-header {
  
  font-style: normal;
  font-weight: 600;

}

.cta-content-text {
  font-style: normal;
  font-weight: 300;
  color: #858383;
}

.prices-content-list li p {
  margin: 7px;
}

.about-header,
.about-text {
  margin-left: 44px;
}

.showcaseMobile {
  display: none;
}



/* Media query for responsiveness */
@media screen and (max-width: 896px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-links {
    display: none;
  }

  .navbar-links ul li {
    padding: 10px 0;
  }

  .navbar-links ul {
    align-items: baseline;
    margin-left: -35px;
  }

  .burger {
    display: flex;
    position: absolute;
    right: 0px;
    top: 20px;
  }

  .formGroup {
    display: none;
  }

  .showcase {
    background: transparent;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .propCard {
    display: none;
  }

  .about {
    width: 100%;
    margin: auto;
  }

  .about .row {
    flex-direction: column;
    width: 90%;
    margin: auto;
  }

  .about .col {
    width: 90%;
    margin: auto;
}

  .about .col .about-1 {
    width: 100%;  /* Adjust as per your preference */
    margin: auto;
}

  .showcaseForm {
    display: none;
  }

  .showcaseMobile {
    position: relative;
    display: flex;
    justify-content: center;
    margin: auto;
  }

  .mobile-map {
    width: 80%;
  }

  .testimonials-card {
    min-width: 90%;
  }

  .testimonials .card-wrapper {
    width: 100%;
  }

  .type-selection, .regDemo, input[type="text"],input[type="tel"], input[type="email"]{
    width: 90% !important;
  }
  .buttons {
    flex-direction: column !important;
  }
  .buttons input:nth-child(2){
    margin-left: unset !important;
    margin-top: 12px;
  }
  .prices-header {
    width: 97%;
  }

  .prices-content {
    flex-direction: column;
  }

  .prices-content-list {
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
  }

  .prices-content-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: auto;
    overflow: hidden;
  }

  .prices-content-image img {
    width: auto;
    height: 50vh;
    border-radius: 20px;
    /* margin-right: 10px; */
    
  }

  .news-letter form {
    flex-direction: column;
  }

  .news-letter input[type="email"] {
    margin-right: 0; /* Tar bort marginalen till höger för input på små skärmar */
    margin-bottom: 10px; /* Lägger till lite utrymme under input-fältet */
    text-align: center;
  }

  .news-letter input[type="submit"] {
    white-space: normal; /* Tillåter text att bryta i knappen om nödvändigt */
  }

  .footer-col {
    flex: 1 0 30%;
    min-width: 30%;
}

.footer-col-content li a {
  text-decoration: none;
  color: var(--pureWhite);
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}

.footer-col-content li span {
  color: var(--pureWhite);
  font-family: 'Roboto', sans-serif;
  font-size: clamp(14px, 1.2vw, 1.5em) !important;
  font-weight: 300;
}

.footer-col:not(:first-child) .title {
  margin-top: 45px; /* This is based on the height of the logo you've provided. Adjust if necessary. */
  margin-bottom: -15px;
}
}