/* About Page Specific Styles */

/* Page Header Styles */
.page-header {
    background-color: #f2f6fa;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* About Container */
.about-container {
    padding: 0 50px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Company Story Section */
.company-story {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.company-story h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
}

.company-story h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 3px;
    background-color: #3498db;
}

.company-story p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.company-story img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
    transition: transform 0.3s;
}

.company-story img:hover {
    transform: scale(1.01);
}

/* Timeline Section */
.timeline-section {
    margin: 60px 0;
}

.timeline-section h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.timeline-section h2:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    width: 60px;
    height: 3px;
    background-color: #3498db;
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #e0e0e0;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid #3498db;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 25px;
    background-color: white;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: #3498db;
    margin-bottom: 10px;
    font-size: 18px;
}

.timeline-date {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

/* Vision & Mission Section */
.vision-mission {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.vision,
.mission {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.vision:hover,
.mission:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.vision h2,
.mission h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 24px;
    position: relative;
    display: inline-block;
}

.vision h2:after,
.mission h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: #3498db;
}

.vision p,
.mission p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.mission ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.mission ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.icon-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.icon-header i {
    font-size: 30px;
    color: #3498db;
    margin-right: 15px;
}

/* Team Section */
.team-section {
    margin: 30px 0 60px;
}

.team-section h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
}

.team-section>p {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-member {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-member-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.team-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-member:hover .team-member-img img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.6);
    transition: bottom 0.3s;
}

.team-member:hover .team-overlay {
    bottom: 0;
}

.team-social {
    display: flex;
    gap: 15px;
}

.team-social a {
    color: white;
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.team-social a:hover {
    background-color: #3498db;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 18px;
}

.team-info p {
    color: #7f8c8d;
    font-size: 14px;
}

/* Values Section */
.values-section {
    margin: 60px 0;
}

.values-section h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.values-section h2:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    width: 60px;
    height: 3px;
    background-color: #3498db;
}

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

.value-item {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: #f2f6fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 30px;
    color: #3498db;
}

.value-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 20px;
}

/* CTA Section */
.cta-section {
    background-color: #3498db;
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
    margin: 40px 0;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background-color: white;
    color: #3498db;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-btn:hover {
    background-color: #f8f8f8;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 22px;
    }

    .right {
        left: 0;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 0 20px 40px;
    }

    .company-story,
    .vision,
    .mission {
        padding: 25px;
    }

    .team-members {
        justify-content: center;
    }

    .team-member {
        max-width: 100%;
    }

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