/* style/doi-tac.css */

/* Base styles for the page-doi-tac */
.page-doi-tac {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #ffffff; /* Default body background */
}

/* Hero Section */
.page-doi-tac__hero-section {
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    padding-bottom: 60px;
    background-color: #f8f8f8; /* Light background for the hero section */
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-doi-tac__hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px 20px;
    gap: 40px;
}

.page-doi-tac__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: #333333;
}

.page-doi-tac__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for main title */
}

.page-doi-tac__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

.page-doi-tac__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-doi-tac__btn-primary,
.page-doi-tac__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    max-width: 100%;
    box-sizing: border-box;
}

.page-doi-tac__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-doi-tac__btn-primary:hover {
    background-color: #1e87b3;
    border-color: #1e87b3;
}

.page-doi-tac__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-doi-tac__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87b3;
}

.page-doi-tac__hero-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-doi-tac__hero-side-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* General Content Area */
.page-doi-tac__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-doi-tac__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #26A9E0;
}

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

.page-doi-tac__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #333333;
}

.page-doi-tac__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-doi-tac__dark-bg .page-doi-tac__text-block {
    color: #ffffff;
}

.page-doi-tac__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

.page-doi-tac__benefit-card {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-doi-tac__benefit-icon {
    width: 100%;
    height: auto;
    max-width: 200px; /* Adjust size for content images */
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-doi-tac__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-doi-tac__card-description {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Process Section */
.page-doi-tac__process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-doi-tac__step {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-doi-tac__step-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-doi-tac__step-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333333;
}

.page-doi-tac__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

.page-doi-tac__center-cta {
    text-align: center;
    margin-top: 50px;
}

.page-doi-tac__btn-large {
    padding: 16px 35px;
    font-size: 1.15em;
    min-width: 250px;
}

/* Why Choose Section */
.page-doi-tac__why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-doi-tac__why-choose-item {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-doi-tac__why-choose-icon {
    width: 100%;
    height: auto;
    max-width: 200px; /* Adjust size for content images */
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-doi-tac__item-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-doi-tac__item-description {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Contact Section */
.page-doi-tac__contact-section {
    background-color: #f8f8f8;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-doi-tac__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-doi-tac__section-title {
        font-size: 2em;
    }
    .page-doi-tac__content-area {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-doi-tac__hero-section {
        padding-top: 10px !important; /* Specific mobile top padding */
        padding-bottom: 40px;
    }
    .page-doi-tac__hero-container {
        flex-direction: column;
        padding: 30px 15px;
        gap: 30px;
    }
    .page-doi-tac__hero-content,
    .page-doi-tac__hero-image {
        flex: 1 1 100%;
        min-width: unset;
        width: 100%;
    }
    .page-doi-tac__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
        text-align: center;
    }
    .page-doi-tac__hero-description {
        font-size: 1em;
        text-align: center;
    }
    .page-doi-tac__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-doi-tac__btn-primary,
    .page-doi-tac__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* General Content Area */
    .page-doi-tac__content-area {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-doi-tac__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-doi-tac__text-block {
        font-size: 0.95em;
    }

    /* Images */
    .page-doi-tac img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* Benefits Grid */
    .page-doi-tac__benefits-grid,
    .page-doi-tac__process-steps,
    .page-doi-tac__why-choose-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }
    .page-doi-tac__benefit-card,
    .page-doi-tac__step,
    .page-doi-tac__why-choose-item {
        padding: 25px 20px;
    }
    .page-doi-tac__card-title,
    .page-doi-tac__step-title,
    .page-doi-tac__item-title {
        font-size: 1.3em;
    }
    .page-doi-tac__benefit-icon,
    .page-doi-tac__why-choose-icon {
        max-width: 150px; /* Smaller images for mobile cards */
        margin-bottom: 15px;
    }
    .page-doi-tac__center-cta {
        margin-top: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-doi-tac__btn-large {
        min-width: unset;
        width: 100%;
    }
}