/* Styles pour la page À propos */

/* Hero section spécifique */
.about-hero {
    height: 40vh;
    min-height: 300px;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-content {
    text-align: center;
    color: var(--light-text);
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.about-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.about-hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
}

/* Styles pour la section À propos */
.about-page {
    padding: 80px 0;
    background: var(--light-bg);
}

.about-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--dark-text);
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    font-weight: 400;
    margin-bottom: 30px;
}

.about-cta {
    margin-top: 30px;
}

.tech-button-outline {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tech-button-outline span {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.tech-button-outline i {
    margin-left: 10px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.tech-button-outline:hover {
    color: white;
}

.tech-button-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 1;
}

.tech-button-outline:hover::before {
    left: 0;
}

.tech-button-outline:hover i {
    transform: translateX(5px);
}

/* Sections de la page À propos */
.about-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-section:last-child {
    border-bottom: none;
}

.about-section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--dark-bg);
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    position: relative;
    padding-bottom: 15px;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.about-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--dark-text);
}

/* Grille de valeurs */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.value-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
}

.value-card h4 i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.value-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Expertise cards */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.expertise-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(35, 61, 255, 0.1);
}

.expertise-image {
    height: 200px;
    overflow: hidden;
}

.expertise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.expertise-card:hover .expertise-image img {
    transform: scale(1.05);
}

.expertise-content {
    padding: 25px;
}

.expertise-content h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.expertise-content p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.expertise-features {
    margin-top: 15px;
}

.expertise-feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.expertise-feature i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Team section */
.team-section {
    text-align: center;
}

.team-image {
    max-width: 600px;
    margin: 0 auto 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.certifications {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.certification-badge {
    background: white;
    padding: 15px 25px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.certification-badge i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Partners section */
.partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.partner-logo {
    max-width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
}

/* Why choose us section */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.why-choose-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(35, 61, 255, 0.1);
}

.why-choose-icon {
    background: rgba(35, 61, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.why-choose-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

.why-choose-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .values-grid,
    .expertise-grid,
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .values-grid,
    .expertise-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-hero-content h1 {
        font-size: 2rem;
    }
    
    .about-section h2 {
        font-size: 1.8rem;
    }
    
    .why-choose-item {
        flex-direction: column;
    }
    
    .why-choose-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
