/* About Page Styles - inherits base styles from site.css */

/* Skip link for accessibility - hidden until focused */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--navy);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
}

body {
    line-height: 1.8;
}

main {
    margin-top: 90px;
    padding-bottom: 6rem;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
}

.hero-content-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-content-wrapper h1 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.0625rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hero-principle {
    font-size: 1.25rem;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.7;
}

/* Video Placeholder */
.video-placeholder {
    max-width: 900px;
    margin: 0 auto 3rem;
    background: var(--bg-subtle);
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem;
}

.video-box p {
    color: var(--text);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.video-note {
    font-size: 0.875rem !important;
    color: var(--text-light) !important;
    font-weight: 400 !important;
}

/* About Javan Section */
.about-javan-section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.javan-profile-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.javan-image {
    flex-shrink: 0;
}

.javan-image img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--navy);
    box-shadow: 0 8px 24px rgba(15, 31, 51, 0.2);
}

.javan-facts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.javan-facts p {
    font-size: 1rem;
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}

.javan-facts strong {
    color: var(--navy);
    font-weight: 700;
}

/* Capacity CTA */
.capacity-cta {
    max-width: 700px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: var(--navy);
    border-radius: 12px;
    text-align: center;
}

.capacity-cta p {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.capacity-cta-button {
    display: inline-block;
    background: white;
    color: var(--navy);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.capacity-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Story Content */
.story-content {
    padding: 2rem 0;
}

.story-content p {
    margin-bottom: 1.75rem;
}

/* Story Headings */
.story-heading {
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.story-subheading {
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 600;
    margin: 3rem 0 1.5rem;
}

/* Article-style layout with floating image */
.article-with-image {
    margin: 2rem 0 3rem;
}

.article-image-float {
    float: right;
    max-width: 400px;
    margin: 0.5rem 0 1rem 2rem;
}

.article-image-float img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(15, 31, 51, 0.15);
}

.article-with-image::after {
    content: "";
    display: table;
    clear: both;
}

.image-caption {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
    text-align: center;
}

/* Pull Quote */
.pull-quote {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--navy);
    padding: 2rem 0;
    margin: 3rem 0;
    border-top: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    text-align: center;
    line-height: 1.5;
}

/* Timeline moment */
.timeline-moment {
    background: var(--bg-subtle);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid var(--blue);
}

.timeline-year {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.timeline-moment p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Tutorless Section */
.tutorless-section {
    margin: 3rem 0;
    padding: 2.5rem;
    background: var(--bg-subtle);
    border-radius: 12px;
    border: 2px solid var(--navy);
}

.tutorless-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tutorless-header h3 {
    color: var(--navy);
    font-size: 1.75rem;
    margin: 0;
}

.tutorless-logo {
    height: 50px;
    width: auto;
}

.tutorless-intro {
    font-size: 1.0625rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tutorless-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.metric-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 31, 51, 0.15);
}

.metric-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.tutorless-impact {
    border-top: 2px solid var(--navy);
    padding-top: 2rem;
    margin-top: 2rem;
}

.tutorless-impact p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.0625rem;
    color: var(--text);
}

.tutorless-impact p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--navy);
}


/* Client Testimonial */
.client-voice {
    margin: 3rem auto;
    padding: 2.5rem;
    max-width: 700px;
    background: white;
    border: 2px solid var(--navy);
    border-radius: 12px;
    text-align: center;
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--blue);
    opacity: 0.3;
    position: absolute;
    top: -1rem;
    left: -0.5rem;
}

.testimonial-attribution {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

/* Mid-page CTA */
.mid-cta {
    margin: 4rem 0;
    padding: 3rem;
    background: var(--navy);
    color: white;
    border-radius: 16px;
    text-align: center;
}

.mid-cta h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.mid-cta > p {
    color: white;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.0625rem;
}

.mid-cta .cta-button {
    display: inline-block;
    background: white;
    color: var(--navy);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.0625rem;
}

.mid-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cta-alternative {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.cta-alternative a {
    color: white;
    text-decoration: underline;
}

/* Office Image */
.office-image {
    margin: 3rem 0;
}

.office-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 31, 51, 0.2);
}

/* Heritage Box */
.heritage-box {
    margin: 3rem 0;
    padding: 2.5rem;
    background: var(--bg-subtle);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
}

.heritage-box h3 {
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.heritage-box p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.heritage-box p:last-child {
    margin-bottom: 0;
}

.heritage-quote {
    font-style: italic;
    margin-top: 1rem;
    opacity: 0.9;
}

/* Benefit Bridge */
.benefit-bridge {
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border: 2px solid var(--navy);
    border-radius: 12px;
}

.benefit-bridge h3 {
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.benefit-bridge > p {
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 1.25rem;
}

.benefit-list li:last-child {
    margin-bottom: 0;
}

/* Philosophy Box */
.philosophy-box {
    background: var(--bg-subtle);
    color: var(--navy);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: center;
    border-left: 4px solid var(--navy);
}

.philosophy-box p {
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 0;
    font-weight: 500;
    font-style: italic;
}

/* Mid-page CTA */
.mid-cta {
    margin: 4rem 0;
    padding: 3rem;
    background: var(--navy);
    color: white;
    border-radius: 16px;
    text-align: center;
}

.mid-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.mid-cta > p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.mid-cta .cta-button {
    display: inline-block;
    background: white;
    color: var(--navy);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mid-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cta-alternative {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.cta-alternative a {
    color: white;
    text-decoration: underline;
}

/* Credentials Section */
.credentials-section {
    margin: 4rem 0;
}

.credentials-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.credential-block {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--navy);
    text-align: center;
    transition: all 0.3s ease;
}

.credential-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 31, 51, 0.15);
}

.credential-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.credential-block h4 {
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.credential-block p {
    line-height: 1.8;
    color: var(--text);
    margin: 0;
}

.credential-block strong {
    color: var(--navy);
    font-weight: 600;
}

/* Final CTA Section */
.final-cta-section {
    padding: 6rem 0;
    margin-top: 3rem;
    background: linear-gradient(135deg, var(--navy) 0%, #1a2d45 100%);
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.final-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-button-white {
    display: inline-block;
    background: white;
    color: var(--navy);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content-wrapper h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .video-box {
        padding: 2rem 1rem;
    }

    .capacity-cta {
        padding: 1.5rem;
    }

    .javan-profile-wrapper {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .javan-facts {
        align-items: center;
    }

    .article-image-float {
        float: none;
        max-width: 100%;
        margin: 0 0 1.5rem 0;
    }
    
    .tutorless-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .tutorless-logo {
        height: 40px;
    }
    
    .tutorless-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tutorless-section {
        padding: 1.5rem;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .heritage-box,
    .benefit-bridge,
    .mid-cta {
        padding: 1.5rem;
    }
    
    .metric-number {
        font-size: 1.5rem;
    }
    
    .pull-quote {
        font-size: 1.125rem;
        padding: 1.5rem 0;
    }
    
    .philosophy-box p {
        font-size: 1.125rem;
    }
    
    .final-cta-section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .quick-facts-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tutorless-metrics {
        grid-template-columns: 1fr;
    }
}