/* About Page Specific Styles */

/* Hero Section Enhancements */
.about-hero-section {
    background-image: linear-gradient(rgba(40, 0, 40, 0.75), rgba(40, 0, 40, 0.75)), url('../images/campus_aerial.jpg'); /* Use a relevant, high-quality image */
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 6rem 0;
}

.about-hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6); /* Make text pop */
}

.about-hero-section .lead {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 1rem auto 2rem;
    color: #f0f0f0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5); /* Make text pop */
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    transition: background 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
}

.stat-card .counter {
    font-size: 2rem;
    font-weight: 700;
}

/* Story Section (History) */
.story-section {
    padding: 5rem 0;
}

.story-section img {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Mission & Vision Section */
.mission-vision-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.icon-box {
    font-size: 3rem;
    color: #800080; /* Primary Theme Color */
    margin-bottom: 1rem;
}

/* Vertical Timeline for Milestones */
.timeline-section {
    padding: 5rem 0;
}

.v-timeline {
    position: relative;
    list-style: none;
    padding: 1rem 0;
}

.v-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 3px;
    background-color: #e9ecef;
}

.v-timeline-item {
    padding: 0 40px;
    position: relative;
    width: 50%;
    margin-bottom: 3rem;
}

.v-timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.v-timeline-item:nth-child(even) {
    left: 50%;
}

.v-timeline-content {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.v-timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.v-timeline-item:nth-child(odd) .v-timeline-content::before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #fff;
}

.v-timeline-item:nth-child(even) .v-timeline-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent #fff transparent transparent;
}

.v-timeline-icon {
    position: absolute;
    top: 15px;
    width: 35px;
    height: 35px;
    background-color: #800080;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border: 3px solid #fff;
}

.v-timeline-item:nth-child(odd) .v-timeline-icon {
    right: -17.5px;
}

.v-timeline-item:nth-child(even) .v-timeline-icon {
    left: -17.5px;
}

.v-timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: #800080;
    margin-bottom: 0.5rem;
}

/* Community Voices (Testimonials) */
.community-voices-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    height: 100%;
    text-align: center; /* Center align all content */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-card img {
    width: 100px; /* Increased size */
    height: 100px; /* Increased size */
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem; /* Center image */
    display: block;
}

.testimonial-card .blockquote {
    font-size: 1.15rem; /* Increased text size */
}

.testimonial-card .blockquote-footer {
    margin-top: 1rem;
    font-size: 1rem; /* Increased text size */
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .v-timeline::before {
        left: 17.5px;
    }
    .v-timeline-item,
    .v-timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 50px;
        padding-right: 15px;
    }
    .v-timeline-item:nth-child(odd),
    .v-timeline-item:nth-child(even) {
        text-align: left;
    }
    .v-timeline-icon,
    .v-timeline-item:nth-child(odd) .v-timeline-icon,
    .v-timeline-item:nth-child(even) .v-timeline-icon {
        left: 0;
    }
    .v-timeline-content::before,
    .v-timeline-item:nth-child(even) .v-timeline-content::before,
    .v-timeline-item:nth-child(odd) .v-timeline-content::before {
        left: -10px;
        right: auto;
        border-width: 10px 10px 10px 0;
        border-color: transparent #fff transparent transparent;
    }
}