/* About Us Page Specific Styles */
/* Inherits from main styles.css */

/* === HERO SECTION === */
.about-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--dark-teal);
    padding: 60px 0;
}

.parallax-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 110%;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    will-change: transform;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-title .highlight {
    color: var(--orange);
    position: relative;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 32px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--orange);
    display: inline-block;
}

.stat-prefix,
.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 8px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

.scroll-indicator span {
    font-size: 0.8rem;
    opacity: 0.6;
    color: var(--white);
}

/* === STORY SECTION === */
.our-story {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-label {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 16px;
}

.text-orange {
    color: var(--orange);
}

.text-white {
    color: var(--white) !important;
}

.story-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    color: var(--dark-teal);
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.story-achievements {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.achievement {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.achievement img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.achievement:hover img {
    filter: grayscale(0%);
}

.achievement span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Image Stack */
.story-visual {
    position: relative;
    height: 600px;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.stack-image {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stack-1 {
    width: 60%;
    height: 70%;
    top: 0;
    left: 0;
    z-index: 3;
}

.stack-2 {
    width: 50%;
    height: 60%;
    bottom: 10%;
    right: 10%;
    z-index: 2;
}

.stack-3 {
    width: 40%;
    height: 50%;
    top: 20%;
    right: 0;
    z-index: 1;
}

.image-stack:hover .stack-1 {
    transform: translate(-10px, -10px) rotate(-2deg);
}

.image-stack:hover .stack-2 {
    transform: translate(10px, 10px) rotate(1deg);
}

.image-stack:hover .stack-3 {
    transform: translate(5px, -5px) rotate(2deg);
}

/* Vision Box */
.vision-box {
    background: linear-gradient(135deg, rgba(251, 77, 23, 0.05) 0%, rgba(8, 54, 48, 0.03) 100%);
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
    border-left: 4px solid var(--orange);
}

.vision-box h3 {
    font-size: 1.2rem;
    color: var(--dark-teal);
    margin-bottom: 12px;
}

.vision-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 16px;
}

/* Train Metaphor Card */
.train-metaphor {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.train-card {
    background: linear-gradient(135deg, var(--dark-teal) 0%, #1a1a2e 100%);
    color: var(--white);
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-width: 500px;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.train-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.train-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
    animation: chugChug 2s ease-in-out infinite;
}

@keyframes chugChug {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.train-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.train-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 16px;
}

.train-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--orange);
    font-weight: 600;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

/* === TIMELINE SECTION === */
.timeline-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--light-bg), var(--white));
}

.timeline-header {
    text-align: center;
    margin-bottom: 80px;
}

.timeline-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-teal);
}

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--orange), var(--dark-teal));
    transform: translateX(-50%);
}

.timeline-items {
    position: relative;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item::before {
    content: attr(data-year);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-weight: 700;
    color: var(--orange);
    border: 2px solid var(--orange);
    white-space: nowrap;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 3px solid var(--orange);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.active .timeline-dot {
    background: var(--orange);
    box-shadow: 0 0 0 8px rgba(251, 77, 23, 0.2);
}

.timeline-content {
    width: 45%;
    padding: 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--dark-teal);
    margin-bottom: 12px;
}

/* === TEAM SECTION === */
.team-section {
    padding: 100px 0;
    background-color: var(--white);
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-teal);
    margin-bottom: 16px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.team-member {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.team-member.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.team-member.animate {
    opacity: 1;
    transform: translateY(0);
}

.member-image {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 54, 48, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-image:hover img {
    transform: scale(1.1);
}

.member-image:hover .member-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--dark-teal);
    border-radius: 50%;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, background 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
    background: var(--orange);
    color: var(--white);
}

.member-info h3 {
    font-size: 1.3rem;
    color: var(--dark-teal);
    margin-bottom: 4px;
}

.member-role {
    display: block;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 8px;
}

.team-cta {
    text-align: center;
    padding: 40px;
    background: var(--light-bg);
    border-radius: 20px;
}

.team-cta p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* === VALUES SECTION === */
.values-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f3ef 0%, #ffffff 100%);
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-header h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-teal);
}

.values-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(30px);
}

.value-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.value-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s infinite;
    animation-delay: var(--delay, 0s);
}

.value-card:nth-child(1) .value-icon { --delay: 0s; }
.value-card:nth-child(2) .value-icon { --delay: 0.2s; }
.value-card:nth-child(3) .value-icon { --delay: 0.4s; }
.value-card:nth-child(4) .value-icon { --delay: 0.6s; }
.value-card:nth-child(5) .value-icon { --delay: 0.8s; }
.value-card:nth-child(6) .value-icon { --delay: 1s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--dark-teal);
    margin-bottom: 16px;
}

/* === CULTURE SECTION === */
.culture-section {
    padding: 100px 0;
    background-color: var(--white);
}

.culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.culture-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-teal);
    margin-bottom: 24px;
}

.culture-perks {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.perk-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.perk-item:hover {
    transform: translateX(10px);
    background: linear-gradient(to right, var(--light-bg), rgba(251, 77, 23, 0.05));
}

.perk-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.perk-item h4 {
    font-size: 1.1rem;
    color: var(--dark-teal);
    margin-bottom: 4px;
}

.perk-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* === WHY US SECTION === */
.why-us-section {
    padding: 100px 0;
    background-color: var(--dark-teal);
}

.why-us-content {
    text-align: center;
    color: var(--white);
    max-width: 1200px;
    margin: 0 auto;
}

.why-us-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 60px;
    color: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.why-us-item {
    text-align: left;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.why-us-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.why-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--orange);
    opacity: 0.7;
    margin-bottom: 16px;
}

.why-us-item h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--white);
}

.why-us-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* === CTA SECTION === */
.about-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

.cta-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.train-icon-small {
    font-size: 3rem;
    display: block;
    margin-bottom: 20px;
    animation: chugChug 2s ease-in-out infinite;
}

.cta-wrapper h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-teal);
    margin-bottom: 16px;
}

.cta-wrapper p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.cta-tagline {
    font-size: 1.3rem !important;
    font-style: italic;
    color: var(--orange) !important;
    font-weight: 600;
    margin: 24px 0 32px !important;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: var(--dark-teal);
    border: 2px solid var(--dark-teal);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-secondary:hover {
    background: var(--dark-teal);
    color: var(--white);
    transform: translateY(-3px);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .story-grid,
    .culture-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .story-visual {
        height: auto;
    }
    
    .train-card {
        padding: 40px 30px;
        transform: rotate(0deg);
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 48px;
    }
    
    .timeline-content {
        width: 100%;
        margin: 24px 0 !important;
    }
    
    .timeline-line {
        left: 24px;
    }
    
    .timeline-item::before {
        left: 24px;
        top: -14px;
        transform: translateX(0);
    }
    
    .timeline-dot {
        left: 24px;
        transform: translateX(0);
        top: 14px;
    }
    
    .timeline-item {
        margin-bottom: 56px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 60vh;
        padding: 40px 0;
    }
    .our-story {
        padding: 60px 0;
    }
    .hero-description {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    .hero-stats {
        gap: 20px;
        margin-top: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-prefix,
    .stat-suffix {
        font-size: 1.2rem;
    }
    .scroll-indicator { display: none; }
    .about-hero-content { padding: 0 12px; }
    .hero-title { margin-bottom: 16px; }
    
    /* Timeline mobile improvements */
    .timeline-header { margin-bottom: 40px; }
    .timeline-wrapper { padding-left: 0; }
    .timeline-items { margin-left: 0; }
    .timeline-item { margin-bottom: 48px; padding-left: 44px; }
    .timeline-content { padding: 20px; border-radius: 12px; }
    
    .team-section {
        padding: 60px 0;
    }

    .timeline-section {
        padding: 60px 0;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .train-card {
        padding: 30px 20px;
    }
    
    .train-icon {
        font-size: 3rem;
    }
    
    .train-card h3 {
        font-size: 1.5rem;
    }
    
    /* Mobile-friendly values list */
    .values-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .value-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .value-card:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }
    
    .value-icon {
        font-size: 2.5rem;
        margin-bottom: 0;
        margin-right: 20px;
        flex-shrink: 0;
    }
    
    .value-card h3,
    .value-card p {
        display: block;
        width: 100%;
    }
    
    .value-card h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .value-card p {
        font-size: 0.9rem;
        margin: 0;
    }
    
    /* Mobile-friendly why-us section */
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-us-item {
        padding: 20px;
        border-radius: 12px;
        transition: none;
    }
    
    .why-us-item:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .why-number {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .why-us-item h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .why-us-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .gallery-grid {
        display: none;
    }
    
    .cta-wrapper {
        padding: 40px 20px;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}