/* About Page Styles */

/* Hero Section Enhancement */
.hero-about {
    position: relative;
    overflow: hidden;
}

.hero-about::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom right, transparent 49%, #fff 50%);
}

/* About Content Sections */
.about-content {
    padding: 4rem 0;
}

.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
    transition: transform 0.3s ease;
}

.about-section:hover {
    transform: translateY(-5px);
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.team-member {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    margin-bottom: 2rem;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    margin: 0;
    font-size: 1.5rem;
}

.team-info p {
    margin: 0.5rem 0;
}

/* Values Section */
.values-section {
    padding: 4rem 0;
    background: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.values-grid i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Timeline Section */
.timeline-section {
    padding: 4rem 0;
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.timeline-item {
    width: 50%;
    padding: 1rem;
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-content {
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-date {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -100px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -100px;
}

/* Achievements Section */
.achievements-section {
    padding: 4rem 0;
    background: #fff;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.achievement-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: scale(1.05);
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Motto Section */
.motto-section {
    margin: 3rem 0;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(153, 101, 21, 0.1) 0%, rgba(153, 101, 21, 0.05) 100%);
    border-radius: 10px;
    border-left: 4px solid var(--button-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.motto {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--button-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    display: inline-block;
}

.motto::before,
.motto::after {
    content: '';
    position: absolute;
    height: 2px;
    background-color: var(--button-color);
    width: 50px;
    top: 50%;
    transform: translateY(-50%);
}

.motto::before {
    right: 100%;
    margin-right: 20px;
}

.motto::after {
    left: 100%;
    margin-left: 20px;
}

.motto-description {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .motto {
        font-size: 2rem;
    }

    .motto::before,
    .motto::after {
        width: 30px;
        margin-right: 10px;
        margin-left: 10px;
    }

    .motto-description {
        font-size: 1.1rem;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: -50px;
        top: -30px;
        transform: none;
    }

    .values-grid,
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 800px;
    margin: 0 auto;
}
