/* About Us Page Styles */

.about-us-container {
    max-width: 900px;
    margin: 7rem auto 2rem;
    background: var(--surface-color);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(173, 127, 168, 0.10);
    padding: 2.5rem 2rem;
}

/* Text alignment based on language direction */
html[dir="ltr"] .about-us-container {
    text-align: left;
}

html[dir="rtl"] .about-us-container {
    text-align: right;
}

.about-header h1 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-mission {
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Tech Section Styles */
.about-tech {
    margin: 2.5rem 0;
    background-color: #f8f9ff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

html[dir="ltr"] .about-tech {
    text-align: left;
}

html[dir="rtl"] .about-tech {
    text-align: right;
}

.about-tech h2 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-tech p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.about-tech strong {
    color: var(--accent-color);
}

/* Founder Section Styles */
.founder-section {
    margin: 2rem 0;
}

.founder-info {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.founder-info h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.founder-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
}

html[dir="rtl"] .founder-content {
    flex-direction: row-reverse;
}

.founder-image {
    flex: 0 0 180px;
}

.founder-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* border: 3px solid var(--accent-color); */
}

.founder-bio {
    flex: 1;
}

.founder-bio p {
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: right;
}

.founder-bio a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.founder-bio a:hover {
    text-decoration: underline;
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.tech-feature {
    background-color: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

html[dir="ltr"] .tech-feature {
    text-align: left;
}

html[dir="rtl"] .tech-feature {
    text-align: right;
}

.tech-feature:hover {
    transform: translateY(-5px);
}

.tech-feature strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Team Section Styles */
.about-team {
    margin: 3.5rem 0;
    background-color: #f9f7ff;
    padding: 3.5rem 3rem;
    border-radius: 16px;
}

.about-team h2 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 85%;
    margin: 0 auto;
}

.team-member {
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
}

html[dir="ltr"] .team-member {
    text-align: left;
    border-left: 5px solid var(--accent-color);
    border-right: none;
}

html[dir="rtl"] .team-member {
    text-align: right;
    border-right: 5px solid var(--accent-color);
    border-left: none;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.team-member-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 1.5rem;
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
}

html[dir="ltr"] .team-member img {
    margin-right: 1.5rem;
    margin-left: 0;
}

html[dir="rtl"] .team-member img {
    margin-left: 1.5rem;
    margin-right: 0;
}

.team-member h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin: 0;
}

.team-member p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.team-member p:last-child {
    margin-bottom: 0;
}

.team-member strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .about-team {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-us-container {
        padding: 2rem 1.5rem;
        margin: 6rem 1rem 2rem;
        border-radius: 20px;
    }
    
    .about-header h1 {
        font-size: 2rem;
    }
    
    .about-mission {
        font-size: 1.1rem;
    }
    
    .about-tech {
        padding: 1.5rem;
    }
    
    .tech-features {
        grid-template-columns: 1fr;
    }
    
    .founder-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .founder-image {
        flex: 0 0 auto;
    }
    
    .founder-bio p {
        text-align: center;
    }
    
    .team-grid {
        max-width: 95%;
        gap: 2rem;
    }
    
    .team-member {
        padding: 2rem;
    }
    
    .team-member-header {
        margin-bottom: 1.2rem;
    }
    
    .team-member img {
        width: 70px;
        height: 70px;
    }
    
    .team-member h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    .team-member-header {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .about-us-container {
        padding: 1.5rem 1rem;
        margin: 5.5rem 0.5rem 1.5rem;
    }
    
    .about-header h1 {
        font-size: 1.8rem;
    }
    
    .about-team {
        padding: 2rem 1rem;
    }
    
    .team-grid {
        max-width: 100%;
    }
    
    .team-member {
        padding: 1.5rem;
    }
}

/* CTA Section Styles */
.cta-section {
    margin: 4rem 0 2rem;
    background: linear-gradient(135deg, #9c27b0 0%, #7c3aed 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 8px 20px rgba(156, 39, 176, 0.25);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-text {
    font-size: 1.15rem;
    max-width: 80%;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button.primary {
    background-color: #fff;
    color: #9c27b0;
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.cta-button.primary:hover {
    background-color: #f5f5f5;
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .about-team {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-section {
        padding: 2.5rem 1.5rem;
        margin: 3rem 0 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .cta-text {
        font-size: 1rem;
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .about-us-container {
        padding: 2rem 1.5rem;
        margin: 6rem 1rem 2rem;
        border-radius: 20px;
    }
    
    .about-header h1 {
        font-size: 2rem;
    }
    
    .about-mission {
        font-size: 1.1rem;
    }
    
    .about-tech {
        padding: 1.5rem;
    }
    
    .tech-features {
        grid-template-columns: 1fr;
    }
    
    .founder-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .founder-image {
        flex: 0 0 auto;
    }
    
    .founder-bio p {
        text-align: center;
    }
    
    .team-grid {
        max-width: 95%;
        gap: 2rem;
    }
    
    .team-member {
        padding: 2rem;
    }
    
    .team-member-header {
        margin-bottom: 1.2rem;
    }
    
    .team-member img {
        width: 70px;
        height: 70px;
    }
    
    .team-member h3 {
        font-size: 1.3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 250px;
        padding: 0.75rem 1.5rem;
        text-align: center;
    }
} 