:root {
    --primary-color: #1A2B3C;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #1A2B3C;
    --border-color: #e0e0e0;
}

.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-light);
    padding-top: 120px; /* Adjust for fixed header */
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-about__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-about__section-title--light {
    color: var(--text-color-light);
}

.page-about__section-title--light::after {
    background-color: var(--secondary-color);
}

.page-about__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color-dark);
}

.page-about__section-description--light {
    color: var(--text-color-light);
}

/* Hero Section */
.page-about__hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('[GALLERY:bg:bj88_hero_about,cockfighting_theme,banner]') no-repeat center center/cover;
    color: var(--text-color-light);
    text-align: center;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    padding-top: 10px; /* Specific adjustment for hero section */
}

.page-about__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-about__hero-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-about__hero-cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-about__introduction-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.page-about__content-grid--reverse {
    direction: rtl;
}

.page-about__content-grid--reverse > .page-about__text-block {
    direction: ltr;
}

.page-about__content-grid--reverse > .page-about__image-block {
    direction: ltr;
}

.page-about__text-block h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-about__text-block p {
    margin-bottom: 15px;
    font-size: 17px;
    color: var(--text-color-dark);
}

.page-about__value-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-about__value-list li {
    background-color: #ffffff;
    border-left: 5px solid var(--secondary-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 16px;
    color: var(--text-color-dark);
}

.page-about__value-list li strong {
    color: var(--primary-color);
}

.page-about__image-block {
    text-align: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* Why Choose Us Section */
.page-about__why-choose-us {
    background-color: var(--background-dark);
    padding: 80px 0;
    color: var(--text-color-light);
}

.page-about__why-choose-us h2 {
    color: var(--text-color-light);
}

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

.page-about__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-about__feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-about__feature-card h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__feature-card p {
    font-size: 16px;
    color: #f0f0f0;
    flex-grow: 1;
}

.page-about__feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

/* Products Section */
.page-about__products-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.page-about__product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-about__product-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
}

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

.page-about__product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-about__product-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin: 20px 20px 10px;
    font-weight: bold;
}

.page-about__product-card p {
    font-size: 16px;
    color: var(--text-color-dark);
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-about__product-cta-button {
    display: inline-block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-about__product-cta-button:hover {
    background-color: #0d1a26;
}

/* Registration Section */
.page-about__registration-section {
    background-color: var(--background-dark);
    padding: 80px 0;
    color: var(--text-color-light);
}

.page-about__registration-section h2 {
    color: var(--text-color-light);
}

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

.page-about__process-step {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-about__process-step:hover {
    transform: translateY(-8px);
}

.page-about__process-step h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__process-step p {
    font-size: 16px;
    color: #f0f0f0;
    flex-grow: 1;
}

.page-about__process-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

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

.page-about__main-cta-button {
    display: inline-block;
    padding: 18px 50px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 22px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-about__main-cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Commitment Section */
.page-about__commitment-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.page-about__commitment-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-about__commitment-item:hover {
    transform: translateY(-8px);
}

.page-about__commitment-item h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__commitment-item p {
    font-size: 16px;
    color: var(--text-color-dark);
    flex-grow: 1;
}

.page-about__commitment-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

/* Final CTA Section */
.page-about__cta-section {
    background-color: var(--background-dark);
    padding: 80px 0;
    text-align: center;
    color: var(--text-color-light);
}

.page-about__cta-container {
    max-width: 900px;
}

.page-about__cta-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-color-light);
}

.page-about__cta-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%;
    box-sizing: border-box;
}

.page-about__cta-button--primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-about__cta-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button--secondary {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border: 2px solid var(--secondary-color);
}

.page-about__cta-button--secondary:hover {
    background-color: #0d1a26;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 42px;
    }

    .page-about__hero-subtitle {
        font-size: 20px;
    }

    .page-about__content-grid {
        gap: 40px;
    }

    .page-about__section-title {
        font-size: 32px;
    }

    .page-about__cta-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .page-about {
        padding-top: 100px !important; /* Mobile adjustment for fixed header */
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-about__hero-section {
        padding: 60px 15px;
        min-height: 350px;
        padding-top: 10px !important; /* Mobile adjustment for hero section */
    }

    .page-about__hero-title {
        font-size: 32px;
    }

    .page-about__hero-subtitle {
        font-size: 18px;
    }

    .page-about__hero-cta-button {
        padding: 12px 30px;
        font-size: 18px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-about__section-description {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .page-about__content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .page-about__content-grid--reverse > .page-about__image-block {
        order: -1; /* Reverse order for mobile */
    }

    .page-about__text-block h3 {
        font-size: 24px;
    }

    .page-about__text-block p {
        font-size: 16px;
    }

    .page-about__value-list li {
        padding: 12px 15px;
        font-size: 15px;
    }

    .page-about__why-choose-us, 
    .page-about__products-section, 
    .page-about__registration-section, 
    .page-about__commitment-section, 
    .page-about__cta-section {
        padding: 60px 0;
    }

    .page-about__feature-grid, 
    .page-about__product-grid, 
    .page-about__process-grid, 
    .page-about__commitment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__feature-card, 
    .page-about__product-card, 
    .page-about__process-step, 
    .page-about__commitment-item {
        padding: 25px;
    }

    .page-about__feature-card h3, 
    .page-about__product-card h3, 
    .page-about__process-step h3, 
    .page-about__commitment-item h3 {
        font-size: 20px;
    }

    .page-about__product-image {
        height: 180px;
    }

    .page-about__product-cta-button {
        font-size: 15px;
        padding: 10px 15px;
        width: calc(100% - 30px);
        margin: 0 15px 15px;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__main-cta-button {
        padding: 15px 30px;
        font-size: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__cta-title {
        font-size: 30px;
    }

    .page-about__cta-description {
        font-size: 18px;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-about__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-about__image-block,
    .page-about__feature-icon,
    .page-about__product-image,
    .page-about__process-icon,
    .page-about__commitment-icon {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 28px;
    }

    .page-about__hero-subtitle {
        font-size: 16px;
    }

    .page-about__section-title {
        font-size: 24px;
    }

    .page-about__text-block h3 {
        font-size: 20px;
    }

    .page-about__feature-card h3,
    .page-about__product-card h3,
    .page-about__process-step h3,
    .page-about__commitment-item h3 {
        font-size: 18px;
    }

    .page-about__main-cta-button {
        font-size: 18px;
        padding: 12px 25px;
    }

    .page-about__cta-title {
        font-size: 26px;
    }

    .page-about__cta-description {
        font-size: 16px;
    }
}