/* About Us Page Styles */
:root {
    --primary-color: #ff4e08;
    --primary-dark: #e64507;
    --primary-light: #ff6c24;
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #fff;
    --bg-light: #f9fafb;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Page Hero */
/*.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') center/cover no-repeat;
    color: var(--text-light);
    padding: 8rem 0 5rem;
    text-align: center;
    margin-top: 70px;*/ /* Account for fixed header */
/*}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}*/
.about-image {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

/* About Intro */
.about-intro {
    padding: 6rem 0;
    background: var(--bg-light);
}

.about-intro-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-intro-text {
    flex: 1;
}

.about-intro-text h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-intro-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

.about-intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
	text-align: justify;
}

.about-intro-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

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

.about-intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-intro-image:hover img {
    transform: scale(1.03);
}

/* Mission & Vision */
.mission-vision {
    padding: 0;
    background: #fff;
}

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

.mission-card,
.vision-card {
    background: #fff;
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.mission-card {
    border-top-color: var(--primary-color);
}

.vision-card {
    border-top-color: #4a6cf7;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    width: 100%;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mission-card:hover .card-image img,
.vision-card:hover .card-image img {
    transform: scale(1.05);
}

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

.mission-card p,
.vision-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Core Values */
.core-values {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

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

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

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

.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-color);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(255, 78, 8, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

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

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
	text-align: justify;
}

/* Our Expertise */
.our-expertise {
    padding: 6rem 0;
    background: white;
}

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

.expertise-card {
    background: white;
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.expertise-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.expertise-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 78, 8, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.expertise-card:hover .expertise-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

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

.expertise-card:hover h3 {
    color: var(--primary-color);
}

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-intro-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-intro-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 3rem auto 0;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 6rem 0 4rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 2rem 1.5rem;
    }
    
    .value-card,
    .expertise-card {
        padding: 2rem 1.5rem;
    }
}

.award-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px);
}

/* Team Section */
.team {
    padding: 5rem 0;
    background: #f8f9fa;
}

.team-grid {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    flex-basis: 30%;
    max-width: 350px;
}

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

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 5px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.team-member h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #666;
    margin-bottom: 1rem;
}

.team-member .social-links a {
    color: #007bff;
    margin: 0 0.5rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-member .social-links a:hover {
    color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-grid {
        flex-direction: column;
    }

    .timeline::before {
        left: 15px;
        transform: translateX(0);
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .timeline-item:nth-child(even) {
        left: 0 !important;
        padding-left: 3rem;
    }

    .timeline-date {
        left: 15px;
        transform: translateX(0);
        top: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: 15px;
        right: auto;
    }

    .team-grid {
        flex-direction: column;
        align-items: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}
