.page-about {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    color: #333333; /* Dark text for default light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f8f8f8; /* Slightly off-white background for the page content */
}

.page-about__section {
    padding: 60px 20px;
    margin-bottom: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-about__section--dark {
    background-color: #1a1a1a; /* Dark background for contrast sections */
    color: #f0f0f0; /* Light text for dark background */
}

.page-about__section--gold-bg {
    background-color: #FFD700; /* Primary brand color background */
    color: #8B0000; /* Dark red text for gold background */
    text-align: center;
}

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

.page-about__hero-section {
    text-align: center;
    padding: 80px 20px; /* Adjusted for hero section's own padding */
    background: linear-gradient(135deg, #FFD700 0%, #8B0000 100%); /* Gold to Red gradient for hero background */
    color: #ffffff; /* White text for hero section */
    position: relative;
    overflow: hidden;
    border-radius: 0 0 15px 15px;
    margin-bottom: 40px;
}

.page-about__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-about__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    font-weight: bold;
}

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin-top: 40px;
    margin-bottom: 40px;
    object-fit: cover;
    min-height: 200px; /* Ensure image is not too small */
}

.page-about__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-about__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
}

.page-about__button--primary {
    background-color: #FFD700; /* Gold */
    color: #8B0000; /* Dark Red */
    border: 2px solid #FFD700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-about__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-about__button--secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.page-about__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
}

.page-about__section-title {
    font-size: 2.5em;
    color: #8B0000; /* Dark Red for titles */
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.page-about__section--dark .page-about__section-title {
    color: #FFD700; /* Gold for titles on dark background */
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold accent line */
    border-radius: 2px;
}

.page-about__section--dark .page-about__section-title::after {
    background-color: #8B0000; /* Dark Red accent line on dark background */
}

.page-about__sub-title {
    font-size: 2em;
    color: #8B0000;
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
}

.page-about__section--dark .page-about__sub-title {
    color: #FFD700;
}

.page-about__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.page-about__image-content {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    object-fit: cover;
    min-height: 200px; /* Ensure content image is not too small */
}

.page-about__grid-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

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

.page-about__card {
    background-color: #fcfcfc;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px; /* Ensure card content is not too small */
}

.page-about__section--dark .page-about__card {
    background-color: #2a2a2a;
    color: #f0f0f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-about__card-title {
    font-size: 1.8em;
    color: #8B0000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__section--dark .page-about__card-title {
    color: #FFD700;
}

.page-about__card-text {
    font-size: 1em;
    line-height: 1.7;
}

.page-about__values-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-about__value-item {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #f0f0f0;
    min-height: 200px; /* Ensure value item is not too small */
}

.page-about__value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__value-icon {
    font-size: 3em;
    color: #FFD700; /* Gold icon */
    margin-bottom: 15px;
    display: block;
}

.page-about__value-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold title */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-about__value-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #cccccc;
}

.page-about__features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 1024px) {
    .page-about__features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .page-about__features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.page-about__feature-card {
    background-color: #fcfcfc;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 300px; /* Ensure feature card is not too small */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-about__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-about__feature-title {
    font-size: 1.6em;
    color: #8B0000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__feature-description {
    font-size: 1em;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-about__button--text {
    color: #8B0000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: color 0.3s ease;
    padding: 10px 0;
    display: inline-block;
}

.page-about__button--text:hover {
    color: #FFD700;
}

.page-about__cta-section {
    padding: 80px 20px;
    margin-top: 40px;
    border-radius: 15px;
    text-align: center;
    background-color: #FFD700; /* Gold background */
    color: #8B0000; /* Dark red text */
}

.page-about__cta-content .page-about__section-title {
    color: #8B0000;
}

.page-about__cta-content .page-about__section-title::after {
    background-color: #8B0000;
}

.page-about__cta-content .page-about__text-content {
    color: #8B0000;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__button--large {
    padding: 18px 40px;
    font-size: 1.3em;
    margin-top: 30px;
}

.page-about__button--gold {
    background-color: #8B0000; /* Dark Red button */
    color: #FFD700; /* Gold text */
    border: 2px solid #8B0000;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
}

.page-about__button--gold:hover {
    background-color: #6a0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.6);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__section-title {
        font-size: 2.2em;
    }
    .page-about__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about__button--large {
        padding: 15px 35px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-about {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-about__hero-section {
        padding: 60px 15px;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__button {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .page-about__section {
        padding: 40px 15px;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__sub-title {
        font-size: 1.6em;
    }
    .page-about__text-content {
        font-size: 1em;
    }
    .page-about__grid-two-col {
        grid-template-columns: 1fr;
    }
    .page-about__values-list {
        grid-template-columns: 1fr;
    }
    .page-about__features-grid {
        grid-template-columns: 1fr;
    }
    .page-about__cta-section {
        padding: 60px 15px;
    }
    /* Mobile content image constraint */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure all images within the page-about content area are responsive and not too small */
.page-about img {
    max-width: 100%; /* Important for mobile overflow */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensures images fill their space without distortion */
}

/* Content area images must be at least 200px. This applies to all img tags under .page-about */
.page-about__image-content,
.page-about__hero-image {
    min-width: 200px;
    min-height: 200px;
}