/* style/ban-ca.css */

/* --- General Styles --- */
.page-ban-ca {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Text Main */
    background-color: #F5F7FA; /* Background */
    line-height: 1.6;
}

.page-ban-ca__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px 16px;
    box-sizing: border-box;
}

.page-ban-ca__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #E53935; /* Primary color for titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-ban-ca__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
}

.page-ban-ca__dark-section {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%); /* Using brand gradient for dark sections */
    color: #ffffff;
}

.page-ban-ca__dark-section .page-ban-ca__section-title,
.page-ban-ca__dark-section .page-ban-ca__section-description {
    color: #ffffff;
}

/* --- Buttons --- */
.page-ban-ca__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 300px; /* Limit button width */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

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

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

.page-ban-ca__btn-secondary {
    background-color: #ffffff; /* Card BG */
    color: #E53935; /* Primary color */
    border: 2px solid #E53935; /* Primary color */
}

.page-ban-ca__btn-secondary:hover {
    background-color: #E53935;
    color: #ffffff;
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: #F5F7FA; /* Background */
    color: #333333;
}

.page-ban-ca__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-ban-ca__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: left;
}

.page-ban-ca__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* H1 font size with clamp */
    font-weight: 800;
    color: #E53935; /* Primary color */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-ban-ca__hero-description {
    font-size: 1.15em;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #333333;
}

.page-ban-ca__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-ban-ca__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
}

/* --- Intro Section (Module 1 three-column) --- */
.page-ban-ca__intro-section {
    padding: 60px 0;
    background-color: #ffffff; /* Card BG */
}

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