html, body{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.real-estate-section-1{
    height: 500px;
    width: 100%;
    background-size: cover; 
    background-repeat: no-repeat, no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.real-estate-section-1 h1{
    color: white; 
    font-size: 45px; 
    font-weight: bold; 
    line-height: 2.2;
    letter-spacing: 0.5px;
    text-align: center;
}

.real-estate-section-1 h4{
    color: white; 
    font-weight: normal; 
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}


.real-estate-section-2 h2{
    color: black; 
    font-size: 40px; 
    font-weight: bold; 
    line-height: 1.2;
}

.real-estate-section-2 h4{ 
    color: black;
    font-size: 20px;
    font-weight: normal; 
}


.real-estate-section-2 .row{
    margin-bottom: 20px;
    height: 600px;
}

 .list-QA li{ 
    font-size: 20px;
    list-style: none;
    padding: 20px;
    line-height: 1.2;
} 
.list-QA{
    padding-right:60px;
}


.answer{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 30px;
}

#paragraph li{
    margin:10px;
    margin-right: 4px;
}
#paragraph ul{
    margin:0px;
    padding: 0px;
}

.real-estate-section-3{
    height: 300px;
    /* width: 99.7%; */
    background-size: cover; 
    background-repeat: no-repeat, no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px !important;
    text-align: center;
}


.real-estate-section-3 h2{
    color: white; 
    font-size: 28px; 
    font-weight: bold; 
    letter-spacing: normal;
    padding-left: 16px;
    padding-right: 16px;
    line-height: normal;
    margin-top: 25px;
}

.real-estate-section-3 h4{
    color: white; 
    font-size: 19px;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.real-estate-section-4{
    background-color: black;
    color: white;
}

.real-estate-section-4 h2{
    color: white; 
    font-size: 40px; 
    font-weight: bold; 
    line-height: 1.2;
}

.real-estate-section-4 h4{
    color: white; 
    /* font-size: 20px;  */
    line-height: 1.2;
    font-weight: normal;
}

.dynamic-panel{
    border: 4px solid #0052CD;
    border-radius: 18px !important;
    height: 70vh;
}

.mastering-library-p{
    font-size: 17px;
    margin-top: 20px;
    font-weight: normal;
    color: white;
}

.real-estate-section-5 h2{
    color: black;
    font-weight: bold;
    font-size: 40px;
    line-height: 1.2;
}

/* .real-estate-section-5 h6{
    color: black;
    font-size: 14px;
} */

.real-estate-section-5 h5{
    font-size: 25px;
    font-weight: normal;
    text-transform: none;
}
.real-estate-section-5a{
    background-size: cover;
     background-repeat: no-repeat;
      height: 600px; 
      border-radius: 20px;
}

.real-estate-section-5a h2{
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 45px;
    line-height: 1.2;
}

.real-estate-section-5a h4{
    color: rgb(255, 255, 255);
    font-weight: normal;
    font-size: 20px;
    line-height: 1.4;
}


.flow-chart-icon{
    height: 100px;
    width: 100px;
    margin: 20px;
    cursor: pointer;
}

.real-estate-section-6{
    width: 100%;
    height: 650px;
    background: linear-gradient(180.04deg, #0052CD -76.28%, #000000 43.59%, #00317A 140.64%, #0052CD 160.89%);
    padding: 20px;
}

.real-estate-section-6 h2{
    color: white;
    font-weight: bold;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    padding-top: 20px;
}
.real-estate-section-6 span{
    font-size: 37px;
    font-weight: normal;
}


.real-estate-section-6 h4{
    color: white;
    font-weight: normal;
    font-size: 20px;
    letter-spacing: 0.5px;
}

.icon-container .row{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.icon-container .col-md-3 {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0px;
}

.real-estate-section-7{
    width: 100%;
    background-size: cover; 
    background-repeat: no-repeat, no-repeat;
    height: 900px;
    padding: 20px;
    text-align: left;
}

.real-estate-section-7 h2{
    color: white; 
    font-size: 40px; 
    font-weight: bold; 
    line-height: 1.2;
}

.real-estate-section-7 h4{
    color: white; 
    font-size: 25px; 
    font-weight: normal;
    line-height: 1.2;
}

.real-estate-section-7-list {
    list-style-type: none;
    padding: 0;
}

.real-estate-section-7-list li{
    font-size: 24px;
    font-weight: bold; 
    text-decoration: underline;
    text-underline-offset: 10px;
    margin-bottom: 40px;
    margin-top: 40px;
    padding: 12px;
}

.real-estate-section-8 h2{
    color: black; 
    font-size: 40px; 
    font-weight: bold; 
}

.section-8a{
    padding: 40px;
}

.real-estate-section-8 .accordion-item {
    border: none;
}

.real-estate-section-9{
    height: 500px;
   width: 100%;
   background-size: cover;
   background-repeat: no-repeat, no-repeat;
   display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.real-estate-section-9 h2{
    color: white;
    font-weight: bold;
    font-size: 40px;
    line-height: 1.2;
}

.real-estate-section-9 h4{
    color: white;
    font-weight: normal;
    font-size: 23px;
}

.filter-section {
    text-align: center;
    width: 100%;
    max-width: 1100px;
  }
  
  .filter-buttons {
    margin-bottom: 20px;
  }
  
  .filter-btn {
    /* background: linear-gradient(90deg, #9abff8, #b1e0f8); */
    padding: 15px 20px;
    /* width: 140px; */
    margin: 1px;
    cursor: pointer;
    background-color: #ffffff;
    color: black;
    border-radius: 8px;
    border-bottom: 2px solid linear-gradient(90deg, #9abff8, #b1e0f8);
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
  
  }
  
  
  .filter-btn.active {
    background-color: #0052CD;
    color: white;
    border: 2px solid white;
  }
  
  .filter-btn:hover {
    background-color: #fff;
    color: black;
    border: 2px solid #007bff;
  }
  
  .image-container-logo {
  
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .image-box {
    width: 180px;
    height: 50px;
    overflow: hidden;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* opacity: 0.4; */
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .image-box img {
    object-fit: contain;
    width: 40%;
    height: 100%;
  }
  
  .image-box.highlight {
    opacity: 1; /* Highlighted look */
    transform: scale(1.05); /* Slight zoom effect */
  }

  .filter-section {
    text-align: center;
    width: 100%;
    max-width: 1100px;
  }
  
  .filter-buttons {
    margin-bottom: 20px;
  }
  
  .filter-btn {
    /* background: linear-gradient(90deg, #9abff8, #b1e0f8); */
    padding: 12px 8px;
    /* width: 140px; */
    margin: 1px;
    cursor: pointer;
    background-color: #ffffff;
    color: black;
    border-radius: 8px;
    border-bottom: 2px solid linear-gradient(90deg, #9abff8, #b1e0f8);
    font-weight: 600;
    font-size: 12px;
    transition: background-color 0.3s ease;
  
  }
  
  
  .filter-btn.active {
    background-color: #0052CD;
    color: white;
    border: 2px solid white;
  }
  
  .filter-btn:hover {
    background-color: #fff;
    color: black;
    border: 2px solid #007bff;
  }
  
  .image-container-logo {
  
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .image-box {
    width: 130px;
    height: 50px;
    overflow: hidden;
    border-radius: 10px;
    background-color: #F8F8F8;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* opacity: 0.4; */
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .image-box img {
    object-fit: contain;
    width: 30%;
    height: 100%;
  }
  
  .image-box.highlight {
    opacity: 1; /* Highlighted look */
    transform: scale(1.05); /* Slight zoom effect */
  }

  .scroll-container {
    display: flex;
  }
  
  .leftDiv {
    width: 50%;
    color: white;
    padding: 20px;
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 90px;
    align-self: flex-start; /* Ensure it starts at the top */
    /* height: 70vh; */
    padding-bottom: 45px;
  }
  
  .rightDiv {
    width: 50%;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column; /* Makes the cards stack vertically */
    gap: 15px; 
    /* overflow-y: auto;  */
    /* max-height: calc(80vh - 80px); */
    scrollbar-width: none; /* For Firefox */
  
  }
  
  .rightDivChild::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Edge */
  }
  
  .rightDivChild{
    overflow-y: auto; 
    max-height: calc(80vh - 95px);
  }
  
  .card {
    border: 1px solid #ddd;
    border-radius: 30px !important;
    width: 345px;
    height: 310px;
    margin: auto;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
  }
  
  .section-scroll {
    height: 80vh;
    padding: 20px;
    background-color: black;
  }

@media (min-width: 330px) and (max-width: 370px){

    /* .real-estate-section-2{
        height: 2050px;
    } */

}

@media (min-width: 371px) and (max-width: 430px){

    /* .real-estate-section-2{
        height: 1950px;
    } */
   

}


@media (max-width: 430px) {

    .icon-container .row{
        margin: 8px;
    }
    /* .real-estate-section-1{
        height: 600px;
    } */
    /* .real-estate-section-1 h1{
       font-size: 45px;
    } */
     /* .real-estate-section-2{
        height: 1550px;
    } */

    .real-estate-section-2 h2{
        color: black; 
        font-size: 25px; 
        font-weight: bold; 
        line-height: 1.2;
    }
    .real-estate-section-2 h4{
        color: black; 
        font-size: 16px;
        font-weight: normal; 
    }
    

    .real-estate-section-3{
        height: 500px;
        /* width: 100%; */      
    }

    .real-estate-section-3 h2{
        color: white; 
        font-size: 20px; 
        font-weight: bold; 
        line-height: 1.2;
        padding-right: 15px;
    }

    .real-estate-section-3 h4{
      
        font-size: 17px;
       
    }
    /* .real-estate-section-2{
        height: 1800px;
    } */
    .real-estate-section-4 h2{
        color: white; 
        font-size: 25px; 
        font-weight: bold; 
        line-height: 1.2;
    }
    .real-estate-section-4 h4{
        color: white; 
        font-size: 16px; 
        line-height: 1.2;
        font-weight: normal;
    }

    .real-estate-section-5 h2{
        color: black;
        font-weight: bold;
        font-size: 23px;
        line-height: 1.2;
    }

    .real-estate-section-5a{
        /* background-size: cover; */
         /* background-repeat: no-repeat; */
          height: 500px; 
          border-radius: 20px;
    }
    .real-estate-section-5a h2{
        color: rgb(255, 255, 255);
        font-weight: bold;
        font-size: 25px;
        line-height: 1.2;
    }
    .real-estate-section-5a h4{
        color: rgb(255, 255, 255);
        font-weight: normal;
        font-size: 17px;
        line-height: 1.4;
    }

    .real-estate-section-6{
        height: 1050px;
    }

    .real-estate-section-6 h2{
        color: white; 
        font-size: 30px; 
        font-weight: bold; 
        line-height: 1.2;
    }
    .real-estate-section-6 h4{
        color: white;
        font-weight: normal;
        font-size: 17px;
        letter-spacing: 0.5px;
    }
    .real-estate-section-6 span{
        font-size: 24px;
        font-weight: normal;
    }

    .real-estate-section-7{
        height: 1100px;
        padding: 5px;
    }

    .real-estate-section-7 h2{
        color: white; 
        font-size: 25px; 
        font-weight: bold; 
        line-height: 1.2;
    }
    .real-estate-section-7 h4{
        color: white; 
        font-size: 22px; 
        font-weight: normal;
        line-height: 1.2;
    }

    .real-estate-section-7-list li{
        font-size: 18px;
        font-weight: bold; 
        text-decoration: underline;
        text-underline-offset: 2px;
        margin-bottom: 40px;
        margin-top: 20px;
        line-height: 20px;
    }

    .mastering-library{
        margin-left: 0px;
    }

    .mastering-library .col-md-5{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .mastering-library .col-md-7{
        margin-top: 20px;
        margin-left: 40px;
    }

    .mastering-library .card{
        width: 20rem;
        height: 25rem;
    }

    .real-estate-section-9{
        height: 600px;  
    }

    .real-estate-section-9 h2{
        color: white;
        font-weight: bold;
        font-size: 25px;
        line-height: 1.2;
    }

    .real-estate-section-9 h4{
        color: white;
        font-weight: normal;
        font-size: 18px;
    }
    .real-estate-section-8 h2{
        color: black; 
        font-size: 25px; 
        font-weight: bold; 
    }

    .real-estate-section-5 h5{
        font-size: 20px;
        font-weight: normal;
        /* text-transform: none; */
        line-height: 1;
    }

    .list-QA{
        padding: 5px;
    }
    .list-QA ul{
        padding: 5px;
    }

    .list-QA li{ 
        font-size: 22px;
        list-style: none;
        padding: 20px;
        line-height: 1.3;
    } 
    
    .answer{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* justify-content: center; */
        padding: 25px;
    }
    
    #paragraph li{
        margin:10px;
    }

    #paragraph ul{
        padding:10px;
    }
    
    
  }

@media (min-width: 431px) and (max-width: 770px){
    /* .real-estate-section-2{
        height: 1550px;
    } */
    .answer{
        padding: 25px;
    }
}

@media (min-width: 431px) and (max-width: 510px){
    .real-estate-section-7{
        height: 1300px;
    }
}

@media (min-width: 511px) and (max-width: 992px){
    .real-estate-section-7{
        height: 1100px;
    }
}

@media (min-width: 771px) and (max-width: 1200px){
    /* .real-estate-section-2{
        height: 1050px;
    } */
}

@media (min-width: 431px) and (max-width: 992px){
    /* .real-estate-section-7{
        height: 1300px;
    } */
    .real-estate-section-7-list li{
        font-size: 22px;
        font-weight: bold; 
        margin-bottom: 40px;
        margin-top: 40px;
        line-height: 35px;
    }
    .real-estate-section-3{
        height: 500px;
        /* width: 100%; */
    }
  }

  @media (min-width: 375px) and (max-width: 429px){

    .real-estate-section-7{
        height: 800px;
    }
    .real-estate-section-6{
        height: 1000px;
}


}

@media (min-width: 431px) and (max-width: 470px) {
    .real-estate-section-6{
        height: 1200px;
    }
}

@media (min-width: 471px) and (max-width: 600px) {
    .real-estate-section-6{
        height: 1100px;
    }
}

@media (min-width: 601px) and (max-width: 740px) {
    .real-estate-section-6{
        height: 950px;
    }
}

@media (min-width: 741px) and (max-width: 790px) {
    .real-estate-section-6{
        height: 900px;
    }
}

@media (min-width: 1800px)  {
    .mastering-library-p{
        font-size: 23px;
        margin-top: 60px;
        font-weight: normal;
        color: white;
        letter-spacing: 1px;
        /* line-height: 0.5 px; */
         
    }
  .mastering-library-p li{
        line-height: 1.2;
    }
    /* .dynamic-panel .row h5{
        font-size: 35px;
    } */
}

@media screen and (max-width: 768px) {
    .real-estate-section-9,.real-estate-section-8 {
        padding: 20px 10px; /* Reduce padding for smaller screens */
        width: 90% !important; /* Ensure the section takes the full width */
        margin: auto;
    }
    .real-estate-section-9 h2 {
        font-size: 1.4rem; /* Adjust heading size for better readability */
    }
    .accordion {
        padding: 0 10px; /* Add smaller padding for the accordion container */
    }
    .accordion-header {
        font-size: 1rem; /* Reduce font size for the accordion headers */
    }
    .accordion-button {
        font-size: 0.9rem; /* Make accordion button text smaller */
        padding: 10px; /* Add spacing for better touch targets */
        line-height: normal !important;
    }
    .accordion-body {
        font-size: 0.85rem; /* Adjust content text size */
        text-align: justify; /* Improve readability by justifying text */
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .real-estate-section-9,.real-estate-section-8 {
        padding: 40px 20px; /* Increase padding slightly for tablets */
        width: 100% !important; /* Ensure the section adjusts smoothly */
    }
    .real-estate-section-9 h2 {
        font-size: 1.6rem; /* Slightly larger heading for tablets */
        line-height: normal;
    }
    .accordion {
        padding: 0 15px; /* Moderate padding for accordion container */
    }
    .accordion-header {
        font-size: 1.1rem; /* Adjust font size for readability */
    }
    .accordion-button {
        font-size: 1rem; /* Slightly larger button text for tablets */
        padding: 12px; /* Improve touch target size */
        line-height: normal !important;
    }
    .accordion-body {
        font-size: 0.95rem; /* Slightly larger text for tablets */
        text-align: justify; /* Keep text justified */
    }
}

/* Mobile view adjustments */
@media (max-width: 599px) {
    .section-logos{
        height: 900px !important;
        margin-bottom: 15px;
    }


    .section-logos h2 {
        font-size: 24px;
    }

    .section-logos p {
        font-size: 14px;
    }

    .filter-section .filter-buttons {
        gap: 5px;
    }

    .filter-section .filter-btn {
        font-size: 12px;
        padding: 6px 8px;
        margin-bottom: 5px;
    }

    .filter-section .filter-btn img {
        width: 14px;
        height: 14px;
    }

    .image-container-logo {
        grid-template-columns: repeat(2, 1fr) !important; /* Two logos per row */
        gap: 10px;
    }
   
}
