* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Montserrat", serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 10px;
    align-items: center;
}


section {
    position: relative;
}

.logo {
    color: var(--FontWhite, #FFF);
    font-family: Montserrat;
    font-style: normal;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 24px;
    line-height: 20px;
    gap: 13px;
    flex: 1;
}

.hero {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: start;
    justify-content: space-around;
    background:  #242424;
    position: relative;
}
.hero-title {
    color: white;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title h3 {
    font-weight: 400;
    font-size: clamp(15px, 2.5vw, 17px);
}
.hero-images {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.action-button {
    background-color: #be7914;
    font-weight: 700;
    max-width: 190px;
    width: 100%;
    color: white;
    font-size: 16px;
    line-height: 18px;
    padding: 18px 38px;
    border: 1px solid transparent;
    outline: none;
    border-radius: 24px;
    text-transform: capitalize;
    cursor: pointer;
}
.action-button:active {
    background-color: #be79147a;
}

.action-button:hover {
    border: 1px solid white;
}

.walet-background {
    position: absolute;
    z-index: 0;
}

#walet {
    position: absolute;
    left: 0;
}


.nav-button {
    border: 1px solid white;
    padding: 5px 10px;
    background: none;
    border-radius: 50px;
    color: white;
}

.active-text {
    color: var(--Bronze-Accent-Color, #BE7914);
}

.white-section {
    background: var(--White-Background, #FDFDFD);
}

.sand-section {
    background: var(--Sand-Background, #FAF6F0);
}

.hero-img {
    width: clamp(300px, 25vw, 350px);
    margin: 0 12px;
}

#contact {
    background-image: url('../assets/footer-img-bg.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
   }
   .contact-form {
    background-color: #353535df;
    color: white;
    display: flex;
    flex-direction: column;
   }
   .contact-form-inputs {
    margin-top: 60px;
       display: flex;
       flex-direction: column;
       align-items: center;
       gap: 18px;
   }
   .contact-form-field-holder {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    gap: 13px;
   }
   .contact-field {
    height: 32px;
    padding: 9px 18px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
    border: none;
    outline: none;
   }
   .contact-field::placeholder {
    color: var(--TextEmail, #808080);
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
   }
   .contact-form-field-subtitle {
    color: var(--FontWhite, #FFF);
    text-align: center;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
   }

   .footer {
    background-color: #242424;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
   }
   .footer-title {
    color: var(--FontWhite, #FFF);
    text-align: center;
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
   }
   .footer-text {
    color: var(--FontWhite, #FFF);
    text-align: center;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
   }

   .footer-text a {
    color: var(--FontWhite, #FFF);
    text-decoration: none;
   }
   .wide-card {
    background-color: white;
    padding: clamp(18px, 3.5vw, 32px) clamp(14px, 2.5vw, 26px);
    -webkit-box-shadow: 0px 0px 24px -4px rgba(0,0,0,0.27);
    -moz-box-shadow: 0px 0px 24px -4px rgba(0,0,0,0.27);
    box-shadow: 0px 0px 24px -4px rgba(0,0,0,0.27);
    border-radius: 24px;
    margin: clamp(12px, 2.5vw, 22px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(12px, 2.5vw, 22px);
   }
   .wide-card-title {
    font-size: 18px;
    font-weight: 700;
   }
   .wide-card-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
   }
   #email-added {
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 5px;
   }
   #email-add-failed {
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 5px;
   }

   .team-section-content{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
   }
   .team-section-subtitle{
    font-size: 16px;
    line-height: 1.5;
    color: #AF7014;
    text-align: center;
    margin-top: 32px;
    margin-bottom: 40px;
   }
   .team-content {
    margin: 0 auto;
    max-width: 1070px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 35px;
    flex-wrap: wrap;
   }
    .team-col {
    width: 300px;
    filter: grayscale();
    transition: filter 0.6s linear;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   }
   .team-col:hover {
    filter: none;
   }

   .team-img {
        height: 150px;
        width: 150px;
        border-radius: 50%;
   }
    .team-name {
        font-weight: bold;
        font-size: 17px;
        line-height: 20px;
        margin-top: 16px;
   }
   .team-title {
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    margin-top: 5px;
    text-align: center;
   }
   .team-description {
        margin: 16px 0;
        font-size: 14px;
        line-height: 1.5;
        text-align: center;
   }
   /* Language Switcher Styles */
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.language-switcher a {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px 8px;
    margin: 0 3px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.language-switcher a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.mg-20 {
    margin-top: 20px;
}

/* Active state based on html lang attribute */
html[lang="en"] a[data-lang="en"],
html[lang="fi"] a[data-lang="fi"],
html[lang="sv"] a[data-lang="sv"] {
    background-color: #be7914;
    border-color: #be7914;
    font-weight: bold;
}

/* Fade animation for language switch */
[data-i18n] {
    transition: opacity 0.2s ease;
}

.language-switching [data-i18n] {
    opacity: 0.5;
}

/* Mobile optimizations */
@media screen and (max-width: 767px) {
    .burger-menu .language-switcher {
        margin-left: 10px;
    }
    
    .language-switcher button {
        padding: 4px 6px;
        font-size: 11px;
    }
}

/* Tablet and desktop optimizations */
@media screen and (min-width: 768px) {
    .desktop-menu .language-switcher {
        margin-left: 20px;
    }
    
    .language-switcher button {
        padding: 6px 10px;
        font-size: 13px;
        margin: 0 4px;
    }
}

/* Additional styles for mobile language switcher inside burger menu */
.mobile-language-switcher {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    width: 100%;
}

li.language-switcher-container {
    display: flex !important;
    justify-content: center;
    width: 100%;
}

/* Make buttons slightly larger on mobile menu for better touch targets */
.mobile-language-switcher button {
    padding: 8px 12px;
    margin: 0 5px;
    font-size: 14px;
}

@media (max-width: 767px) {
    /* Hide any language switcher that might be in the nav-bar on mobile */
    .burger-menu .nav-bar .language-switcher {
        display: none;
    }
}

.contact-text {
    text-align: center;
    font-size: 18px;
    line-height: 57px;
}


.shifted {
    padding-top: 60px;
}

@media only screen and (min-width: 600px)  {
    .shifted {
        display: none;
    }
}

@media only screen and (min-width: 1200px) {
    .shifted {
        display: inline-block;
    }
}

   