.page-about {
    background-color: var(--bg-color, #0A0A0A);
    color: var(--text-main-color, #FFF6D6);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-about__hero-section {
    display: flex;
    flex-direction: column; /* Enforce image above text */
    align-items: center;
    text-align: center;
    padding: 10px 0 40px; /* Small top padding as per rule 5, more bottom padding */
    background-color: var(--bg-color, #0A0A0A);
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/5; /* Example aspect ratio */
    border-radius: 8px;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-about__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-about__main-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* Using clamp for H1 as per rule */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary-color, #F2C14E), var(--secondary-color, #FFD36B));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.page-about__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
    font-size: 1rem;
    cursor: pointer;
}

.page-about__btn--primary {
    background: var(--button-color, linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%));
    color: #111111; /* Dark text for light button */
    border: none;
}

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

.page-about__btn--secondary {
    background: transparent;
    border: 2px solid var(--border-color, #3A2A12);
    color: var(--text-main-color, #FFF6D6);
}

.page-about__btn--secondary:hover {
    background-color: var(--border-color, #3A2A12);
}

.page-about__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    background: linear-gradient(90deg, var(--primary-color, #F2C14E), var(--secondary-color, #FFD36B));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.page-about__sub-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--primary-color, #F2C14E);
}

.page-about__content-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.page-about__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-about__text-block {
    flex: 1;
    min-width: 300px;
}

.page-about__image-block {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-about__values-section {
    background-color: var(--card-bg-color, #111111);
    padding: 60px 0;
}

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

.page-about__value-card {
    background-color: var(--bg-color, #0A0A0A);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color, #3A2A12);
}

.page-about__value-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color, #FFD36B);
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-about__container {
        padding: 15px;
    }

    .page-about__hero-section {
        padding-bottom: 30px;
    }

    .page-about__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-about__main-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .page-about__description {
        font-size: 1rem;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-about__btn {
        width: 80%;
        max-width: 280px;
    }

    .page-about__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 30px;
        padding-top: 30px;
    }

    .page-about__content-grid,
    .page-about__content-grid--reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }

    .page-about__text-block,
    .page-about__image-block {
        min-width: unset;
        width: 100%;
    }

    .page-about__image {
        max-width: 100%;
        height: auto;
    }

    .page-about__values-grid {
        grid-template-columns: 1fr;
    }

    .page-about__values-section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) { /* General mobile constraint for images */
    .page-about__image {
        max-width: 100%;
        height: auto;
    }
    .page-about__text-block img,
    .page-about__image-block img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 549px) {
    .page-about__hero-section {
        padding-bottom: 20px;
    }
    .page-about__hero-image-wrapper {
        margin-bottom: 15px;
    }
    .page-about__main-title {
        font-size: clamp(1.4rem, 7vw, 1.8rem);
    }
    .page-about__description {
        font-size: 0.95rem;
    }
    .page-about__section-title {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
        margin-bottom: 25px;
        padding-top: 25px;
    }
    .page-about__sub-title {
        font-size: 1.3rem;
    }
    .page-about__value-title {
        font-size: 1.2rem;
    }
}