@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

/* Custom variables & Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Offset pour la navbar fixe lors du scroll vers les ancres */
section {
    scroll-margin-top: 80px;
}

/* Navbar effect */
.nav-glass {
    background: rgba(21, 28, 20, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gradient text */
.text-gradient {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-text-fill-color: transparent;
}

/* Tab styling */
.doc-tab {
    width: 100%;
    text-align: left;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
    display: flex;
    gap: 10px;
    align-items: center;
}

.doc-tab span {
    font-size: 0.8rem;
    opacity: 0.5;
}

.doc-tab:hover {
    background: #f1f5f9;
    color: #10b981;
}

.doc-tab.active {
    background: #10b981;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
}

.doc-tab.active span {
    opacity: 1;
}

/* Tab Animation */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.animate-fade {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/*Resoursce et contenus*/

.contenu {
    padding: 40px;
}

.contenu .title {
    font-size: 30px;
}

.contenu .content-btn {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

.contenu .content-btn .buttons button {
    background-color: var(--primary);
    border: 0;
    border: 2px solid var(--primary);
    height: 50px;
    width: 50px;
    border-radius: 50%;
    transition: 0.5s;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    font-size: 18px;
}

.contenu .content-btn .buttons button:hover {
    background-color: #fff;
    transform: rotate(10deg);
}


.content-p {
    color: var(--text-dark);
    width: 60%;
    font-size: 14px;
}

.contenu .ressources .ressources-img {
    width: 20%;
    height: 330px;
    border-radius: 1.5rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    object-fit: contain;
    position: relative;
    background-color: #fff;
    padding: 20px;
}

.contenu .ressources .ressources-img img {
    object-fit: contain;
    height: 100%;
    width: 100%;
    border-radius: 1rem;
    transition: 0.5s;
    border:rgba(16, 185, 129, 0.2) 3px solid;
    border-radius: 12px;
}

.contenu .ressources {
    display: flex;
    justify-content: space-between;
}


.contenu .ressources .description-ressources {
    transform: translateY(350px);
    background-color: #fff;
    padding: 20px;
    text-align: center;
    transition: 0.5s;
    border-radius: 15px;
}


.contenu .ressources .description-ressources a {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    
}

.contenu .ressources .description-ressources p {
    font-size: 14px;
    color: #000;
}



.contenu .ressources .ressources-img:hover .description-ressources {
    transform: translateY(-120px);

}

.contenu .ressources .ressources-img:hover img {
    transform: translateY(-120px);
}



/*Footer*/

footer {
    color: #fff;
    padding: 70px;
}

footer h4 {
    margin-bottom: 25px;
    font-size: 90px;
    line-height: 100px;
}

footer div {
   display: flex;
   align-items: flex-end; 
   justify-content: space-between;
}

footer .btn {
    padding: 15px 50px;
}

footer p {
    color: var(--text-light);
    font-size: 13px;
}