#opportunities {
    margin-top: 90px;
    overflow: hidden;
}

.row-margin {
    margin-top: 40px;
    margin-bottom: 40px;
}

.banner-container {
    max-width: 100% !important;
    padding: 0px;
}

.opportunities-banner {
    position: relative;
    width: 100%;
    height: 400px;
    padding: 0px;
}

.opportunities-banner::before {
    content: '';
    background-color: #4c3e229c;
    position: absolute;
    width: 100%;
    height: 100%;
}

.opportunities-banner img {
    width: 100%;
    object-fit: cover;
    max-width: 100%;
}

.banner-text h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 18px;
    margin-bottom: 30px;
}

.banner-text a {
    background-color: #022148;
    color: white;
    padding: 10px;
}

.banner-text a:hover {
    background-color: #fec90f;
    color: #022148;
}

.banner-text {
    position: absolute;
    right: 50%;
    top: 6vw;
    transform: translate(50%, 0px);
    color: white;
    letter-spacing: 1px;
    text-align: center;
    padding: 0px 100px;
}

.banner-text h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-right: 23vw;
    margin-bottom: 25px;
}

#opportunities .container {
    max-width: 1000px;
}

.opportunities-text {
    padding: 0px 40px;
}

.opportunities-box {
    text-align: center;
}

.opportunities-box i{
    font-size: 2rem;
}

.opportunities-box h4{
    margin-bottom: 20px;
}

.banner-message {
    background: #002f6c;
    color: white;
    text-align: center;
    padding: 70px 20px;
}

#grid-btn {
    margin-right: 5px;
}

#property-grid {
    display: grid;
    gap: 20px 25px;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: start;
    justify-content: start;
}

#grid-block {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

div[data-key] {
    width: 100%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 2px 1px #cfcfcf;
    border-bottom: 4px solid #fec90f;
}

div[data-key]:hover {
    box-shadow: 0px 0px 12px 1px #cfcfcf;
}

#property-grid .carousel {
    height: 255px;
}

#property-grid .carousel-inner {
    height: 100%;
    border-radius: 10px 10px 0px 0px;
}

#property-grid .carousel-item {
    height: 100%;
}

#property-grid .property-info {
    position: relative;
    margin-left: 40px;
    padding-top: 35px;
}

#property-grid img {
    object-fit: cover;
}

.property-info a {
    color: #484848;
    text-decoration: none;
}

.property-icons {
    display: flex;
    flex-wrap: wrap;
}

.property-icon {
    display: flex;
    margin-right: 7px;
    margin-bottom: 6px;
}

.property-icons svg {
    margin-right: 5px;
    color: #00000099;
}

.property-icons span {
    margin-right: 10px;
    margin-left: 3px;
}

.property-area {
    color: #4a4a4a;
}

.property-info .property-price {
    font-weight: 500;
    color: #000000c2;
    font-size: 1.4rem;
    margin-bottom: 9px;
}

#property-grid .property-info .property-id {
    color: #303a53;
    background-color: #fec90f;
    border-radius: 20px;
    padding: 7px 15px 7px 15px;
    position: absolute;
    top: -21px;
    left: 26px;
    border: 4px solid white;
}

.property-image {
    position: relative;
}

.sale-text {
    position: absolute;
    z-index: 2;
    right: 0px;
    bottom: -24px;
    padding: 7px 0px 7px 18px;
    background-color: darkgreen;
    border-radius: 13px 0px 0px 12px;
    width: 123px;
    /* height: 51px; */
    color: white;
    line-height: 17.5px;
}

.sale-text span {
    font-size: 0.9rem;
}

.add-favorites-icon {
    position: absolute;
    z-index: 2;
    font-size: 1.3rem;
    right: 10px;
    top: 10px;
    padding: 2px 6px 2px 6px;
    background-color: #303a5375;
    border-radius: 40px;
    width: 33px;
    height: 32px;
    color: white;
    cursor: pointer;
}

.add-favorites-icon:hover { 
    font-size: 1.5rem;
    width: 39px;
    height: 37px;
    padding: 2px 8px 2px 8px;
}

.images-icon {
    display: flex;
    position: absolute;
    z-index: 2;
    font-size: 1.1rem;
    left: 10px;
    bottom: 10px;
    padding: 1px 6px 1px 6px;
    /* background-color: #303a5375; */
    border-radius: 40px;
    width: 33px;
    height: 32px;
    color: white;
    cursor: pointer;
    align-items: center;
}

.images-icon svg {
    margin-right: 4px;
}

.banner-message button {
    background-color: white;
    color: #022148;
}

.banner-message button:hover {
    background-color: #fec90f;
    color: #022148;
}

@media only screen and (min-width: 1921px) {}

@media only screen and (max-width: 1921px) {}

@media screen and (max-width: 1680px) {}

@media only screen and (max-width: 1400px) {}

@media only screen and (max-width: 1200px) {}

@media only screen and (max-width: 992px) {
    .banner-text {
        padding: 0px;
    }

    #property-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 768px) {
    .opportunities-text {
        text-align: center;
    }

    .opportunities-heading {
        text-align: center;
    }
}

@media only screen and (max-width: 576px) {
    #property-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 480px) {
    .banner-text {
    right: 5%;
    top: 21vw;
    transform: translate(3%, 0px);
    padding: 0px 13px;
}
}

@media only screen and (max-width: 420px) {}

@media only screen and (max-width: 360px) {}

@media only screen and (max-width: 320px) {}