
/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: none;
}

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

.btn.btn-secondary {
    color: var(--bs-white);
    border: none;
   
}

.btn.btn-secondary:hover {
    background: var(--bs-primary);
}
/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary);
}
/*** Topbar End ***/

/*** Navbar ***/
.sticky-top {
    transition: 1s;
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link {
    position: relative;
    padding: 10px;
    font-weight: 400;
    font-family: "Playfair Display", serif;
    font-size: 17px;
    transition: .5s;
    z-index: 99;
}

.navbar .navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border: 2px solid var(--bs-blue);
    opacity: 0;
    transition: 0.5s;
    z-index: 2 !important;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
    border-bottom: 0;
    border-right: 0;
}
.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
    border-top: 0;
    border-left: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 50%;
    height: 50%;
    opacity: 1;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--bs-blue) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--bs-dark);
    background: var(--bs-blue);
}

.nav-bar .navbar-toggler { 
    color: var(--bs-dark);
    box-shadow: none !important;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

.navbar .nav-item .dropdown-menu {
    background: var(--bs-light);
    transition: 0.5s;
}

.navbar .nav-item .dropdown-menu .dropdown-item {
    transition: 0.5s;
}

.dropdown .dropdown-menu .dropdown-item:hover,
.dropdown .dropdown-menu .dropdown-item.active {
    background: var(--bs-blue);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        margin-top: 15% !important;
        transform: rotateX(-75deg);
        transform-origin: 0 0;
        border: 0;
        transition: .5s;
        opacity: 0;
        z-index: 9;
    }
}

@media (max-width: 991px) {
    .navbar .nav-item .dropdown-menu {
        position: relative;
        margin-top: 0;
        transition: 0.5s;
    }

    .navbar .navbar-nav .nav-item::after,
    .navbar .navbar-nav .nav-item::before {
        display: none;
    }

    .navbar .navbar-nav .nav-item:hover::after,
    .navbar .navbar-nav .nav-item:hover::before,
    .navbar .navbar-nav .nav-item.active::after,
    .navbar .navbar-nav .nav-item.active::before {
        display: none;

    }

    .navbar .navbar-nav .nav-link {
        padding: 12px 0;
    }

    .navbar .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar .navbar-nav .nav-item.nav-link {
        padding: 12px 0;
    }
}
/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 18, 72, 0.7), rgba(0, 18, 72, 0.7)), url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/

/*** Carousel Start ***/
.carousel .carousel-inner .carousel-item {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

@media (min-width: 992px) {
    .carousel .carousel-inner .carousel-item img {
        height: 100%;
        object-fit: cover;   
    }
}

@media (max-width: 991px) {
    .carousel .carousel-inner .carousel-item {
        height: 700px;
    }
    .carousel .carousel-inner .carousel-item img {
        height: 700px;
        object-fit: cover;    
    }
}

@media (max-width: 576px) {
    .carousel-item .carousel-caption h1 {
        font-size: 36px;
    }

    .carousel-item .carousel-caption p.fs-5 {
        font-size: 15px;
    }
}

.carousel .carousel-inner .carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

.carousel .carousel-inner .carousel-item .carousel-caption {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.carousel .carousel-indicators {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    z-index: 5;
}

.carousel .carousel-indicators li,
.carousel .carousel-indicators li,
.carousel .carousel-indicators li {
    margin-right: 30px !important;
    width: 10px;
    height: 10px;
    border: 6px solid var(--bs-blue);
    background: var(--bs-white);
    transition: 0.5s;
}

.carousel .carousel-indicators li.active {
    border: 10px solid var(--bs-primary);
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    background: transparent;
}

.carousel .carousel-control-prev .carousel-control-prev-icon {
    position: absolute;
    left: 0;
    padding: 25px 30px;
    background: var(--bs-primary);

}

.carousel .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    right: 0;
    padding: 25px 30px;
    background: var(--bs-primary);

}

.carousel .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel .carousel-control-next .carousel-control-next-icon:hover {
    background: var(--bs-blue);
    color: var(--bs-white);
}
/*** Carousel End ***/


/*** About Start ***/
.about .about-item-content-img {
    border: 4px solid;
    border-color: var(--bs-blue) var(--bs-primary) var(--bs-primary) var(--bs-blue);
}

.about .about-item-image {
    position: relative;
    background: var(--bs-light);
    background-image: url(../img/about-bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.about .about-item-image .img-1 {
    margin-bottom: 250px; 
    margin-right: 0;
    border: 4px solid;
    border-color: var(--bs-blue) var(--bs-light) var(--bs-light) var(--bs-blue);
    z-index: 3;
}

.about .about-item-image .img-2 {
    margin-top: 250px; 
    margin-left: 0;
    border: 4px solid;
    border-color: var(--bs-light) var(--bs-blue) var(--bs-blue) var(--bs-light); 
    z-index: 3;
}

.about .about-item-image::before {
    width: 80%;
    height: 80%;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-style: dotted;
    border-color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 2;
}

.about .about-item-image .about-item-image-content {
    width: 55%;
    height: 55%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bs-blue);
    border: 4px solid var(--bs-primary);
    opacity: 0.9;
    z-index: 4;
}

.about .about-item-image .about-item-image-effect {
    position: absolute;
    top: 0;
    right: 0;
}
/*** About End ***/

/*** Features Start ***/
.feature .feature-item {
    position: relative;
    transition: 0.5s;
}
.feature .feature-item:hover {
    background: var(--bs-white);
    border: 1px solid transparent;
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.feature .feature-item:hover a {
    transition: 0.5s;
}

.feature .feature-item:hover a:hover {
    color: var(--bs-blue);
}

.feature .feature-item .feature-img img {
    border: transparent;
    transition: 0.5s;
} 

.feature .feature-item:hover .feature-img img {
    border: 1px solid var(--bs-blue);
}  
/*** Features End ***/

/*** Services Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    z-index: 1;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

.service .service-item::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover:after {
    height: 100%;
    background: rgba(0, 0, 0, .4);
}

.service .service-item .service-content {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%; 
    left: 0; 
    transform: translateY(-50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.service .service-item:hover .service-content {
    opacity: 1;
}

.service .service-item:hover .service-content a.fs-4 {
    color: var(--bs-white);
    transition: 0.5s;
}

.service .service-item:hover .service-content a.fs-4:hover {
    color: var(--bs-blue);
}

.service .service-item .service-title {
    position: absolute;
    width: 100%;
    height: 80px; 
    bottom: 0; 
    right: 0;
    background: var(--bs-light);
    display: flex;
    transition: 0.5s;
    z-index: 3;
}

.service .service-item:hover .service-title {
    margin-right: -100%;
}
/*** Services End ***/

/*** Blog Start ***/
.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-content {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.blog .blog-item .blog-content a {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-content a:hover {
    color: var(--bs-blue);
}
/*** Blog End ***/

/*** Contact Start ***/
.contact .contact-map {
    position: relative;
    overflow: hidden;
    padding: 20px;
    z-index: 1;
}

.contact .contact-map::before {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--bs-primary);
    z-index: -1;
}

.contact .contact-map::after {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--bs-blue);
    z-index: -1;
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(0, 18, 72, 0.9), rgba(0, 18, 72, 1)), url(../img/footer-img.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-blue);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary) !important;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark);
}
/*** copyright end ***/




/*** Pôles d'activités Start ***/
.activities .activity-item {
    transition: 0.5s;
    background: var(--bs-white);
}

.activities .activity-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
    border-color: var(--bs-blue) !important;
}

.activities .activity-icon {
    transition: 0.5s;
}

.activities .activity-item:hover .activity-icon {
    transform: scale(1.1);
    color: var(--bs-primary) !important;
}

/*** Chiffres Clés Start ***/
.facts .display-4 {
    font-weight: 700;
}

.facts i {
    opacity: 0.8;
}

.facts span {
    font-weight: 600;
}


/*** Partenaires Start ***/
.partner {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.partner .partner-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #0d6efd, #004aad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner .partner-logo-card {
    transition: all 0.3s ease;
    background: var(--bs-white);
}

.partner .partner-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.partner .partnership-symbol {
    animation: pulse 2s infinite;
}

.partner .partner-expertise .d-flex {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.partner .partner-expertise .d-flex:last-child {
    border-bottom: none;
}

.partner .cta-partner {
    border-left: 4px solid #0d6efd;
    transition: all 0.3s ease;
}

.partner .cta-partner:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.1);
}

.partner .partnership-badge {
    animation: bounce 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

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

@media (max-width: 768px) {
    .partner .partnership-symbol {
        transform: rotate(90deg);
        margin: 20px 0;
    }
}
/*** Partenaires End ***/



/*** Page Qui Sommes-Nous Start ***/

/* Hero Section */
.about-hero {
    background: linear-gradient(rgba(0, 18, 72, 0.8), rgba(0, 18, 72, 0.9)), url('../img/about-hero.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 80px;
    position: relative;
}

/* Timeline */
.timeline-section {
    position: relative;
    padding: 80px 0;
}

.timeline-container {
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--bs-blue);
    transform: translateX(-50%);
    opacity: 0.3;
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 24px;
    height: 24px;
    background: var(--bs-white);
    border: 4px solid var(--bs-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--bs-light);
}

.timeline-content {
    width: 45%;
    padding: 30px;
    background: var(--bs-white);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(13, 110, 253, 0.15);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--bs-white);
    transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
}

/* Values Cards */
.value-card {
    height: 100%;
    transition: all 0.3s ease;
    background: var(--bs-white);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-blue));
    transition: height 0.3s ease;
    z-index: -1;
}

.value-card:hover::before {
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--bs-blue);
}

.value-card:hover .value-icon {
    background: var(--bs-white);
    color: var(--bs-primary);
}

.value-card:hover h4,
.value-card:hover p {
    color: var(--bs-white);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--bs-blue), var(--bs-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.value-icon i {
    font-size: 2rem;
    color: var(--bs-white);
}

/* Mission & Vision Cards */
.mission-vision-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.mission-card, .vision-card {
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
}

/* Expertise Cards */
.expertise-card {
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.expertise-card:hover {
    transform: translateY(-10px);
    border-color: var(--bs-blue);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.1);
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1);
    color: var(--bs-primary);
}

.expertise-icon {
    font-size: 3rem;
    color: var(--bs-blue);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

/* Client Logos */
.client-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: var(--bs-white);
    border-radius: 10px;
    border: 2px solid var(--bs-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.client-logo:hover {
    transform: translateY(-5px);
    border-color: var(--bs-blue);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.1);
}

/* Stats Section */
.stats-section-about {
    background: linear-gradient(rgba(0, 18, 72, 0.9), rgba(0, 18, 72, 0.95)), url('../img/stats-bg.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0;
    position: relative;
    color: var(--bs-white);
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.2);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

/* CTA Section */
.cta-section-about {
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-blue));
    padding: 80px 0;
    color: var(--bs-white);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
    
    .timeline-content::before {
        left: -10px !important;
        right: auto !important;
    }
    
    .stat-item::after {
        display: none;
    }
}

/*** Page Qui Sommes-Nous End ***/


/*** Notre Histoire Modernisée ***/

.timeline-section-modern {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.timeline-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bs-blue), transparent);
}

/* Timeline Horizontal Desktop */
.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 40px 0;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--bs-primary) 0%, 
        var(--bs-blue) 50%, 
        var(--bs-primary) 100%);
    z-index: 1;
    animation: timelineFlow 3s ease-in-out infinite;
}

@keyframes timelineFlow {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

.timeline-step {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.timeline-step-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.number-badge {
    background: var(--bs-primary);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.3);
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.number-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

.timeline-dot-connect {
    width: 20px;
    height: 20px;
    background: var(--bs-white);
    border: 4px solid var(--bs-blue);
    border-radius: 50%;
    margin: 10px 0;
    position: relative;
    z-index: 2;
}

.timeline-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

.timeline-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.7));
}

.partners-logos {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 10px;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bs-primary);
    animation: float 3s ease-in-out infinite;
}

.partner-logo:nth-child(2) {
    animation-delay: 0.5s;
}

.partner-logo:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.transformation-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bs-primary);
}

.timeline-content {
    padding: 25px;
}

.timeline-header {
    text-align: center;
    margin-bottom: 20px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    background: rgba(13, 110, 253, 0.1);
    color: var(--bs-primary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat i {
    color: var(--bs-blue);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.stat span {
    font-size: 0.85rem;
    color: #666;
}

.expertise-areas {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.area i {
    color: var(--bs-blue);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.area small {
    font-size: 0.8rem;
    color: #666;
}

/* Timeline Vertical Mobile */
.timeline-vertical {
    position: relative;
    padding-left: 30px;
}

.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, 
        var(--bs-primary) 0%, 
        var(--bs-blue) 50%, 
        var(--bs-primary) 100%);
}

.timeline-item-mobile {
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    position: absolute;
    left: -30px;
    top: 0;
    background: var(--bs-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(13, 110, 253, 0.3);
}

.timeline-card-mobile {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-left: 40px;
}

.timeline-image-mobile {
    position: relative;
    height: 180px;
}

.timeline-image-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.year-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(13, 110, 253, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.icon-container {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.timeline-content-mobile {
    padding: 20px;
}

.mobile-tags {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.mobile-tag {
    background: rgba(13, 110, 253, 0.1);
    color: var(--bs-primary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.mobile-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.mobile-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

/* Evolution Animation */
.evolution-animation {
    margin-top: 60px;
}

.evolution-container {
    max-width: 800px;
    margin: 0 auto;
}

.evolution-sequence {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.sequence-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.sequence-item.active {
    opacity: 1;
    transform: translateX(0);
}

.sequence-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sequence-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.sequence-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.sequence-btn {
    background: var(--bs-light);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sequence-btn.active {
    background: var(--bs-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.sequence-btn:hover:not(.active) {
    background: #e9ecef;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1200px) {
    .timeline-horizontal::before {
        left: 5%;
        right: 5%;
    }
}

@media (max-width: 992px) {
    .timeline-horizontal {
        flex-direction: column;
        gap: 50px;
    }
    
    .timeline-horizontal::before {
        display: none;
    }
    
    .timeline-step {
        width: 100%;
    }
    
    .evolution-sequence {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .sequence-controls {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .sequence-btn {
        width: 200px;
    }
    
    .evolution-sequence {
        height: 250px;
    }
}