/* style/about.css */

/* Base styles for the About Us page */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #0A1931; /* Dark blue for primary text */
    background-color: #f8f9fa; /* Light background */
}

/* Hero Section */
.page-about__hero {
    background: linear-gradient(135deg, #0A1931 0%, #2a3a5b 100%); /* Dark blue gradient */
    padding: 80px 0;
    text-align: center;
    color: #ffffff; /* White text on dark background */
    position: relative;
    overflow: hidden;
}

.page-about__hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: #FFD700; /* Gold accent */
    border-radius: 50%;
    opacity: 0.1;
    animation: floatEffect 6s ease-in-out infinite alternate;
}

.page-about__hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: #FFD700; /* Gold accent */
    border-radius: 50%;
    opacity: 0.1;
    animation: floatEffect 8s ease-in-out infinite reverse;
}

@keyframes floatEffect {
    0% { transform: translate(0, 0); }
    100% { transform: translate(15px, 15px); }
}

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

.page-about__title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

/* General Section Styling */
.page-about__section {
    padding: 60px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.page-about__section:nth-of-type(even) {
    background-color: #f0f4f7; /* Slightly lighter background for alternating sections */
}

.page-about__section-title {
    font-size: 2.5em;
    color: #0A1931;
    text-align: center;
    margin-bottom: 50px;
    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: #FFD700; /* Gold underline */
    border-radius: 2px;
}

.page-about__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.page-about__content-grid:nth-child(even) {
    flex-direction: row-reverse; /* Alternate image/text order */
}

.page-about__text-block {
    flex: 1;
    font-size: 1.1em;
    color: #333;
}

.page-about__text-block p {
    margin-bottom: 15px;
}

.page-about__text-block ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-about__text-block ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #0A1931;
}

.page-about__text-block ul li::before {
    content: '✓'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #FFD700; /* Gold checkmark */
    font-weight: bold;
    font-size: 1.2em;
    top: -2px;
}

.page-about__image-large,
.page-about__image-small {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-about__image-large {
    flex: 1;
    max-width: 50%;
}

.page-about__image-small {
    max-width: 100%; /* For images within text blocks */
    height: auto;
    margin-top: 20px;
    display: block;
}

/* Values Section */
.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-about__value-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-about__value-item:hover {
    transform: translateY(-10px);
}

.page-about__value-item .page-about__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.page-about__value-item h3 {
    font-size: 1.8em;
    color: #0A1931;
    margin-bottom: 15px;
}

.page-about__value-item p {
    color: #555;
    font-size: 1em;
}

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

.page-about__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold title */
}

.page-about__cta-text {
    font-size: 1.3em;
    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; /* Allow buttons to wrap on smaller screens */
}

.page-about__button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.page-about__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A1931; /* Dark blue text for contrast */
    border: 2px solid #FFD700;
}

.page-about__button--primary:hover {
    background-color: #e6c200; /* Darker gold on hover */
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
}

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

.page-about__button--secondary:hover {
    background-color: #FFD700; /* Gold background on hover */
    color: #0A1931; /* Dark blue text */
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__title {
        font-size: 2.8em;
    }
    .page-about__subtitle {
        font-size: 1.2em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__content-grid {
        flex-direction: column;
    }
    .page-about__image-large,
    .page-about__image-small {
        max-width: 80%;
        margin: 20px auto;
    }
    .page-about__content-grid:nth-child(even) {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-about__hero {
        padding: 60px 0;
    }
    .page-about__title {
        font-size: 2.2em;
    }
    .page-about__subtitle {
        font-size: 1em;
    }
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about__content-grid {
        gap: 30px;
    }
    .page-about__text-block {
        font-size: 1em;
    }
    .page-about__value-item {
        padding: 20px;
    }
    .page-about__value-item h3 {
        font-size: 1.5em;
    }
    .page-about__value-item .page-about__icon {
        width: 60px;
        height: 60px;
    }
    .page-about__cta {
        padding: 60px 0;
    }
    .page-about__cta-title {
        font-size: 2.2em;
    }
    .page-about__cta-text {
        font-size: 1.1em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__button {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-about__title {
        font-size: 1.8em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__image-large,
    .page-about__image-small {
        max-width: 100%;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
}