#about {
    padding: 120px 0 80px;
    color: #ffffff;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('https://www.forvia.com/sites/default/files/media/image/FORVIA-who-we-are-istockphoto-1287529795-2048x2048.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.sub-title {
    font-size: 60px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-section {
    background: #262626;
    padding: 40px;
    border-radius: 10px;
    transition: transform 0.5s;
}

.about-section:hover {
    transform: translateY(-10px);
}

.about-section h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #ff004f;
}

.about-section p {
    font-size: 18px;
    line-height: 1.6;
}

.si-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.si-org h3, .si-tech h3 {
    font-size: 24px;
    color: #ff004f;
    margin-bottom: 20px;
}

.si-list {
    list-style: none;
    padding: 0;
}

.si-list li {
    font-size: 18px;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.si-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff004f;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.resource-category {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.resource-category:hover {
    transform: translateY(-5px);
}

.resource-category h4 {
    color: #ff004f;
    font-size: 20px;
    margin-bottom: 15px;
}

.resource-category ul {
    list-style: none;
    padding: 0;
}

.resource-category li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.resource-category li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff004f;
}

.company-intro {
    margin-bottom: 40px;
}

.company-image {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.company-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

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

.key-figures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.figure-item {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.figure-item:hover {
    transform: translateY(-10px);
    background: #ff004f;
}

.figure-item i {
    font-size: 40px;
    color: #ff004f;
    margin-bottom: 15px;
}

.figure-item:hover i {
    color: #fff;
}

.figure-item .number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    margin: 10px 0;
}

.figure-item .label {
    display: block;
    font-size: 18px;
    color: #ababab;
}

.figure-item:hover .label {
    color: #fff;
}

.org-image {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.org-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

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

.org-chart {
    background: rgba(38, 38, 38, 0.9);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    position: relative;
}

.org-level {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    flex-wrap: wrap;
    gap: 20px;
}

.org-level::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 20px;
    background: #ff004f;
}

.org-level:last-child::before {
    display: none;
}

.org-member {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    min-width: 150px;
    transition: transform 0.3s;
    position: relative;
}

.org-member::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 20px;
    background: #ff004f;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

.org-member.has-subordinates::after {
    opacity: 1;
}

.org-member:hover {
    transform: translateY(-5px);
    background: #ff004f;
}

.org-member.manager {
    background: #ff004f;
    margin-bottom: 20px;
}

.org-member.alternant {
    border: 2px solid #ff004f;
}

.org-member h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #fff;
}

.org-member p {
    font-size: 14px;
    color: #ababab;
}

.org-member:hover p {
    color: #fff;
}

@media screen and (max-width: 1200px) {
    .org-level {
        flex-direction: column;
    align-items: center;
    }
    
    .org-member {
        margin: 10px 0;
    }
}

@media screen and (max-width: 768px) {
    .sub-title {
        font-size: 40px;
    }

    .about-section {
        padding: 20px;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .key-figures {
        grid-template-columns: 1fr;
    }
    
    .figure-item {
        padding: 20px;
    }
    
    .figure-item .number {
        font-size: 28px;
    }
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.mission-card {
    border-radius: 15px;
    padding: 25px;
    position: relative;
    overflow: hidden;
}


.mission-icon {
    width: 60px;
    height: 60px;
    background: #ff004f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mission-icon i {
    font-size: 24px;
    color: #fff;
}

.mission-card h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
}

.mission-content p {
    color: #ababab;
    margin-bottom: 15px;
    font-size: 16px;
}

.mission-details {
    list-style: none;
    padding: 0;
}

.mission-details li {
    color: #ababab;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
}

.mission-details li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff004f;
}

.mission-card:hover .mission-details li {
    color: #fff;
}

@media screen and (max-width: 768px) {
    .missions-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-card {
        padding: 20px;
    }
    
    .mission-icon {
        width: 50px;
        height: 50px;
    }
    
    .mission-icon i {
        font-size: 20px;
    }
}

.network-section {
    margin-top: 40px;
    text-align: center;
}

.network-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #ff004f;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.network-btn:hover {
    background: #cc003f;
    transform: translateY(-3px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 20px;
    border-radius: 15px;
    width: 80%;
    max-width: 800px;
    position: relative;
    color: #fff;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #ff004f;
}

.close:hover {
    color: #cc003f;
}

.login-form {
    text-align: center;
    padding: 20px;
}

.login-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #ff004f;
    border-radius: 5px;
    background: #262626;
    color: #fff;
    font-size: 16px;
}

.login-form button {
    background: #ff004f;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.login-form button:hover {
    background: #cc003f;
}

.error-message {
    color: #ff004f;
    display: none;
    margin-top: 10px;
}

.network-content {
    display: none;
    padding: 20px;
}

.network-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.network-description {
    margin-top: 20px;
    line-height: 1.6;
}

.theme-switcher {
  display: flex;
  align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.theme-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.color-picker {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
  border-radius: 20px;
}

.color-btn {
    width: 25px;
    height: 25px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.color-btn:hover {
    transform: scale(1.2);
}

/* Styles responsifs pour la page entreprise */
@media screen and (max-width: 768px) {
    #entreprise {
        padding: 60px 0;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .entreprise-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .entreprise-card {
        padding: 25px;
    }

    .entreprise-card h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .entreprise-card p {
        font-size: 16px;
        line-height: 1.6;
    }

    .competence-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    #entreprise {
        padding: 40px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .entreprise-card {
        padding: 20px;
    }

    .entreprise-card h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .entreprise-card p {
        font-size: 14px;
        line-height: 1.5;
    }

    .competence-list {
        gap: 15px;
    }
}

@media screen and (max-width: 320px) {
    #entreprise {
        padding: 30px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .entreprise-card {
        padding: 15px;
    }

    .entreprise-card h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .entreprise-card p {
        font-size: 12px;
        line-height: 1.4;
    }

    .competence-list {
        gap: 12px;
    }
}
