:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --background-color: #F4F7FB;
    --text-main-color: #1F2D3D;
    --text-black: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
    --header-offset: 0px; /* This is typically set in shared.css, reset here to avoid double padding */
}

/* Base styles for the page content */
.page-doi-tac {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Default text color for light backgrounds */
    background-color: var(--background-color); /* Default page background */
}

.page-doi-tac__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-doi-tac__section {
    padding: 60px 0;
}

.page-doi-tac__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-doi-tac__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-main-color);
}

/* Hero Section */
.page-doi-tac__hero-section {
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding-top: 10px; /* Small top padding, main padding from body in shared.css */
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #ffffff;
    text-align: center;
    overflow: hidden; /* Ensure no overflow from hero content */
}

.page-doi-tac__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 40px; /* Space between image and content */
}

.page-doi-tac__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-doi-tac__hero-content {
    max-width: 900px;
    margin: 0 auto 60px auto; /* Margin at the bottom to separate from next section */
    padding: 0 20px;
    position: relative;
    z-index: 2; /* Ensure content is above any potential background elements */
}

.page-doi-tac__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-doi-tac__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-doi-tac__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-doi-tac__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-doi-tac__btn--primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-doi-tac__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-doi-tac__btn--secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-doi-tac__btn--secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* Why Choose Section */
.page-doi-tac__why-choose {
    background-color: var(--card-bg); /* Light background for this section */
    padding: 80px 0;
}

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

.page-doi-tac__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid var(--border-color);
}

.page-doi-tac__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-doi-tac__feature-text {
    font-size: 1em;
    color: var(--text-main-color);
}

/* Commission Mechanism Section */
.page-doi-tac__commission-mechanism {
    background: var(--primary-color); /* Dark background */
    color: #ffffff; /* Light text */
    padding: 80px 0;
}

.page-doi-tac__commission-mechanism .page-doi-tac__section-title {
    color: #ffffff;
}