/* Transitions générales */
.service-card,
.portfolio-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.125);
}
.service-card:hover,
.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Overlay portfolio */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

/* Icônes */
.icon-wrapper {
    background-color: rgba(40, 167, 69, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.portfolio-card:hover .icon-wrapper {
    background-color: rgba(255, 193, 7, 0.3);
    transform: scale(1.1) rotate(5deg);
}

/* Progress Bar */
.progress-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.progress {
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: visible;
}
.progress-bar {
    transition: width 1s ease-in-out;
    border-radius: 10px;
    position: relative;
    overflow: visible;
}
.progress-bar::after {
    content: '';
    position: absolute;
    right: -10px;
    top: -3px;
    width: 20px;
    height: 20px;
    background: inherit;
    border-radius: 50%;
    filter: brightness(90%);
}

/* Hover général */
.hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Service card */
.service-card {
    border-radius: 15px;
    border-width: 2px !important;
}

/* Sections */
.about-tts {
    border-left: 4px solid #28a745;
    background: rgba(40, 167, 69, 0.05);
}
.chart-card {
    border-top: 3px solid #ffc107;
}

/* Hero Section */
.hero-section {
    padding: 120px 0;
    background: linear-gradient(45deg, #35c7ce 0%, #ecef9f 100%);
}
.bg-gradient {
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.15) 0%, rgba(23, 162, 184, 0.15) 100%);
}

/* Boutons personnalisés */
.btn-orange {
    background-color: #ff6b35;
    border-color: #ff6b35;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn-orange:hover {
    background-color: #ff5500;
    border-color: #ff5500;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}
.btn-orange::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}
.btn-orange:hover::before {
    left: 50%;
    top: 50%;
}

/* Pills actifs */
.nav-pills .nav-link.active {
    background-color: #ffc107 !important;
    color: #000 !important;
    font-weight: 500;
}

/* Testimonials */
.testimonial-item {
    transition: transform 0.3s ease;
    border: 2px solid rgba(40, 167, 69, 0.1);
}
.testimonial-item:hover {
    transform: translateY(-5px);
    border-color: #28A745;
}

/* Owl Carousel */
.owl-carousel .owl-item img {
    width: auto;
    margin: 0 auto;
}
.owl-nav button {
    color: #FF6B35 !important;
    font-size: 2rem !important;
}
.owl-dots .owl-dot.active span {
    background: #28A745 !important;
}

/* Divider texte */
.text-divider {
    text-align: center;
    position: relative;
}
.text-divider span {
    display: inline-block;
    padding: 0 20px;
    background: #fff;
    position: relative;
    z-index: 1;
    color: #28a745;
    font-weight: 500;
}
.text-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #ddd;
    z-index: 0;
}

/* Séparation de section */
.section-divider {
    border-top: 1cm solid white;
    margin: 20px 0;
}

/* Mix transitions */
.mix {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    display: block;
}

/* Icones et hover services */
.service-icon {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.btn-hover-warning:hover {
    background: #FFC107 !important;
    border-color: #FFC107 !important;
    color: #000 !important;
}
.btn-hover-info:hover {
    background: #FFC107 !important;
    border-color: #FFC107 !important;
    color: #1a472a !important;
}

/* Testimonial card */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
    min-height: 420px;
    position: relative;
}
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.client-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #28A745;
}
.rating-star {
    color: #FFD700;
    font-size: 1.2rem;
    margin: 0 2px;
}
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(40, 167, 69, 0.8) !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
}
.owl-nav button.owl-prev {
    left: -50px;
}
.owl-nav button.owl-next {
    right: -50px;
}
.owl-dots {
    margin-top: 30px !important;
}
.owl-dot span {
    width: 12px !important;
    height: 12px !important;
    margin: 0 8px !important;
}
@media (max-width: 768px) {
    .owl-nav {
        display: none;
    }
    .testimonial-card {
        min-height: auto;
        margin-bottom: 20px;
    }
}

/* Logo Hover */
.logo-hover:hover .nav-logo {
    transform: scale(2.8);
    transition: transform 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}
.transition-all {
    transition: all 0.3s ease;
}

/* Couleurs utilitaires */
.bg-light-green {
    background-color: #f8fff0;
}
.border-warning {
    border-color: #ffc107 !important;
}
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}
.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
}
.text-success {
    color: #28a745 !important;
}
.text-warning {
    color: #ffc107 !important;
}

/* Navigation */
.bg-dark-green {
    background-color: #1a472a !important;
}
.nav-link-custom {
    color: #fff !important;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    position: relative;
}
.nav-link-custom:hover,
.nav-link-custom.active {
    color: #FFD700 !important;
    background: rgba(255, 255, 255, 0.1);
}
.nav-link-custom:hover:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #FFD700;
}
.navbar-toggler {
    border-color: #28a745 !important;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 215, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.user-group .btn-warning {
    background: #FFD700;
    border-color: #FFD700;
    color: #1a472a;
}
.btn-outline-warning {
    border-color: #FFD700;
    color: #FFD700;
}
.btn-outline-warning:hover {
    background: #FFD700;
    color: #1a472a;
}
