/* style/about.css */
.page-about {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color on light background */
    line-height: 1.6;
    background-color: #f9f9f9; /* Light background for the page */
}

/* Hero Section */
.page-about-hero {
    background: linear-gradient(135deg, #003366, #001a33); /* Dark blue gradient */
    color: #ffffff; /* White text on dark background */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-about-hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFCC00; /* Accent color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about-hero-subtitle {
    font-size: 1.4em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

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

/* Buttons */
.page-about-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    cursor: pointer;
    text-align: center;
}

.page-about-btn-primary {
    background-color: #FFCC00; /* Accent color */
    color: #003366; /* Dark text on accent background */
    border: 2px solid #FFCC00;
}

.page-about-btn-primary:hover {
    background-color: #e6b800; /* Slightly darker accent */
    border-color: #e6b800;
    transform: translateY(-2px);
}

.page-about-btn-secondary {
    background-color: transparent;
    color: #FFCC00; /* Accent text on dark background */
    border: 2px solid #FFCC00;
}

.page-about-btn-secondary:hover {
    background-color: rgba(255, 204, 0, 0.1); /* Light accent background */
    transform: translateY(-2px);
}

.page-about-btn-action {
    background-color: #003366; /* Main color */
    color: #FFCC00; /* Accent text on main background */
    border: 2px solid #003366;
}

.page-about-btn-action:hover {
    background-color: #004080; /* Slightly lighter main color */
    border-color: #004080;
    transform: translateY(-2px);
}


/* General Section Styling */
.page-about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-about-section-title {
    font-size: 2.5em;
    color: #003366; /* Main color for section titles */
    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: #FFCC00; /* Accent underline */
    border-radius: 2px;
}

.page-about-intro,
.page-about-mission-vision,
.page-about-values,
.page-about-commitment,
.page-about-cta {
    padding: 80px 0;
}

.page-about-intro {
    background-color: #ffffff;
}

.page-about-grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.page-about-grid-2-cols {
    grid-template-columns: 1fr 1fr;
}

.page-about-grid-3-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-about-intro-image,
.page-about-commitment-image {
    text-align: center;
}

.page-about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.15);
}

/* Cards */
.page-about-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-about-card-title {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 15px;
}

/* Values Section */
.page-about-values {
    background-color: #f0f5fa; /* Light blue-gray background */
    text-align: center;
}

.page-about-value-item {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.05);
    transition: transform 0.3s ease;
}

.page-about-value-item:hover {
    transform: translateY(-5px);
}

.page-about-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0, 51, 102, 0.2));
}

.page-about-value-title {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 10px;
}

/* Commitment Section */
.page-about-commitment {
    background-color: #ffffff;
}

.page-about-commitment .page-about-grid {
    grid-template-columns: 1fr 1fr;
}

/* CTA Section */
.page-about-cta {
    background-color: #003366; /* Main color background */
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.page-about-cta-title {
    font-size: 2.8em;
    color: #FFCC00; /* Accent color for CTA title */
    margin-bottom: 20px;
}

.page-about-cta-text {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Scroll animation */
@keyframes page-about-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-about-animated {
  animation: page-about-fadeInUp 0.8s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about-hero-title {
        font-size: 2.5em;
    }
    .page-about-hero-subtitle {
        font-size: 1.2em;
    }
    .page-about-section-title {
        font-size: 2em;
    }
    .page-about-grid-2-cols {
        grid-template-columns: 1fr;
    }
    .page-about-intro-image,
    .page-about-commitment-image {
        order: -1; /* Image first on mobile for intro/commitment */
    }
    .page-about-commitment .page-about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-about-hero,
    .page-about-intro,
    .page-about-mission-vision,
    .page-about-values,
    .page-about-commitment,
    .page-about-cta {
        padding: 60px 0;
    }
    .page-about-hero-title {
        font-size: 2em;
    }
    .page-about-hero-subtitle {
        font-size: 1em;
    }
    .page-about-hero-cta,
    .page-about-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-about-btn {
        width: 80%;
        max-width: 300px;
    }
    .page-about-section-title {
        font-size: 1.8em;
    }
    .page-about-card-title {
        font-size: 1.5em;
    }
    .page-about-value-title {
        font-size: 1.3em;
    }
    .page-about-cta-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .page-about-hero-title {
        font-size: 1.8em;
    }
    .page-about-section-title {
        font-size: 1.6em;
    }
    .page-about-btn {
        width: 90%;
    }
}