/* Base styles for .page-about scope */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #f9f9f9; /* Light background for sections */
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(135deg, #26A9E0, #4ac3f0); /* Gradient background for hero */
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-about__hero-image {
    width: 100%;
    max-height: 500px; /* Limit image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Spacing between image and text */
}

.page-about__hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Cover the area, may crop */
    display: block;
    max-width: 100%; /* Ensure responsiveness */
    min-width: 200px;
    min-height: 200px;
}

.page-about__hero-content {
    max-width: 900px;
    padding: 0 15px 40px;
    text-align: center;
    z-index: 1; /* Ensure content is above background if any */
}

.page-about__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
    max-width: 100%; /* Ensure it doesn't overflow */
    word-wrap: break-word;
}

.page-about__intro-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 100%;
    word-wrap: break-word;
}

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%; /* Ensure container takes full width */
    max-width: 500px; /* Limit max width for button group */
    margin: 0 auto;
    box-sizing: border-box;
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-text {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-about__btn-primary {
    background: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-about__btn-primary:hover {
    background: #d86f06;
    border-color: #d86f06;
    transform: translateY(-2px);
}

.page-about__btn-secondary {
    background: #ffffff;
    color: #26A9E0;
    border: 2px solid #ffffff;
}