/* style/about.css */

/* Biến CSS */
:root {
    --page-about-primary-color: #1A2E44;
    --page-about-accent-color: #E7C200;
    --page-about-text-light: #ffffff;
    --page-about-text-dark: #333333;
    --page-about-background-light: #f5f5f5;
}

/* Cấu trúc chính của trang */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-about-text-dark);
    background-color: var(--page-about-background-light);
}

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

.page-about-grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .page-about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.page-about-text-center {
    text-align: center;
}

/* Phần Hero */
.page-about-hero {
    background: linear-gradient(135deg, var(--page-about-primary-color), #2d4a6f);
    color: var(--page-about-text-light);
    padding: 100px 0;
    text-align: center;
}

.page-about-hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--page-about-accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about-hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.page-about-hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Các nút */
.page-about-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-about-button-primary {
    background-color: var(--page-about-accent-color);
    color: var(--page-about-primary-color);
    border: 2px solid var(--page-about-accent-color);
}

.page-about-button-primary:hover {
    background-color: #ffd700;
    border-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-about-button-secondary {
    background-color: transparent;
    color: var(--page-about-accent-color);
    border: 2px solid var(--page-about-accent-color);
}

.page-about-button-secondary:hover {
    background-color: var(--page-about-accent-color);
    color: var(--page-about-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Các phần nội dung */
.page-about-section {
    padding: 80px 0;
}

.page-about-section:nth-child(even) {
    background-color: #e0e0e0; /* Tông màu sáng hơn cho phần chẵn */
}

.page-about-heading {
    font-size: 2.5em;
    color: var(--page-about-primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-about-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--page-about-accent-color);
}

.page-about-section:nth-child(even) .page-about-heading::after {
    background-color: var(--page-about-primary-color);
}

.page-about-content p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #444;
}

.page-about-content strong {
    color: var(--page-about-primary-color);
}

.page-about-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-about-image-large {
    max-width: 80%;
}

/* Phần tại sao chọn chúng tôi */
.page-about-why-choose-us .page-about-heading::after {
    left: 50%;
    transform: translateX(-50%);
}

.page-about-features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 50px;
    margin-bottom: 60px;
}

.page-about-feature-item {
    text-align: center;
    padding: 30px;
    background-color: var(--page-about-text-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-about-feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(231, 194, 0, 0.4)); /* Màu vàng */
}

.page-about-feature-title {
    font-size: 1.5em;
    color: var(--page-about-primary-color);
    margin-bottom: 15px;
}

.page-about-feature-item p {
    font-size: 1em;
    color: #666;
}

/* Phần cam kết */
.page-about-commitment {
    background-color: var(--page-about-primary-color);
    color: var(--page-about-text-light);
}

.page-about-commitment .page-about-heading {
    color: var(--page-about-accent-color);
}

.page-about-commitment .page-about-heading::after {
    background-color: var(--page-about-text-light);
}

.page-about-commitment p {
    color: #e0e0e0;
}

.page-about-commitment strong {
    color: var(--page-about-accent-color);
}

/* Phần CTA */
.page-about-cta {
    padding: 100px 0;
    background-color: #f0f0f0;
}

.page-about-cta .page-about-heading {
    color: var(--page-about-primary-color);
    font-size: 2.8em;
}

.page-about-cta .page-about-heading::after {
    left: 50%;
    transform: translateX(-50%);
}

.page-about-cta p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #555;
}

/* Responsive */
@media (max-width: 1024px) {
    .page-about-hero-title {
        font-size: 2.5em;
    }
    .page-about-hero-description {
        font-size: 1.1em;
    }
    .page-about-heading {
        font-size: 2em;
    }
}

@media (max-width: 767px) {
    .page-about-hero {
        padding: 80px 0;
    }
    .page-about-hero-title {
        font-size: 2em;
    }
    .page-about-hero-description {
        font-size: 1em;
    }
    .page-about-hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-about-button {
        width: 80%;
        margin: 0 auto;
    }
    .page-about-section {
        padding: 60px 0;
    }
    .page-about-grid {
        grid-template-columns: 1fr;
    }
    .page-about-heading {
        font-size: 1.8em;
        text-align: center;
    }
    .page-about-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .page-about-content {
        order: 2;
    }
    .page-about-image-wrapper {
        order: 1;
        margin-bottom: 30px;
    }
    .page-about-why-choose-us .page-about-image-large {
        max-width: 100%;
    }
    .page-about-cta .page-about-heading {
        font-size: 2em;
    }
    .page-about-cta p {
        font-size: 1em;
    }
}