/* style/doi-tac-dai-ly.css */

/* Color Variables */
:root {
    --main-color: #11A84E;
    --accent-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg-color: #11271B;
    --background-color-page: #08160F; /* Specific page background */
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color-custom: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;

    /* RGB values for rgba */
    --main-color-rgb: 17, 168, 78;
    --glow-color-rgb: 87, 227, 141;
}

/* General Styles */
.page-doi-tac-dai-ly {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* #F2FFF6 */
    background-color: var(--background-color-page); /* #08160F */
}

.page-doi-tac-dai-ly__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}

.page-doi-tac-dai-ly__section-title {
    font-size: 2.5em;
    color: var(--gold-color); /* #F2C14E */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-doi-tac-dai-ly__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-secondary-color); /* #A7D9B8 */
}

.page-doi-tac-dai-ly__text-block .keyword {
    color: var(--glow-color); /* #57E38D */
    font-weight: bold;
}

/* Buttons */
.page-doi-tac-dai-ly__btn-primary,
.page-doi-tac-dai-ly__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    border: none; /* Reset border */
}

.page-doi-tac-dai-ly__btn-primary {
    background: var(--button-gradient); /* linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-doi-tac-dai-ly__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-doi-tac-dai-ly__btn-secondary {
    background: transparent;
    color: var(--main-color); /* #11A84E */
    border: 2px solid var(--border-color-custom); /* #2E7A4E */
}

.page-doi-tac-dai-ly__btn-secondary:hover {
    background: rgba(var(--main-color-rgb), 0.1);
    color: var(--glow-color); /* #57E38D */
    border-color: var(--glow-color); /* #57E38D */
}

.page-doi-tac-dai-ly__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-doi-tac-dai-ly__cta-buttons--center {
    justify-content: center;
}

/* Hero Section */
.page-doi-tac-dai-ly__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 50px;
    overflow: hidden;
}

.page-doi-tac-dai-ly__hero-image-wrapper {
    width: 100%;
    height: 600px; /* Fixed height for desktop */
    position: relative;
}

.page-doi-tac-dai-ly__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-doi-tac-dai-ly__hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(8, 22, 15, 0.9) 0%, rgba(8, 22, 15, 0.6) 50%, rgba(8, 22, 15, 0) 100%);
    padding: 50px 15px 30px;
    text-align: center;
}

.page-doi-tac-dai-ly__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    color: var(--text-main-color); /* #F2FFF6 */
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-doi-tac-dai-ly__hero-description {
    font-size: 1.2em;
    color: var(--text-secondary-color); /* #A7D9B8 */
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

/* About Program Section */
.page-doi-tac-dai-ly__about-program-section {
    padding: 60px 0;
    background-color: var(--background-color-page); /* #08160F */
}

.page-doi-tac-dai-ly__about-program-section .page-doi-tac-dai-ly__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Why Join Section */
.page-doi-tac-dai-ly__why-join-section {
    padding: 60px 0;
    background-color: var(--card-bg-color); /* #11271B */
}

.page-doi-tac-dai-ly__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-doi-tac-dai-ly__benefit-card {
    background-color: var(--deep-green-color); /* #0A4B2C */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-doi-tac-dai-ly__benefit-card:hover {
    transform: translateY(-5px);
}

.page-doi-tac-dai-ly__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(var(--glow-color-rgb), 0.1);
    padding: 10px;
}

.page-doi-tac-dai-ly__benefit-title {
    font-size: 1.5em;
    color: var(--glow-color); /* #57E38D */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-doi-tac-dai-ly__benefit-description {
    font-size: 1em;
    color: var(--text-secondary-color); /* #A7D9B8 */
}

/* How It Works Section */
.page-doi-tac-dai-ly__how-it-works-section {
    padding: 60px 0;
    background-color: var(--background-color-page); /* #08160F */
}

.page-doi-tac-dai-ly__process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-doi-tac-dai-ly__step-card {
    background-color: var(--card-bg-color); /* #11271B */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-doi-tac-dai-ly__step-card {
    background-color: var(--card-bg-color); /* #11271B */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-doi-tac-dai-ly__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-color); /* #F2C14E */
    color: #000000;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-doi-tac-dai-ly__step-title {
    font-size: 1.6em;
    color: var(--glow-color); /* #57E38D */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-doi-tac-dai-ly__step-description {
    font-size: 1em;
    color: var(--text-secondary-color); /* #A7D9B8 */
    margin-bottom: 20px;
}

.page-doi-tac-dai-ly__step-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Commission Section */
.page-doi-tac-dai-ly__commission-section {
    padding: 60px 0;
    background-color: var(--deep-green-color); /* #0A4B2C */
}

.page-doi-tac-dai-ly__commission-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
    margin-bottom: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color-custom); /* #2E7A4E */
}

.page-doi-tac-dai-ly__commission-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Ensure table is not too narrow on smaller screens */
}

.page-doi-tac-dai-ly__commission-table th,
.page-doi-tac-dai-ly__commission-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--divider-color); /* #1E3A2A */
    color: var(--text-main-color); /* #F2FFF6 */
}

.page-doi-tac-dai-ly__commission-table th {
    background-color: var(--main-color); /* #11A84E */
    font-weight: bold;
    color: #ffffff;
}

.page-doi-tac-dai-ly__commission-table tbody tr:nth-child(even) {
    background-color: rgba(var(--main-color-rgb), 0.1);
}

.page-doi-tac-dai-ly__commission-table tbody tr:hover {
    background-color: rgba(var(--main-color-rgb), 0.2);
}

.page-doi-tac-dai-ly__commission-section .page-doi-tac-dai-ly__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Support Section */
.page-doi-tac-dai-ly__support-section {
    padding: 60px 0;
    background-color: var(--background-color-page); /* #08160F */
}

.page-doi-tac-dai-ly__support-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}