* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes moveInTop {
    0% {
      opacity: 0;
      transform: translateY(-10rem); }
    80% {
      transform: translateY(1rem); }
    100% {
      opacity: 1;
      transform: translate(0); } }
  
  @keyframes moveInBottom {
    0% {
      opacity: 0;
      transform: translateY(3rem); }
    100% {
      opacity: 1;
      transform: translate(0); } }


  

.home-header,.header-type-two {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 20px 100px;
    box-shadow:
            0 10px 27px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    z-index: 2;
    height: 68px;
    position: fixed;
    top: 0;
}


.header-type-two.scrolled {
    background-color: #fff !important;
    border-radius: 0px 0px 16px 16px !important;
    width: 90% !important;
    margin-right: 5% !important;
    margin-left: 5% !important;
    padding: 20px 50px;
    transition: 0.5s;
}

.first-main {
    width: 100%;
    height: 95vh;
    padding: 50px 100px;
    background-image:linear-gradient(331deg, rgb(73, 12, 42) 0%, rgba(165, 32, 101, 0.767) 100%),  url(../img/house-1477041.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.main-p {
    text-align: center;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-weight: bold;
    font-size: 25px;
    width: 60%;
    margin-bottom: 30px;
}

.main-p1 {
    text-align: center;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 20px;
    margin-bottom: 50px;
}

.buttons {
    display: flex;
    flex-direction: row;
}

.btn, .btn:link, .btn:visited {
    text-transform: capitalize;
    text-decoration: none;
    padding: 1rem 1.2rem;
    display: inline-block;
    border-radius: 10rem;
    transition: all .2s;
    position: relative;
    font-size: 1.2rem;
    width: 18rem;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #9c1d5e;
    border: none;
    cursor: pointer;
    margin-left: 20px;

}
  
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2); }
    .btn:hover::after {
      transform: scaleX(1.4) scaleY(1.6);
      opacity: 0; }
      
      
      .btn-wealth:hover {
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2); }
    .btn-wealth:hover::after {
      transform: scaleX(1.4) scaleY(1.6);
      opacity: 0; }
      
      .btn-calculator:hover {
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2); }
    .btn-calculator:hover::after {
      transform: scaleX(1.4) scaleY(1.6);
      opacity: 0; }
      
  
  .btn:active, .btn:focus {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); }

li {
    list-style: none;
}

a {
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

.hamburger {
    display: none;
}

.navbar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.nav-menu {
    display:flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    padding-top: 9px;
    top:0;
    left: 0;
    background: none;
    width: 100%;
    height: 68px;
    position: unset;
    box-shadow: unset;
    transition: unset;
    margin-bottom: 0 !important;
}

.sign-up {
    padding-top: 9px;
}

.nav-item {
    margin: 2rem;
    margin-left: 32px;
    margin-right: 0;
}

.nav-item:first-child {
    margin-top: 2rem;
}

.nav-item.active  {
    background: none;
    padding: 0px;
    border-radius: 0px;
}

.nav-item.active {
    color: #9c1d5e;
    font-weight: bold;
}

.nav-item a {
    color: black !important;
    text-decoration: none !important;
}

.sign-up a {
    color: black;
}

.logo {
    width: 200px;
    z-index: 2;
}

.logo img {
    width: 100%;
}

.suburb {
    width: 100%;
    padding: 30px 100px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
}

.comparison-type1 {
    width: 100%;
    padding: 30px 100px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
}

.calculator {
    width: 100%;
    padding: 30px 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.text-suburb {
    flex: 50%;
}

.text-suburb p {
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #000;
    font-size: 20px;
}

.text-suburb-co {
    flex: 50%;
    text-align: right;
}

.text-suburb-co p {
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #000;
    font-size: 20px;
    text-align: left;
}

.btn-suburb{
    text-transform: capitalize;
    width: 12rem;
    background: linear-gradient(90deg, rgba(156,29,94,1) 35%, rgba(156,29,94,0.7840606004763873) 100%);
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 20px;
    padding: 13px 10px;
    border: none;
    outline: none;
    border-radius: 10rem;
    margin-top: 70px;
    cursor: pointer;
}

.btn-calculator {
    text-transform: capitalize;
    width: 16rem;
    background: linear-gradient(90deg, rgba(156,29,94,1) 35%, rgba(156,29,94,0.7840606004763873) 100%);
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 20px;
    padding: 13px 10px;
    border: none;
    outline: none;
    border-radius: 10rem;
    margin-top: 70px;
    cursor: pointer;
}

.btn-suburb:hover {
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2); }
    .btn-suburb:hover::after {
      transform: scaleX(1.4) scaleY(1.6);
      opacity: 0; }

.anim-suburb {
    flex: 50%;
}


.wealth {
    width: 100%;
    height: 60vh;
    background-image:linear-gradient(331deg, rgb(73, 12, 42) 0%, rgba(165, 32, 101, 0.767) 100%),  url(../img/house-1836070.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 50px;
    position: relative;
    margin-top: 40px;
}
.wealth-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.wealth p {
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 20px;
}

.btn, .btn:link, .btn:visited {
    text-transform: capitalize;
    text-decoration: none;
    padding: 1rem 1rem;
    display: inline-block;
    border-radius: 10rem;
    transition: all .2s;
    position: relative;
    font-size: 1.2rem;
    background-color: #fff;
    width: 18rem;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #9c1d5e;
    border: none;
    cursor: pointer;
    margin-left: 10px;
    margin-top: 40px;
}

.btn-wealth {
    text-transform: capitalize;
    text-decoration: none;
    padding: 1rem 1rem;
    display: inline-block;
    border-radius: 10rem;
    transition: all .2s;
    position: relative;
    font-size: 1.2rem;
    background-color: #fff;
    width: 18rem;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #9c1d5e;
    border: none;
    cursor: pointer;
    margin-left: 10px;
    margin-top: 40px;
}

.text-calculator {
    flex: 50%;
}

.text-calculator p {
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #000;
    font-size: 20px;
}

.anim-calculator {
    flex: 50%;
    display: flex;
    justify-content: flex-end;
}

footer {
    width: 100%;
    height: auto;
    background: linear-gradient(90deg, rgba(156,29,94,1) 35%, rgba(156,29,94,0.7840606004763873) 100%);
    padding: 50px 50px;
    padding-top: 80px;
    margin-top: 130px;
    position: relative;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-type2 {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.contact {
    width: 80%;
    height: 180px;
    border: 8px solid #9c1d5fd3;
    padding: 15px 60px;
    background-color: #fff;
    border-radius: 16px;
    position: absolute;
    top: -60px;
    left: 10%;
    text-align: center;
}

.contact p {
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #000;
    font-size: 20px;
    text-align: center;
}

.contact-btn {
    text-transform: capitalize;
    width: 16rem;
    background: linear-gradient(90deg, rgba(156,29,94,1) 35%, rgba(156,29,94,0.7840606004763873) 100%);
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 20px;
    padding: 13px 10px;
    border: none;
    outline: none;
    border-radius: 10rem;
    margin-top: 30px;
    cursor: pointer;
}

footer ul li {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 15px;
    margin-bottom: 10px;
    cursor: pointer;
}

footer ul li img {
    width: 38px;
}

.talk {
    width: 100%;
    height: 75vh;
    background-image:linear-gradient(331deg, rgb(73, 12, 42) 0%, rgba(165, 32, 101, 0.767) 100%),  url(../img/house-1836070.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 50px;
    position: relative;
    margin-top: 40px;
}

.talk-box {
    width: 60%;
    height: 65vh;
    border: 8px solid #9c1d5fd3;
    padding: 60px 60px;
    background-color: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.talk-box h2 {
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #5f133a;
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 35px;
}

.talk-box p {
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #000;
    font-size: 18px;
    text-align: center;
}

.talk-button {
    width: 16rem;
    background: linear-gradient(-45deg, rgb(92, 16, 55) 0%, rgba(156,29,94,1) 35%, rgba(156,29,94,0.7840606004763873) 100%);
    background-size: 400% 400%;
    background-repeat: no-repeat;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 18px;
    padding: 13px 10px;
    border: none;
    outline: none;
    border-radius: 10rem;
    margin-top: 40px;
    cursor: pointer;
    animation: gradiant 3s ease infinite;
    position: relative;
}

.footer-logo {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    width: 168px;
}

@keyframes gradiant {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.talk-button:link, .talk-button:visited {
    text-transform: uppercase;
    transition: all .2s;
    position: relative;
    cursor: pointer;
}

.talk-button::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 10rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .4s;
    background-color: #9c1d5e;
}

.talk-button:hover {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
   -webkit-box-shadow: 0 1rem 2rem rgba(0,0,0,0.2);
   box-shadow: 0 1rem 2rem rgba(0,0,0,0.2);
}

.talk-button:active,
.talk-button:focus {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 .5rem 1rem rgba(1, 61, 117,.2);
}

.talk-button:hover::after {
    transform: scale(1.2);
    opacity: 0;
}

.info {
    width: 100%;
    height: auto;
    padding: 100px 80px;
    position: relative;
    bottom: 0;
    background:linear-gradient(-331deg, rgba(73, 12, 42, 0.952) 0%, rgb(165, 32, 101) 100%);
}

.info p {
    line-height: 2;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 14px;
    text-align: left;
}

.dropbtn {
    color: #9c1d5e;
    font-weight: bold;
    font-size: 16px;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    background: none;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffff;
    border-radius: 10px;
    width: 300px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    margin-top: 14px;
    padding: 20px;
  }

  .dropdown-content p {
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #000;
    font-size: 25px;
    text-align: left;
    margin-bottom: 25px;
  }

  .drop-box {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    gap: 10px 10px;
    justify-items: stretch;
  }
  
  .drop-box a {
    color: #000;
    padding: 12px 16px;
    text-decoration: none;
    display: inline-block;
    text-align: left;
  }

  .drop-box a:hover {
    color: #5f133a;
  }
  
  .dropdown a:hover {background-color: #ddd;}
  
  .show {
    display: block;
  }

  .lottie-ani {
      width: 350px;
      height: 350px;
  }

  .lottie-ani-co {
    width: 450px;
    height: 350px;
}

  .lottie-cal {
      width: 350px;
      height: 350px;
  }

  .main-type-two {
      width: 100%;
      height: 650px;
      background-image: url(../img/Simple\ Shiny.svg);
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 50px 50px;
  }

  .text-video-main {
      width: 50%;
      margin-right: 30px;
  }

  .video-main {
      width: 50%;
  }

  #my-video {
      width: 100%;
      height: 350px;
      outline: none;
      border: none;
  }

  .video-js .vjs-big-play-button {
      width: 2.5em !important;
      height: 2.5em !important;
      border-radius: 50% !important;
      border: none !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%,-50%);
      background-color: #9c1d5fea !important;
  }

  .vjs-icon-play, .video-js .vjs-play-control .vjs-icon-placeholder, .video-js .vjs-big-play-button .vjs-icon-placeholder:before {
      top: 20% !important;
  }

  .main-p1-type2{
    text-align: center;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-weight: bold;
    font-size: 22px;
    width: 90%;
    margin-bottom: 30px;
}

.main-p2-type2 {
    text-align: center;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 18px;
    margin-bottom: 50px;
}

.buttons-type-two {
    display: flex;
    flex-direction: row;
}

.btn-type-two, .btn-type-two:link, .btn-type-two:visited {
    text-transform: capitalize;
    text-decoration: none;
    padding: 0.8rem 1rem;
    display: inline-block;
    border-radius: 5px;
    transition: all .2s;
    position: relative;
    font-size: 1.2rem;
    width: 16rem;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #9c1d5e;
    border: none;
    cursor: pointer;
    margin-left: 20px;

}

.btn-type-two:hover {
    box-shadow: 0px 5px 10px #9c1d5e;
    transform: translateY(-3px);
}

.map-section {
    width: 100%;
    padding: 70px 70px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: row;
}

.map-section-type2 {
    width: 100%;
    padding: 70px 70px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: row;
}

.comparison {
    width: 100%;
    padding: 70px 70px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: row;
}

.map-left-div {
    width: 100%;
}

.map-left-div img {
    width: 100%;
}

.map-right-div {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    padding-bottom: 0;
}

.map-right-div p {
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #691340;
    text-align: center;
    font-size: 20px;
}

.btn-suburb-type2{
    text-transform: capitalize;
    width: 12rem;
    background: rgba(156,29,94,1);
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 20px;
    padding: 13px 10px;
    border: none;
    outline: none;
    border-radius: 5px;
    margin-top: 50px;
    cursor: pointer;
}

.btn-suburb-type2:hover {
    box-shadow: 0px 5px 10px #919191;
    transform: translateY(-3px);
}

.btn-loan-type2 {
    text-transform: capitalize;
    width: 15rem;
    background: rgba(156,29,94,1);
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 20px;
    padding: 13px 10px;
    border: none;
    outline: none;
    border-radius: 5px;
    margin-top: 50px;
    cursor: pointer;
}

.talk-to {
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
}

.talk-type2 {
    width: 90%;
    height: 350px;
    background: linear-gradient(45deg, rgb(58, 10, 35) 0%, rgb(112, 21, 68) 35%, rgb(156, 29, 95) 100%);
    background-size: 400% 400%;
    background-repeat: no-repeat;
    animation: gradiant 20s ease infinite;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.talk-type2 h2 {
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-weight: bold;
    font-size: 40px;
    margin-bottom: 35px;
}

.talk-type2 p {
    width: 70%;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 20px;
    text-align: center;
}

.talk-button-type2 {
    width: 16rem;
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
    color: #691340;
    font-weight: bold;
    font-size: 18px;
    padding: 13px 10px;
    border: none;
    outline: none;
    border-radius: 5px;
    margin-top: 40px;
    cursor: pointer;
    position: relative;
}

.talk-button-type2:hover {
    width: 18rem;
    box-shadow: 0 15px 20px rgba(0,0,0,0.3);
    transition: 0.5s ease-in-out;
}

.footer-column {
    position: relative;
    top: -67px;
  }
  
  .footer-center {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -130px;
  }
  
  .border-contactus {
    width: 500px;
    height: 145px;
    padding: 10px;
    padding-top: 15px;
    background-image: linear-gradient(to right, #230314, #3d0d26, #5b1338, #7b184b, #9c1d5e);
    border-radius: 15px;
    text-align: center;
  }
  
  .border-contactus h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
  }
  
  .sub-form input{
    width: 380px;
    height: 40px;
    border-radius: 5px;
    border: 1px solid #9c1d5e;
    padding: 10px;
    outline: none;
  }
  
  .sub-form button {
    width: 94px;
    height: 40px;
    border-radius: 5px;
    border: none;
    background-color: #230314;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
  }
  
  .alert-success {
    width: 500px;
  }


@media (min-width: 501px) and (max-width: 1024px) {
    .dropdown .dropbtn {
       display: none;
     }

     .dropdown {float: none;}


     .dropdown-content {
         position: relative;
         box-shadow: none;
         width: 100%;
      }

      .drop-box {
       display: grid;
       grid-template-columns: auto;
       grid-template-rows: auto;
       gap: 10px 10px;
       justify-items: stretch;
   }


     .dropdown .dropbtn {
       display: block;
       width: 100%;
       text-align: left;
     }



   .logo img {
       width: 70%;
   }

   .lottie-ani {
       width: 250px;
       height: 250px;
   }

   .lottie-cal {
       width: 250px;
       height: 250px;
   }

   .nav-item {
       margin-top: 0.8rem;
   }
  
   
   .bar {
       display: block;
       width: 20px;
       height: 2px;
       margin: 6px auto;
       -webkit-transition: all 0.3s ease-in-out;
       transition: all 0.3s ease-in-out;
       background-color: #9c1d5e;
       border-radius: 25px;
   }
   
   .nav-menu {
       position: fixed;
       left: -100%;
       top: 0;
       flex-direction: column;
       background-color: #fff;
       width: 35%;
       height: 100%;
       overflow-y: scroll;
       transition: 0.3s;
       box-shadow:
           0 10px 27px rgba(0, 0, 0, 0.05);
   }
   
   .nav-menu.active {
       left: 0;
   }
   
  
   
   .nav-item:first-child {
       margin-top: 5rem;
   }
   
   
   
   .hamburger {
       display: block;
       cursor: pointer;
       z-index: 2;
   }
   
   
   .hamburger.active .bar:nth-child(2) {
       opacity: 0;
   }
   
   .hamburger.active .bar:nth-child(1) {
       transform: translateY(8px) rotate(45deg);
   }
   
   .hamburger.active .bar:nth-child(3) {
       transform: translateY(-8px) rotate(-45deg);
   }

   .home-header,.header-type-two {
       padding: 10px 20px;
       align-items: center;
   }

   .first-main {
       padding: 20px;
       height: 50vh;
   }

   .main-p {
       width: 75%;
       margin-top: 50px;
   }
   
   .buttons {
       flex-direction: column;
   }

   .btn {
       margin-top: 20px;
       margin-left: 0;
   }

   .suburb {
       flex-direction: column-reverse;
       padding: 10px 30px;
       justify-content: center;
       align-items: center;
   }

   .comparison-type1 {
    flex-direction: column-reverse;
    padding: 10px 30px;
    justify-content: center;
    align-items: center;
}

   .calculator {
       flex-direction: column-reverse;
       padding: 10px 30px;
       justify-content: center;
       align-items: center;
   }

   .text-suburb {
       text-align: center;
   }

   .text-suburb-co {
    text-align: center;
}

   .btn-suburb {
       margin-top: 12px;
   }

   .calculator {
       padding: 50px 30px;
   }

   .btn-calculator {
       margin-top: 19px;
       margin-bottom: 32px;
   }

   footer {
    flex-direction: column;
    padding-top: 100px;
}

.footer-type2 {
    justify-content: flex-start;
}


footer ul li {
    margin-right: 100px;
}

   .contact {
       height: 240px;
       padding: 20px 10px;
   }

   .talk {
       padding: 20px 20px;
       height: 35vh;
   }

   .talk-box {
       width: 100%;
       height: 30vh;
       padding: 20px 20px;
   }

   .info {
       padding: 60px 50px;
   }

   .main-type-two {
       width: 100%;
       height: 750px;
       flex-direction: column;
       padding: 55px 20px;
   }

   .text-video-main, .video-main {
       width: 100%;
       margin-right: 0;
       display: flex;
       flex-direction: column;
       align-items: center;
   }

   #my-video {
       width: 600px;
       height: 320px;
       outline: none;
       border: none;
   }
   
   .buttons-type-two {
       display: flex;
       flex-direction: column;
       justify-content: center;
       align-items: center;
   }

   .main-p1-type2 {
       width: 70%;
   }

   .btn-type-two, .btn-type-two:link, .btn-type-two:visited {
       margin-left: 0;
       margin-bottom: 15px;
   }

   .map-section {
       width: 100%;
       padding: 20px 20px;
       padding-bottom: 0px;
       display: flex;
       flex-direction: column;
       justify-content: center;
       align-items: center;
       margin-top: 50px;
   }

   .map-section-type2 {
       width: 100%;
       padding: 20px 20px;
       padding-bottom: 0px;
       display: flex;
       flex-direction: column-reverse;
       justify-content: center;
       align-items: center;
       margin-top: 50px;
   }

   .comparison {
    width: 100%;
    padding: 20px 20px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

   .map-right-div {
       width: 100%;
       display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: center;
       padding: 30px 0px;
       padding-bottom: 0;
   }
   
   .talk-type2 {
       width: 100%;
       height: 500px;
       margin-top: 150px;
       margin-bottom: 80px;
   }


   .wealth {
       height: 23vh;
   }

   .text-calculator {
    flex: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
   }
   


}



@media (max-width: 500px) {
     .dropdown .dropbtn {
        display: none;
      }

      .dropdown {float: none;}


      .dropdown-content {
          position: relative;
          box-shadow: none;
          width: 100%;
       }

       .drop-box {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto;
        gap: 10px 10px;
        justify-items: stretch;
    }


      .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
      }



    .logo img {
        width: 70%;
    }

    .lottie-ani {
        width: 250px;
        height: 250px;
    }

    .lottie-ani-co {
        width: 350px;
        height: 250px;
    }

    .lottie-cal {
        width: 250px;
        height: 250px;
    }

    .nav-item {
        margin-top: 0.8rem;
    }
   
    
    .bar {
        display: block;
        width: 20px;
        height: 2px;
        margin: 6px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: #9c1d5e;
        border-radius: 25px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: #fff;
        width: 80%;
        height: 100%;
        overflow-y: scroll;
        transition: 0.3s;
        box-shadow:
            0 10px 27px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
   
    
    .nav-item:first-child {
        margin-top: 5rem;
    }
    
    
    
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 2;
    }
    
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .home-header,.header-type-two {
        padding: 10px 20px;
        align-items: center;
    }

    .first-main {
        padding: 20px;
    }

    .main-p {
        width: 100%;
        margin-top: 50px;
    }
    
    .buttons {
        flex-direction: column;
    }

    .btn {
        margin-top: 20px;
        margin-left: 0;
    }

    .suburb {
        flex-direction: column-reverse;
        padding: 10px 30px;
        justify-content: center;
        align-items: center;
    }

    .comparison-type1 {
        flex-direction: column-reverse;
        padding: 10px 30px;
        justify-content: center;
        align-items: center;
    }

    .calculator {
        flex-direction: column-reverse;
        padding: 10px 30px;
        justify-content: center;
        align-items: center;
    }

    .text-suburb {
        text-align: center;
    }

    .text-suburb-co {
        text-align: center;
    }

    .btn-suburb {
        margin-top: 12px;
    }

    .calculator {
        padding: 50px 30px;
    }

    .btn-calculator {
        margin-top: 19px;
        margin-bottom: 32px;
    }

    footer {
        flex-direction: column;
        padding-top: 100px;
    }

    .footer-type2 {
        flex-direction: column;
    }

    footer ul li {
        margin-right: 50px;
    }

    .contact {
        height: 240px;
        padding: 20px 10px;
    }

    .talk {
        padding: 20px 20px;
    }

    .talk-box {
        width: 100%;
        height: 60vh;
        padding: 20px 20px;
    }

    .info {
        padding: 60px 50px;
    }

    .main-type-two {
        width: 100%;
        height: 750px;
        flex-direction: column;
        padding: 55px 20px;
    }

    .text-video-main, .video-main {
        width: 100%;
        margin-right: 0;
    }

    #my-video {
        width: 100%;
        height: 250px;
        outline: none;
        border: none;
    }
    
    .buttons-type-two {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main-p1-type2 {
        width: 100%;
    }

    .btn-type-two, .btn-type-two:link, .btn-type-two:visited {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .map-section {
        width: 100%;
        padding: 20px 20px;
        padding-bottom: 0px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
    }

    .map-section-type2 {
        width: 100%;
        padding: 20px 20px;
        padding-bottom: 0px;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
    }

    .comparison {
        width: 100%;
        padding: 20px 20px;
        padding-bottom: 0px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
    }

    .map-right-div {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 30px 0px;
        padding-bottom: 0;
    }
    
    .talk-type2 {
        width: 100%;
        height: 500px;
        margin-top: 150px;
        margin-bottom: 80px;
    }

    .header-type-two.scrolled {
        padding: 20px 15px;
    }

    .text-calculator {
        flex: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
       }

}
