@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* 
============================================================================================================ 
Global
============================================================================================================ 
*/

* {
    font-family: 'Poppins', sans-serif;
    padding: 0;
    margin: 0;
}

body {
    background-color: #ffffff !important;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 5%;
}

button {
    background-color: #003fa2;
    color: white;
    padding: 10px 34px 10px 34px;
    border: unset;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.5s;
    font-weight: 400;
}

.error {
    display: none;
    color: red;
}

.success {
    /*display: none;*/
    color: green;
}

.button-light {
    background-color: white;
    color: #003fa2;
    transition: color 0.5s, background-color 0.5s;
}

.button-light:hover {
    background-color: #003fa2;
    color: white;
}

a {
    color: #003fa2;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.5s;
}

strong {
    font-weight: 500;
}

a:hover {
    color: #346fdd;
}

p {
    color: rgb(87, 87, 87);
}

button:hover {
    background-color: #0062ff;
}

/* Navigation Menu */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9997;
}

.dummy-nav {
    padding-left: 15%;
    padding-top: 2%;
    margin-bottom: 5%;
}

.navbar-block { 
    position: unset; 
}

.navbar-nav {
    white-space: nowrap;
}

.navbar-nav li a {
    color: #8b8c98 !important;
    font-size: 1rem !important;
}

.navbar-scrolled {
    background-color: #eff3f5f8; /* change the color to whatever you want */
}

.navbar .logo {
    width: 240px;
}

.navbar .navbar-brand {
    margin-left: 20px;
}

.navbar .navbar-brand img {
    width: 70px;
}

.navbar li a {
    font-weight: 400 !important;
    text-transform: uppercase;
    font-size: 14px;
}

.navbar li a:hover {
    color: #b4b4b9 !important; 
}

.navbar .container-fluid {
    margin-left: 0%;
    margin-right: 0%;
    justify-content: end;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("/images/menu-icon.png");
    width: 2em;
    height: 2em;
}

.navbar-toggler {
    margin-right: 3%;
}

@media (min-width: 768px) {
    .navbar {
        padding-left: 15%;
        padding-right: 15%;
    }

    .navbar li:not(:last-child) {
        margin-right: 15px;
    }
}

@media (max-width: 768px) {
    .navbar-collapse {
        background-color: #003fa2 !important;
        padding: 7%;
    }

    .navbar {
        width: 100%;
    }

    .dummy-nav {
        padding-left: 5%;
    }

    .container-fluid {
        padding-left: 0;
        padding-right: 0;
        justify-content: space-between !important;
    }

    .navbar-toggler {
        padding: 0.4rem 0.75rem !important;
        font-size: 1rem !important;
    }

    .navbar-collapse .navbar-nav .nav-item {
        margin-bottom: 1rem;
        color: white;
    }    

    .slider-1 .container .footer button {
        margin: 10px 0px;
    }

    footer {
        line-height: 2rem !important;
    }

    .hiring-container .col-left .faq-item {
        margin-bottom: 12% !important;
    }
}

/* Index */
.slider-1 {
    display: flex;
    align-items: center;
    background-image: url("../../images/jdm-group-serbia.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: unset;
    height: 80vh;
    width: 100%;
    opacity: 0; /* Set initial opacity to 0 */
    animation: fadeIn 1s ease-in-out forwards; /* Apply the fadeIn animation */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-1 .container {
    width: 45%;
}

.slider-1 .display-4 {
    font-weight: 900;
    line-height: 3.3rem;
    color: #003fa2;
}

.slider-1 h3 {
    font-weight: 800;
    line-height: 3.2rem;
    color: #3c7cf9;
}

.slider-1 .footer {
    position: absolute;
    bottom: 5%;
    left: 14%;
    right: 45%;
}

.slider-1 .footer .header {
    margin-bottom: 3%;
}

.slider-1 h1 {
    color: #003fa2;
    font-weight: 800;
    position: absolute;
    top: 7%;
    left: 14%;
    line-height: 4.3vh;
    letter-spacing: -1px;
    font-size: 5vh;
}

.slider-1 .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    margin-left: 10%;
}

.slider-1 .social-media {
    display: flex;
    column-gap: 3%;
}

.main-section {
    position: relative;
    display: flex;
    flex-direction: column;
}

.slider-2 {
    display: flex;
    flex-direction: column;
    background-image: url("../../images/jdm-real-estate.png");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    left: 60%;
    bottom: -20%;
    top: 5%;
    padding-left: 6%;
    padding-right: 6%;
    padding-top: 2%;
    z-index: 9996;

    /* Add animation */
    animation-name: slide-from-left;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.slider-2 p {
    color: #d1985b;
}

.slider-2 button {
    background-color: #d1985b;
    color: #03080e;
    font-weight: 400;
}

.slider-2 button:hover {
    background-color: #b89b7c;
}

.slider-2 .real-estate {
    width: 100%;
}

/* Cloud */
.cloud {
    background-color: white;
    width: 100%;
    padding-left: 14%;
    padding-right: 14%;
    padding-bottom: 5%;
    z-index: 9995;
    opacity: 0;
    animation: fadeInCloud 1s ease-in-out forwards;
}

@keyframes fadeInCloud {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cloud-padding {
    padding-top: 13%;
}

.cloud .heading {
    font-weight: 600;
}

.cloud .breadcrumbs {
    color: #3c7cf9;
    font-weight: 600;
}

/* Hiring */
.hiring-main-container {
    display: flex;
    flex-wrap: wrap;
}

.image-container {
    flex-basis: 100%;
    max-width: 100%;
    position: relative;
    animation: slide-in-2 1s forwards;
}

@keyframes slide-in-2 {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-container img {
    max-width: 100%;
    height: auto;
}

.text-container {
    flex-basis: 100%;
    max-width: 100%;
    padding: 0 20px;
    text-align: center;
    opacity: 0;
    animation-name: fadeIn2;
    animation-duration: 1s;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

.text-container p {
    text-align: justify;
}

@keyframes fadeIn2 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-container h1 {
    color: #003fa2;
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: 0.1rem;
}

@media screen and (min-width: 768px) {
    .image-container {
        flex-basis: 40%;
        max-width: 40%;
    }

    .text-container {
        flex-basis: 60%;
        max-width: 60%;
        padding-top: 7%;
        padding-left: 2%;
        padding-right: 27%;
        text-align: left;
    }
}

@media screen and (max-width: 1356px) {
    .slider-1 h1 {
        bottom: 0;
        left: 10%;
    }
}

@media screen and (max-width: 1326px) {
    .text-container {
        padding-right: 17%;
    }
}

@media screen and (max-width: 1038px) {
    .hiring-main-container {
        flex-direction: column;
    }

    .text-container {
        margin-top: 5%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0;
        min-width: 100%;
        padding-left: 10%;
        padding-right: 10%;
    }
}

.hiring-container {
    margin-top: 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-left: 15%;
}
  
.hiring {
    background-image: url("../../images/bg-hiring.png");
    background-size: 100% 50%;
    background-repeat: no-repeat;
    background-position-y: top;
}

.hiring-container .row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
  
.hiring-container .col-left {
    flex: 1;
    padding: 20px;
}

.hiring-container .col-left h3 {
    color:#003fa2;
    font-weight: 500;
    font-size: 1.5rem;
}

.hiring-container .col-left .faq-item {
    margin-bottom: 5%;
}

.hiring-container .col-right {
    flex: 1;
    padding: 20px;
    z-index: 2;
}

@media screen and (max-width: 1224px) {
    .hiring-container {
        padding-right: 0;
        padding-left: 0;
    }
    .hiring-container .row {
        flex-direction: column;
    }

    .hiring-container .col-right {
        order: -1;
        display: flex;
        align-items: end;
        justify-content: end;
    }

    .hiring-container img {
        width: 80%;
        box-shadow: -140px 60px 0px 0px #003fa2;
    }

    .text-container p {
        text-align: center;
    }

    .hiring-container .col-left {
        padding-top: 15%;
        text-align: center;
    }

    .slider-1 .footer .lead {
        margin-bottom: 4rem;
    }
}
  
@media only screen and (max-width: 768px) {
    .hiring-container {
        flex-direction: column;
        align-items: center;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .hiring-container .col-left {
        order: 2;
        flex: 1 0 100%;
    }

    .hiring-container img {
        width: 80%;
        box-shadow: -75px 37px 0px 0px #003fa2;
    }

    .slider-1 h1 {
        top: 1%;
        left: 5%;
        bottom: 0;
        font-size: 3vh;
        line-height: 2.6vh;
    }

    .hiring-container .col-right {
        order: 1;
        flex: 1 0 100%;
        margin-bottom: 20px;
    }

    .slider-1 .footer .lead {
        margin-bottom: 4rem;
    }

    .hiring-main-container .text-container h1 {
        letter-spacing: -0.2rem !important;
    }
    
    .hiring-main-container .text-container button {
        margin-top: 10%;
        margin-bottom: 15%
    }

    .cloud {
        text-align: center !important;
    }
}

.apply-container {
    display: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #003fa2;
    color: white;
    margin-left: 16%;
    margin-right: 16%;
    padding-top: 5%;
    padding-bottom: 5%;
    margin-bottom: 5%;
    margin-top: -3%;
    padding-left: 5%;
    padding-right: 5%;
    z-index: 1;
}

.apply-container * {
    text-align: center;
}

.apply-container h2 { 
    font-weight: 800; 
}

.apply-container button {
    z-index: 9999;
}

.apply-container a { 
    color: white;
}

.apply-container a:hover {
    color: rgb(218, 218, 218);
}

.apply-container p {
    color: white;
    text-align: center;
}

.contact-container {
    display: none;
    margin-top: 7%;
    margin-bottom: 7%;
}

.contact-container h4 {
    color:#003fa2;
    font-weight: 800;
}

.contact-container i {
    color:#003fa2;
}

.contact-container p {
    margin-top: 20px;
}

.contact-container .row {
    align-items: center;
    justify-content: center;
}

.contact-container .hr-gray {
    margin-top: 20px;
    background-color: rgb(230, 230, 230);
    height: 1px;
    width: 300px;
}

.contact-container .social-media {
    margin-top: 25px;
}

.contact-container .social-media a {
    background-color: #003fa2;
    border-radius: 50%;
    display: inline-flex;
    flex-direction: column;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    transition: background-color 0.7s;
}

.contact-container .social-media a:hover {
    background-color: #4685fa;
}

.contact-container .social-media a i {
    color: white;
}

@media only screen and (max-width: 768px) {
    .apply-container {
        margin-left: 10%;
        margin-right: 10%;
    }
}

@media screen and (max-width: 1224px) {
    .contact-container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
}

/* Job Application */
.application-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    padding-left: 15%;
    padding-right: 15%;

    opacity: 0;
    animation: fadeIn3 1s ease-in-out forwards;
}

@keyframes fadeIn3 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.application-container .left-column {
    flex-basis: 30%;
    max-width: 30%;
    padding-top: 10%;
}

.application-container .left-column i {
    color:#003fa2;
    margin-right: 10px;
}

.application-container .left-column p {
    margin-top: 10px;
}

.application-container .left-column .flex {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.application-container .hr-gray {
    height: 1px;
    margin-top: 20px;
    background-color: rgb(230, 230, 230);
    height: 1px;
    width: 300px;
}

.application-container .right-column form button {
    float: right;
}

.application-container .right-column {
    flex-basis: 60%;
    max-width: 60%;
    color: gray;
}

.application-container .form-group {
    margin-bottom: 25px;
}

.application-container .right-column form input[type="text"], 
.application-container .right-column form select {
    outline: 0;
    border: 0;
    border-bottom: solid rgb(230, 230, 230) 1px;
    border-radius: 0;
    box-shadow: unset;
}

.application-container .right-column form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 10'%3E%3Cpolygon points='15,0 0,10 30,10'/%3E%3C/svg%3E") no-repeat;
    background-size: 10px 5px;
    background-position: calc(100% - 10px) center;
    width: 100%;
}


.application-container .right-column h2 {
    color:#003fa2;
    font-weight: 800;
}

.application-container .right-column form {
    margin-top: 10%;
}

.application-container .left-column h2 {
    font-size: 20px;
    margin-bottom: 25px;
    color:#003fa2;
    font-weight: 800;
}

.application-container p {
    font-size: 16px;
    margin-bottom: 10px;
}

.application-container .social-media {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.application-container .social-media a {
    background-color: #003fa2;
    border-radius: 50%;
    display: inline-flex;
    flex-direction: column;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    transition: background-color 0.7s;
}

.application-container .social-media a:hover {
    background-color: #4685fa;
}

.application-container .social-media a i {
    color: white;
}

.application-container .left-column .social-media  i {
    margin-right: 0 !important;
}

@media only screen and (max-width: 767px) {
    .application-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 10%;
    }

    .application-container h2 {
        text-align: center;
    }

    .application-container .left-column {
        padding-top: 25%;
        padding-bottom: 10%;
        text-align: center;
    }

    .application-container .right-column form {
        display: flex;
        flex-direction: column;
    }
    
    .application-container .right-column form button {
        float: unset;
        text-align: center;
        width: 50%;
        margin-left: auto;
        margin-right: auto;
    }

    .application-container .right-column {
        order: -1;
    }

    .application-container .left-column {
        flex-basis: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .application-container .right-column {
        flex-basis: 100%;
        max-width: 100%;
    }

    .slider-2 .container {
        margin-top: 3.5rem;
    }
}

/* Footer */
footer {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #003fa2;
    padding-top: 3px;
    font-weight: 300;
    line-height: 3rem;
    z-index: 9995;
}

/* Responsive Index */
@media only screen and (max-width: 1400px) 
{
    .slider-1 {
        background-position: unset;
    }
    
    .slider-1 .container {
        width: 100%;
    }

    .slider-1 .display-4 {
        font-weight: 900;
        line-height: 3.3rem;
        color: #003fa2;
    }
    
    .slider-1 .footer {
        position: absolute;
        bottom: 35%;
        left: 55%;
        right: 5%;
    }
    
    .slider-1 .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        margin-left: 15%;
        margin-right: 15%;
    }

    .main-section {
        align-items: center;
    }

    .slider-1 .social-media {
        display: flex;
        justify-content: center;
        column-gap: 10%;
    }

    .slider-2 {
        position: unset;
        background-repeat: center;
        margin-left: 15%;
        margin-right: 15%;
        height: 90vh;
        background-size: cover;
        background-position: center;
        width: 70vw;
    }
}

/* Responsive Index */
@media only screen and (max-width: 1110px) 
{
    .slider-1 .footer {
        position: absolute;
        bottom: 0%;
        left: 10%;
        right: 10%;
        text-align: center;
    }

    .slider-1 .footer .social-media {
        display: none;
    }
}

@media only screen and (max-width: 900px) 
{
    .slider-1 {
        height: 100vh;
        background-image: url("../../images/jdm-group-serbia-mobile.png");
        background-position: unset;
    }
    
    .slider-1 .display-4 {
        line-height: 2.7rem;
    }
    
    .slider-1 .footer {
        margin-top: 80%;
    }
    
    .slider-1 .social-media {
        display: flex;
        column-gap: 10%;
    }

    .slider-2 {
        position: unset;
        height: 100vh;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }

    .cloud {
        padding-top: 5%;
    }

    body {
        padding-bottom: 15%;
    }
}

@media only screen and (max-width: 430px) {
    .slider-1 .lead {
        margin-bottom: 2rem;
    }
}

@media only screen and (max-width: 430px) 
{
    .slider-2 {
        padding-top: 10%;
    }

    .slider-1 .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        margin-left: 0%;
        margin-right: 0%;
    }
    
    .slider-2 a img {
        width: 60px;
    }

    .cloud {
        padding-bottom: 10%;
    }
}

/* 
============================================================================================================ 
Real Estate
============================================================================================================ 
*/

.real-estate {
    background-color: #051122 !important;
}

.real-estate .main .social-media {
    display: flex;
    column-gap: 10%;
}

.real-estate .navbar .navbar-brand img {
    width: 40px;
    margin-left: 20px;
}

.real-estate footer {
    background-color: #d1985b !important;
    color: #051122 !important;
}

.real-estate .navbar-scrolled {
    background-color: #051122e3; /* change the color to whatever you want */
}

.real-estate .navbar .navbar-toggler-icon {
    background-image: url("/images/menu-icon-gold.png");
}
.real-estate .navbar-toggler-icon {
    color: #d1985b !important;
}

.real-estate .navbar .navbar-nav li a{
    color: #d1985b !important;
}

.real-estate .navbar .navbar-nav li a:hover {
    color: #d1985b94 !important;
}

/* Cloud */
.real-estate .cloud {
    background-color: #051122 !important;
}

.real-estate .cloud-padding {
    padding-top: 9%;
}

.real-estate .cloud .heading {
    color: white;
}

.real-estate .cloud .breadcrumbs {
    color: #d1985b;
}

.real-estate .cloud p {
    color: #b4b4b9;
}

.real-estate button {
    background-color: #d1985b;
    color: #051122;
}

.real-estate button:hover {
    background-color: #f3b069;
}

/* Footer */
@media (max-width: 768px) {
    .real-estate .navbar-collapse {
        background-color: #d1985b !important;
    }

    .real-estate .navbar .navbar-nav li a {
        color: #051122 !important;
    }

    .real-estate .navbar .navbar-nav li a:hover {
        color: #05112291 !important;
    } 

    .cloud {
        padding-top: 10%;
    }

    .slider-1 {
        height: 90vh;
    }
}

.real-estate .main {
    margin: 0 auto;
    font-size: 1.25rem;
    z-index: 9995;
}

.real-estate .main .row {
    display: flex;
    flex-wrap: wrap;
}

.real-estate .main .col {
    box-sizing: border-box;
}

.real-estate .main .col-left {
    flex: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    opacity: 0;
    animation-name: fadeInReal;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes fadeInReal {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.real-estate .main .col-left p {
    color: #f3b069;
    font-weight: 300;
}

.real-estate .main .col-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.real-estate .main img {
    position: relative;
    left: -200%; /* Start the image off the screen to the left */
    max-width: 130%;
    height: auto;
    animation-name: slide-in; /* Set the name of the animation */
    animation-duration: 0.5s; /* Set the duration of the animation */
    animation-fill-mode: forwards; /* Keep the final state of the animation */
}

@keyframes slide-in {
    from {
        left: -100%; /* Start position of the image */
    }
    to {
        left: 0; /* End position of the image */
    }
}


@media (max-width: 768px) {
    .real-estate .main .row {
        display: flex !important;
        flex-direction: column !important;
    }

    .real-estate .cloud {
        text-align: center;
    }

    .real-estate .main {
        margin-bottom: 15%;
    }

    .real-estate .main img {
        max-width: 100%;
    }

    .real-estate .main .col-right {
        order: -1;
        margin-bottom: 15%;
    }

    .real-estate .main .col-left {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 14%;
        text-align: center;
    } 
}

.real-estate .social-media {
    margin-top: 20%;
}

.real-estate .social-media a:hover {
    color: #f3b06969 !important;
}

.real-estate .social-media a {
    color: #f3b069 !important;
    font-weight: 200 !important;
}

/* 
============================================================================================================ 
Animations
============================================================================================================ 
*/

/* Fade in screen */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeOut 1.5s ease-in-out forwards;
}

.loading img {
    z-index: 9999;
}

.real-estate .loading {
    background-color: #051122;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
        z-index: -1;
    }
}

/* Define the animation */
@keyframes slide-from-left {
    from {
        left: 0; /* Start from the left side of the screen */
    }
    to {
        left: 60%; /* Move to the actual position */
    }
}