/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

.feature-box--center-img {
    padding-left: 0 !important; /* removes the forced 80px indent */
}

.feature-box--center-img img {
    display: block;
    margin: 0 auto;
}

.hide-on-mobile {
    display: block;
}

.show-on-mobile {
    display: none;
}

@media only screen and (max-width: 767px) {
    .hide-on-mobile {
        display: none !important;
    }
    .show-on-mobile {
        display: block !important;
    }
}

/* Always hide desktop map on mobile, show mobile map */
@media (max-width: 768px) {
    .desktop-map {
        display: none !important;
    }

    .mobile-map {
        display: block !important;
    }
}

/* Ensure the slider is positioned below */
 #slider {
     position: relative;
     z-index: auto;
 }

#why-text{
    padding-top: 30px;
}

#why-with-us-text{
    padding-top: 30px;
}

/* Ensure the "Warum mit uns" section overlays on top of the slider */
#section-why-us {
    position: relative;
    z-index: 2; /* Higher than slider */
}

.page-section {
    width: 100%;
    padding: 20px 0;
    background-color: #f9f9f9; /* Optional: background styling */
    margin-top: 20px;
}

.background-margin {
    margin-left: 20%; /* Default margin for larger screens */
}

#portfolio .portfolio-item {
    margin: 15px; /* Adjust this value as needed */
}

/* Optional: Adjust the container width to prevent horizontal scroll with the added margin */
#portfolio {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px; /* Space between items */
}

#contact_form-mail_us {
    background-color: #f9f9f9;
;
}

#icon-location #icon-call #icon-security {
    background-color: transparent;
}


/* navbar dropdown*/
/* Flag Icon Spacing */
.dropdown-content li a i {
    margin-right: 8px; /* Adds space between flag and text */
}

/* Dropdown container */
.dropdown {
    position: relative;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333; /* Adjust as needed */
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 5px 0;
}

/* Display dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Links inside the dropdown */
.dropdown-content li {
    list-style: none;
}

.dropdown-content li a {
    color: white; /* Text color */
    padding: 10px 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.dropdown-content li a:hover {
    background-color: #575757; /* Background color on hover */
}

/* Desktop Only */
@media (min-width: 769px) {
    .mobile-screen {
        display: none;
    }
    .big-screen {
        display: block;
    }
}

/* Mobile Only */
@media (max-width: 768px) {
    .mobile-screen {
        display: block;
    }
    .big-screen {
        display: none;
    }
}

/* Extra small devices (phones, less than 600px) */
@media only screen and (max-width: 599px) {
    .background-margin {
        margin-left: 10%;
    }
}

/* Small devices (tablets, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 767px) {
    .background-margin {
        margin-left: 15%;
    }
}

/* Medium devices (small laptops, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .background-margin {
        margin-left: 18%;
    }
}

/* Large devices (laptops/desktops, 1024px and up) */
@media only screen and (min-width: 1024px) and (max-width: 1440px) {
    .background-margin {
        margin-left: 20%;
    }
}

/* Extra large devices (large desktops, 1441px and up) */
@media only screen and (min-width: 1441px) and (max-width: 1920px) {
    .background-margin {
        margin-left: 25%;
    }
}

/* Ultra wide monitors (1921px and up) */
@media only screen and (min-width: 1921px) {
    .background-margin {
        margin-left: 46%;
    }
    .background-catchphrase-text {
        width: 25%;
    }
}

/* Desktop Only */
@media (min-width: 769px) {
    .mobile-screen {
        display: none;
    }
    .big-screen {
        display: block;
    }

    .lang-first {
        padding-left: 15px !important;
        padding-right: 5px !important
    }

    .lang-mid {
        padding-left: 0px !important;
        padding-right: 5px !important
    }

    .lang-last {
        padding-left: 0px !important;
        padding-right: 15px !important
    }
}

/* Mobile Only */
@media (max-width: 768px) {
    .mobile-screen {
        display: block;
    }

    .big-screen {
        display: none;
    }
}

/* Hide all checkmarks initially */
.checkmark {
    visibility: hidden;
    margin-right: 5px;
}

/* Display the checkmark only on the selected language */
.selected .checkmark {
    visibility: visible;
}

.background-parallax-layout {
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 75%;
    max-height: 80%;
}

.center-overlay{
    align-items: center;
    justify-content: center;
    position: relative;
    display: flex;
}

.layout-overlay-bg1{
    align-items: center;
    min-height: 400px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 80px 50px;
    border-radius: 10px
}

.layout-overlay-bg2{
    align-items: center;
    min-height: 400px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 80px 50px;
    border-radius: 10px
}

@media (min-width: 1024px) {
    .background-catchphrase-text {
        max-width: 80%;
    }

    .background-with-message{
        height: 110vh;
    }
}

@media (min-width: 768px) {
    .background-catchphrase-text {
        max-width: 60%;
    }


    .background-with-message{
        height: 90vh;
    }
}

.lang-ar {
    direction: rtl;
    text-align: right;
}

