/* Phone shortcut */
.ak-phone-shortcut {
    position: fixed;
    bottom: -60px;
    right: 40px;
    color: #000;
    padding: 5px;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 10;
    background-color: #fff;
    box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    text-decoration: none;
}

.ak-phone-shortcut:hover {
    background-color:  #ff3d24;
    color: #fff;
}

.ak-phone-shortcut.ak-phone-shortcut-show {
    bottom: 110px;
}

.ak-phone-shortcut svg {
    width: 21px;
    height: 21px;
}

@media screen and (max-width: 991px) {
    .ak-phone-shortcut {
        right: 15px;
    }
}

.ak-hero.ak-style1 .hero-slider-info {
    z-index: 2;
}

/* Hero tint overlay */
.slide-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

/* FAP page service items */
.fap-service-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}

.fap-service-icon {
    margin-bottom: 15px;
}

.fap-service-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.fap-service-info {
    text-align: center;
    flex-grow: 1;
}

/* FAP patent info */
.fap-patent-info {
    margin-top: 1rem;
    color: var(--body-color);
    font-size: 14px;
    font-style: italic;
    opacity: 1;
}

/* Engine service cards equal height */
.engine-services-grid {
    display: flex;
    flex-wrap: wrap;
}

.engine-services-grid .col {
    display: flex;
}

.engine-services-grid .service-card-style-2 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.engine-services-grid .service-desp {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.engine-services-grid .service-desp .desp {
    flex-grow: 1;
}

/* Smaller stroke heading text */
.stroke-heading-text h3.ak-stroke-text {
    font-size: 24px !important;
    line-height: 1.4;
    color: white !important;
}

@media (max-width: 768px) {
    .stroke-heading-text h3.ak-stroke-text {
        font-size: 20px !important;
        color: white !important;
    }
}

/* Vehicle icon circular containers - only for flexible page */
.flexible-vehicle-icons .swiper-wrapper .swiper-slide {
    margin-right: 15px !important;
}

@media screen and (max-width: 991px) {
    .flexible-vehicle-icons .swiper-wrapper .swiper-slide {
        margin-right: 12px !important;
    }
}

@media screen and (max-width: 767px) {
    .flexible-vehicle-icons .swiper-wrapper .swiper-slide {
        margin-right: 10px !important;
    }
}

.flexible-vehicle-icons .trusted-client {
    background-color: #2a2a2a;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.flexible-vehicle-icons .trusted-client:hover {
    background-color: #3a3a3a;
    border-color: #555555;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.flexible-vehicle-icons .trusted-client img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: all 0.3s ease;
}

.flexible-vehicle-icons .trusted-client:hover img {
    filter: brightness(1.2);
    transform: scale(1.1);
}

/* Responsive adjustments for vehicle icons - flexible page only */
@media (max-width: 768px) {
    .flexible-vehicle-icons .trusted-client {
        width: 80px;
        height: 80px;
    }
    
    .flexible-vehicle-icons .trusted-client img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575px) {
    .flexible-vehicle-icons .trusted-client {
        width: 70px;
        height: 70px;
    }
    
    .flexible-vehicle-icons .trusted-client img {
        width: 35px;
        height: 35px;
    }
}

/* Custom list styling - FLEXIBLE PAGE ONLY - For the "Pourquoi choisir nos flexibles" bullet points */
.flexible-page .ak-list-style-1 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flexible-page .ak-list-style-1 li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--body-color);
}

.flexible-page .ak-list-style-1 li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #ff3d24;
    border-radius: 50%;
}

.flexible-page .ak-list-style-1 li strong {
    color: var(--heading-color);
}

/* FLEXIBLE PAGE ONLY - Hide testimonial images that appear in templates */
.flexible-page .testimonal-img {
    display: none;
}

/* FLEXIBLE PAGE ONLY - Custom autoplay speed for vehicle icons slider */
.flexible-page .flexible-vehicle-icons.swiper {
    --swiper-autoplay-delay: 2000ms;
}

/* FLEXIBLE PAGE ONLY - Service card icon styling */
.flexible-page .service-card-style-2 .service-icon img {
    width: 46px;
    height: 47px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* FLEXIBLE PAGE ONLY - Layout: sidebar on top (full width), then service boxes side by side */
.flexible-page .sticky-content {
    position: relative;
    flex-direction: column;
}

.flexible-page .sticky-content .content.style_2 {
    width: 100% !important;
    padding-right: 0;
    position: relative;
    order: 2;
    margin-top: 0px;
}

.flexible-page .sticky-content .sidebar.width-none {
    position: relative !important;
    width: 100% !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    order: 1;
    margin-bottom: 0;
}

/* Ensure service boxes stay side by side on larger screens */
@media (min-width: 1200px) {
    .flexible-page .sticky-content .content.style_2 .row .col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* FLEXIBLE PAGE ONLY - Hero section with standalone background-text */
.flexible-page .flexible-hero-section {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.flexible-page .flexible-hero-section .background-text {
    display: block;
    text-align: center;
    padding: 0 0 10px 0;
    margin: 0;
    font-family: Oxanium;
    font-size: 80px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    background: linear-gradient(to right, #555 0%, #fff 50%, #555 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 2.5s infinite;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-color: rgba(46, 46, 46, 0.7960784314);
    background-size: 200px 100%;
    white-space: nowrap;
    pointer-events: none;
}

.flexible-page .flexible-hero-section .breadcrumb-nav {
    position: relative;
    z-index: 10;
}

.flexible-page .flexible-hero-section .primary-color-border {
    position: relative;
    z-index: 10;
}

/* Responsive adjustments for flexible hero background text */
@media screen and (max-width: 768px) {
    .flexible-page .flexible-hero-section .background-text {
        font-size: 50px;
    }
}

@media screen and (max-width: 575px) {
    .flexible-page .flexible-hero-section .background-text {
        font-size: 35px;
    }
}

/* UNIVERSAL PAGE HERO SECTION */
.page-hero-section {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.page-hero-section .background-text {
    display: block;
    text-align: center;
    padding: 0 0 10px 0;
    margin: -20px 0 0 0;
    font-family: Oxanium;
    font-size: 60px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    background: linear-gradient(to right, #555 0%, #fff 50%, #555 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 2.5s infinite;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-color: rgba(46, 46, 46, 0.7960784314);
    background-size: 200px 100%;
    white-space: nowrap;
    pointer-events: none;
}

.page-hero-section .breadcrumb-nav {
    position: relative;
    z-index: 10;
}

.page-hero-section .primary-color-border {
    position: relative;
    z-index: 10;
}

/* Responsive adjustments for page hero background text */
@media screen and (max-width: 768px) {
    .page-hero-section .background-text {
        font-size: 50px;
    }
}

@media screen and (max-width: 575px) {
    .page-hero-section .background-text {
        font-size: 35px;
    }
}