/* About Page Specific Styles */

/* Active Navigation Link */
.nav-link.active {
    color: #A6C1EE;
}

.nav-link.active::after {
    width: 100%;
}

/* About Hero Section */
.about-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #FAFAFA 0%, #f0f4ff 100%);
}

.about-hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h1 {
    font-size: 3.5rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 20px;
}

.about-subtitle {
    font-size: 1.3rem;
    color: #666666;
    line-height: 1.6;
    font-style: italic;
}

/* Personal Introduction */
.personal-intro {
    padding: 80px 0;
    background-color: white;
}

.intro-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 30px;
    text-align: center;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555555;
}

.intro-text p {
    margin-bottom: 25px;
}

/* Journey Content Layout */
.journey-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.journey-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 20px;
}

.journey-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.journey-photo {
    text-align: center;
}

.journey-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.journey-img:hover {
    transform: scale(1.05);
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background-color: #FAFAFA;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 15px;
}

.value-card p {
    color: #666666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background-color: white;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #A6C1EE, #7E9F74);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background-color: #A6C1EE;
    border: 4px solid white;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: calc(50% - 40px);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 40px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -30px;
    border-right-color: white;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -30px;
    border-left-color: white;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666666;
    line-height: 1.6;
}

.timeline-image {
    margin-top: 20px;
    text-align: center;
}

.timeline-img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Specific styling for Beaver English image */
.timeline-item:nth-child(3) .timeline-img {
    object-fit: contain;
    object-position: center;
}

/* Goals Section */
.goals-section {
    padding: 80px 0;
    background-color: #FAFAFA;
}

.goals-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.goals-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 15px;
    margin-top: 30px;
}

.goals-text h3:first-child {
    margin-top: 0;
}

.goals-text p {
    color: #555555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.goals-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #A6C1EE 0%, #8fb0e8 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.cta-buttons .btn {
    background-color: white;
    color: #A6C1EE;
    font-weight: 600;
}

.cta-buttons .btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    background-color: #7E9F74;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background-color: #6d8a63;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        padding: 120px 0 60px;
    }

    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-text h1 {
        font-size: 2.5rem;
    }

    .about-subtitle {
        font-size: 1.1rem;
    }

    .personal-intro,
    .values-section,
    .timeline-section,
    .goals-section,
    .cta-section {
        padding: 60px 0;
    }

    .intro-content h2 {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .journey-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .journey-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .journey-img {
        height: 180px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .timeline-img {
        height: 150px;
        max-width: 250px;
    }

    .value-card {
        padding: 30px 20px;
    }

    /* Timeline Mobile */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
        margin-left: 40px;
    }

    .timeline-marker {
        left: 20px;
        transform: translateX(-50%);
    }

    .timeline-content {
        width: 100%;
        margin-left: 40px !important;
        margin-right: 0 !important;
    }

    .timeline-content::before {
        left: -30px !important;
        right: auto !important;
        border-left-color: transparent !important;
        border-right-color: white !important;
    }

    .goals-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .goals-image {
        height: 250px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .about-text h1 {
        font-size: 2rem;
    }

    .value-card {
        padding: 25px 15px;
    }

    .value-icon {
        font-size: 2.5rem;
    }

    .timeline-content {
        padding: 20px;
        margin-left: 30px !important;
    }

    .timeline-content::before {
        left: -20px !important;
        border-width: 10px;
    }

    .goals-text h3 {
        font-size: 1.3rem;
    }

    .goals-text p {
        font-size: 1rem;
    }
}

/* About Portrait Image */
.about-portrait {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
}

@media (max-width: 768px) {
    .about-portrait {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .about-portrait {
        height: 300px;
    }
}
