/* About Page Styles */
.about-hero {
    text-align: center;
    padding: 60px 0;
    /*background: linear-gradient(135deg, var(--primary-color) 0%, #333 100%); */
   /* background-image:   
    linear-gradient(rgba(64, 123, 172, 0.507), rgba(0, 0, 0, 0.5)), 
    url('./images/background_images/pexels-thepaintedsquare-189378.webp'); */
    background-image:   
    linear-gradient(#0078e18f, rgba(0, 0, 0, 0.5)), 
    url('./images/background_images/pexels-thepaintedsquare-189378.webp');
     background-size: cover;
     background-position: center;
    color: var(--text-light);
    margin-bottom: 40px;
    border-radius: 12px;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.about-hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.about-section.reverse {
    direction: rtl;
}

.about-section.reverse .about-text {
    direction: ltr;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-mission {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.mission-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-small);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.icon-container {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-container i {
    font-size: 28px;
}

.mission-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.team-section {
    margin-bottom: 60px;
    text-align: center;
}

.team-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-small);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-photo {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.team-member h3 {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.position {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-member p {
    padding: 0 20px 20px;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.stat-item {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-small);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
}

.testimonials-section {
    margin-bottom: 60px;
}

.testimonials-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 600;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-small);
    position: relative;
}

.quote-icon {
    color: var(--accent-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.author-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.author-location {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.about-cta {
    background-color: var(--bg-white);
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: var(--shadow-medium);
}

.about-cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-section,
    .team-grid,
    .stats-section,
    .testimonial-grid,
    .about-mission {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero p {
        font-size: 1.2rem;
    }
    
    .about-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-section.reverse {
        direction: ltr;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid,
    .testimonial-grid,
    .about-mission {
        grid-template-columns: 1fr;
    }
    
    .about-cta {
        padding: 40px 20px;
    }
}
@media (max-width: 982px) {
  .about-hero {
    min-height: 200px;
    margin-bottom:10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
  }

  .about-hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .about-hero p {
    font-size: 1rem;
  }
}
@media (max-width: 568px) {
  .about-hero {
    min-height: 60px;
    margin-bottom:10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
  }

  .about-hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .about-hero p {
    font-size: 1rem;
  }
}