/* Global Styles */
:root {
    --primary-color: #1e4d8c;
    --secondary-color: #1e3a5f;
    --accent-color: #4293d8;
    --light-color: #ffffff;
    --dark-color: #2c3e50;
    --bg-color: #f8f9fa;
    --border-color: #e0e0e0;
    --text-color: #333333;
    --success-color: #28a745;
    --muted-color: #6c757d;
    --hover-color: #1a416f;
}

.about-hero h1 {
    color: white;
}

.cta-section h2 {
    color: white;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

.btn {
    font-weight: 500;
    padding: 12px 25px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--muted-color);
}

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 100px 0 80px;
    color: var(--light-color);
    text-align: center;
    position: relative;
}

.about-hero:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23f8f9fa' fill-opacity='1' d='M0,64L80,69.3C160,75,320,85,480,80C640,75,800,53,960,48C1120,43,1280,53,1360,58.7L1440,64L1440,100L1360,100C1280,100,1120,100,960,100C800,100,640,100,480,100C320,100,160,100,80,100L0,100Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
}

.about-hero h1 {
    font-size: 3.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-hero p.lead {
    font-size: 1.35rem;
    max-width: 880px;
    margin: 0 auto;
    opacity: 0.92;
    font-weight: 300;
}

/* Quick Navigation */
.quick-nav {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.quick-nav-container {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    flex-wrap: wrap;
}

.quick-nav-item {
    margin: 0 15px;
    padding: 8px 10px;
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
}

.quick-nav-item:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.quick-nav-item:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.quick-nav-item:hover:after {
    width: 100%;
}

.quick-nav-item.active {
    color: var(--primary-color);
}

.quick-nav-item.active:after {
    width: 100%;
}

/* Our Story Section */
.our-story-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.story-content {
    padding: 20px;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd) .timeline-content {
    padding: 30px 30px 30px 60px;
    border-radius: 6px 0 0 6px;
}

.timeline-item:nth-child(even) .timeline-content {
    padding: 30px 60px 30px 30px;
    border-radius: 0 6px 6px 0;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: var(--light-color);
    border: 4px solid var(--primary-color);
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    top: 15px;
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-date {
    position: absolute;
    top: 12px;
    right: -145px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -145px;
    right: auto;
}

.timeline-content {
    background-color: var(--light-color);
    padding: 20px 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-content h3 {
    margin-top: 0;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.timeline-content p {
    margin-bottom: 0;
}

/* Mission and Values Section */
.mission-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.mission-card {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
}

.mission-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    height: 80px;
    width: 80px;
    line-height: 80px;
    background-color: rgba(30, 77, 140, 0.1);
    border-radius: 50%;
    margin: 0 auto 25px;
}

.mission-icon span {
    vertical-align: middle;
    font-size: 48px;
}

.mission-card h3 {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.5rem;
}

.mission-card p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.value-card {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 30px 25px;
    height: 100%;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    height: 60px;
    width: 60px;
    line-height: 60px;
    background-color: rgba(30, 77, 140, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.value-card h3 {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.25rem;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.value-icon span {
    vertical-align: middle;
    font-size: 30px;
}

/* Why ProTrain Section */
.why-protrain-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.stats-card {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
    padding: 15px;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text-color);
}

.differentiator-list {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.differentiator-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.differentiator-item:hover {
    transform: translateY(-5px);
}

.differentiator-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: rgba(30, 77, 140, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.differentiator-content {
    flex: 1;
}

.differentiator-content h3 {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.25rem;
}

.differentiator-content p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Testimonial Section */
.testimonial-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.testimonial-card {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 35px 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    padding-top: 20px;
    margin-bottom: 30px;
}

.testimonial-content:before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: -5px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-content p {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-color);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
}

.testimonial-info h5 {
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.testimonial-info p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--muted-color);
}

/* Partners / Standards Section */
.partners-section {
    padding: 80px 0;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.partner-logo {
    flex: 0 0 auto;
    max-width: 160px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.cta-card {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 16px;
    padding: 70px 50px;
    color: var(--light-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.7;
}

.cta-card h2 {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 2.25rem;
    position: relative;
}

.cta-card p {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 1.2rem;
    position: relative;
}

.cta-card .btn-primary {
    background-color: var(--light-color);
    color: var(--secondary-color);
    border: none;
    font-weight: 700;
    padding: 15px 35px;
    font-size: 1.1rem;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-card .btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-secondary-text {
    font-size: 0.95rem;
    opacity: 0.8;
    position: relative;
}

/* Verification Section */
.verification-section {
    background-color: var(--bg-color);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.certification-badge {
    text-align: center;
    padding: 20px;
}

.certification-badge .material-icons {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.certification-badge p {
    font-weight: 600;
    margin-bottom: 0;
    color: var(--dark-color);
    font-size: 1.1rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .about-hero h1 {
        font-size: 2.75rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .timeline:before {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0%;
    }

    .timeline-dot {
        left: 20px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
    }

    .timeline-date {
        right: auto;
        left: 70px;
        top: -25px;
        position: relative;
        font-size: 1rem;
    }

    .timeline-item:nth-child(even) .timeline-date {
        left: 70px;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        padding: 30px;
        border-radius: 6px;
    }

    .cta-card {
        padding: 50px 30px;
    }
}

@media (max-width: 767.98px) {
    .about-hero {
        padding: 80px 0 60px;
    }

    .about-hero h1 {
        font-size: 2.25rem;
    }

    .our-story-section,
    .mission-section,
    .why-protrain-section,
    .testimonial-section,
    .cta-section,
    .timeline-section {
        padding: 60px 0;
    }

    .story-image {
        margin-top: 30px;
    }

    .differentiator-item {
        margin-bottom: 15px;
    }

    .stat-item {
        margin-bottom: 0;
    }

    .stats-card {
        margin-bottom: 30px;
    }

    .cta-card {
        padding: 40px 25px;
    }

    .cta-card h2 {
        font-size: 1.8rem;
    }

    .quick-nav-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 15px;
    }

    .quick-nav-item {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .verification-section {
        padding: 30px 0;
    }

    .certification-badge {
        margin-bottom: 20px;
    }
}