:root {
    --primary-color: #2eb5aa;
    --primary-dark: #238a83;
    --primary-light: #e6f8f6;
    --secondary-color: #179d90;
    --text-color: #333;
    --radius: 14px;
}

body {
    background: var(--primary-light);
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    color: var(--text-color);
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 4px 22px rgba(46, 181, 170, 0.09);
    padding: 32px 22px 40px 22px;
}

.header {
    text-align: center;
    margin-bottom: 38px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e3efee;
}

.header h1 {
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 18px;
    line-height: 1.12;
}

.header-image {
    width: 100%;
    max-width: 760px;
    display: block;
    margin: 28px auto;
    border-radius: var(--radius);
    box-shadow: 0 3px 13px rgba(46, 181, 170, 0.11);
}

.main-title {
    text-align: center;
    margin: 44px 0 30px 0;
}

.main-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.38;
    letter-spacing: -0.5px;
}

.partner-section {
    margin: 45px 0 50px 0;
    background: var(--primary-light);
    border-left: 5px solid var(--primary-color);
    border-radius: 10px;
    padding: 28px 30px 24px 30px;
    position: relative;
    overflow: hidden;
}

.partner-section::before {
    content: "";
    position: absolute;
    top: -10px;
    right: -30px;
    width: 95px;
    height: 95px;
    background: rgba(46, 181, 170, 0.13);
    border-radius: 50%;
    z-index: 0;
}

.partner-title {
    color: var(--secondary-color);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 13px;
    position: relative;
    z-index: 1;
}

.partner-desc {
    margin-bottom: 20px;
    font-size: 1.08rem;
    position: relative;
    z-index: 1;
}

.partner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    padding: 11px 27px;
    border-radius: 32px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.09rem;
    box-shadow: 0 2px 10px rgba(46, 181, 170, 0.13);
    position: relative;
    z-index: 1;
    transition: .21s background;
}

.partner-btn:hover {
    background: var(--primary-dark);
}

.press-section {
    margin: 60px 0 40px 0;
}

.press-title {
    color: var(--primary-color);
    font-size: 1.57rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 28px;
}

.section {
    margin: 52px 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.icon {
    width: 63px;
    height: 63px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(46, 181, 170, 0.13);
}

.icon i {
    font-size: 28px;
    color: #fff;
}

.section-title {
    color: var(--primary-color);
    font-size: 1.52rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 9px;
}

.content {
    text-align: center;
    font-size: 1.04rem;
    line-height: 1.80;
}

.content ul {
    text-align: left;
    display: inline-block;
    margin: 20px 0;
    max-width: 500px;
}

.content li {
    margin-bottom: 12px;
    list-style-position: outside;
    padding-left: 4px;
}

.rule {
    font-weight: 700;
    margin: 30px auto;
    text-transform: uppercase;
    font-size: 0.97rem;
    background: var(--primary-light);
    padding: 18px;
    border-radius: 8px;
    max-width: 500px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
    line-height: 1.7;
}

.contact-content {
    text-align: center;
}

.contact-email {
    margin-bottom: 18px;
    font-size: 1.12rem;
}

.organization {
    font-size: 1.49rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 28px 0 10px 0;
}

.contact-names {
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--primary-dark);
}

.contact-details {
    background: var(--primary-light);
    padding: 22px 13px;
    border-radius: var(--radius);
    margin-top: 20px;
    display: inline-block;
    text-align: center;
    max-width: 470px;
}

.contact-details div {
    margin-bottom: 7px;
}

.link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Footer Styles */
footer {
    width: 100%;
    text-align: center;
    margin: 50px 0 0 0;
    padding: 20px 0;
    border-top: 1px solid #e3efee;
}

.footer-content {
    font-size: 0.95rem;
    color: var(--text-color);
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-left: 8px;
}

.footer-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Legal Page Styles */
.page-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 24px;
    margin-top: 20px;
}

.main-title.legal-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 900;
    margin: 0 auto;
    letter-spacing: -0.04em;
    flex: none;
}

.back-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 22px;
    padding: 7px 18px;
    font-weight: 600;
    font-size: 1.09rem;
    text-decoration: none;
    transition: background .16s;
    border: none;
}

.back-btn i {
    font-size: 1em;
}

.back-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Legal page content should be left-aligned */
.page-header~.header-image~h1~.section .content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}


/* Media Queries */
@media (max-width: 900px) {
    .container {
        padding: 18px 15px;
    }

    .main-title.legal-title {
        font-size: 1.8rem;
    }

    .header-image {
        max-width: 99vw;
    }
}

@media (max-width: 650px) {
    .header h1 {
        font-size: 1.66rem;
    }

    .partner-section,
    .press-body,
    .press-card,
    .press-section,
    .contact-details {
        padding: 15px;
    }

    .main-title h2 {
        font-size: 1.1rem;
    }

    .section-title,
    .press-title,
    .partner-title {
        font-size: 1.09rem;
    }
}

@media (max-width: 600px) {
    .main-title.legal-title {
        font-size: 1.1rem;
    }

    .content {
        font-size: 0.98rem;
        padding: 0 5px;
    }

    .page-header {
        margin-bottom: 18px;
    }

    .back-btn {
        padding: 6px 13px;
        font-size: 0.99rem;
    }
}

@media (max-width: 520px) {
    .container {
        padding: 15px 18px;
    }

    .main-title {
        margin: 20px 0;
    }

    .press-section,
    .section {
        margin: 20px 0;
    }
}