.page-dai-ly {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
    background: #140C0C; /* Background */
}

.page-dai-ly__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-dai-ly__section-title {
    font-size: 2.5em;
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-dai-ly__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #FFF1E8;
}

/* Hero Section */
.page-dai-ly__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #C61F1F 0%, #E53030 100%);
}

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

.page-dai-ly__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Desktop: cover to fill space */
    display: block;
}

.page-dai-ly__hero-content {
    position: relative; /* Ensure content is below image in DOM flow */
    padding: 60px 20px;
    text-align: center;
    max-width: 900px;
    z-index: 2;
    margin-top: -100px; /* Pull content up over the image slightly */
    background: rgba(20, 12, 12, 0.8); /* Background color */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-50px); /* Lift slightly above the image bottom edge */
    margin-bottom: 50px;
}

.page-dai-ly__hero-title {
    font-size: clamp(2em, 3.5vw, 3.2em); /* Clamp for responsive H1 */
    color: #F3C54D; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-dai-ly__hero-description {
    font-size: 1.2em;
    color: #FFF1E8; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-dai-ly__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Buttons */
.page-dai-ly__btn-primary,
.page-dai-ly__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-dai-ly__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
    color: #140C0C; /* Dark text for bright button */
    border: none;
}

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

.page-dai-ly__btn-secondary {
    background: transparent;
    color: #F3C54D; /* Gold */
    border: 2px solid #F3C54D; /* Gold border */
}

.page-dai-ly__btn-secondary:hover {
    background: #F3C54D; /* Gold */
    color: #140C0C; /* Dark text */
    transform: translateY(-2px);
}

/* About Program Section */
.page-dai-ly__about-program {
    padding: 80px 0;
    background: #140C0C; /* Background */
}

.page-dai-ly__dark-bg {
    background: #140C0C; /* Background */
    color: #FFF1E8; /* Text Main */
}

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

.page-dai-ly__feature-item {
    background: #2A1212; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #6A1E1E; /* Border */
}

.page-dai-ly__feature-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

.page-dai-ly__feature-title {
    font-size: 1.5em;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
}

.page-dai-ly__feature-description {
    color: #FFF1E8; /* Text Main */
    font-size: 1em;
}

/* Benefits Section */
.page-dai-ly__benefits-section {
    padding: 80px 0;
    background: #140C0C; /* Background */
}

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

.page-dai-ly__card {
    background: #2A1212; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid #6A1E1E; /* Border */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-dai-ly__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-dai-ly__card-title {
    font-size: 1.4em;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
    flex-grow: 1; /* Allow title to take up space */
}

.page-dai-ly__card-description {
    color: #FFF1E8; /* Text Main */
    font-size: 1em;
}

/* Registration Process Section */
.page-dai-ly__registration-process {
    padding: 80px 0;
    background: #140C0C; /* Background */
}

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

.page-dai-ly__step-item {
    background: #2A1212; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #6A1E1E; /* Border */
    position: relative;
}

.page-dai-ly__step-number {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
    color: #140C0C; /* Dark text */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin: -55px auto 20px auto; /* Position above item */
    border: 3px solid #140C0C; /* Background */
    box-shadow: 0 0 0 5px #6A1E1E; /* Deep Red */
}

.page-dai-ly__step-title {
    font-size: 1.4em;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
}

.page-dai-ly__step-description {
    color: #FFF1E8; /* Text Main */
    font-size: 1em;
}

.page-dai-ly__cta-buttons--center {
    text-align: center;
    margin-top: 50px;
}

/* How It Works Section */
.page-dai-ly__how-it-works {
    padding: 80px 0;
    background: #140C0C; /* Background */
}

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

.page-dai-ly__workflow-item {
    background: #2A1212; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid #6A1E1E; /* Border */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-dai-ly__workflow-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-dai-ly__workflow-title {
    font-size: 1.4em;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-dai-ly__workflow-description {
    color: #FFF1E8; /* Text Main */
    font-size: 1em;
}

/* FAQ Section */
.page-dai-ly__faq-section {
    padding: 80px 0;
    background: #140C0C; /* Background */
}

.page-dai-ly__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-dai-ly__faq-item {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-dai-ly__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F3C54D; /* Gold */
    cursor: pointer;
    background: #2A1212; /* Card BG */
    position: relative;
    list-style: none; /* Remove default marker for details */
}

.page-dai-ly__faq-question::-webkit-details-marker {
    display: none;
}

.page-dai-ly__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-dai-ly__faq-toggle {
    font-size: 1.5em;
    color: #FFB04A; /* Gold tone for toggle */
    transition: transform 0.3s ease;
}

.page-dai-ly__faq-item[open] .page-dai-ly__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-dai-ly__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #FFF1E8; /* Text Main */
}

.page-dai-ly__faq-answer p {
    margin-top: 10px;
    margin-bottom: 0;
}

/* CTA Bottom Section */
.page-dai-ly__cta-bottom {
    padding: 80px 0;
    background: linear-gradient(180deg, #C61F1F 0%, #E53030 100%); /* Brand colors */
    text-align: center;
}

.page-dai-ly__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-dai-ly__cta-bottom .page-dai-ly__section-title {
    color: #FFF1E8; /* Text Main */
}

.page-dai-ly__cta-bottom .page-dai-ly__text-block {
    color: #FFF1E8; /* Text Main */
    margin-bottom: 40px;
}

/* Copyright Section */
.page-dai-ly__copyright-section {
    padding: 20px 0;
    text-align: center;
    background: #0d0d0d; /* Darker background for copyright */
    border-top: 1px solid #2A1212; /* Card BG */
    margin-top: 50px; /* Separates from CTA content */
}

.page-dai-ly__copyright {
    color: #6A1E1E; /* Border / Deep Red for copyright */
    font-size: 0.9em;
}

/* Global image responsiveness for content images */
.page-dai-ly img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .page-dai-ly__hero-content {
        padding: 40px 20px;
        margin-top: -80px;
        transform: translateY(-40px);
    }
    .page-dai-ly__section-title {
        font-size: 2em;
    }
    .page-dai-ly__text-block {
        font-size: 1em;
    }
    .page-dai-ly__feature-item, .page-dai-ly__card, .page-dai-ly__step-item, .page-dai-ly__workflow-item {
        padding: 25px;
    }
    .page-dai-ly__faq-question {
        padding: 18px 22px;
    }
    .page-dai-ly__faq-answer {
        padding: 0 22px 18px 22px;
    }
}

@media (max-width: 768px) {
    .page-dai-ly__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-dai-ly__hero-section {
        flex-direction: column;
        padding-top: 10px !important;
    }
    .page-dai-ly__hero-image-wrapper {
        max-height: 400px; /* Adjust height for mobile */
    }
    .page-dai-ly__hero-image {
        object-fit: contain; /* Mobile: contain to show full image, prevent cropping */
        aspect-ratio: unset; /* Remove aspect ratio if set */
        max-height: none; /* Remove max height if set */
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
    .page-dai-ly__hero-content {
        padding: 30px 15px;
        margin-top: -50px; /* Adjust overlap for mobile */
        transform: translateY(-20px);
        margin-bottom: 30px;
    }
    .page-dai-ly__hero-title {
        font-size: clamp(1.8em, 8vw, 2.5em); /* Smaller clamp for mobile H1 */
        margin-bottom: 15px;
    }
    .page-dai-ly__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-dai-ly__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* General Buttons */
    .page-dai-ly__btn-primary,
    .page-dai-ly__btn-secondary,
    .page-dai-ly a[class*="button"],
    .page-dai-ly a[class*="btn"] {
        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;
    }
    .page-dai-ly__cta-buttons,
    .page-dai-ly__button-group,
    .page-dai-ly__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column; /* Ensure vertical stacking for multiple buttons */
    }

    /* All images and their containers */
    .page-dai-ly img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-dai-ly__section,
    .page-dai-ly__card,
    .page-dai-ly__container,
    .page-dai-ly__feature-item,
    .page-dai-ly__workflow-item,
    .page-dai-ly__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-dai-ly__card-image,
    .page-dai-ly__workflow-image {
        height: auto !important; /* Allow height to adjust */
        object-fit: contain !important; /* Ensure full image is visible */
    }
    .page-dai-ly__feature-icon {
        max-width: 100px !important; /* Smaller icons on mobile */
    }

    /* Feature Grid */
    .page-dai-ly__features-grid,
    .page-dai-ly__benefit-cards,
    .page-dai-ly__process-steps,
    .page-dai-ly__workflow-grid {
        grid-template-columns: 1fr; /* Single column layout for grids */
        gap: 20px;
    }

    .page-dai-ly__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-dai-ly__text-block {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* Step numbers should also be adjusted */
    .page-dai-ly__step-number {
        margin: -40px auto 15px auto; /* Adjust position */
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }

    /* FAQ */
    .page-dai-ly__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-dai-ly__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95em;
    }
    .page-dai-ly__copyright-section {
        margin-top: 30px;
    }
}