/* Styles personnalisés pour FiduFrance */

:root {
    --primary-color: #1266f1;
    --secondary-color: #2979ff;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --hover-color: #0d47a1;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
}

/* Animation de fondu pour les sections */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    z-index: 1;
}

/* Services cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Form styling */
.custom-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-outline {
    margin-bottom: 1.2rem;
}

/* About us section */
.about-img {
    border-radius: 10px;
    overflow: hidden;
}

/* Stats section */
.stats-section {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.stats-card {
    text-align: center;
    padding: 30px;
}

.stats-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial-card {
    border-radius: 10px;
    overflow: hidden;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* Contact info */
.contact-info-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Custom button */
.btn-custom {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--hover-color);
}

/* Media queries */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
    }
}

/* Animations pour features */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05);
}

/* Custom styling for input focus */
.form-outline input:focus,
.form-outline textarea:focus {
    border-color: var(--primary-color);
}

/* Style pour les alertes */
.alert {
    border-radius: 10px;
}

/* Styling pour le footer */
footer a:hover {
    color: var(--primary-color) !important;
}
