/* Homepage styles extracted from accueil.blade.php */

/* CSS pour le tableau de bord dynamique */
#dashboard-results {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

#dashboard-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.counter-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 89, 152, 0.1);
}

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

.counter-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3b5998;
    transition: all 0.3s ease;
}

.counter-card:hover .counter-icon {
    transform: scale(1.2);
    color: #55acee;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3b5998;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.counter-label {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.counter-progress {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b5998, #55acee);
    transition: width 2s ease-in-out;
    border-radius: 3px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: bold;
    color: #3b5998;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #3b5998, #55acee);
    border-radius: 2px;
}

/* Animation d'entrée */
.counter-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.counter-card:nth-child(1) {
    animation-delay: 0.1s;
}

.counter-card:nth-child(2) {
    animation-delay: 0.2s;
}

.counter-card:nth-child(3) {
    animation-delay: 0.3s;
}

.counter-card:nth-child(4) {
    animation-delay: 0.4s;
}

.counter-card:nth-child(5) {
    animation-delay: 0.5s;
}

.counter-card:nth-child(6) {
    animation-delay: 0.6s;
}

.counter-card:nth-child(7) {
    animation-delay: 0.7s;
}

.counter-card:nth-child(8) {
    animation-delay: 0.8s;
}

.counter-card:nth-child(9) {
    animation-delay: 0.9s;
}

.counter-card:nth-child(10) {
    animation-delay: 1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .counter-card {
        margin-bottom: 1.5rem;
    }

    .counter-number {
        font-size: 2rem;
    }

    .counter-icon {
        font-size: 2rem;
    }
}

/* Additional homepage styles */

.hero-section {
    background: linear-gradient(rgba(59, 89, 152, 0.85), rgba(85, 172, 238, 0.85)), url('../image/fanssade w.jpg');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    position: relative;
    color: white;
    padding: 5rem 0;
}

.hero-title {
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-weight: 500;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

.hero-buttons .btn {
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background-color: #3b5998;
    border-color: #3b5998;
}

.hero-buttons .btn-primary:hover {
    background-color: #55acee;
    border-color: #55acee;
}

.hero-buttons .btn-outline-light {
    color: white;
    border-color: white;
}

.hero-buttons .btn-outline-light:hover {
    background-color: white;
    color: #3b5998;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: white;
    animation: bounce 2s infinite;
}

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

/* Section-specific improvements */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(59, 89, 152, 0.1);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b5998, #55acee);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 8px rgba(59, 89, 152, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: #3b5998;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Call-to-Action Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
    opacity: 0.3;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn {
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-buttons .btn:hover::before {
    left: 100%;
}

.cta-buttons .btn-primary {
    background-color: #3b5998;
    border-color: #3b5998;
}

.cta-buttons .btn-primary:hover {
    background-color: #55acee;
    border-color: #55acee;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-outline-primary {
    color: white;
    border-color: white;
}

.cta-buttons .btn-outline-primary:hover {
    background-color: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-image img {
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    max-height: 400px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

.cta-image img:hover {
    transform: scale(1.05);
}

/* Image gallery hover effects */
.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    aspect-ratio: 1;
    object-fit: cover;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 89, 152, 0.9), rgba(85, 172, 238, 0.9));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    border-radius: 15px;
}

.image-overlay h5 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: bold;
}

.image-overlay p {
    margin: 0;
    font-size: 1rem;
}

.image-card:hover .image-overlay {
    opacity: 1;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .image-overlay {
        padding: 15px;
    }

    .image-overlay h5 {
        font-size: 1.2rem;
    }

    .image-overlay p {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .cta-buttons .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
/ *   P r o f e s s i o n a l   B u t t o n s   S t y l e s   * / 
 . b t n - p r o f e s s i o n a l   { 
         w i d t h :   1 0 0 % ; 
         p a d d i n g :   1 . 5 r e m   1 r e m ; 
         b o r d e r - r a d i u s :   1 5 p x ; 
         b o r d e r :   2 p x   s o l i d ; 
         f o n t - w e i g h t :   6 0 0 ; 
         t e x t - d e c o r a t i o n :   n o n e ; 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
         m i n - h e i g h t :   8 0 p x ; 
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
         p o s i t i o n :   r e l a t i v e ; 
         o v e r f l o w :   h i d d e n ; 
         b o x - s h a d o w :   0   4 p x   1 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ; 
 } 
 
 . b t n - p r o f e s s i o n a l : : b e f o r e   { 
         c o n t e n t :   " " ; 
         p o s i t i o n :   a b s o l u t e ; 
         t o p :   0 ; 
         l e f t :   - 1 0 0 % ; 
         w i d t h :   1 0 0 % ; 
         h e i g h t :   1 0 0 % ; 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 9 0 d e g ,   t r a n s p a r e n t ,   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 2 ) ,   t r a n s p a r e n t ) ; 
         t r a n s i t i o n :   l e f t   0 . 5 s ; 
 } 
 
 . b t n - p r o f e s s i o n a l : h o v e r : : b e f o r e   { 
         l e f t :   1 0 0 % ; 
 } 
 
 . b t n - p r o f e s s i o n a l : h o v e r   { 
         t r a n s f o r m :   t r a n s l a t e Y ( - 3 p x ) ; 
         b o x - s h a d o w :   0   8 p x   2 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 2 ) ; 
 } 
 
 . b t n - p r o f e s s i o n a l   . b t n - c o n t e n t   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
         f l e x - d i r e c t i o n :   c o l u m n ; 
         t e x t - a l i g n :   c e n t e r ; 
         w i d t h :   1 0 0 % ; 
 } 
 
 . b t n - p r o f e s s i o n a l   . b t n - i c o n   { 
         f o n t - s i z e :   1 . 8 r e m ; 
         m a r g i n - b o t t o m :   0 . 5 r e m ; 
         t r a n s i t i o n :   t r a n s f o r m   0 . 3 s   e a s e ; 
 } 
 
 . b t n - p r o f e s s i o n a l : h o v e r   . b t n - i c o n   { 
         t r a n s f o r m :   s c a l e ( 1 . 2 ) ; 
 } 
 
 . b t n - p r o f e s s i o n a l   . b t n - t e x t   { 
         d i s p l a y :   f l e x ; 
         f l e x - d i r e c t i o n :   c o l u m n ; 
         a l i g n - i t e m s :   c e n t e r ; 
 } 
 
 . b t n - p r o f e s s i o n a l   . b t n - t i t l e   { 
         f o n t - s i z e :   1 r e m ; 
         f o n t - w e i g h t :   7 0 0 ; 
         m a r g i n - b o t t o m :   0 . 2 r e m ; 
         l i n e - h e i g h t :   1 . 2 ; 
 } 
 
 . b t n - p r o f e s s i o n a l   . b t n - s u b t i t l e   { 
         f o n t - s i z e :   0 . 8 5 r e m ; 
         f o n t - w e i g h t :   5 0 0 ; 
         o p a c i t y :   0 . 9 ; 
         l i n e - h e i g h t :   1 . 1 ; 
 } 
 
 . b t n - p r o f e s s i o n a l . b t n - p r i m a r y   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 3 b 5 9 9 8 ,   # 5 5 a c e e ) ; 
         b o r d e r - c o l o r :   # 3 b 5 9 9 8 ; 
         c o l o r :   w h i t e ; 
 } 
 
 . b t n - p r o f e s s i o n a l . b t n - p r i m a r y : h o v e r   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 5 5 a c e e ,   # 3 b 5 9 9 8 ) ; 
         b o r d e r - c o l o r :   # 5 5 a c e e ; 
         c o l o r :   w h i t e ; 
 } 
 
 . b t n - p r o f e s s i o n a l . b t n - o u t l i n e - d a n g e r   { 
         b a c k g r o u n d :   w h i t e ; 
         b o r d e r - c o l o r :   # d c 3 5 4 5 ; 
         c o l o r :   # d c 3 5 4 5 ; 
 } 
 
 . b t n - p r o f e s s i o n a l . b t n - o u t l i n e - d a n g e r : h o v e r   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # d c 3 5 4 5 ,   # c 8 2 3 3 3 ) ; 
         b o r d e r - c o l o r :   # d c 3 5 4 5 ; 
         c o l o r :   w h i t e ; 
 } 
 
 . b t n - p r o f e s s i o n a l . b t n - o u t l i n e - s u c c e s s   { 
         b a c k g r o u n d :   w h i t e ; 
         b o r d e r - c o l o r :   # 2 8 a 7 4 5 ; 
         c o l o r :   # 2 8 a 7 4 5 ; 
 } 
 
 . b t n - p r o f e s s i o n a l . b t n - o u t l i n e - s u c c e s s : h o v e r   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 2 8 a 7 4 5 ,   # 2 1 8 8 3 8 ) ; 
         b o r d e r - c o l o r :   # 2 8 a 7 4 5 ; 
         c o l o r :   w h i t e ; 
 } 
 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
         . b t n - p r o f e s s i o n a l   { 
                 p a d d i n g :   1 r e m   0 . 8 r e m ; 
                 m i n - h e i g h t :   7 0 p x ; 
         } 
         
         . b t n - p r o f e s s i o n a l   . b t n - i c o n   { 
                 f o n t - s i z e :   1 . 5 r e m ; 
                 m a r g i n - b o t t o m :   0 . 3 r e m ; 
         } 
         
         . b t n - p r o f e s s i o n a l   . b t n - t i t l e   { 
                 f o n t - s i z e :   0 . 9 r e m ; 
         } 
         
         . b t n - p r o f e s s i o n a l   . b t n - s u b t i t l e   { 
                 f o n t - s i z e :   0 . 8 r e m ; 
         } 
 }  
 