:root {
    --primary-color: #22c55e;
    --primary-dark: #16a34a;
    --text-dark: #1e1e1e;
    --text-light: #4C4C4C;
    --white: #ffffff;
    --bg-light: #f8f8f8;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Montserrat', Verdana, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background-image: url("../img/bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--bg-light);
}

.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.bg-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1557683316-973673baf926?ixlib=rb-4.0.3&auto=format&fit=crop&w=2129&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
}

.green-square {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    z-index: 1;
}

.content-container {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 60px;
}
.logo-container img{
    max-width: 100%;
}

.logo-text {
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    margin: 0;
}

.logo-dot {
    color: var(--primary-color);
    display: inline-block;
    font-size: 120px;
    line-height: 1;
    margin: 0 10px;
}

.logo-square {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    margin: 0 10px;
    vertical-align: middle;
}

.subtitle {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.location-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.location-card {
    position: relative;
    flex: 1;
    min-width: 203px;
    max-width: 277px;
    background-color: var(--white);
    border-radius: 8px;
    /*overflow: hidden;*/
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.location-card:hover{
    transform: scale(1.2);
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.location-card:hover .location-header{
    background-color: var(--primary-color);
    color: white;
    border: var(--primary-color);
    transition: transform 0.3s ease-in-out;
}

.location_contact{
    padding: 15px;
}
.location_contact strong,
.location_contact a{
    display: inline-block;
    margin: 5px 0;
}
.location_contact a{
    color: var(--primary-color);
    font-weight: 500;
    /*text-decoration: none;*/
}
.location_contact a:hover{
    opacity: 0.7;
}

.location-header {
    border: 1px solid #EBF7EF;
    box-shadow: 0px 11.3333px 26.4444px rgba(11, 52, 86, 0.12);
    border-radius: 3.77778px;

    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    position: absolute;
    top: -30px;
    width: 80%;
    left: 10%;
    z-index: 50;
}

.flag-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.country-name {
    font-weight: 700;
    font-size: 24px;
}

.location-map {
    height: 200px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}



.poland-map {
    background-image: url('../img/m_pl.jpg');
}

.switzerland-map {
    background-image: url('../img/m_sw.jpg');
}


.ukraine-map {
    background-image: url('../img/m_ua.jpg');
}


.usa-map {
    background-image: url('../img/m_us.jpg');
}


.poland-flag {
    /*background: linear-gradient(to bottom, white 50%, #dc2626 50%);*/
    background-image: url('../img/f_pl.png');
    background-size: cover;
    background-position: center;
}

.switzerland-flag {
    /*background-color: #dc2626;*/
    position: relative;
    background-image: url('../img/f_sw.png');
    background-size: cover;
    background-position: center;
}

/*.switzerland-flag::after {*/
/*    content: '+';*/
/*    color: white;*/
/*    font-size: 16px;*/
/*    font-weight: bold;*/
/*    position: absolute;*/
/*}*/

.ukraine-flag {
    /*background: linear-gradient(180deg, #0057b7 50%, #ffd700 50%);*/
    background-image: url('../img/f_ua.png');
    background-size: cover;
    background-position: center;
}

.usa-flag {
    /*background-image: url('../img/f_us.png');*/
    background-image: url('../img/f_us_2.png');
    background-size: cover;
    background-position: center;
}

/* Media Queries */
@media (max-width: 992px) {
    .logo-text {
        font-size: 80px;
    }

    .logo-dot, .logo-square {
        font-size: 80px;
        width: 40px;
        height: 40px;
    }

    .subtitle {
        font-size: 24px;
        margin-bottom: 40px;
    }
    .logo-container{
        align-items: center;
        margin-top: 30px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .location_contact a{
        display: block;
        margin-top: 8px;
        margin-bottom: 8px;
    }
    .green-square {
        width: 80px;
        height: 80px;
    }

    .content-container {
        padding-top: 80px;
    }

    .logo-text {
        font-size: 60px;
    }

    .logo-dot, .logo-square {
        font-size: 60px;
        width: 30px;
        height: 30px;
    }

    .subtitle {
        font-size: 20px;
        margin-bottom: 40px;
    }

    .location-card {
        min-width: 100%;
        margin-bottom: 50px;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 40px;
    }

    .logo-dot, .logo-square {
        font-size: 40px;
        width: 20px;
        height: 20px;
    }

    .subtitle {
        font-size: 18px;
    }
}