/* Variables & Reset */
:root {
    --indigo: #4f46e5;
    /* Indigo */
    --primary-color: var(--vert);
    --secondary-color: #1e1b4b;
    /* Dark Indigo */
    --accent-color: #f43f5e;
    /* Rose */
    --text-color: #334155;
    --light-text: #64748b;
    --bg-color: #ffffff;
    --light-bg: #f8fafc;
    --font-main: 'Inter', sans-serif;
    /* --font-secondary: "Montserrat", sans-serif; */
    --font-secondary: "Montserrat", sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    --deep-blue: #000c62;
    --white: #ffffff;
    --vert: #00af4f;
    --grey: #f3f3f6;
    --text-grey: hsl(0 0% 44% / 1);
    --oil-black: #0c0c0c;
    --shadow: 0px 3px 6px rgba(24, 24, 27, 0.02), 0px 2px 7px rgba(24, 24, 27, 0.04), 0 0 0 1px rgba(24, 24, 27, 0.08);


    --blue: #3b82f6;
    --foreground: #111;
    --muted-foreground: #6b7280;
    --border: #e5e7eb;
    --bg: #fff;

    /* services */
    --bg-card: #fff;
    --text-muted: #6b7280;
    --text-primary: #111;

    --small-gap: 20px;
    --big-gap: 30px;
}

@media (min-width: 768px) {
    :root {
        --small-gap: 30px;
    }
}

@font-face {
    font-family: 'avenir';
    src: url('../fonts/AvenirLTProMedium.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

.scroller {
    /* --oil-black: hotpink; */
    --scrollbar-color-track: blue;
    --scrollbar-width: thin;
    --scrollbar-width-legacy: 10px;
}

::-webkit-scrollbar {
    width: 0.6rem;
    background-color: var(--scrollbar-color-track);
}

::-webkit-scrollbar-thumb {
    background-color: var(--oil-black);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    /* font-family: var(--font-heading); */
    font-family: var(--font-secondary);
    color: var(--secondary-color);
    margin-bottom: .7rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

iframe {
    width: 100%;
}

p {
    font-size: 1rem;
    color: var(--text-grey);
    line-height: 1.6;
    font-weight: 500;
}

.margin_2 {
    margin-bottom: 2rem;
}

.required {
    color: red;
}

.fa-close:before,
.fa-multiply:before,
.fa-remove:before,
.fa-times:before,
.fa-xmark:before {
    content: "\f00d";
    position: absolute;
    right: 1.8rem;
    top: .9rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    /* border: 2px solid transparent; */
    text-transform: uppercase;
    font-size: .75rem;
}


.btn-primary,
.btn-secondary {
    background-color: var(--primary-color);
    color: white;
    gap: 10px;
    position: relative;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    /* transform: translateY(-2px); */
    box-shadow: var(--shadow-md);
    gap: 20px;
}

.btn-secondary:hover {
    background-color: var(--deep-blue);
    /* background-color: white; */
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--secondary-color);
}

/* .btn-secondary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
} */

/* .btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
} */

/* Typography Utilities */
.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.process-section .section-header {
    margin-top: 2.5rem;
}

.section-header.no-center {
    text-align: left;
    margin-left: 0;
    /* max-width: 100%; */
}

.work-flex>* {
    flex: 1 1 50%;
}

.subtitle {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* font-size: 0.65rem; */
    display: block;
    margin-bottom: 15px;
}

.subtitle {
    /* background: grey; */
    display: inline-block;
    padding: .4rem 0rem;
    border-radius: 1.2rem;
}

.section-header h2,
.section_title {
    font-size: 1.55rem;
    margin-bottom: 16px;
    /* text-shadow: 0px 0px 4px rgba(30, 27, 75, 0.16); */
    /* text-shadow: 0px 0px 10px rgba(0, 12, 98, 0.35); */
}

.section_title br {
    display: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(0px);
    z-index: 1000;
    /* padding: 25px 0; */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
}

.navbar-center {
    /* padding: .5rem; */
    /* background: var(--grey); */
    /* max-width: 100%; */
    /* margin: 0 auto; */
    /* margin-top: .5rem; */
    /* margin: 20px; */
    /* border-radius: 1.2rem; */
}

.navbar.scrolled {
    background: rgb(255 255 255 / 50%);
    backdrop-filter: blur(20px);
    --tw-backdrop-blur: blur(20px);
    padding: 8px 0;
    box-shadow: var(--shadow-sm);
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    padding: 0 10px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-left: -5px;
    transition: all 0.4s ease;
    width: 4rem;
}

.navbar.scrolled .logo {
    color: var(--secondary-color);
    /* transform: scale(0.95); */
}

.navbar.scrolled .logo:hover {
    transform: scale(1);
}

.dot {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--deep-blue);
    position: relative;
    transition: all 0.3s ease;
    /* padding: 8px 0; */
}

.colours .nav-links a {
    color: var(--deep-blue);
}

.navbar.scrolled .nav-links a {
    /* color: var(--text-color); */
    color: var(--deep-blue);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-links a:not(.btn-nav):hover::after,
.nav-links a.active:not(.btn-nav)::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.coulors .nav-links a {
    color: white;
}

.coulors .fa-bars {
    color: white;
}

.coulors.scrolled .fa-bars {
    color: var(--deep-blue);
}

.navbar.scrolled .nav-links a.active {
    color: var(--primary-color);
}

.btn-nav {
    background-color: rgba(255, 255, 255, 0.2);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background-color: white;
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .btn-nav {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white !important;
}

.navbar.scrolled .btn-nav:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    transition: all 0.3s ease;
}

.colours .menu-toggle {
    color: var(--secondary-color);
}


.navbar.scrolled .menu-toggle {
    color: var(--secondary-color);
}

.navbar .fa-times {
    color: var(--secondary-color) !important;
}

/* Ajustement pour la page d'accueil - Hero Section plus haute */

.radial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    /* z-[-2] */
    width: 100vw;
    /* w-screen */
    height: 100vh;
    /* h-screen */
    background-color: white;
    /* bg-white */
    /* background radial gradient like tailwind: */
    background-image: radial-gradient(100% 50% at 50% 0%,
            rgba(0, 163, 255, 0.13) 0%,
            rgba(0, 163, 255, 0) 50%,
            rgba(0, 163, 255, 0) 100%);
    background-repeat: no-repeat;
    pointer-events: none;
    /* facultatif: laisse passer les clics */
}

/* Page Header (For Sub-pages) */
.page-header-bg {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--indigo) 100%);
    background: var(--secondary-color);
    padding: 160px 0 80px;
    color: white;
    text-align: center;
    margin-bottom: 0;
}

.page-header-bg h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

/* OutLine Text */
.page-header-bg {
    position: relative;
    overflow: hidden;
}

.background-text-outline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    font-size: 15vw;
    /* Très gros */
    font-weight: 900;
    color: transparent;
    /* Intérieur transparent */
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    /* Contour très subtil */
    text-stroke: 1px rgba(255, 255, 255, 0.1);
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
}

.page-header-bg .container {
    position: relative;
    z-index: 1;
    /* Place le contenu au-dessus */
}

.page-header-bg h1,
.page-header-bg .breadcrumb {
    position: relative;
    z-index: 2;
}

/* OutLine Text */


.breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: white;
    font-weight: 600;
}

/* Hero Section (Home) */
.hero {
    position: relative;
    /* height: 100vh; */
    min-height: 500px;
    display: flex;
    align-items: end;
    color: white;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.92) 0%, rgba(79, 70, 229, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    text-align: center;
    margin: 0 auto;
    padding-top: 60px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--deep-blue);
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 25px;

    /* text-shadow: 0px 0px 4px rgba(0, 12, 98, 0.47); */
    text-shadow: 0px 0px 3px rgba(0, 12, 98, 0.35);
}

.hero-content h1 span {
    color: var(--primary-color);
    /* text-shadow: 0px 0px 3px var(--primary-color); */
    text-decoration: line-through;
    /* text-decoration-color: var(--deep-blue); */
    text-decoration-color: white;
    text-decoration-thickness: 4px;
}

.hero-content>p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    /* color: rgba(255, 255, 255, 0.9); */
    color: var(--deep-blue);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--deep-blue);
}

.hero p {
    font-size: 1rem;
    margin-bottom: 40px;
    color: var(--text-grey);
    /* color: var(--deep-blue); */
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}



/* --- WRAPPER --- */
.grid-effect-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* --- GRID LINES BACKGROUND --- */
.grid-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    background-image:
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0;

    /* Fade mask */
    mask: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

/* --- COLORED SQUARES WRAPPER --- */
.colored-squares {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 50%;
}

/* Base square styling */
.square {
    position: absolute;
    width: 80px;
    height: 80px;

    /* Default shape fade */
    mask: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.3) 100%);
    -webkit-mask: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

/* --- INDIVIDUAL SQUARES --- */

/* Square 1 */
.square-1 {
    top: 0px;
    left: 0px;
    background-color: #3b82f6;
    /* blue-500 */
    opacity: 0.08;
    mask: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.3) 100%);
    -webkit-mask: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

/* Square 2 */
.square-2 {
    top: 40px;
    left: 160px;
    background-color: #60a5fa;
    /* blue-400 */
    opacity: 0.06;
    mask: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 100%);
    -webkit-mask: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* Square 3 */
.square-3 {
    top: 80px;
    left: 320px;
    background-color: #6366f1;
    /* indigo-500 */
    opacity: 0.07;
    mask: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.2) 100%);
    -webkit-mask: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

/* Square 4 */
.square-4 {
    top: 20px;
    left: 480px;
    background-color: #22d3ee;
    /* cyan-400 */
    opacity: 0.05;
    mask: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 100%);
    -webkit-mask: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* Square 5 */
.square-5 {
    top: 60px;
    left: 640px;
    background-color: #2563eb;
    /* blue-600 */
    opacity: 0.06;
    mask: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.35) 100%);
    -webkit-mask: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.35) 100%);
}

/* END home section */

/* Common Section Styles */
section {
    /* padding: 100px 0; */
    padding: 50px 0;
}

section.hero {
    padding: 0;
}

section.post-hero {
    padding: 0;
}


/* OUR MISSIONS SECTIONS */
.mission {
    display: flex;
    /* text-align: center; */
    justify-content: center;
    align-items: center;
}

.the-background {
    position: relative;
    background: var(--secondary-color);
    background: url(../images/equipements.webp) no-repeat center 60%/cover;
    /* max-width: 80%; */
    margin: 0 auto;
    /* padding: 2rem; */
    padding: var(--small-gap);
    border-radius: 1rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.the-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: var(--secondary-color); */
    background: linear-gradient(90deg,
            var(--secondary-color) 0%,
            var(--secondary-color) 40%,
            rgba(30, 27, 75, 0.2) 100%);
    border-radius: 1rem;
    /* z-index: -1; */
}

.the-background h2,
.the-background p {
    position: relative;
    color: white;
    z-index: 2;
}

.the-background p {
    width: 100%;
    /* margin: 0 auto; */
}



/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--small-gap);
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: var(--shadow-sm); */
    /* box-shadow: 0px3px 6px rgba(24, 24, 27, 0.02), 0px 2px 7px rgba(24, 24, 27, 0.04), 0 0 0 1px rgba(24, 24, 27, 0.08); */
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

/* .service-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
} */

.card-image {
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* .service-card:hover .card-image img {
    transform: scale(1.08);
} */

.card-content {
    padding: 35px;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.learn-more:hover {
    gap: 15px;
}

/* Embla */
:root {
    --background-site: #1a1a1a;
    --text-body: #ffffff;
    --text-high-contrast-rgb-value: 255, 255, 255;
    --detail-medium-contrast: rgba(255, 255, 255, 0.2);
    --detail-high-contrast: rgba(255, 255, 255, 0.5);
}


.services-header-btn a {
    margin-bottom: 2rem;
}

.currentColor {
    color: var(--deep-blue);
}

.embla {
    /* max-width: 64rem; */
    /* margin: auto; */
    --slide-height: 19rem;
    --slide-spacing: 1rem;
    --slide-size: 100%;
    /* Default to 1 slide on mobile */
}

/* Tablet: 2 slides */
@media (min-width: 768px) {
    .embla {
        --slide-size: 50%;
    }

    .services-header-btn {
        display: flex;
        align-items: self-end;
        gap: 2rem;
        justify-content: space-between;
    }

    .services-header-btn a {
        margin-bottom: 0;
    }
}

/* Desktop: 3 slides */
@media (min-width: 1024px) {
    .embla {
        --slide-size: 33.333%;
    }
}

.embla__viewport {
    overflow: hidden;
    padding: .5rem .5rem;
}

.embla__container {
    backface-visibility: hidden;
    display: flex;
    touch-action: pan-y pinch-zoom;
    margin-left: calc(var(--slide-spacing) * -1);
}

.embla__slide {
    flex: 0 0 var(--slide-size);
    min-width: 0;
    padding-left: var(--slide-spacing);
    position: relative;
}

.embla__slide__number {
    /* box-shadow: var(--shadow); */
    /* border-radius: 20px; */
    font-size: 4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--slide-height);
    user-select: none;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
}

.embla__controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 0.6rem;
    /* margin-top: 1.8rem;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto; */
}

.embla__button {
    -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--deep-blue);
    touch-action: manipulation;
    display: inline-flex;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    padding: 0;
    margin: 0;
    width: 2.5rem;
    height: 2.5rem;
    z-index: 1;
    border-radius: 50%;
    color: var(--text-body);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.embla__button:disabled {
    color: var(--detail-high-contrast);
    cursor: not-allowed;
    opacity: 0.5;
}

.embla__button__svg {
    width: 35%;
    height: 35%;
}

.footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
}

.footer__link {
    color: var(--text-body);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__link__svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ====
    END Services Page
===== */


/* Portfolio Section */
.portfolio {
    background-color: var(--light-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 27, 75, 0.9), rgba(30, 27, 75, 0.4));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-info {
    /* transform: translateY(20px); */
    transition: var(--transition);
    color: white;
}

.portfolio-info span {
    transition: var(--transition);
    /* color: var(--primary-color); */
    color: #cccc;
}

.portfolio-info h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

/* Testimonials Slider Section */
.testimonials-section {
    background-color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    padding: 0 20px;
    opacity: 0.4;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-content {
    background: var(--light-bg);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-color);
    line-height: 1.8;
}

.client-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.client-details {
    text-align: left;
}

.client-details h5 {
    margin-bottom: 2px;
    font-size: 1.1rem;
}

.client-details span {
    font-size: 0.9rem;
    color: var(--light-text);
}

.slider-btn {
    background: white;
    border: 1px solid #e2e8f0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.prev-btn {
    margin-right: 20px;
}

.next-btn {
    margin-left: 20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}



/* Blog Section & Page */
.blog-section {
    /* background-color: var(--light-bg); */
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: var(--shadow-sm); */
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

/* .blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
} */

.blog-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: 15px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--secondary-color);
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--light-text);
    margin-bottom: 25px;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.read-more:hover {
    gap: 12px;
}

/* About Page Specifics */
.section-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.label-bar {
    width: 3rem;
    height: 1px;
    background: linear-gradient(to right, var(--oil-black), transparent);
}

.label-text {
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--oil-black);
}

.headline {
    font-weight: bold;
    font-size: 2.25rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .headline {
        font-size: 3rem;
    }

    .work-flex p {
        padding-left: 6.5rem;
    }

    .services-grid {
        gap: var(--big-gap)
    }

    .the-background p {
        width: 80%;
    }
}

@media (min-width: 1024px) {
    .headline {
        font-size: 3.75rem;
    }
}

.blue {
    color: var(--oil-black);
}

.grid_about {
    display: grid;
    /* gap: 3rem;
    margin-top: 2rem; */


}

@media (min-width: 1024px) {
    .grid_about {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.6rem;

        /* grid-template-areas: 
            "explain_one explain_one about_img_one about_img_two"
            "explain_one explain_one about_img_one about_img_two"
            "explain_two explain_two explain_two about_img_tree"
            "explain_two explain_two explain_two about_img_tree"
        ; */
    }

    .explain_two {
        position: absolute;
        /* top: 13em; */
        margin-top: 1rem;
        left: 0;
        width: 140%;
    }

}

/* .space>*+* {
    margin-top: 2rem;
} */

/* .block {
    border-left: 2px solid var(--vert);
    padding-left: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
} */

.block-title {
    color: var(--oil-black);
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.beliefs p {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.block p:first-child {
    margin-bottom: 1rem;
}

.bold {
    font-weight: 600;
}

.bottom {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.bottom-inner {
    max-width: 40rem;
}

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

@media (min-width: 768px) {
    .bottom-text {
        font-size: 1rem;
    }
}

.img_grid {
    display: grid;
    /* background: url(./../images/blur.png);
    background-position: left;
    background-size: contain;
    background-repeat: no-repeat; */
    /* grid-template-areas: 
        "about_img_one exception exception exception exception"
        "one_img exception exception exception exception"
    ; */
}

.explain_two {
    position: relative;
    margin-top: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.about_img_one {
    grid-column: 1/2;
    grid-row: 1/2;
    height: 14rem;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.about_img_two {
    grid-column: 2/3;
    grid-row: 1/2;
    height: 14rem;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-top-right-radius: 1rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.about_img_tree {
    grid-column: 2/3;
    grid-row: 2/3;
    height: 14rem;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.elipse-light {
    position: absolute;
    left: -10em;
    /* bottom: -5rem; */
}


/* END About Page Specifics */



/* Projects Page  */
/* Projects Grid */
/* .projects {
    background-color: var(--bg-grey);
} */

/* .projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--small-gap);
} */

.projects-header {
    margin-bottom: 3rem;
}

.projects img {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--big-gap);
    }

    .projects-grid p {
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid p {
        padding-right: 4rem;
    }
}

/* Project Card */
.project-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card-images {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: stretch;
    gap: 2rem;
}

.project-card-images img {
    object-fit: cover;
    width: 100%;
    border-radius: 1rem;
    aspect-ratio: 2 / 1;
    margin-left: auto;
}

.project-card:hover,
.service-card:hover {
    /* border-color: rgba(59, 130, 246, 0.5); */
    border-color: var(--vert);
}


.project-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-content h3,
.card-title {
    font-size: 1.2rem !important;
    font-weight: bold;
    /* margin-bottom: 0.5rem; */
    margin-bottom: 0.7rem;
}

.project-content p {
    /* flex: 1; */
    margin-bottom: 1.5rem;
    color: var(--text-muted);

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* nombre de lignes */
    overflow: hidden;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.tags span {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--blue);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Project Image for small cards */
.project-image {
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.05), rgba(99, 102, 241, 0.05));
    aspect-ratio: 2/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.project-number {
    font-size: 3rem;
    font-weight: bold;
    color: rgba(59, 130, 246, 0.1);
}

/* CTA Section */
.cta-section {
    /* padding-top: 3rem; */
    padding: var(--small-gap);
    /* border-top: 1px solid var(--border); */
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    /* box-shadow: var(--shadow); */
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 1rem;
    z-index: 5;
    color: white;
}

.cta-section.glass-card {
    justify-content: center;
    text-align: center;
}

.glass-card,
.test {
    /* width: 240px;
    height: 360px; */
    position: relative;
    width: 100%;
    height: 20vh;
    /* background: url(../images/glass-bg.webp) no-repeat center/cover; */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

section.cta {
    padding-top: 0;
}

section.cta.glass {
    padding: 0;
    margin-top: 50px;
}

.act {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(135deg, white 0%, white 100%);
}

/* .act::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, white 0%, white 100%);
    z-index: -2;
    border-radius: 1rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
} */

.rotate {
    position: absolute;
    top: 0;
    left: 40%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* background: rgba(255, 255, 255, 0.1); */
    /* animation: rotate 20s linear infinite; */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    z-index: -1;

    /* transform: rotate(90deg); */
    /* ou -90deg */
    transform-origin: center;
}

@media (min-width: 768px) {
    .cta-section {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        /* margin-top: 2rem; */
    }

    .cta-section.glass-card {
        justify-content: center;
        /* margin-top: 2rem; */
    }
}

.cta-content {
    max-width: 40rem;
}

.cta-text {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.75;
}

@media (min-width: 768px) {}

.cta-subtext {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* END Projects Page  */



/* Services Page Specifics */

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-bottom: 80px;
    padding: 2rem;
}

.page-services2 .service-content h1 {
    color: var(--secondary-color);
    /* text-shadow: 0px 0px 3px rgba(0, 12, 98, 0.35); */
    /* text-shadow: 0px 0px 10px rgba(0, 12, 98, 0.35); */
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) .service-text {
    direction: ltr;
}

.service-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-text ul {
    margin-top: 20px;
}

.service-text li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-text i {
    color: var(--accent-color);
}

.section-header.work {
    max-width: 100%;
    text-align: initial;
}

.process-section {
    background-color: var(--secondary-color);
    color: white;
}

.process-section .section-header h2,
.process-section .section-header p {
    color: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: -1;
}

.step-card h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step-card p {
    color: rgba(255, 255, 255, 0.7);
}

.services-section {
    background-color: var(--bg-grey);
}

/* Header Styles */
.header {
    margin-bottom: 3rem;
    text-align: center;
}

.header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.header p {
    font-size: 1rem;
    color: #6b7280;
    max-width: 42rem;
    margin: 0 auto;
}

/* Grid Styles */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Card Styles */
.service-card {
    height: 100%;
}

.card-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    /* background-color: #ffffff; */
    padding: var(--small-gap);
    transition: all 0.3s ease;
}

.card-icon {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.card-icon {
    margin-bottom: 1rem;
    width: 3.5rem;
}

.card-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.625;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.card-container p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.card-accent {
    margin-top: 1.5rem;
    height: 0.25rem;
    width: 3rem;
    background-color: #3b82f6;
    border-radius: 9999px;
    transition: width 0.3s ease;
}

.card-container:hover .card-accent {
    width: 100%;
}

/* Responsive Styles */
@media (min-width: 640px) {
    .services-section {
        padding: 3rem 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-container {
        padding: 2rem;
    }

    .card-icon {
        font-size: 3rem;
    }

    .card-icon {
        width: 4rem;
    }

    /* .card-title {
        font-size: 1.5rem;
    } */

    .card-description {
        font-size: 1rem;
    }

    .header h1 {
        font-size: 2.25rem;
    }

    .header p {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .services-section {
        padding: 3rem 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .header h1 {
        font-size: 3rem;
    }
}

@media (max-width: 639px) {
    .card-container:active {
        transform: scale(0.98);
    }
}




/* Contact Page Specifics */
.contact-page-wrapper {
    grid-template-columns: 1fr;
}

.contact-sidebar {
    background: var(--secondary-color);
    color: white;
    padding: 40px;
    /* border-radius: 20px; */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.contact-sidebar h3 {
    color: white;
    margin-bottom: 30px;
}

.contact-method {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: var(--transition);
}

.contact-method:hover i,
.contact-method:hover p,
.contact-method:hover a {
    color: var(--primary-color);
    cursor: pointer;
}

.contact-method i {
    font-size: 1.5rem;
    color: white;
    margin-top: 5px;
}

.contact-method p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-main {
    background: white;
    /* padding: 40px; */
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid #f1f5f9;
    overflow: hidden;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    transition: var(--transition);
    background-color: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.full-width {
    grid-column: 1 / -1;
}

.faq-section {
    background-color: var(--light-bg);
}

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

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
    color: var(--light-text);
}

.faq-item.active .faq-answer {
    padding-bottom: 25px;
}


/* FINAL */
.final {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(./../images/photography.jpg) no-repeat center/cover;
}

.final-boxes {
    background-color: white;
    padding: 3rem;
    /* border-radius: 0.75rem; */
    border-radius: 1rem;
    width: 55%;
}

.final-boxes h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 30px;
    text-shadow: 0px 0px 3px rgba(0, 12, 98, 0.35);
}

.final-boxes p {
    margin-bottom: 25px;
}


/* END FINAL */





/* Footer */
footer {
    background-color: #0f172a;
    color: white;
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 30px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-footer {
    font-family: "Montserrat", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 300px;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-newsletter h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
}

.footer-links h4::before {
    content: '';
    position: absolute;
    width: 30%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: .3rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--vert);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.nav-container .social-icons a {
    color: var(--primary-color) !important;
    padding: 0;
    height: 40px;
    aspect-ratio: 1/1;
    font-size: 18px;
    box-shadow: none;
}

.nav-container .social-icons {
    margin-top: auto;
    align-self: start;
    padding-bottom: 2rem;
    padding-left: 2rem;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    padding: 10px 15px;
    border-radius: 50px 0 0 50px;
    border: none;
    outline: none;
    width: 100%;
}

.newsletter-form button {
    padding: 10px 20px;
    border-radius: 0 50px 50px 0;
    border: none;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: #64748b;
    font-size: 0.7rem;
}

/* Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 1;
    transform: translateY(0);
}

/* S'assurer l'affichage des contenues meme si le js n'est pas disponible  */
.js-enabled .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.js-enabled .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animation des textes du hero */


.js-enabled .reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

/* END S'assurer l'affichage des contenues meme si le js n'est pas disponible  */

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

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}




/* ==============================
    OTEHR PAGES SPECIFICS
=================================*/
/* PARTFOLIO PAGE */
.header-section {
    margin-bottom: 40px;
    position: relative;
}

.number {
    position: absolute;
    font-size: 280px;
    font-weight: 700;
    color: #e0e0e0;
    line-height: 1;
    top: -60px;
    left: -20px;
    z-index: 0;
}

.content-wrappers {
    position: relative;
    z-index: 1;
    padding-left: 0;
    padding-top: 30px;
}

.content-wrapper.no-padding {
    padding: 0;
}

h1 {
    font-size: 48px;
    font-weight: 700;
    color: #2d2d2d;
    /* margin-bottom: 30px; */
    line-height: 1.2;
}

.description {
    /* font-size: 16px;
    line-height: 1.8;
    color: #6d6d6d; */
    max-width: 600px;
}

.services-main-section {
    /* display: flex; */
    gap: 80px;
    align-items: flex-start;
}

.services-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #2d2d2d;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    display: none;
}

.work-projects {
    margin-bottom: 2rem;
    padding: 4rem 0;
    font-family: 'Montserrat', sans-serif;
}

.work-projects h1,
.page-services2 .service-content h2,
.parteners-title {
    color: var(--secondary-color);
    /* text-shadow: 0px 0px 10px rgba(0, 12, 98, 0.35); */
}



.services-list {
    /* flex: 1; */
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

.services-list {
    flex: 1;
}

.services-list .img_project {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Force un carré 1:1 */
    object-fit: cover;
    /* Remplit sans distorsion */
    object-position: center;
    /* Centre l'image */
    display: block;
    /* Élimine l'espace blanc en bas */
}

.services-list .img_project.solo {
    width: 100%;
    height: 30vh;
    /* aspect-ratio: 1 / 1; */
    object-fit: cover;
    object-position: center;
    display: block;
}

.services-list img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1rem;
    object-position: center;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.services-list .solo img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1rem;
    object-position: center;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 35px;
}

.service-item h3 {
    margin: 0;
}

.icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.icon::before,
.icon::after {
    content: '';
    position: absolute;
    background-color: #ff6b4a;
}

.icon::before {
    width: 4px;
    height: 24px;
    left: 10px;
    top: 0;
}

.icon::after {
    width: 24px;
    height: 4px;
    left: 0;
    top: 10px;
}

/* .service-item h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2d2d2d;
    line-height: 1.3;
} */

@media (max-width: 768px) {
    .number {
        font-size: 180px;
        top: -40px;
        left: -10px;
    }

    .content-wrapper {
        padding-left: 60px;
    }

    h1 {
        font-size: 36px;
    }

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












/* ==============================
    RESPONSIVE STYLES
=================================*/

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .service-detail,
    .service-detail:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .service-detail:nth-child(even) .service-text {
        direction: ltr;
    }

    .service-detail {
        padding: 0;
    }

    .card-image {
        height: 250px;
    }

    /* Slider Responsive */
    .testimonial-slider-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .prev-btn {
        left: 0;
        margin-right: 0;
    }

    .next-btn {
        right: 0;
        margin-left: 0;
    }

    .slider-container {
        padding: 0 50px;
    }
}

@media (min-width: 481px) {

    /* PORTFOLIO PAGE */
    .services-label {
        /* writing-mode: horizontal-tb; */
        transform: none;
        display: initial;
    }

    .services-list {
        display: flex;
        align-items: stretch;
        gap: 1rem;
    }

    .services-main-section {
        display: flex;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (min-width: 768px) {

    .section-header h2,
    .section_title {
        font-size: 2rem;
        margin-bottom: .7rem;
    }

    .nav-container .social-icons {
        display: none;
    }

    .section_title br {
        display: initial;
    }

    .container {
        max-width: 85%;
        margin: 0 auto;
        padding: 0;
    }

    .work-flex {
        display: flex;
        gap: 2rem;
        justify-content: space-between;
        align-items: center;
    }

    /* Services Page Specifics */
    /* .service-detail {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
        margin-bottom: 80px;
        margin-bottom: 0px;
    } */

    /* portfoli page  */
    .services-list .img_project {
        width: 30%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        object-position: center;
        display: block;
    }



}

@media (min-width: 992px) {
    .hero-content h1 {
        max-width: 800px;
    }

    /* Contacts Page  */
    .contact-page-wrapper {
        display: grid;
        grid-template-columns: 1fr 2fr;
        /* gap: 50px; */
    }

    .contact-sidebar {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 0px;
        border-top-left-radius: 20px;
        border-top-right-radius: 0px;
    }

    .contact-main {
        border-bottom-right-radius: 20px;
        border-bottom-left-radius: 0px;
        border-top-right-radius: 20px;
    }

    /* Projects */
    .projects-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--small-gap);
    }
}

@media (max-width: 768px) {
    /* .navbar {
        padding: 20px 0;
    } */

    /* .navbar.scrolled {
        padding: 15px 0;
    } */

    .nav-links {
        position: fixed;
        top: 0px;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 70px;
        gap: 0;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .js-enabled .nav-links.active {
        right: 0;
    }

    .nav-links a {
        /* color: var(--text-color) !important; */
        font-size: 1.2rem;
        padding: 15px 0;
        width: 100%;
        /* text-align: center; */
        padding-left: 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-links a.top {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .btn-nav {
        background-color: var(--secondary-color) !important;
        border-color: var(--secondary-color) !important;
        color: white !important;
        margin-top: 20px;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .slider-container {
        padding: 0;
    }

    .slider-btn {
        display: none;
    }

    /* Hide arrows on mobile, use dots or swipe */
    .testimonial-content {
        padding: 30px 20px;
    }

    .js-enabled .nav-links {
        position: fixed;
        /* top: 70px; */
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: start;
        transition: 0.4s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* À partir de 768px → max-width activée */
@media (min-width: 768px) {
    .page-header-bg h1 {
        color: white;
        font-size: 3.5rem;
        margin-bottom: 20px;
    }

    .service-image {
        /* width: 80%; */
    }

    /* Projects */
    .projects-header {
        display: block;
        align-items: center;
        /* margin-bottom: 2rem; */
        justify-content: space-between;
    }

    /* PORTFOLIO PAGE  */
    .content-wrappers {
        position: relative;
        z-index: 1;
        padding-left: 100px;
        padding-top: 30px;
    }


}

/* À partir de 1024px → plus large */
@media (min-width: 1024px) {
    .container {
        max-width: 90%;
    }

    /* Projects  */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .the-background p {
        width: 50%;
    }
}

/* À partir de 1200px → largeur définitive */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

.camera {
    position: absolute;
}

.glass-card,
.test {
    /* width: 240px;
    height: 360px; */
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/glass-bg.webp) no-repeat center/cover;
    /* background-image: radial-gradient(#fffcfcb5 1px, #01133d 1px); */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-blend-mode: multiply;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-blend-mode: multiply;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: -2;
}