/* About Page Styles */
.about-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('/uploads/church-building.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: -60px;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 82, 118, 0.7), rgba(26, 82, 118, 0.4));
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1.2s ease-out;
}

.about-hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.about-hero-content .lead {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.about-section {
    padding: 5rem 0;
}

.about-intro {
    margin-bottom: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.9;
    color: #444;
}

/* Mission, Vision, Values Section */
.mvv-section {
    margin-top: 4rem;
    padding-bottom: 3rem;
}

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

.mvv-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-top: 5px solid transparent;
}

.mvv-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mvv-card.mission:hover {
    border-top-color: #e74c3c;
}

.mvv-card.vision:hover {
    border-top-color: #3498db;
}

.mvv-card.values:hover {
    border-top-color: #2ecc71;
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.mvv-card:hover .mvv-icon {
    background-color: var(--primary-color);
}

.mvv-card:hover .mvv-icon i {
    color: white;
    transform: scale(1.2);
}

.mvv-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.mvv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.mvv-card p {
    color: var(--gray-color);
    line-height: 1.7;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.values-list span {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mvv-card:hover .values-list span {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

/* History Section */
.history-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.history-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.history-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

.timeline {
    position: relative;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 0;
    margin-left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 0;
    right: -10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7);
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9), 0 0 20px rgba(0, 0, 0, 0.3);
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -10px;
}

.timeline-date {
    position: absolute;
    top: 0;
    left: 110%;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.timeline-item:nth-child(even) .timeline-date {
    left: auto;
    right: 110%;
    text-align: right;
}

.timeline-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    width: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-left: 5px solid transparent;
}

.timeline-item:nth-child(1) .timeline-content {
    border-left-color: #e74c3c;
}

.timeline-item:nth-child(2) .timeline-content {
    border-left-color: #3498db;
}

.timeline-item:nth-child(3) .timeline-content {
    border-left-color: #2ecc71;
}

.timeline-item:nth-child(4) .timeline-content {
    border-left-color: #f39c12;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

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

.timeline-image {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-image {
    transform: scale(1.05);
}

/* Beliefs Section */
.beliefs-section {
    padding: 5rem 0;
}

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

.belief-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.belief-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.belief-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.belief-card:hover::before {
    transform: scaleX(1);
}

.belief-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: background-color 0.3s ease;
}

.belief-card:hover .belief-icon {
    background-color: var(--primary-color);
}

.belief-card:hover .belief-icon i {
    color: white;
}

.belief-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.belief-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.belief-card p {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.beliefs-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Call to Action Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(26, 82, 118, 0.9), rgba(26, 82, 118, 0.9)), url('/uploads/church-interior.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-hero-content h1 {
        font-size: 3.5rem;
    }
    
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
        margin-left: 0;
    }
    
    .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
        right: auto;
    }
    
    .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: 20px;
        right: auto;
        top: -30px;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .mvv-container {
        grid-template-columns: 1fr;
    }
}
