/* Active nav link */
.nav-link.active, .mobile-nav-links a.active {
    color: var(--primary);
}
.nav-link.active::after {
    width: 100%;
}
/* Hero Banner */
.about-hero {
    height: 70vh;
    min-height: 400px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/api/placeholder/1920/1080');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
}
.about-hero-content {
    max-width: 800px;
    padding: 0 20px;
}
.about-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}
.about-hero-content h1 span {
    color: var(--secondary);
}
.about-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}
/* About Overview Cards */
.about-overview {
    padding: 5rem 0;
    background-color: var(--light);
}
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.about-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}
.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow);
}
.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}
.about-card p {
    color: var(--text);
    line-height: 1.6;
}

/* Our Story Section */
.our-story {
    padding: 5rem 0;
    background-color: var(--white);
}
.story-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}
.story-text {
    flex: 1;
    min-width: 300px;
}
.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}
.story-text h2 span {
    color: var(--primary);
}
.story-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text);
}
.story-timeline {
    flex: 1;
    min-width: 300px;
}
.timeline {
    position: relative;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--primary);
}
.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}
.timeline-dot {
    position: absolute;
    left: -2rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary);
}
.timeline-content {
    background-color: var(--light);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px var(--shadow);
}
.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}
.timeline-content p {
    color: var(--text);
}

/* Why Choose Us Section with Counter */
.about-why-choose {
    padding: 5rem 0;
    background-color: var(--light);
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto;
}
.counter-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.counter-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}
.counter-item:hover {
    transform: translateY(-10px);
}
.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}
.counter-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}
.counter-item p {
    color: var(--text);
}
.choose-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}
.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow);
}
.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}
.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}
.feature-content p {
    color: var(--text);
    line-height: 1.6;
}

/* Our Team Section */
.our-team {
    padding: 5rem 0;
    background-color: var(--white);
}
.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.team-member {
    background-color: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}
.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow);
}
.member-photo {
    position: relative;
    overflow: hidden;
}
.member-photo img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}
.team-member:hover .member-photo img {
    transform: scale(1.05);
}
.social-links {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0.8rem 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.team-member:hover .social-links {
    transform: translateY(0);
}
.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--secondary);
}
.member-info {
    padding: 1.5rem;
    text-align: center;
}
.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: var(--dark);
}
.position {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}
.member-info p {
    color: var(--text);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--light);
}
.testimonial-container {
    position: relative;
    height: 350px;
    margin-bottom: 2rem;
}
.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}
.testimonial-item.active {
    opacity: 1;
    visibility: visible;
}
.testimonial-content {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-text {
    margin-bottom: 1.5rem;
}
.testimonial-text i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}
.testimonial-text p {
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--dark);
}
.author-info span {
    font-size: 0.9rem;
    color: var(--text);
}
.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.prev-btn, .next-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-dark);
}
.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
}
.dot.active {
    background-color: var(--primary);
}

/* Partners & Accreditations */
.partners {
    padding: 5rem 0;
    background-color: var(--white);
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}
.partner-item {
    text-align: center;
    transition: all 0.3s ease;
}
.partner-item:hover {
    transform: scale(1.05);
}
.partner-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}
.partner-item p {
    color: var(--text);
    font-size: 0.9rem;
}

/* CTA Section */
.about-cta {
    padding: 5rem 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/api/placeholder/1920/1080');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}
.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}
.primary-btn {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}
.primary-btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}
.outline-btn {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.outline-btn:hover {
    background-color: var(--white);
    color: var(--dark);
}

/* Animation for AOS fallback */
@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-hero-content h1 {
        font-size: 2.8rem;
    }
    .about-hero-content p {
        font-size: 1.1rem;
    }
    .story-content {
        flex-direction: column;
    }
    .testimonial-container {
        height: 400px;
    }
    .hide-mobile {
    display: none;
  }
}

@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 2.3rem;
    }
    .hide-mobile {
    display: none;
  }
    .about-hero {
        height: 50vh;
    }
    .counter {
        font-size: 2.5rem;
    }
    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .testimonial-container {
        height: 450px;
    }
}

@media (max-width: 576px) {
    .about-hero-content h1 {
        font-size: 2rem;
    }
    .about-hero-content p {
        font-size: 1rem;
    }
    .about-hero {
        height: 40vh;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .testimonial-container {
        height: 500px;
    }
    .cta-content h2 {
        font-size: 2rem;
    }
}