:root {
    --primary: #909C4D;
    --secondary: #5d592e;
    --dark-bg: #464325;
    --text-light: #757F95;
    --text-dark: #333;
    --white: #fff;
    --shadow: 0 0 40px 5px rgba(0, 0, 0, 0.05);
    --wrapper-bg: rgba(144, 156, 77, .08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-light);
    background: url('../pictures/background.jpg') no-repeat center center fixed;
    background-size: cover;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    line-height: 1.21;
}

.site_wrapper {
    max-width: 1300px;
    width: 97%;
    margin: 13px auto;
    background: #fff;
    box-shadow: var(--shadow);
}

.content_block_text_inner p {
    margin-top: 14px;
}

.top_line {
    background-color: var(--primary);
    height: 3px;
}

.site_header {
    background-color: var(--white);
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header_logo {
    left: 40px;
    position: absolute;
    top: 0;
}

.header_logo img {
    height: 120px;
}

.header_actions {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.btn_primary,
.btn_secondary {
    padding: 12px 30px 9px 30px;
    border-radius: 32px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn_primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn_primary:hover {
    background-color: var(--secondary);
}

.btn_secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn_secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.section_subtitle {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 10px;
}

.section_title {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.section_title span {
    color: var(--secondary);
}

.hero_section {
    background: url('../pictures/slide.jpg') no-repeat left center;
    background-size: cover;
    padding: 100px 40px;
    color: var(--white);
}

.hero_section .section_subtitle {
    color: #fff;
}

.hero_content {
    max-width: 600px;
}

.hero_section .section_title {
    text-transform: uppercase;
    color: #ffcb05;
}


.hero_buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.content_block {
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content_block_img img {
    width: 100%;
    box-shadow: var(--shadow);
}

.content_block_img small {
    line-height: 1.4;
    font-style: italic;
    display: block;
    font-size: 13px;
}

.content_block_img p {
    margin-top: 14px;
}

.winners_section {
    padding: 80px 40px;
    text-align: center;
}

.rules_link {
    display: inline-block;
    margin-bottom: 40px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.winners_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.winner_card {
    background-color: var(--white);
    padding: 30px 30px 10px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.winner_card::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    border-radius: 25px;
    transform: rotate(-45deg);
    background-color: var(--primary);
    opacity: 0.1;
    z-index: 0;
}

.winner_card>* {
    position: relative;
    z-index: 1;
}

.winner_card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.winner_info {
    text-align: left;
    margin-top: 20px;
}

.winner_info p {
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}

.site_footer {
    background: #464325 url('../pictures/05.png') no-repeat center bottom;
    background-size: cover;
    padding: 120px 40px 0px;
    position: relative;
    color: var(--white);
}

.footer_main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer_logo {
    line-height: 0;
    position: absolute;
    top: 0;
}

.footer_logo img {
    height: 100px;
}

.footer_contact p {
    margin-bottom: 10px;
}

.footer_links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.footer_links a {
    color: var(--white);
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.footer_links a:hover {
    color: var(--primary);
}

.footer_support {
    margin-top: 20px;
}

.footer_support h3 {
    font-weight: 500;
}

.footer_support a {
    display: inline-block;
    margin-top: 10px;
}

.footer_support p {
    font-size: 14px;
    margin-top: 12px;
}

.partner_logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.partner_logos img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.partner_logos img.wh {}

.license_text {
    max-width: 1000px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer_copy {
    text-align: center;
    padding: 10px 0;
    background-color: #909c4d;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #111;
    font-weight: 400;
    font-size: 13px;
}

.mobile_menu_btn {
    display: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

.contact_section {
    padding: 80px 40px;
    background-color: var(--white);
}

.contact_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact_form_container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
}

.contact_form_container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    opacity: 0.1;
    z-index: 0;
    border-radius: 8px;
}

.contact_form_container>* {
    position: relative;
    z-index: 1;
}

.contact_form {
    margin-top: 30px;
}

.form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form_group {
    margin-bottom: 20px;
}

.form_group input,
.form_group select,
.form_group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    background-color: var(--white);
    transition: border-color 0.3s ease;
}

.form_group input:focus,
.form_group select:focus,
.form_group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form_group input::placeholder,
.form_group textarea::placeholder {
    color: var(--text-light);
}

.form_group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23909C4D' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form_submit_btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    cursor: pointer;
    border: none;
}

.thank_you_message {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(144, 156, 77, 0.1);
    border-radius: 8px;
    margin-top: 20px;
}

.thank_you_message h3 {
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    margin-bottom: 15px;
}

.thank_you_message p {
    color: var(--text-dark);
    font-size: 18px;
}

.contact_info_container {
    padding: 20px 0;
}

.contact_info_block {
    background-color: rgba(144, 156, 77, 0.05);
    padding: 40px;
    border-radius: 8px;
}

.contact_info_title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact_info_text {
    margin-bottom: 30px;
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.8;
}

.contact_details {
    margin-bottom: 30px;
}

.contact_detail_item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact_icon {
    color: var(--primary);
    font-size: 20px;
    margin-top: 5px;
    min-width: 24px;
}

.contact_detail_item h4 {
    font-family: 'Inter', sans-serif;
    color: var(--secondary);
    margin-bottom: 5px;
    font-size: 18px;
}

.contact_detail_item p {
    color: var(--text-dark);
    line-height: 1.6;
}

.additional_info {
    padding-top: 20px;
    border-top: 1px solid rgba(144, 156, 77, 0.2);
}

.additional_info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .contact_wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form_row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .contact_section {
        padding: 60px 20px;
    }

    .contact_form_container,
    .contact_info_block {
        padding: 30px 20px;
    }


}



.donation_options_section {
    padding: 80px 40px;
    background-color: var(--white);
}

.section_header {
    text-align: center;
    margin-bottom: 50px;
}

.donation_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.donation_card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.donation_card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    opacity: 0.1;
    z-index: 0;
    border-radius: 8px;
}

.donation_card>* {
    position: relative;
    z-index: 1;
}

.donation_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px 5px rgba(0, 0, 0, 0.1);
}

.donation_image {
    margin: 0;
    overflow: hidden;
}

.donation_image a {
    display: block;
}

.image_fluid {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.donation_card:hover .image_fluid {
    transform: scale(1.05);
}

.donation_text {
    padding: 25px;
}

.donation_title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.donation_title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.donation_title a:hover {
    color: var(--secondary);
}

.donation_description {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .donation_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .donation_options_section {
        padding: 60px 20px;
    }

    .donation_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .donation_text {
        padding: 20px;
    }

    .donation_title {
        font-size: 18px;
    }
}




.donation_cta {
    padding: 20px;
    box-sizing: border-box;
    margin-top: 50px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    color: #111;
}

.donation_cta h2 {
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 20px;
}

.legal-text {
    padding: 70px 40px;
    color: #111;
}

.legal-text h2,
.legal-text h3 {
    margin: 25px 0 14px 0;
}

.legal-text ul {
    padding: 15px 0 15px 22px;
}

.auth_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.auth_modal_container {
    background-color: var(--white);
    width: 100%;
    max-width: 500px;
    width: 95%;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}



.auth_modal_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: var(--primary);
}

.auth_tabs {
    display: flex;
    gap: 1px;
}

.auth_tab {
    background-color: transparent;
    border: none;
    color: var(--white);
    padding: 10px 25px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.auth_tab.active {
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.auth_tab:hover:not(.active) {
    opacity: 1;
}

.auth_modal_close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.auth_modal_close:hover {
    transform: rotate(90deg);
}

.auth_modal_content {
    padding: 30px;
}

.auth_form {
    display: none;
}

.auth_form.active {
    display: block;
}

.auth_form .form_group {
    margin-bottom: 20px;
}

.auth_form input,
.auth_form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    background-color: var(--white);
    transition: border-color 0.3s ease;
}

.auth_form input:focus,
.auth_form select:focus {
    outline: none;
    border-color: var(--primary);
}

.auth_form .form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.auth_form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23909C4D' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.error_message {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.success_message {
    background-color: rgba(144, 156, 77, 0.1);
    border: 1px solid rgba(144, 156, 77, 0.2);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.success_message h3 {
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
}

.success_message p {
    color: var(--text-dark);
    font-size: 15px;
    margin: 0;
}

.auth_submit_btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

@media (max-width: 768px) {

    .auth_modal_header {
        padding: 15px 20px;
    }

    .auth_tab {
        padding: 8px 15px;
        font-size: 15px;
    }

    .auth_modal_content {
        padding: 20px;
    }

    .auth_form .form_row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .auth_tab {
        padding: 8px 10px;
        font-size: 14px;
    }
}















@media (max-width: 1024px) {
    .winners_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer_main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site_header {
        flex-direction: column;
        gap: 20px;
    }

    .header_actions {
        width: 100%;
        justify-content: center;
    }

    .content_block {
        grid-template-columns: 1fr;
    }

    .hero_buttons {
        flex-direction: column;
    }

    .winners_grid {
        grid-template-columns: 1fr;
    }

    .footer_links {
        grid-template-columns: 1fr;
    }



    .mobile_menu_btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .header_actions {
        flex-direction: column;
        display: none;
    }

    .header_actions.mobile_open {
        display: flex;
        margin-top: 65px;
        background-color: #fff;
        padding: 20px;
        box-sizing: border-box;
        border-radius: 10px;
        z-index: 999;
        position: relative;
    }

    .header_logo img {
        height: 66px;
    }

    .mobile_menu_btn {
        top: 10px;
    }

    .site_header {
        height: 50px;
    }
}

@media(max-width: 510px) {
    .footer_main {
        gap: 20px;
    }

    .footer_support {
        margin-top: 0;
    }

    .hero_section .section_title {
        font-size: 30px;
    }

    .hero_section {
        padding: 70px 20px 60px 20px;
    }

    .header_logo {
        left: 20px;
    }

    .content_block,
    .winners_section {
        padding: 70px 20px;
    }

    .site_footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .legal-text {
        padding-left: 20px;
        padding-top: 50px;
        padding-right: 20px;
    }

}