
/* Additional styles for about page */
.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    padding-left: 50px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--secondary);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-year {
    position: absolute;
    left: -50px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 0 4px white, 0 0 0 6px var(--primary);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.mission-card, .vision-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.mission-card h3, .vision-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.mission-card i, .vision-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.leader-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
}

.leader-image {
    height: 300px;
    overflow: hidden;
}

.leader-image img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    object-fit: contain;
}

.leader-info {
    padding: 1.5rem;
}

.leader-info h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.leader-info p {
    color: #666;
    font-size: 0.9rem;
}

.anthem-section {
    background: linear-gradient(135deg, var(--primary), #154360);
    color: white;
    padding: 3rem;
    border-radius: 8px;
    margin: 3rem 0;
    text-align: center;
}

.anthem-section h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.anthem-text {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-style: italic;
}
/* Founder Image Styling */
.founder-image {
    width: 100%;
    max-width: 400px; /* Controls maximum size */
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 3/4; /* Maintains portrait proportion */
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.founder-image:hover img {
    transform: scale(1.03);
}

/* Frame effect */
.founder-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .founder-image {
        max-width: 350px;
    }
}

@media (max-width: 576px) {
    .founder-image {
        max-width: 300px;
        margin-bottom: 2rem;
    }
}
/* Founder Story Layout */
.founder-story {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.founder-content {
    flex: 1;
}

.founder-image-container {
    flex: 0 0 auto;
    position: relative;
}

.founder-quote {
    font-style: italic;
    color: #555;
    border-left: 3px solid var(--secondary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary);
}

@media (max-width: 768px) {
    .founder-story {
        flex-direction: column;
    }
    
    .founder-image {
        margin-bottom: 2rem;
    }
}