/* style/about.css */

/* Base styles for the about page */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f8f8f8; /* Light text for dark background */
    background-color: #0d1245; /* Darker variant of primary for overall background */
}

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

/* Hero Section */
.page-about-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #1A237E 0%, #0d1245 100%); /* Primary to darker primary */
    position: relative;
    overflow: hidden;
}

.page-about-hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    overflow: hidden;
}

.page-about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(70%) blur(3px);
}

.page-about-hero > .page-about-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-about-title {
    font-size: 3.5em;
    color: #FFC107; /* Accent color for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-about-subtitle {
    font-size: 1.2em;
    color: #e0e0e0;
    max-width: 800px;
    margin-bottom: 40px;
}

.page-about-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 10px;
    font-size: 1.1em;
    text-align: center;
}

.page-about-btn-primary {
    background-color: #FFC107; /* Accent for primary button */
    color: #1A237E; /* Primary color for text */
    border: 2px solid #FFC107;
}

.page-about-btn-primary:hover {
    background-color: #e5ac00;
    border-color: #e5ac00;
    transform: translateY(-2px);
}

.page-about-btn-secondary {
    background-color: transparent;
    color: #FFC107; /* Accent for secondary button text */
    border: 2px solid #FFC107;
}

.page-about-btn-secondary:hover {
    background-color: #FFC107;
    color: #1A237E;
    transform: translateY(-2px);
}

/* General Section Styles */
.page-about-section {
    padding: 60px 0;
    background-color: #1A237E; /* Primary color for sections */
    color: #f8f8f8;
    margin-bottom: 20px;
}

.page-about-section:nth-of-type(even) {
    background-color: #0d1245; /* Darker primary for alternating sections */
}

.page-about-heading {
    font-size: 2.5em;
    color: #FFC107; /* Accent color for section headings */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

/* Mission & Vision Section */
.page-about-mission-vision .page-about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.page-about-content-left, .page-about-content-right {
    flex: 1;
    min-width: 300px;
}

.page-about-mission-vision p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-about-values-list {
    list-style: none;
    padding: 0;
}

.page-about-values-list li {
    background-color: rgba(255, 193, 7, 0.1);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 4px solid #FFC107;
    border-radius: 5px;
    font-size: 1.05em;
}

.page-about-values-list li strong {
    color: #FFC107;
}

.page-about-mission-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Why Trust Us Section */
.page-about-why-trust {
    text-align: center;
}

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

.page-about-grid-item {
    background-color: #2a318e; /* Slightly lighter primary for card background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-about-grid-item h3 {
    color: #FFC107;
    font-size: 1.8em;
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-about-grid-item p {
    color: #cccccc;
    font-size: 1em;
}

.page-about-grid-item a {
    color: #FFC107; /* Link color within grid item */
    text-decoration: underline;
}

.page-about-grid-item a:hover {
    color: #e5ac00;
}

.page-about-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* CTA Section */
.page-about-cta {
    background: linear-gradient(90deg, #1A237E, #0d1245); /* Primary to darker primary */
    padding: 80px 0;
}

.page-about-cta .page-about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.page-about-cta-content {
    flex: 2;
    min-width: 300px;
}

.page-about-cta-image-wrapper {
    flex: 1;
    min-width: 250px;
}

.page-about-cta-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-about-cta p {
    font-size: 1.15em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

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

/* Floating Ad Menu */
.page-about-floating-ad-menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none; /* Hidden by default, shown by JS */
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.page-about-floating-btn {
    display: flex;
    align-items: center;
    background-color: #FFC107; /* Accent color */
    color: #1A237E; /* Primary color */
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about-floating-btn:hover {
    transform: translateY(-3px);
    background-color: #e5ac00;
}

.page-about-floating-icon {
    font-size: 1.5em;
    margin-right: 10px;
}

.page-about-floating-text {
    font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about-title {
        font-size: 2.8em;
    }
    .page-about-heading {
        font-size: 2em;
    }
    .page-about-mission-vision .page-about-container,
    .page-about-cta .page-about-container {
        flex-direction: column;
        text-align: center;
    }
    .page-about-content-right, .page-about-cta-image-wrapper {
        order: -1; /* Image first on smaller screens */
    }
    .page-about-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-about-btn {
        width: 80%;
        max-width: 300px;
    }
}

@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-heading {
        font-size: 1.8em;
    }
    .page-about-grid-item {
        padding: 20px;
    }
    .page-about-grid-item h3 {
        font-size: 1.5em;
    }
    .page-about-grid-item p {
        font-size: 0.9em;
    }
    .page-about-floating-btn {
        padding: 10px 15px;
    }
    .page-about-floating-icon {
        font-size: 1.2em;
        margin-right: 8px;
    }
    .page-about-floating-text {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-about-hero {
        padding: 40px 0;
    }
    .page-about-title {
        font-size: 1.8em;
    }
    .page-about-subtitle {
        font-size: 0.9em;
    }
    .page-about-btn {
        width: 90%;
        font-size: 1em;
    }
    .page-about-grid {
        grid-template-columns: 1fr;
    }
    .page-about-floating-ad-menu {
        bottom: 15px;
        right: 15px;
    }
    .page-about-floating-btn {
        padding: 8px 12px;
    }
    .page-about-floating-icon {
        font-size: 1em;
        margin-right: 5px;
    }
    .page-about-floating-text {
        font-size: 0.8em;
    }
}