/* About Us Page Specific Styles */

:root {
    /* Brand colors based on logo */
    --primary-color: #b1095e; /* Burgundy/magenta from logo */
    --secondary-color: #8eda32; /* Green from logo */
    --accent-color: #f9f9f9;
    --text-color: #333333;
    --text-light: #777777;
    --light-color: #ffffff;
    --dark-color: #222222;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Container for consistent section widths */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Active nav link styling */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(rgba(177, 9, 94, 0.5), rgba(0, 0, 0, 0.6)),
                url('/images/about hero.jpg') center/cover;
    padding: 8rem 1rem 5rem;
    text-align: center;
    color: var(--light-color);
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s forwards;
}

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

.about-intro-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.about-intro-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-intro-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.about-intro-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.loan-products {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, #f0f0f0 100%);
    position: relative;
    overflow: hidden;
}

.loan-products::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom right, transparent 49%, var(--accent-color) 50%);
}

.loan-products .section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.loan-products .section-title::after {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.loan-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
    perspective: 1000px;
}

.loan-product-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 3rem 2.5rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 5px solid var(--primary-color);
    transform-style: preserve-3d;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.loan-product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.loan-product-card:nth-child(2) {
    animation-delay: 0.3s;
}

.loan-product-card:nth-child(3) {
    animation-delay: 0.5s;
}

.loan-product-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 15px 35px rgba(215, 8, 112, 0.2);
}

.loan-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, rgba(177, 9, 94, 0.08) 0%, rgba(142, 218, 50, 0.08) 100%);
    transition: height 0.5s ease;
    z-index: 0;
}

.loan-product-card:hover::before {
    height: 100%;
}

.loan-icon {
    width: 90px;
    height: 90px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
    box-shadow: 0 8px 25px rgba(177, 9, 94, 0.25);
    transform: translateZ(20px);
}

.loan-product-card:hover .loan-icon {
    transform: scale(1.15) rotate(10deg) translateZ(30px);
    background-color: var(--secondary-color);
}

.loan-icon i {
    font-size: 2.2rem;
    color: var(--light-color);
    transition: all 0.5s ease;
}

.loan-product-card:hover .loan-icon i {
    transform: rotate(-10deg);
}

.loan-product-card h3 {
    color: var(--primary-color);
    font-size: 1.7rem;
    margin: 0.5rem 0 1.2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    transform: translateZ(15px);
    transition: all 0.4s ease;
}

.loan-product-card:hover h3 {
    color: var(--secondary-color);
}

.card-content {
    flex: 1;
    position: relative;
    z-index: 1;
    transform: translateZ(10px);
}

.loan-description {
    position: relative;
    z-index: 1;
}

.loan-description p {
    text-align: center;
    margin-bottom: 1.8rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.05rem;
}

.loan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.loan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    position: relative;
    z-index: 1;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    background-color: rgba(249, 249, 249, 0.7);
}

.loan-product-card:hover .loan-features li {
    transform: translateX(5px);
}

.loan-features li:hover {
    background-color: rgba(142, 218, 50, 0.1);
}

.loan-features li i {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.loan-features li:hover i {
    transform: scale(1.2);
    color: #b1095e;
}

.loan-product-card:nth-child(2) {
    border-top-color: #b1095e;
}

.loan-product-card:nth-child(2) .loan-icon {
    background-color: #b1095e;
}

.loan-product-card:nth-child(2):hover .loan-icon {
    background-color: #b1095e;
}

.loan-product-card:nth-child(3) {
    border-top-color: #b1095e;
}

.loan-product-card:nth-child(3) .loan-icon {
    background: #b1095e;
}

.loan-product-card:nth-child(3):hover .loan-icon {
    background:#b1095e ;
}

@media (max-width: 992px) {
    .loan-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .loan-products {
        padding: 4rem 0;
    }
    
    .loan-products-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .loan-product-card {
        padding: 2.5rem 2rem;
    }
    
    .loan-products .section-title {
        font-size: 2rem;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom right, transparent 49%, #f9f9f9 50%);
}

.how-it-works .section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    width: 75%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
    z-index: 1;
}

.process-step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    background-color: var(--light-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform-style: preserve-3d;
}

.process-step:nth-child(1) {
    animation-delay: 0.1s;
}

.process-step:nth-child(2) {
    animation-delay: 0.3s;
}

.process-step:nth-child(3) {
    animation-delay: 0.5s;
}

.process-step:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(177, 9, 94, 0.15);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 20px rgba(177, 9, 94, 0.2);
    transition: all 0.4s ease;
    transform: translateZ(20px);
}

.process-step:hover .step-number {
    transform: scale(1.1) translateZ(30px);
    box-shadow: 0 12px 25px rgba(177, 9, 94, 0.3);
}

.step-content {
    transform: translateZ(10px);
}

.step-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.process-step:hover .step-content h3 {
    color: var(--secondary-color);
}

.step-content p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1.05rem;
}

@media (max-width: 992px) {
    .process-steps::before {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 4rem;
    }
    
    .process-steps::before {
        width: 3px;
        height: 75%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .process-step {
        max-width: 400px;
        width: 100%;
    }
}

/* Mission and Vision Section */
.mission-vision {
    padding: 5rem 0;
    background-color: var(--accent-color);
}

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

.mission-box, .vision-box {
    background-color: var(--light-color);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.mission-box .icon-circle {
    background-color: var(--primary-color);
}

.vision-box .icon-circle {
    background-color: #b1095e;
}

.icon-circle i {
    font-size: 2rem;
    color: var(--light-color);
}

.mission-box h2, .vision-box h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.mission-box p, .vision-box p {
    line-height: 1.8;
}

/* Values Section */
.values {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

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

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

.value-card {
    background-color: var(--accent-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.value-card:hover::before {
    height: 100%;
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.value-card p {
    line-height: 1.7;
}

/* Team Section */
.team {
    padding: 5rem 0;
    background-color: var(--accent-color);
}

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

.team-member {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.team-member h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 0.5rem;
    padding: 0 1.5rem;
}

.team-member .position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
}

.team-member .bio {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.7;
}

/* Impact Section */

.impact {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-box {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.impact-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--accent-color);
}

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

.testimonial {
    padding: 1rem;
}

.testimonial-content {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.testimonial-content:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-content p {
    margin-bottom: 2rem;
    line-height: 1.8;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.client-details p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: normal;
}

/* Add these animations to your existing about.css file */

/* Additional animation keyframes */
@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes slideInBottom {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes rotateIn {
  from { transform: rotate(-10deg) scale(0.9); opacity: 0; }
  to { transform: rotate(0) scale(1); opacity: 1; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}

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

@keyframes fadeInLeft {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Apply animations to about page elements */
.about-hero h1 {
  animation: fadeInUp 1s ease-out;
}

.about-hero p {
  animation: fadeInUp 1s ease-out 0.3s;
  animation-fill-mode: both;
}

/* Loan products animations */
.loan-products .section-title {
  animation: fadeInUp 0.8s ease-out;
}

.loan-product-card:nth-child(1) {
  animation: fadeInUp 0.8s ease-out 0.2s;
  animation-fill-mode: both;
}

.loan-product-card:nth-child(2) {
  animation: fadeInUp 0.8s ease-out 0.4s;
  animation-fill-mode: both;
}

.loan-product-card:nth-child(3) {
  animation: fadeInUp 0.8s ease-out 0.6s;
  animation-fill-mode: both;
}

.loan-product-card .loan-icon {
  animation: scaleIn 0.6s ease-out;
  animation-fill-mode: both;
}

.loan-product-card:hover .loan-icon i {
  animation: pulse 1s infinite;
}

.about-intro-image img {
  animation: scaleIn 1s ease-out;
  transition: transform 0.5s ease;
}

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

.about-intro-text h2 {
  animation: fadeInLeft 1s ease-out;
}

.about-intro-text p {
  animation: fadeInLeft 1s ease-out 0.3s;
  animation-fill-mode: both;
}

.mission-box, .vision-box {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.icon-circle {
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.mission-box:hover .icon-circle, .vision-box:hover .icon-circle {
  transform: scale(1.1);
}

.mission-box:hover .icon-circle i, .vision-box:hover .icon-circle i {
  animation: bounce 1s;
}

.value-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.value-icon {
  transition: transform 0.3s ease, color 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.2);
  color: var(--secondary-color);
}

.team-member {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.member-image {
  overflow: hidden;
}

.member-image img {
  transition: transform 0.5s ease;
}

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

.stat-box {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stat-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
  transition: color 0.3s ease;
}

.stat-box:hover .stat-number {
  color: var(--secondary-color);
}

.testimonial-content {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.quote-icon {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.testimonial-content:hover .quote-icon {
  transform: scale(1.2);
  opacity: 0.4;
}

/* Scroll animations for about page */
.about-page .animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-page .animate-on-scroll.animate-left {
  transform: translateX(-30px);
}

.about-page .animate-on-scroll.animate-right {
  transform: translateX(30px);
}

.about-page .animate-on-scroll.animated {
  opacity: 1;
  transform: translate(0, 0);
}

/* Section title animation */
.section-title {
  position: relative;
}

.section-title::after {
  transition: width 0.5s ease;
  width: 0;
}

.section-title.animated::after {
  width: 80px;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

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

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

.value-card {
    background-color: var(--accent-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.value-card:hover::before {
    height: 100%;
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.value-card p {
    line-height: 1.7;
}

/* Team Section */
.team {
    padding: 5rem 0;
    background-color: var(--accent-color);
}

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

.team-member {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.member-image {
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.team-member h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 0.5rem;
    padding: 0 1.5rem;
}

.team-member .position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
}

.team-member .bio {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.7;
}

/* Impact Section */
.impact {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-box {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.impact-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--accent-color);
}

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

.testimonial {
    padding: 1rem;
}

.testimonial-content {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.testimonial-content:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-content p {
    margin-bottom: 2rem;
    line-height: 1.8;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.client-details p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: normal;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-intro-content,
    .mission-vision-content,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-intro-image {
        order: -1;
    }
    
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 6rem 1rem 3rem;
    }
    
    .about-hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-box {
        padding: 2rem 1rem;
    }
    
    .testimonial-content {
        padding: 2rem 1.5rem;
    }
}