/* 
 * About Page Styles
 * This file contains styles for the About page, extracted from inline styles
 */

/* Header Styles */
.page-header-about {
    background-image: url('../../images/About_Us/JK_About_Us_1.jpg');
    background-position: center;
    background-size: cover;
    position: relative;
}

/* About Section */
.about-section {
    padding: 8rem 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--secondary);
    font-size: 1.6rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: 500px;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Host Section */
.host-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.host-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.host-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.host-text {
    flex: 1;
}

.host-text h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.host-text p {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--text);
}

/* Staff Section */
.intro-text {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--text);
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem; /* Increased spacing between timeline items */
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: var(--accent);
    border-radius: 50%;
    z-index: 2;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--primary);
}

.timeline-spacer {
    flex: 1;
    height: 2px;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.timeline-content p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text);
}

.timeline-content-left {
    text-align: right;
}

.timeline-content-left::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid var(--white);
    transform: translateY(-50%);
}

.timeline-content-right {
    text-align: left;
    margin-left: auto;
}

.timeline-content-right::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--white);
    transform: translateY(-50%);
}

/* Story Section */
.story-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.story-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.story-image {
    flex: 1;
    min-width: 300px;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.story-text {
    flex: 1;
    min-width: 300px;
}

.story-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.story-description {
    color: var(--medium);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background-color: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
}

.team-member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background-size: cover;
    background-position: center;
}

.team-member-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.team-member-role {
    color: var(--accent);
    margin-bottom: 1rem;
}

.team-member-bio {
    color: var(--medium);
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 4rem 0;
    background-color: var(--primary);
    color: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.value-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-description {
    line-height: 1.6;
    opacity: 0.9;
}

/* CTA Section */
.cta {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
}

.cta h2 {
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta p {
    font-size: 1.8rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.cta-buttons {
    margin-top: 3rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-image {
        height: 400px;
    }
    
    .timeline-content {
        width: 40%;
    }
}

@media (max-width: 768px) {
    .about-text h2 {
        font-size: 3rem;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 30px;
    }
    
    .timeline-content {
        width: 100%;
        max-width: calc(100% - 60px);
        margin-bottom: 2rem;
    }
    
    .timeline-content-left,
    .timeline-content-right {
        text-align: left;
    }
    
    .timeline-content-left::after,
    .timeline-content-right::after {
        left: -10px;
        right: auto;
        border-left: 0;
        border-right: 10px solid var(--white);
    }
    
    .timeline-dot {
        margin-bottom: 1rem;
    }
    
    .timeline-spacer {
        display: none;
    }
    
    .story-image,
    .story-text {
        flex: 100%;
    }
    
    .story-image {
        height: 300px;
    }
    
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .about-image {
        height: 300px;
    }
    
    .about-text h2 {
        font-size: 2.4rem;
    }
    
    .about-text p {
        font-size: 1.4rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.8rem;
    }
    
    .timeline-content p {
        font-size: 1.4rem;
    }
    
    .story-title {
        font-size: 1.8rem;
    }
}
