/* About Us Page Specific Styles */

/* Hero Section */
.page-hero {
    background-color: #6c0dbf;
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}
/* Timeline Animation Styles */
.timeline-item.hidden {
    opacity: 0;
    visibility: hidden;
}

.timeline-item.from-left {
    transform: translateX(-100px);
}

.timeline-item.from-right {
    transform: translateX(100px);
}

.timeline-item.animate {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Team Member Hover Effect Styles */
.team-member {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Stats Section Animation */
.stat-value {
    display: inline-block;
}

.stat-value.animate {
    animation: countUp 2s ease-out forwards;
}
.header-cta a{
    color: white !important;
    /* font-size: 1px; */
    padding: 12px 24px;
}


@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Value Card Animation Styles */
.value-card {
    will-change: transform, opacity;
}

/* Experience Badge Animation */
.experience-badge {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* About Intro Section */
.about-intro {
    padding: 5rem 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-intro-image {
    position: relative;
}

.about-intro-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
    width: 100%;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.75rem;
    max-width: 80%;
}

.section-subheading {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.about-intro-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.about-intro-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
}

.founder-signature {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.founder-signature img {
    height: 60px;
    margin-bottom: 0.5rem;
}

.founder-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--dark-color);
}

.founder-title {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Mission & Values Section */
.mission-values {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.text-center {
    text-align: center;
}

.mission-statement {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.mission-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.mission-statement h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.mission-statement p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.value-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background-color: var(--primary-color);
    color: white;
}

.value-card h3 {
    font-size: a.25rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray-600);
}

/* Team Section */
.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.social-links {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.team-member:hover .social-links {
    opacity: 1;
    transform: translateY(0);
}

.social-links .social-link {
    width: 36px;
    height: 36px;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links .social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.member-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-info p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
    color: white;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    color: white;
}

/* Timeline Section */
.history-timeline {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--gray-300);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin-bottom: 2rem;
    width: 50%;
    clear: both;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 30px;
    margin-left: auto;
}

.timeline-marker {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    position: absolute;
    top: 0;
    right: 10px;
    transform: translateX(-50%);
    z-index: 1;
    border: 4px solid white;
}

.timeline-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    width: 100%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-right: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    transform: rotate(-45deg);
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    top: A20px;
    left: -10px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-left: 1px solid var(--gray-200);
    border-top: 1px solid var(--gray-200);
    transform: rotate(-45deg);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.timeline-content p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* Partners Section */
.partners-section {
    padding: 5rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: center;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.partner-logo img {
    max-width: 120px;
    max-height: 60px;
    opacity: 0.7;
    filter: grayscale(1);
    transition: var(--transition);
}

.partner-logo:hover img {
    opacity: 1;
    filter: grayscale(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .about-intro-image {
        margin-bottom: 2rem;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-item:nth-child(even) {
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: 0;
        transform: translateX(0);
        width: 50px;
        height: 50px;
        font-size: .7rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after {
        left: -10px;
        right: auto;
        border-left: 1px solid var(--gray-200);
        border-top: 1px solid var(--gray-200);
        border-right: none;
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .page-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .mission-statement {
        padding: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 576px) {
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .about-intro-content h2 {
        font-size: 1.75rem;
    }
    
    .experience-badge {
        width: 90px;
        height: 90px;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}