/* General styles for the page-dai-ly */
.page-dai-ly {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
    background-color: #F5F7FA; /* Body background color */
}

/* Container for consistent content width */
.page-dai-ly__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}

/* Section titles and descriptions */
.page-dai-ly__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #E53935; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-dai-ly__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #333333;
}

.page-dai-ly__sub-title {
    font-size: 28px;
    font-weight: 600;
    color: #E53935;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-dai-ly__paragraph {
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #333333;
}

/* Card styles */
.page-dai-ly__card {
    background: #FFFFFF; /* Card BG */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-dai-ly__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-dai-ly__card-title {
    font-size: 22px;
    font-weight: 600;
    color: #E53935;
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-dai-ly__card-text {
    font-size: 16px;
    color: #333333;
    line-height: 1.6;
}

/* Buttons */
.page-dai-ly__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-dai-ly__btn-primary,
.page-dai-ly__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-dai-ly__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-dai-ly__btn-primary:hover {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
}

.page-dai-ly__btn-secondary {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
}

.page-dai-ly__btn-secondary:hover {
    background: #E53935;
    color: #ffffff;
    border-color: #E53935;
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.2);
}

/* Image styles */
.page-dai-ly img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* Dark section styles */
.page-dai-ly__dark-section {
    background: #E53935; /* Primary brand color for dark sections */
    color: #ffffff;
    padding: 60px 0;
}

.page-dai-ly__dark-section .page-dai-ly__section-title,
.page-dai-ly__dark-section .page-dai-ly__section-description,
.page-dai-ly__dark-section .page-dai-ly__card-title,
.page-dai-ly__dark-section .page-dai-ly__card-text {
    color: #ffffff; /* White text for dark backgrounds */
}

/* HERO Section */
.page-dai-ly__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #F5F7FA;
}

.page-dai-ly__hero-image {
    width: 100%;
    height: 600px; /* Fixed height for desktop hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-dai-ly__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, may crop sides */
    border-radius: 0; /* No border radius for hero image */
}

.page-dai-ly__hero-content {
    padding: 60px 15px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: #333333;
}

.page-dai-ly__main-title {
    font-size: 48px;
    font-weight: 800;
    color: #E53935;
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-dai-ly__hero-description {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #333333;
}

/* Benefits Section */
.page-dai-ly__benefits-section {
    padding: 60px 0;
    background-color: #F5F7FA;
}

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

.page-dai-ly__benefit-card img {
    width: 100%;
    height: 200px; /* Fixed height for benefit card images */
    object-fit: cover;
    margin-bottom: 15px;
}

/* How It Works Section */
.page-dai-ly__how-it-works-section {
    padding: 60px 0;
}

.page-dai-ly__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}