/* assets/css/about.css */

/* --- About Us Hero Banner --- */
.about-hero {
    position: relative;
    height: 50vh; /* 50% of the viewport height */
    background-image: url('../images/hero.png'); /* CHANGE THIS to your image */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.6); /* Dark blue overlay */
}

.about-hero h1 {
    position: relative;
    z-index: 2;
    font-size: 3.5rem;
    font-weight: bold;
}

/* --- General Section Styling --- */
.about-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

/* --- Two-Column Layout for Journey & Expertise --- */
.two-column-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.two-column-layout .column {
    flex: 1;
    min-width: 300px;
}

.two-column-layout h2 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.two-column-layout p {
    line-height: 1.8;
    color: #555;
}

/* --- Philosophy Section (Icon-based) --- */
.philosophy-section {
    background-color: #ffffff; /* White background to stand out */
}

.philosophy-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.philosophy-item {
    flex: 1;
    min-width: 280px;
    padding: 20px;
}

.philosophy-item img {
    height: 100px; /* Adjust icon size */
    margin-bottom: 15px;
}

.philosophy-item h3 {
    font-size: 1.5rem;
    color: #1e3a8a;
    margin-bottom: 10px;
}

/* --- Final CTA Section --- */
.about-cta {
    background-color: #0a192f;
    color: #fff;
    padding: 60px 20px;
    border-radius: 15px;
    margin: 40px auto;
}

.about-cta h2 {
    color: #fff;
}

.about-cta p {
    color: #ccd6f6;
}

.about-cta .btn-cta {
    display: inline-block;
    margin-top: 20px;
    background-color: #3b82f6;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.about-cta .btn-cta:hover {
    background-color: #1e3a8a;
}

/* --- Timeline Section --- */
.timeline-section {
    background-color: #f4f6f9; /* Light grey background */
    padding: 60px 20px;
}

.timeline-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 50px;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* The central vertical line */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #3b82f6; /* Blue line */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    
    /* Animation setup: hidden by default */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* The class that JavaScript will add to trigger the animation */
.timeline-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Position items on the left */
.timeline-item:nth-child(odd) {
    left: 0;
}

/* Position items on the right */
.timeline-item:nth-child(even) {
    left: 50%;
}

/* The circle on the timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #ffffff;
    border: 4px solid #3b82f6;
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

/* Adjust circle position for right-side items */
.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: #ffffff;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-year {
    display: inline-block;
    padding: 5px 15px;
    background-color: #3b82f6;
    color: #ffffff;
    font-weight: bold;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #1e3a8a;
}