/* 
   INDEX PAGE STYLES - Circuit 2000 
   Contains styles for Hero, Features, Parcours, Moniteurs, Reviews, Contact and FAQ.
*/

/* Hero Section */
.hero {
    position: relative;
    height: 100%;
    min-height: 100vh;
    width: 100%;
    display: grid;
    align-items: start;
    padding-top: 0;
    overflow: hidden;
}

.hero::after {
    content: '';
    grid-area: heroStack;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 40%,
            rgba(18, 18, 18, 0.2) 65%,
            rgba(18, 18, 18, 0.6) 85%,
            #121212 100%);
    z-index: 4;
    pointer-events: none;
}

.hero>* {
    grid-area: heroStack;
    width: 100%;
    height: 100%;
}

.hero-bg,
.car-foreground {
    object-fit: cover;
    object-position: center 10%;
    display: block;
    max-width: none;
}

.hero-bg {
    z-index: 0;
}

.hero::before {
    content: '';
    grid-area: heroStack;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 60px;
    padding-right: 60px;
    height: auto;
    width: 100%;
    margin-top: 27.5vh;
    pointer-events: none;
}

.hero-content>* {
    pointer-events: auto;
}

.car-foreground {
    z-index: 3;
    pointer-events: none;
}

.hero-reveal {
    opacity: 0;
    transform: scale(1.1);
    transition: transform 2.5s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.hero-reveal.active {
    opacity: 1;
    transform: scale(1);
}

.hero-bg.hero-reveal {
    opacity: 0.3;
}

.hero-bg.hero-reveal.active {
    opacity: 1;
}

h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: none;
}

.title-top {
    font-family: var(--font-custom);
    font-size: 5.4vw;
    line-height: 1.1;
    letter-spacing: 0.5vw;
    color: var(--primary-white);
    font-weight: normal;
    text-transform: uppercase;
}

.title-bottom {
    font-family: var(--font-custom);
    font-size: 4.5vw;
    line-height: 0.95;
    letter-spacing: 0.1vw;
    text-shadow: 0 0.3vw 0.8vw rgba(0, 0, 0, 0.3);
    font-weight: normal;
}
.hero-description {
    font-size: 1.1vw;
    font-weight: 700;
    max-width: 30vw;
    color: var(--primary-white);
    line-height: 1.6;
    margin-bottom: 2.5vw;
}
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        margin-top: -1100px;
        min-height: calc(100dvh + 1100px);
    }
    .title-top {
        font-size: 5.5vw;
    }
    .title-bottom {
        font-size: 4.8vw;
    }
    .hero-description {
        font-size: 1.6vw;
        max-width: 45vw;
    }
    .cta-button {
        font-size: 0.9rem;
        padding: 0.7rem 1.8rem;
    }
    .parcours-section {
        margin-top: -650px;
        position: relative;
        z-index: 10;
        background: linear-gradient(to bottom, #121212 0%, #0d0d0d 350px);
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: -66.5dvh;
        min-height: 166.5dvh;
    }

    h1 {
        transform: none;
        width: 100%;
        margin-bottom: 20px;
        gap: 8px;
    }
    .title-top {
        font-size: clamp(1.5rem, 6.5vw, 2.5rem);
        letter-spacing: 0.8vw;
        display: block;
        line-height: 1.2;
    }
    .title-bottom {
        font-size: clamp(1.2rem, 5.5vw, 2.2rem);
        letter-spacing: 0.2vw;
        display: block;
        line-height: 1.2;
    }

    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 15vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .hero-description {
        font-size: clamp(0.85rem, 3.5vw, 1.2rem);
        max-width: 90%;
        line-height: 1.6;
        margin-bottom: 35px;
    }
    .cta-button {
        padding: 12px 24px;
        margin-top: 15px;
        font-size: 0.85rem;
        align-self: flex-start;
    }    .hero-bg.hero-reveal.active,
    .car-foreground.hero-reveal.active {
        transform: scale(1.05) translateY(-4vh);
    }

    /* Features Section Mobile */
    .features-section {
        display: none;
    }

    /* Moniteurs Mobile */
    .moniteurs-grid {
        gap: 10px;
    }

    .moniteur-card {
        flex: 0 0 calc(33.33% - 7px);
        border-radius: 10px;
    }

    .moniteur-img-container {
        height: 100px;
    }

    .moniteur-info {
        padding: 10px 5px;
    }

    .moniteur-info h3 {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .moniteur-location {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }
}

/* Features Section */
.features-section {
    padding: 8vw 3.2vw;
    display: flex;
    justify-content: center;
    gap: 8vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: -20vw;
    position: relative;
    z-index: 10;
}

.feature-item {
    text-align: center;
    max-width: 22vw;
}

.feature-icon-wrapper {
    margin-bottom: 1.8vw;
    display: inline-flex;
    justify-content: center;
}

.badge-icon {
    width: 4.5vw;
    height: 4.5vw;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1vw 2vw rgba(0, 0, 0, 0.2);
}

.badge-icon svg {
    width: 1.8vw;
    height: 1.8vw;
    color: var(--primary-white);
}

.feature-item h3 {
    font-family: var(--font-custom);
    font-weight: normal;
    font-size: 2.2vw;
    margin-bottom: 0.8vw;
    letter-spacing: 0.08vw;
    text-transform: uppercase;
    line-height: 1.2;
}

.feature-item p {
    font-size: 1vw;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    font-weight: 400;
}

/* Parcours Section (Moved from index.php) */
.parcours-section {
    padding: 12vw 5% 100px;
    margin-top: -22vw;
    position: relative;
    overflow: hidden;
    z-index: 10;
    background: linear-gradient(to bottom, transparent 0%, #121212 120px, #121212 100%);
}
.parcours-section .section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    text-align: center;
}

.parcours-section h2 {
    text-align: center;
    font-family: var(--font-custom), 'Oswald', sans-serif;
    font-size: 3.8vw;
    font-weight: normal;
    color: var(--primary-white, #fff);
    margin-bottom: 25px;
    letter-spacing: 0.15vw;
    text-transform: uppercase;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .parcours-section h2 {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
        letter-spacing: 3.5px;
    }
}

.parcours-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.parcours-route {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 9%, black 91%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 9%, black 91%, transparent 100%);
}

.desktop-route {
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    display: block;
}

.mobile-route {
    display: none;
}

.parcours-route svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.route-line {
    fill: none;
    stroke: #ff3333;
    stroke-width: 4;
    stroke-dasharray: 15, 10;
    filter: drop-shadow(0 0 8px rgba(255, 51, 51, 0.8));
    animation: dash 30s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

.parcours-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.parcours-step {
    display: flex;
    width: 100%;
    position: relative;
    align-items: center;
    min-height: 100px;
}

.parcours-step.left {
    justify-content: flex-start;
}

.parcours-step.right {
    justify-content: flex-end;
}

.step-content {
    width: calc(50% - 50px);
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 51, 51, 0.2);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-content:hover {
    transform: translateY(-5px);
    border-color: #ff3333;
    box-shadow: 0 5px 20px rgba(255, 51, 51, 0.2);
}
.step-icon {
    position: absolute;
    background: #0a0a0a;
    border: 2px solid #ff3333;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff3333;
    filter: drop-shadow(0 0 10px rgba(255, 51, 51, 0.5));
    top: 50%;
    z-index: 3;
}

.parcours-step.left .step-icon {
    left: calc(50% - 50px);
    transform: translate(-50%, -50%);
}

.parcours-step.right .step-icon {
    left: calc(50% + 50px);
    transform: translate(-50%, -50%);
}

.step-content h3 {
    font-family: 'Oswald', sans-serif !important;
    font-size: 1.5rem;
    color: #fff;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.step-content p {
    font-family: 'Roboto', sans-serif !important;
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .parcours-section {
        padding-top: 150px;
        margin-top: -42dvh;
        position: relative;
        z-index: 10;
        background: linear-gradient(to bottom, transparent 0%, #121212 120px, #121212 100%);
    }

    .desktop-route {
        display: block;
        width: 80px;
    }

    .mobile-route {
        display: none;
    }

    .parcours-step {
        min-height: auto;
    }

    .step-content {
        width: calc(50% - 40px);
        padding: 15px;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        border-width: 1.5px;
    }

    .step-icon svg {
        width: 18px;
        height: 18px;
    }

    .parcours-step.left .step-icon {
        left: calc(50% - 40px);
    }

    .parcours-step.right .step-icon {
        left: calc(50% + 40px);
    }

    .step-content h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .step-content p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* Moniteurs Section (Moved from index.php) */
.moniteurs-section {
    padding: 60px 5%;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 5;
}

.moniteurs-section h2 {
    text-align: center;
    font-family: var(--font-custom);
    font-size: 3.8vw;
    font-weight: normal;
    color: var(--primary-white);
    margin-bottom: 25px;
    letter-spacing: 0.15vw;
    text-transform: uppercase;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .moniteurs-section h2 {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
        letter-spacing: 3.5px;
    }
}

.moniteurs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.moniteur-card {
    flex: 0 1 240px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s;
}

.moniteur-card:hover {
    transform: translateY(-10px);
    border-color: #ed1c24;
    background: rgba(255, 255, 255, 0.05);
}

.moniteur-img-container {
    height: 240px;
    overflow: hidden;
    background: #222;
}

.moniteur-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.moniteur-card:hover .moniteur-img-container img {
    transform: scale(1.1);
}

.moniteur-info {
    padding: 20px;
    text-align: center;
}

.moniteur-info h3 {
    margin: 0 0 5px 0;
    font-family: var(--font-custom);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: normal;
}

.moniteur-location {
    color: #ed1c24;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.no-moniteurs {
    grid-column: 1 / -1;
    text-align: center;
    opacity: 0.5;
    padding: 50px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

/* Reviews Section */
.reviews-section {
    padding: 60px 5%;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.reviews-section h2 {
    text-align: center;
    font-family: var(--font-custom);
    font-size: 3.8vw;
    font-weight: normal;
    margin-bottom: 40px;
    letter-spacing: 0.15vw;
    text-transform: uppercase;
    color: var(--primary-white);
    line-height: 1.2;
}

/* Reviews Marquee */
.reviews-marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    overflow: hidden;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.reviews-marquee {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    gap: 30px;
    padding-right: 30px;
}

.marquee-forward .marquee-content {
    animation: scroll-forward 60s linear infinite;
}

.marquee-backward .marquee-content {
    animation: scroll-backward 60s linear infinite;
}

.reviews-marquee:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll-forward {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scroll-backward {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.review-card {
    flex: 0 0 310px;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-card:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.stars {
    color: #ffcc00;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-style: italic;
    flex-grow: 1;
}

.review-author {
    font-weight: bold;
    font-size: 1rem;
    color: var(--primary-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-author::before {
    content: '';
    width: 20px;
    height: 2px;
    background: #ed1c24;
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 210px;
        max-width: 75vw;
        padding: 15px;
        gap: 12px;
    }
    .review-text {
        font-size: 0.8rem;
    }
    .review-author {
        font-size: 0.8rem;
    }
    .marquee-forward .marquee-content,
    .marquee-backward .marquee-content {
        animation-duration: 40s;
    }
}

/* Contact Section */
.contact-section {
    padding: 100px 5%;
    background: transparent;
    position: relative;
    z-index: 5;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-map-wrapper {
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) brightness(1.2);
}

.contact-info {
    padding: 20px;
}

.contact-section h2 {
    text-align: center;
    font-family: var(--font-custom);
    font-size: 3.8vw;
    font-weight: normal;
    color: var(--primary-white);
    margin-bottom: 25px;
    letter-spacing: 0.15vw;
    text-transform: uppercase;
    line-height: 1.2;
}

.info-group {
    margin-bottom: 30px;
}

.info-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #ed1c24;
    font-weight: bold;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

/* Interactive Location Widget */
.location-widget {
    position: relative;
    display: inline-block;
}

.location-trigger {
    font-style: italic;
    color: #ed1c24;
    cursor: pointer;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: 0.3s;
    display: inline-block;
    padding: 2px 5px;
    border-radius: 4px;
    background: rgba(237, 28, 36, 0.05);
}

.location-trigger:hover {
    color: white;
    background: #ed1c24;
}

.location-popup-card {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 220px;
    height: 100px;
    background: #1a1a1a;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 2px;
    z-index: 9999;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.74, -0.03, 0.05, 1.24), opacity 0.3s;
    opacity: 0;
    pointer-events: none;
    transform-origin: bottom center;
}

.location-widget:hover .location-popup-card {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    pointer-events: all;
    animation: coolfadeIn 0.4s both;
}

.inner-popup-card {
    position: relative;
    border-radius: 16px;
    height: 100%;
    width: 100%;
    background: #111;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.popup-details {
    padding: 12px;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.popup-main-title {
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popup-second-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin: 0;
}

.location-pin {
    background-color: #ed1c24;
    top: var(--pin-top, 15%);
    left: 50%;
    position: absolute;
    z-index: 2;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 0 10px 5px rgba(237, 28, 36, 0.3);
    border: 3px solid white;
    transform: translate(-50%, -50%);
    animation: pulse-pin 2s infinite;
}

@keyframes pulse-pin {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(237, 28, 36, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(237, 28, 36, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(237, 28, 36, 0);
    }
}

@keyframes coolfadeIn {
    0% {
        filter: blur(10px);
    }

    100% {
        filter: blur(0px);
    }
}

@keyframes movingClouds {
    from {
        transform: translateX(-150px);
    }

    to {
        transform: translateX(150px);
    }
}

.info-value {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    line-height: 1.4;
}

.info-value p {
    margin-bottom: 5px;
    white-space: pre-line;
}

@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .contact-map-wrapper {
        height: 300px;
        order: unset;
    }

    .contact-info {
        text-align: left;
        order: unset;
        padding: 10px;
    }

    .contact-info h2 {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
        letter-spacing: 3.5px;
    }
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-map-wrapper {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .info-value {
        font-size: 0.85rem;
    }

    .info-group {
        margin-bottom: 15px;
    }

    .info-label {
        font-size: 0.7rem;
    }

    #current-directions {
        margin-top: 10px;
        font-size: 0.8rem;
        padding: 8px 15px;
    }
}

/* FAQ SECTION */
.faq-section {
    padding: 120px 5%;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ed1c24;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ed1c24;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    color: #ed1c24;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.faq-section h2 {
    text-align: center;
    font-family: var(--font-custom);
    font-size: 2.8vw;
    font-weight: normal;
    color: var(--primary-white);
    margin-bottom: 25px;
    letter-spacing: 0.15vw;
    text-transform: uppercase;
    line-height: 1.2;
}

.title-accent {
    width: 60px;
    height: 4px;
    background: #ed1c24;
    margin: 0 auto;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    cursor: pointer;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: #ed1c24;
    transition: 0.3s;
    border-radius: 0 4px 4px 0;
}

/* FAQ Edit Styles */
.faq-question {
    position: relative;
}
.faq-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.delete-faq-btn {
    background: rgba(237, 28, 36, 0.1);
    border: 1px solid rgba(237, 28, 36, 0.2);
    color: #ed1c24;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.delete-faq-btn:hover {
    background: #ed1c24;
    color: white;
    transform: scale(1.1);
}
.delete-faq-btn svg {
    width: 16px;
    height: 16px;
}
.faq-admin-actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.add-faq-btn {
    background: white;
    color: black;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.add-faq-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background: #ed1c24;
    color: white;
}
.add-faq-btn svg {
    width: 20px;
    height: 20px;
}
.faq-edit-q, .faq-edit-a {
    outline: none;
    transition: 0.3s;
    display: inline-block;
    width: 100%;
}
.faq-edit-q:focus, .faq-edit-a:focus {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(237, 28, 36, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.faq-item.active::before {
    height: 70%;
}

.faq-question {
    width: 100%;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-align: left;
}

.faq-icon-wrapper {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.faq-item.active .faq-icon-wrapper {
    background: #ed1c24;
    border-color: #ed1c24;
    transform: rotate(45deg);
    box-shadow: 0 0 15px rgba(237, 28, 36, 0.5);
}

.faq-icon-plus {
    position: relative;
    width: 14px;
    height: 14px;
}

.faq-icon-plus::before,
.faq-icon-plus::after {
    content: '';
    position: absolute;
    background: #fff;
    transition: 0.3s;
}

.faq-icon-plus::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-icon-plus::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon-plus::after {
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    opacity: 1;
}

.faq-answer-inner {
    padding: 0 40px 40px 40px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-size: 1.05rem;
}

@media (max-width: 991px) {
    .features-section {
        display: none;
    }

    .faq-section h2 {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
        letter-spacing: 3.5px;
    }

    .faq-question {
        padding: 25px 30px;
        font-size: 1.1rem;
    }

    .faq-answer-inner {
        padding: 0 30px 30px 30px;
    }

    .faq-item:hover {
        transform: none;
    }

    .reviews-container-wrapper {
        padding: 0 10px;
    }

    .slider-arrow {
        display: none;
    }
}

/* Contact Location Switch */
.contact-location-switch {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.contact-location-switch .global-location-selector {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-location-switch .nav-loc-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.4;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block !important; /* Force display on mobile too */
}

.contact-location-switch .nav-loc-btn.active {
    background: #ed1c24;
    color: white;
    opacity: 1;
    box-shadow: 0 0 20px rgba(237, 28, 36, 0.4);
}

.contact-location-switch .nav-loc-btn:hover:not(.active) {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .contact-location-switch {
        margin-bottom: 30px;
    }
    .contact-location-switch .nav-loc-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* Ensure moniteurs stay 3 per row on tablet and mobile */
@media (max-width: 991px) {
    .moniteurs-grid {
        gap: 10px;
    }
    .moniteur-card {
        flex: 0 0 calc(33.33% - 7px);
        border-radius: 10px;
    }
    .moniteur-img-container {
        height: 110px;
    }
    .moniteur-info {
        padding: 10px 5px;
    }
    .moniteur-info h3 {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    .moniteur-location {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 768px) {
    .moniteur-img-container {
        height: 100px;
    }
    .moniteur-info h3 {
        font-size: 0.75rem;
    }
    .moniteur-location {
        font-size: 0.55rem;
    }

    .parcours-section,
    .moniteurs-section,
    .reviews-section,
    .contact-section,
    .faq-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    #home-tarifs-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        letter-spacing: 3px;
        text-align: center;
    }
}

#home-tarifs-title {
    font-family: var(--font-custom), 'Oswald', sans-serif;
    font-size: 4.5vw;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.15vw;
    line-height: 1.2;
    text-align: center;
}