html {
  scroll-behavior: smooth;
}

body {
    height: 100%;
    margin: 0%;
    padding: 0%;
    display: flex;
    flex-direction: column;
    font-family: Raleway;
    background: #000;
    color: #fff;
    overflow: auto;
}

.header {
    display: flex;
    justify-content: space-between;
    background-color: #000;
    color: #fff;
    padding: 15px 10px 2px 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header ul {
    list-style: none;
    display: flex;
    margin: 3px;
    padding: 0;
}

.header ul li {
    margin: 0 18px;
}

.header ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}
.header ul li a:hover {
    text-decoration: underline;
}
.header img {
    width: 45px;
    height: 35px;
    padding-top: 0px;
    margin-right: 730px;
    margin-top: 0px;
    margin-left: 10px;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.footer {
    background-color: #000;
    padding: 2rem 0;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-info p {
    margin: 0.5rem 0;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #222;
    transition: all 0.3s ease;
    position: relative;
}

.social-link:hover {
    transform: translateY(-3px);
    background: #ac9494;
}

.social-link img {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

.footer-copyright {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.8rem;
}

/* Tooltip pour les réseaux */
.social-link::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.social-link:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-info {
        text-align: center;
    }
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: invert(1);
    transition: transform 0.3s ease;
}

.social-link img:hover {
    transform: scale(1.2);
}
main {
    flex-grow: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    display: flex;
    align-items: center;
    text-align: left;
    width: 65%;
    background-color: #161616;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(125, 124, 124, 0.2);
    margin-bottom: 15px;
    margin-top: 70px;
    font-size: 16.5px;
}

.container h1 {
    color: #ac9494;
}

.container p {
    color: #bec1c0;
}

.sub-container {
    display: flex;
    justify-content: space-between;
    text-align: left;
    width: 70%;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.left-section,
.right-section {
    background-color: #161616;
    padding: 20px;
    border-radius: 10px;
    width: 44%;
    text-align: start;
    box-shadow: 0 4px 8px rgba(125, 124, 124, 0.2);
    font-size: 13.7px;
}

.left-section p,
.right-section p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #bec1c0;
}

.left-section h2,
.right-section h2 {
    color: #ac9494;
}

.hover-effect {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.certif h1{
    color: #fff;
}
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.certification-card {
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    width: 98%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

.certification-info {
    padding: 15px;
    text-align: center;
}

.certification-info h3 {
    color: #fff;
    margin-bottom: 10px;
}

.certification-info p {
    color: #ccc;
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    background-color: #000;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #444;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
}

.close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ccc;
}

#downloadLink {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #fff;
    text-decoration: none;
    background-color: #444;
    padding: 10px;
    border-radius: 5px;
}

#downloadLink:hover {
    background-color: #555;
}