
.slider {
    width: 100%;
    min-height: 80vh;
    aspect-ratio: 16/9;
    background-color: black; 
    position: relative;
}


.slider-background {
    display: none;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slider-content p {
    color: white;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 40px;
}

.scroll-down {
    position: relative;
    margin-top: 0;
    width: 100%;
    text-align: center;
    cursor: pointer;
    z-index: 100;
    animation: bounce 1.5s infinite;
    transition: transform 0.3s ease;
}

.scroll-down span {
    font-size: 50px;
    color: white;
    transition: all 0.3s ease;
    display: inline-block;
}

.scroll-down:hover {
    transform: translateX(-50%) scale(1.1);
}

.scroll-down:hover span {
    opacity: 0.7;
    color: #f0f0f0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}


.section-box {
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-left: 2px solid #ff0000;
}

.section-box h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.section-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}


.benefits-list {
    list-style-type: none;
    padding-left: 10px;
    margin-bottom: 25px;
}

.benefits-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.benefits-list li:before {
    content: "\e876"; 
    font-family: 'Material Icons';
    position: absolute;
    left: 0;
    color: #ff0000;
    font-size: 20px;
}


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

.tool-card {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    height: 100%; 
    display: flex;
    flex-direction: column;
}

.tool-logo {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

.tool-card h4 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.tool-card p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.tool-card ul {
    list-style-type: none;
    padding-left: 5px;
    margin-bottom: 20px;
}

.tool-card ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    padding-left: 25px;
}

.tool-card ul li:before {
    content: "\e5cc";
    font-family: 'Material Icons';
    position: absolute;
    left: 0;
    color: #ff0000;
    font-size: 18px;
}

.tool-card .btn {
    margin-top: auto; 
    align-self: center;
    width: fit-content; 
    transition: all 0.3s ease;
}

.tool-card .btn:hover {
    background-color: #ff0000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tool-card .btn-alt:hover {
    background-color: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.tool-card .source-list {
    margin-bottom: 25px;
    border-top: 1px dashed #ddd;
    padding-top: 15px;
    margin-top: 15px;
}

.tool-card .source-list li {
    margin-bottom: 12px;
    line-height: 1.5;
    padding-left: 0;
}

.tool-card .source-list li:before {
    content: none; 
}

.source-category {
    font-weight: 600;
    color: #ff0000;
    display: block;
    margin-bottom: 3px;
}


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

.topic-item {
    background-color: #f9f9f9;
    border-left: 3px solid #ff0000;
    padding: 20px;
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.topic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.topic-icon {
    font-size: 30px !important;
    color: #ff0000;
    margin-bottom: 15px;
}

.topic-item h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
}

.topic-item p {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}


.sources-subtitle {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #444;
}

.sources-list {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.coming-soon-note {
    font-style: italic;
    color: #777;
    margin-top: 30px;
    text-align: center;
    border-top: 1px dashed #ddd;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .section-box {
        padding: 20px 15px;
    }

    .section-box h3 {
        font-size: 1.5rem;
    }

    .tools-grid, .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-list li {
        padding-left: 25px;
        font-size: 1rem;
    }
    
    .topic-icon {
        font-size: 25px !important;
    }
}


@media (max-width: 992px) {
    .veilles-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}


@media (max-width: 992px) {
    .tools-grid, .topics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .tool-card h4 {
        font-size: 1.4rem;
    }
    
    .section-box h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .section-box {
        padding: 20px 15px;
    }

    .section-box h3 {
        font-size: 1.5rem;
    }

    .tools-grid, .topics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .benefits-list li {
        padding-left: 25px;
        font-size: 1rem;
    }
    
    .topic-icon {
        font-size: 25px !important;
    }
    
    .slider-content h1 {
        font-size: 1.8rem;
    }
    
    .slider-content p {
        font-size: 1.2rem;
    }
    
    .section-box p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .slider-content h1 {
        font-size: 1.6rem;
    }
    
    .slider-content p {
        font-size: 1rem;
    }
    
    .section-box {
        padding: 15px;
    }
    
    .tool-card {
        padding: 15px;
    }
    
    .tool-card h4 {
        font-size: 1.3rem;
    }
    
    .tool-card p,
    .tool-card ul li {
        font-size: 0.9rem;
    }
    
    .topic-item h4 {
        font-size: 1.2rem;
    }
    
    .topic-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .veilles-grid {
        gap: 15px;
    }
}
