#demo {
  position: relative;
  height: 100vh; 
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#demo .demo__container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 1;
}

#demo .half {
  flex: 1;
  height: 100%;
  max-width: 50%;
}

#demo .half.left {
    background: radial-gradient(80.21% 94.69% at 22.68% 100%, #1C9CD0 0%, #091C36 100%);
    min-width: 700px;
}

#demo .half.right {
  background-color: var(--off-white);
  display: flex;
  justify-content: center;
  align-items: center;
}

#demo .content-left{
  flex: 1;
  margin-right: 40px;
  color: var(--navy);
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: top;
  align-items: left;
  flex-direction: column;
  position: relative;
}

#demo .content-left .content__cube40{
    height: 40%;
    min-height: 300px;
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: right;
}

#demo .content-left .content__cube40 .content__text{
    width: 50%;
    min-width: 500px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: left;
    flex-direction: column;
    padding: 20px 0;
}

#demo .content-left .content__cube60{
    height: 60%;
    min-height: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

#demo .content-left .content__cube60 .content__images{
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    align-items: baseline;
}
 
#demo .content-left .content__cube60 .content__images  #image1{
    width: 950px;
    position: absolute;
    bottom: -20px;
    right: 200px;
    z-index: 4;
    border-radius: 8px 8px 0 0;
}
 
 #demo .content-left .content__cube60 .content__images  #image1 img{
     width: 102%;
     height: 100%;
     object-fit: cover;
     object-position: left center;
     border-radius: 8px 8px 0 0;
 }
 
#demo .content-left .content__cube60 .content__images  #image2{
    width: 200px;
    height: 403px;
    position: absolute;
    bottom: -40px;
    right: 50px; 
    z-index: 5;
}
 
#demo .content-left .content__cube60 .content__images  #image2 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#demo .content-left h1{
    color: var(--white);
    font-family: 'Raleway-Bold';
    font-weight: 700;
    font-size: 54px;
    line-height: 64px;
}
#demo .content-left h1 span{
    color: var(--orange);
}

#demo .content-right {
  z-index: 4;
  width: 100%;
  min-height: 700px;
  margin: 10px auto;
  text-align: center;

}

#demo .content-right h5,
#demo .success__content h5{
    color: var(--navy);
    font-family: 'Raleway-Bold';
    font-size: 32px;
    font-weight: 700;
    line-height: 56.25px;
    padding: 0;
}

#demo .content-right #calendly-embed{
    margin: 20px auto;
    padding: 0 15px;
}

#demo .content-right #calendly-embed iframe{
    min-height: 587px;
    max-width: 671px;
    background-color: var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

#demo .half.right.success{
    align-items: unset;
    justify-content: unset;
}

#demo .success-container{
    height: 45%;
    min-height: 350px;
    width: 100%;
    align-items:flex-end;
    justify-content: end;
    position: relative;
}
#demo .success__content{
    max-width: 431px;
    align-items: end;
    margin: 0 50px;
    position: absolute;
    bottom: 0;
}
.__button,
a.__button{
    background-color: var(--orange);
    color: var(--navy);
    font-family: 'Raleway-Bold';
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 15px;
    gap: 10px;
    transition: 0.3s ease;
    border: none;
}

.__button:hover,
a.__button:hover{
    background-color: var(--orange-hover);
}

#demo .success__content p{
    font-family: 'Raleway-Medium';
    color: var(--navy);
    font-size: 18px;
    line-height: 27px;
    padding-bottom: 10px;
}

@media(max-width: 1120px){
    #demo {
        height: auto;
        min-height: 1350px;
    }
    #demo .demo__container {
        flex-direction: column;
        min-height: 1350px;
    }
    #demo .half {
        flex: none;
        width: 100%;
    }
    #demo .half.left {
        height: 570px;
        min-width: 100%;
        background: radial-gradient(74.86% 74.86% at 49.87% 99.98%, #1C9CD0 0%, #091C36 100%);
    }
    #demo .content-left .content__cube40{
        height: 270px;
        min-height: unset;
    }
    #demo .content-left .content__cube40 .content__text{
        width: 100%;
        align-items: center;
        text-align: center;
        min-width: auto;
    }
    #demo .content-left .content__cube60{
        height: 300px;
        min-height: unset;
        width: 671px;
        margin: 0 auto;
    }
    #demo .half.right {
        height: 850px;
        min-width: 100%;
    }
    #demo .content-left .content__cube60 .content__images #image1{
        left: unset;
        right: 0;
        bottom: -50px;
        height: 100%;
        width: 590px;
        border-radius: 8px 8px 0 0; 
    }
    #demo .content-left .content__cube60 .content__images #image1 img{
        width: 100%;
        object-fit: cover;
        object-position: left center;
    }
    #demo .content-left .content__cube60 .content__images #image2 img{
        width: unset;
    }
    #demo .content-left .content__cube60 .content__images #image2{
        left: 20px;
        bottom: -97px;
        height: 100%;
    }

    #demo .success-container{
        height: 300px;
        justify-content: center;
        align-items: center;
        text-align: center;
        display: flex;
    }
    #demo .success__content{
        margin: 20px auto;
        position: unset;
    }
    
    .success-page-wrapper #demo {
        height: 100vh !important;
        min-height: 1000px !important;
    }
    .success-page-wrapper #demo .demo__container {
        height: 100% !important;
        min-height: 1000px !important;
    }
    .success-page-wrapper #demo .half.left {
        flex: none !important;
        height: 570px !important;
    }
    .success-page-wrapper #demo .half.right {
        flex: 1 !important;
        height: auto !important;
        min-height: 430px !important;
    }
    .success-page-wrapper #demo .success-container{
        height: 200px !important;
    }
}
@media(max-width: 600px){
    #demo {
        min-height: 1200px;
    }
    #demo .demo__container{
        min-height: 1200px;
    }
    #demo .half.right{
        height: 800px;
    }
    #demo .half.left {
        height: 392px;
    }
    #demo .content-left h1{
        font-size: 36px;
        line-height: 43.2px;
        margin: 35px 0;
    }
    #demo .content-left .content__cube60 .content__images{
        width: 450px;
        height: 200px;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        align-items: baseline;
    }
    #demo .content-left .content__cube60{
        width: 450px;
    }
    #demo .content-left .content__cube60 .content__images #image1{
        left: 84px;
        width: 331px;
    }

    #demo .success__content p{
        font-size: 16px;
        margin-bottom: 20px;
    }
     
    .success-page-wrapper #demo {
        height: 100vh !important;
        min-height: 800px !important;
    }
    .success-page-wrapper #demo .demo__container{
        height: 100% !important;
        min-height: 800px !important;
        flex-direction: column !important;
    }
    .success-page-wrapper #demo .half.left{
        height: 392px !important;
        flex: none !important;
    }
    .success-page-wrapper #demo .half.right{
        flex: 1 !important;
        height: auto !important;
        min-height: 400px !important;
    }
    .success-page-wrapper #demo .success-container{
        height: 100% !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        padding-top: 60px !important;
    }
    .success-page-wrapper #demo .success__content{
        position: static !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    #demo .content-right h5,
    #demo .success__content h5{
        max-width: 219px;
        padding: 0;
        margin: 0 auto 25px auto;
        line-height: 40px;
    }
}