body {
    font-family: 'DINish', sans-serif;
    font-size: 20px;
}

.navbar {
    font-size: 16px;
}

a {
    text-decoration: none;
    color: #50A1C9;
}

label, .validation-error {
    font-size: 0.8em;
}

footer {
    font-size: 0.8em;
}

footer a {
    color: #0b3249;
}

/* Bootstrap override */
.accordion-button {
    font-size: 20px !important;
}

/* Lightbox override */
.lb-caption {
    font-size: 20px !important;
}

.lb-number {
    font-size: 16px !important;
}

/* Custom styles */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    height: 100px; /* Fixed height for the navbar */
    background-color: #0b3249; /* Custom background color */
}

.navbar-brand img {
    height: 66px; /* Adjust logo height */
    width: auto; /* Maintain aspect ratio */
}

.navbar-nav {
    margin-top: 26px;
    font-size: 1.25em;
    margin-left: auto; /* Align menu to the right */
    font-family: 'DINish Round', sans-serif; /* Font for menu */
    letter-spacing: -0.025em;
    font-weight: 300;
}

.navbar-nav .nav-item {
    margin-left: 1.0em;
}

.language-icon {
    position: absolute;
    top: 8px; /* Position above the main menu */
    right: 20px; /* Align to the right */
    color: rgba(255, 255, 255, 0.6); /* Faint white color */
    font-size: 20px; /* Smaller icon size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: color 0.3s ease; /* Smooth transition on hover */
}

.language-icon:hover {
    color: #fff; /* White color on hover */
}

.full-screen-image {
    height: calc(100vh - 100px); /* Subtract navbar height */
    background-image: url('../images/pages/home/main.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.green-divider {
    background-color: #a3afb2 !important;
    height: 8px;
    width: 100%;
}

.content-section {
    max-width: 1540px; /* Larger content section */
    margin: 0 auto;
    padding: 36px 20px 40px 20px;
}

.content-section h1, .content-section h2 {
    font-family: 'DINish', sans-serif;
    font-weight: 500;
}


.link-boxes {
    position: absolute;
    bottom: 20px;
    left: 20px; /* Move to the bottom-left corner */
    display: flex;
    gap: 16px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.link-boxes a {
    text-decoration: none;
}

.link-box {
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
    padding: 12px 16px 12px 16px; /* Increased padding */
    border-radius: 6px;
    text-align: left; /* Align text to the left */
    transition: background-color 0.3s ease;
    font-family: 'DINish', sans-serif; /* Font for boxes */
    font-size: 1.1em; /* Larger font size */
    width: 280px; /* Fixed width */
    display: flex;
    flex-direction: column; /* Stack title and subtitle vertically */
}

.link-box:hover {
    background-color: rgba(255, 255, 255, 1); /* Fully white on hover */
}

.link-box a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.link-box span.title {
    font-size: 1.08em;
    color: #0b3249;
    margin-bottom: 2px; /* Space between title and subtitle */
}


.link-box .subtitle-line {
    display: flex;
    align-items: center;
    width: 100%;
}

.link-box span.subtitle {
    font-size: 0.88em;
    color: #50a1c9;
    display: block; /* Ensure subtitle is on a new line */
}

.link-box .arrow {
    font-size: 1.4em;
    color: #999999;
    padding-left: 4px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.link-box:hover .arrow {
    transform: translateX(24px);
}

/* Submenu styles */
.dropdown-menu {
    background-color: #0b3249; /* Match the selected blue */
    border: none; /* Remove default border */
    font-family: 'DINish Round', sans-serif; /* Font for submenu */
}

.dropdown-item {
    font-size: 1.25em;
    color: #fff; /* White text for submenu items */
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Light hover effect */
    color: #a3afb2;
}

.language-icon ul.dropdown-menu {
    top: auto !important;
}

.language-icon ul.dropdown-menu li {
    background-color: #fff !important;
}

.language-icon ul.dropdown-menu li a {
    color: #0b3249 !important;
}

.GreyTitle {
    color: #8D9799;
}

.ItalicText {
    font-style: italic;
    font-size: 20px;
}

.ButtonFontSize {
    font-size: 28px;
}

.GreenBtnMainDiv {
    width: 100%;
    margin-top: 55px;
    margin-bottom: 55px;
    display: flex;
    justify-content: center;
}

.GreenBtnLink {
    text-decoration: none;
    color: white;
}

.GreenBtnDiv {
    display: inline-flex;
    padding: 10px 38px 10px 40px;
    background-color: #31AF97;
    border-radius: 5px;
    align-items: center;
}

.GreenBtnDiv > span {
    margin-right: 15px;
    font-family: "DINish", sans-serif;
    font-weight: 300;
}

.GreenBtnArrow {
}

.GreenBtnDiv:hover {
    background-color: #2A9E88;
}

.TextImgSection {
    margin-top: 50px;
}

.TextMainDiv {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.FlexReverseContainer {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.HomeTextDiv {
    width: 50%;
    padding-right: 35px;
}

.HomeTextDiv > p {
    font-size: 20px;
}

.HomeImgDiv {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

}

.HomeImgDiv > img {
    width: 100%;
}

.GreyBtnMainDiv {
    width: 100%;
    margin-top: 35px;
    display: flex;
    justify-content: flex-end;
}

.GreyBtnLink {
    text-decoration: none;
    color: white;
}

.GreyBtnDiv {
    display: inline-flex;
    padding: 10px 38px 10px 40px;
    background-color: #8F999B;
    border-radius: 5px;
    align-items: center;
}

.GreyBtnDiv:hover {
    background-color: #858D8E;
}

.GreyBtnDiv > span {
    margin-right: 15px;
    font-family: "DINish", sans-serif;
    font-weight: 300;
}

/*General*/
.BlueColor {
    color: #0B3249;
}

.TitleLightBlue {
    color: #50A1C9;
}

.TitleLightGreen {
    color: #a3afb2;
}

/*Architecture style*/

.AllMainImgDiv {
    width: 100%;
}

.AllMainImgDiv > img {
    width: 100%; /* Makes the image responsive and scales down */
    height: auto;
}

/* 1 family house style */

.accordion-button:not(.collapsed) {
    background-color: #a3afb2 !important;
    color: white !important;
}

.accordion-item {
    border: 1px solid #a3afb2 !important;
}

.CarouselDivMain {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
    height: 130px;
}

.carouselHeight {
    height: 130px;
}

.carousel-control-next, .carousel-control-prev {
    width: unset !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

@media only screen and (max-width: 1140px) {
    .w-20 {
        width: 17%;
    }

}


@media only screen and (max-width: 768px) {

    .carouselHeight {
        height: 50px;
    }

    .carousel-control-prev-icon, .carousel-control-next-icon {
        width: 1rem;
        height: 1rem;
    }

    .CarouselDivMain {
        height: 50px;
    }
}

/*Footer style*/

.footer {
    /* background-color: #d4d9da; */
    background-color: #e5e8e8;
    /* background-color: #a3afb2;
     background-color:#C3C7C8;
     background-color: #9CA8AD; */
    width: 100%;
    margin-top: 48px;
    padding: 15px 0;
    color: #0B3249;
}

.footerContainer > div > a {
    text-decoration: none;
    color: #0B3249;
}

.footerContainer {
    max-width: 1540px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.footerContainer > div > h5 {
    font-family: "DINish", sans-serif;
    color: rgba(11, 50, 73, 0.42);
}

.footerContainer > div {
    text-align: start;
}

footer .contactsContainer a {
    color: #0B3249;
    text-decoration: none;
}

footer .contactsContainer a:hover {
    text-decoration: underline;
}

/* For Sale page*/
.forSaleTextMainC {
    display: flex;
    margin-top: 10px;
}

.forSaleTextContainer {
    width: 60%;
    background-color: #E5E5E5;
}

.forSaleHeaderText {
    display: flex;
    width: 100%;
    background-color: #A3AFB2;
}

.firstContainerHeader {
    width: 20%;
    color: white;
    padding-left: 15px;
    padding-top: 10px;
}

.secondContainerHeader {
    padding-top: 10px;
}

.SecondTextDiv {
    background-color: #E5E5E5;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
}

.forSaleGreenBtn {
    width: 100%;
    display: flex;
    justify-content: end;
    padding-right: 15px;
    margin-top: 25px;
}

/*Lozen page*/
.offerHeaderMainCont {
    display: flex;
}

/*Map*/
#map {
    min-width: 600px;
    min-height: 700px;
}

.offerHeaderMainCont > div:nth-child(1) {
    width: 25%;
}

.marginBottom {
    margin-bottom: 55px;
}

.galleryContainer {
    display: grid;
    grid-template-columns:  repeat(auto-fit, minmax(367px, 1fr));
    grid-gap: 8px;
    text-align: center;
}

.img-effect {
    outline: solid 1px #e2e2e2;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.img-effect:hover {
    outline: solid 1px #e2e2e2;
    filter: hue-rotate(5deg) saturate(125%) brightness(105%);
    transform: scale(0.95);
}

.forSaleGridContainer {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.forSaleLeftMainContainer {
    background-color: #E5E5E5;
}

.forSaleHeaderMainFlex {
    display: flex;
    background-color: #A3AFB2;
    padding: 15px;
    flex-direction: column;
}


.forSaleHeaderMainFlex > div {
    display: flex;
    flex-direction: row;
}

.forSaleHeaderMainFlex > div > div:nth-child(1) {
    width: 25%;
    color: white;
}

.info {
    cursor: pointer;
    background-color:rgba(255, 255, 255, 0.24);
    padding:5px;
    border-radius: 50%;
}

.forSaleLeftTextContainer {
    padding: 15px;
}

.forSaleRightMainContainer > img {
    width: 100%;
}

.imgLandOwners {
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 1440px) {
    .forSaleGridContainer {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1140px) {
    .forSaleGridContainer {
        grid-template-columns: 1fr;
    }

    .forSaleLeftMainContainer {
        order: 2;
    }
}

@media (max-width: 991.98px) {

    .forSaleHeaderMainFlex > div {
        display: flex;
        flex-direction: column;
    }

    .forSaleHeaderMainFlex > div > div:nth-child(1) {
        width: 100%;
    }

    /* Hide the globe icon by default on small and medium resolutions */
    .language-icon {
        display: none;
    }

    /* Make the navbar cover the entire screen when open */
    .navbar-collapse {
        position: fixed;
        top: 100px; /* Start below the header */
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #0b3249; /* Blue background */
        z-index: 1010; /* Ensure it's above other content */
        padding: 20px;
        overflow-y: auto; /* Allow scrolling if menu is too long */
    }

    /* Add a divider at the top of the menu */
    .navbar-collapse::before {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.2); /* Light divider */
        margin-bottom: 20px; /* Spacing below the divider */
    }

    /* Align menu links and globe icon to the right on phones */
    .navbar-collapse .navbar-nav {
        text-align: right; /* Align text to the right */
    }

    .navbar-collapse .language-icon {
        display: block;
        position: static; /* Reset positioning */
        margin-top: 20px; /* Add some spacing */
        text-align: right; /* Align icon to the right */
    }

    /* Submenu styles for phones */
    .navbar-collapse .dropdown-menu {
        background-color: transparent; /* Transparent background */
        border: none; /* Remove border */
        padding-left: 20px; /* Indent submenu items */
    }

    .navbar-collapse .dropdown-item {
        color: #fff; /* White text for submenu items */
    }

    .navbar-collapse .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1); /* Light hover effect */
    }

    .navbar-collapse hr {
        color: rgba(255, 255, 255, 1);
    }

    .FlexReverseContainer {
        flex-direction: column-reverse;
    }

    .TextMainDiv {
        flex-direction: column;
    }

    .HomeTextDiv {
        width: 100%;
        margin-right: unset;
        padding-right: unset;
        margin-top: 25px;
    }

    .HomeImgDiv {
        width: 100%;
    }

    .marginTopContact {
        margin-top: 30px;
    }

    .GreyBtnDiv, .GreenBtnDiv {
        font-size: 22px;
        display: inline-flex;
    }

    .GreyBtnMainDiv {
        justify-content: flex-start;
    }

    .GreenBtnMainDiv {
        margin-top: 35px;
        margin-bottom: 35px;
    }

    .footerContainer {
        padding-left: 12px;
    }

    .contactsContainer {
        padding-right: 12px;
    }
}
