/* About Us Page Specific Styles */

/* About Hero Section */
.about-hero {
    padding: 80px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.05);
    z-index: 0;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.about-hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-hero-content .lead {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.about-hero-stats .stat {
    text-align: center;
}

.about-hero-stats .stat span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
}

.about-hero-stats .stat p {
    color: #64748b;
    margin-top: 5px;
    font-size: 1rem;
}

/* About Story Section */
.about-story {
    padding: 100px 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.about-content p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Timeline */
.timeline {
    margin-top: 40px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    width: 2px;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-left: 45px;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 9px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: 1;
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.timeline-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Image Stack */
.image-stack {
    position: relative;
    width: 100%;
    height: 450px;
}

.image-stack-top {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    z-index: 2;
}

.image-stack-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    z-index: 1;
}

.experience-badge {
    position: absolute;
    right: 30px;
    bottom: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    z-index: 3;
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.mission-item {
    background-color: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

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

.mission-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.mission-item p {
    color: #64748b;
    line-height: 1.7;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background-color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.values-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.values-content > p {
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Values Accordion */
.values-accordion {
    margin-top: 30px;
}

.value-item {
    background-color: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.value-item:last-child {
    margin-bottom: 0;
}

.value-item.active {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-header {
    padding: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.value-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.value-icon i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.value-header h3 {
    font-size: 1.2rem;
    margin: 0;
    flex-grow: 1;
    color: var(--dark-color);
}

.toggle-icon {
    transition: var(--transition);
}

.value-item.active .toggle-icon {
    transform: rotate(180deg);
}

.value-content {
    padding: 0 20px 20px 75px;
    display: none;
}

.value-item.active .value-content {
    display: block;
}

.value-content p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.values-image {
    position: relative;
}

.rounded-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.values-quote {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    max-width: 300px;
}

.values-quote i {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 10px;
    display: block;
}

.values-quote p {
    font-style: italic;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.6;
}

.quote-author {
    font-weight: 600;
    color: var(--primary-color);
    display: block;
    text-align: right;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

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

.member-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.member-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px 0 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: var(--transition);
    opacity: 0;
}

.team-member:hover .member-social {
    bottom: 0;
    opacity: 1;
}

.social-icon {
    width: 35px;
    height: 35px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.member-info .position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.member-info .bio {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Partners Section */
.partners-section {
    padding: 100px 0;
    position: relative;
    color: white;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.partners-section .container {
    position: relative;
    z-index: 1;
}

.partners-slider {
    overflow: hidden;
    margin-top: 50px;
}

.partners-track {
    display: flex;
    gap: 40px;
    align-items: center;
}

.partner-logo {
    flex: 0 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 100px;
    transition: var(--transition);
}

.partner-logo:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: var(--transition);
}

.partner-logo:hover img {
    opacity: 1;
}

@keyframes slidePartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-240px * 6)); /* Adjust based on logo width + gap */
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-color: white;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.cta-content p {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.cta-image img {
    max-width: 100%;
    height: auto;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-grid,
    .values-grid,
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .values-image {
        order: -1;
    }
    
    .values-quote {
        position: relative;
        bottom: 30px;
        right: 0;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .mission-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-hero-content h2 {
        font-size: 2rem;
    }
    
    .image-stack {
        height: 400px;
    }
    
    .image-stack-top,
    .image-stack-bottom {
        width: 80%;
        height: 250px;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
    }
    
    .values-quote {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 60px 0;
    }
    
    .about-story,
    .mission-section,
    .values-section,
    .team-section,
    .partners-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .about-hero-content h2 {
        font-size: 1.8rem;
    }
    
    .about-hero-content .lead {
        font-size: 1rem;
    }
    
    .image-stack {
        height: 350px;
    }
    
    .image-stack-top,
    .image-stack-bottom {
        width: 90%;
        height: 200px;
    }
    
    .experience-badge {
        width: 80px;
        height: 80px;
        right: 15px;
        bottom: 15px;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .experience-badge .text {
        font-size: 0.7rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
