/*
Theme Name: Talent Days
Author: Mikalai Zaitsau
Description: Talent Days
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: talent-days-theme
*/

body, h1, h2, h3, h4, h5, h6, p, button, input, label {
    font-family: "Montserrat", sans-serif !important;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    width: 140px;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 64px;
}

nav a {
    font-weight: 800;
    font-size: 24px;
    line-height: 40px;
    text-decoration: none;
    color: #000000;
}

nav a:hover, .active {
    color: #0052B4;
}

.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    margin-top: 40px;
    gap: 100px;
}

h1 {
    font-weight: 800;
    font-size: 64px;
    line-height: 1;
    margin-bottom: 16px;
}

h1 span {
    color: #0033A2;
    background: linear-gradient(to right, #0033A2, #2B8CEF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-weight: 500;
    font-size: 26px;
    line-height: 40px;
    color: #313131;
    margin-bottom: 32px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 26px;
    max-width: 500px;
}

input {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #7f7f7f;
    border: 1px solid #7F7F7F;
    border-radius: 8px;
    padding: 16px 24px 16px 16px;
}

.nameError, .emailError, .rodoError {
    display: none;
    color: #d70000;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
}

.nameError.visible, .emailError.visible, .rodoError.visible {
    display: block;
}

button {
    background: #0052B4;
    color: #fff;
    padding: 21px;
    width: 100%;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    font-size: 22px;
    line-height: 24px;
    margin-bottom: 20px;
}



label {
    color: #313131;
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: -36px;
    width: 24px;
    height: 24px;
    border: 1px solid #0052B4;
    border-radius: 4px;
}

.container input:checked ~ .checkmark {
    background-color: #0052B4;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

label span {
    display: block;
    margin-left: 36px;
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
}

.gift-title {
    margin-top: 48px;
    margin-bottom: 16px;
    font-weight: 800;
    font-size: 32px;
    line-height: 48px;
}

.gift {
    display: flex;
    gap: 16px;
    align-items: center;
}

.slider {
}

.slider-content {
}

.footer-content h2{
    margin-top: 56px;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 800;
    font-size: 32px;
    line-height: 48px;
}

.projects {

    display: flex;
    justify-content: center;
    gap: 32px;
}

.projects img{
    max-width: 164px;
    max-height: 64px;
}

.slider-content {
    position: relative;
}

.slider-content::before {
    position: absolute;
    content: "";
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0033A2, #2B8CEF);
    border-radius: 12px;
}

.swiper {
    width: 400px;
    height: 100%;
}

.swiper img {
    border-radius: 12px;
    height: 100%;
    width: 100%;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: white;
    padding: 75px 60px;
    border-radius: 8px;
    text-align: center;
    align-items: center;
}

.popup-content h2 {
    font-weight: 800;
    font-size: 54px;
    line-height: 84px;
    margin-top: 48px;
    margin-bottom: 20px;
}

.popup-content p {
    font-weight: 400;
    font-size: 22px;
    line-height: 24px;
    color: #313131;
    margin-bottom: 60px;
}

.popup.show {
    display: flex;
}

#closePopup {
    background: #00B43D;
}

#closePopup:hover {
    background: #14CE7B;
    cursor: pointer;
}

.inputError, .inputError~.checkmark {
    color: #D70000;
    border: 1px solid #D70000 !important;
}

#langToggle, .language-dropdown {
    display: none;
}

@media (max-width: 425px) {
    h1 {
        font-size: 48px;
    }
    .container {
        max-width: 328px;
    }
    .main-content {
        grid-template-columns: 1fr;
    }
    .slider {
        display: none;
    }
    .projects {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 0 auto;
    }
    .projects a {
        text-align: center;
    }
    nav ul {
        display: none;
    }

    #langToggle {
        display: flex;
        align-items: center;
    }

    #langToggle.active img {
        transform: rotate(180deg) translateY(2px);
        transition: transform 0.3s ease;
    }

    .language-dropdown {
        position: relative;
        display: inline-block;
    }

    .language-dropdown button {
        background: none;
        padding: 5px 10px;
        cursor: pointer;
        color: #0052B4;
        margin-bottom: 0;
    }

    .language-dropdown ul {
        list-style: none;
        margin: 0;
        padding: 8px 15px;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        display: none;
        border-radius: 0 0 8px 8px;
    }

    .language-dropdown ul li a {
        display: block;
        padding: 8px 12px;
        text-decoration: none;
        color: black;
    }

    .language-dropdown ul li a:hover {
        background-color: #f0f0f0;
    }

    .language-dropdown ul.hidden {
        display: none;
    }

    .language-dropdown ul.show {
        display: block;
    }

}