.page-about {
    color: #ffffff; /* Text color for dark body background */
}

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

/* Hero Section */
.page-about__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000000; /* Main background color */
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
}

.page-about__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-about__hero-description {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-about__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.page-about__btn--register {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
}

.page-about__btn--register:hover {
    background-color: transparent;
    color: #ffffff;
}

.page-about__btn--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-about__btn--login:hover {
    background-color: transparent;
    color: #FCBC45;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Story Section */
.page-about__story-section {
    background-color: #000000;
    padding: 80px 0;
}

.page-about__section-title {
    font-size: 2.8em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
    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: #FCBC45;
    border-radius: 2px;
}

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

.page-about__story-content p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.page-about__highlight {
    color: #FCBC45;
    font-weight: bold;
}

.page-about__btn--join {
    background-color: #FCBC45;
    color: #000000;
    margin-top: 30px;
    border: 2px solid #FCBC45;
}

.page-about__btn--join:hover {
    background-color: transparent;
    color: #FCBC45;
}

.page-about__story-image-wrapper {
    text-align: center;
}

.page-about__story-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Mission Vision Section */
.page-about__mission-vision-section {
    background-color: #000000;
    padding: 80px 0;
}

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

.page-about__philosophy-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about__card-title {
    font-size: 1.8em;
    color: #FCBC45;
    margin-bottom: 15px;
}

.page-about__card-description {
    font-size: 1em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.page-about__btn--details {
    background-color: transparent;
    color: #FCBC45;
    border: 2px solid #FCBC45;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-about__btn--details:hover {
    background-color: #FCBC45;
    color: #000000;
}

/* Security Section */
.page-about__security-section {
    background-color: #000000;
    padding: 80px 0;
}

.page-about__security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-about__security-text p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.page-about__btn--learn-more {
    background-color: transparent;
    color: #FCBC45;
    border: 2px solid #FCBC45;
    margin-top: 30px;
}

.page-about__btn--learn-more:hover {
    background-color: #FCBC45;
    color: #000000;
}

.page-about__security-image-wrapper {
    text-align: center;
}

.page-about__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Team Section */
.page-about__team-section {
    background-color: #000000;
    padding: 80px 0;
}

.page-about__section-subtitle {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__team-member {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__team-member-photo {
    width: 200px; /* Min size 200px */
    height: 200px; /* Min size 200px */
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #FCBC45;
}

.page-about__team-member-name {
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 5px;
}

.page-about__team-member-title {
    font-size: 1em;
    color: #FCBC45;
    margin-bottom: 15px;
}

.page-about__team-member-bio {
    font-size: 0.9em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.page-about__team-details-link {
    text-align: center;
}

/* Call to Action Section */
.page-about__cta-section {
    background-color: #000000;
    padding: 80px 0;
    text-align: center;
}

.page-about__cta-title {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 20px;
}

.page-about__cta-description {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__btn--primary {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    margin-right: 20px;
}

.page-about__btn--primary:hover {
    background-color: transparent;
    color: #FCBC45;
}

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

.page-about__btn--secondary:hover {
    background-color: transparent;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__section-title {
        font-size: 2.2em;
    }
    .page-about__story-grid, .page-about__security-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .page-about__story-image-wrapper, .page-about__security-image-wrapper {
        order: -1; /* Image first on mobile */
    }
    .page-about__hero-image,
    .page-about__story-image,
    .page-about__security-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-about {
        padding-top: var(--header-offset, 120px);
    }
    .page-about__hero-section {
        padding: 40px 15px;
    }
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn {
        width: 100%;
        padding: 12px 20px;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-about__story-section, .page-about__mission-vision-section, .page-about__security-section, .page-about__team-section, .page-about__cta-section {
        padding: 60px 0;
    }
    .page-about__story-content p, .page-about__security-text p {
        font-size: 1em;
    }
    .page-about__philosophy-card, .page-about__team-member {
        padding: 25px;
    }
    .page-about__card-title {
        font-size: 1.5em;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
    .page-about__cta-description {
        font-size: 1em;
    }
    .page-about__btn--primary, .page-about__btn--secondary {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-about__btn--secondary {
        margin-bottom: 0;
    }
    /* Ensure content images are responsive and do not overflow */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
    .page-about__team-member-photo {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__hero-description {
        font-size: 0.95em;
    }
    .page-about__section-title {
        font-size: 1.6em;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
    .page-about__btn {
        font-size: 1em;
    }
}