/* style/about.css */

/* General page styling */
.page-about {
    font-family: Arial, sans-serif;
    color: #e0e0e0; /* Light gray for general text on dark background */
    background-color: #0A1931; /* Main dark blue background */
    line-height: 1.6;
}

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

.page-about__container--flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.page-about__container--reverse .page-about__content-block {
    order: 2;
}

.page-about__container--reverse .page-about__image-block {
    order: 1;
}

.page-about__section {
    padding: 60px 0;
}

.page-about__section:nth-child(even) {
    background-color: #1a2a47; /* Slightly lighter dark blue for alternating sections */
}

/* Hero Section */
.page-about__hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #FFFFFF; /* White text on dark hero */
}

.page-about__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.5);
}

.page-about__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 49, 0.8), rgba(255, 215, 0, 0.2));
    z-index: 2;
}

.page-about__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* Headings */
.page-about__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for main section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-about__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-about__sub-title {
    font-size: 2em;
    color: #FFFFFF; /* White for sub-titles */
    margin-bottom: 25px;
    border-left: 5px solid #FFD700;
    padding-left: 15px;
}

/* Text and Paragraphs */
.page-about__text {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #e0e0e0;
}

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

/* Image blocks */
.page-about__image-block {
    flex: 1;
    min-width: 300px;
}

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

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.page-about__image:hover {
    transform: translateY(-5px);
}

.page-about__image--full-width {
    display: block;
    margin: 30px auto;
    max-height: 400px;
    object-fit: cover;
}

/* Lists */
.page-about__list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.page-about__list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-about__list li::before {
    content: '✔'; /* Checkmark icon */
    color: #FFD700;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Buttons */
.page-about__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-about__btn--primary {
    background-color: #FFD700; /* Gold background */
    color: #0A1931; /* Dark blue text on gold */
    margin-right: 15px;
}

.page-about__btn--primary:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-2px);
}

.page-about__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-about__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A1931; /* Dark blue text on gold */
    transform: translateY(-2px);
}

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

.page-about__cta-content {
    background-color: #1a2a47;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-about__cta-text {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__hero-subtitle {
        font-size: 1.2em;
    }
    .page-about__section-title {
        font-size: 2.2em;
    }
    .page-about__sub-title {
        font-size: 1.8em;
    }
    .page-about__container--flex {
        flex-direction: column;
    }
    .page-about__container--reverse .page-about__content-block,
    .page-about__container--reverse .page-about__image-block {
        order: unset; /* Reset order for smaller screens */
    }
}

@media (max-width: 768px) {
    .page-about__hero {
        height: 400px;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-subtitle {
        font-size: 1em;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__sub-title {
        font-size: 1.5em;
    }
    .page-about__text,
    .page-about__list li {
        font-size: 1em;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
    .page-about__cta-text {
        font-size: 1em;
    }
    .page-about__btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-about__btn--primary {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .page-about__hero {
        height: 300px;
    }
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__sub-title {
        font-size: 1.3em;
    }
    .page-about__cta-title {
        font-size: 1.6em;
    }
    .page-about__cta-content {
        padding: 30px;
    }
}