@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&display=swap');

/* ============================================
   RESET & VARIABLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F46E5;
    --primary-dark: #3730a3;
    --primary-light: #4F46E515;
    --black-color: #000000;
    --white-color: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #666666;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;
}

* {
    font-family: "Dosis", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
}

body {
    font-family: "Dosis", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 16px;
    line-height: 1.6;
    color: var(--black-color);
    background-color: var(--white-color);
    overflow-x: hidden;
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    background: var(--white-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.back-arrow:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(-2px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    justify-content: flex-end;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.menu-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: var(--transition);
}

.menu-toggle:hover .menu-icon {
    opacity: 0.7;
}

.language-selector-desktop {
    display: flex;
    gap: 8px;
    background: var(--gray-light);
    border-radius: 8px;
    padding: 4px;
}

.language-btn-desktop {
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-medium);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.language-btn-desktop:hover {
    color: var(--primary-color);
}

.language-btn-desktop.active {
    background: var(--white-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.btn-primary:hover {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary-nav {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

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

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--white-color);
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar-menu.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 25px;
    border-bottom: 1px solid var(--gray-light);
}

.sidebar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.sidebar-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: var(--transition);
    filter: invert(27%) sepia(100%) saturate(1500%) hue-rotate(190deg) brightness(95%) contrast(101%);
}

.sidebar-close:hover .close-icon {
    opacity: 0.7;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.sidebar-mobile-actions {
    display: none;
    padding: 20px 25px;
    border-top: 1px solid var(--gray-light);
    flex-direction: column;
    gap: 20px;
}

.language-selector-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.language-selector-mobile .language-options {
    width: fit-content;
    align-self: flex-start;
}

.btn-primary-mobile {
    background: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    width: 100%;
    font-family: inherit;
}

.btn-primary-mobile:hover {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.sidebar-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-link {
    display: block;
    padding: 18px 25px;
    color: var(--black-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar-link:hover {
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.sidebar-link.active {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.sidebar-footer {
    padding: 25px;
    border-top: 1px solid var(--gray-light);
}

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

.language-label {
    font-size: 16px;
    color: var(--gray-medium);
    font-weight: 500;
}

.language-options {
    display: flex;
    gap: 8px;
    background: var(--gray-light);
    border-radius: 8px;
    padding: 4px;
}

.language-btn {
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-medium);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.language-btn:hover {
    color: var(--primary-color);
}

.language-btn.active {
    background: var(--white-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

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

.search-section {
    background: var(--white-color);
    padding: 40px 0;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid #e5e7eb;
}

.search-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.search-card-title {
    margin-bottom: 6px;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
}

.search-card-subtitle {
    margin-bottom: 25px;
    font-size: 15px;
    color: var(--text-light);
}

.search-section .search-bar {
    max-width: 100%;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    z-index: 0;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    text-align: left;
    color: var(--white-color);
    padding: 20px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.9);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
    color: #ffd700;
    flex-shrink: 0;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--white-color);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-feature svg {
    width: 16px;
    height: 16px;
    color: #00c853;
    flex-shrink: 0;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: bold;
    font-family: "Dosis", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
    text-align: left;
    color: var(--white-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.highlight {
    color: #a5b4fc;
    position: relative;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    line-height: 1.6;
    font-family: "Dosis", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
    text-align: left;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-search-fixed {
    position: absolute;
    bottom: 140px;
    left: 0;
    right: 0;
    z-index: 100;
    pointer-events: none;
}

.hero-social-fixed {
    position: absolute;
    bottom: 60px;
    right: 40px;
    z-index: 100;
    pointer-events: all;
}

.hero-social-fixed .social-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-find-nearby {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    margin-top: 20px;
    text-align: center;
}

.btn-find-nearby:hover {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-support-client {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 16px 32px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
}

.btn-support-client:hover {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-contact {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    margin-top: 20px;
    text-align: center;
}

.btn-contact:hover {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.hero-search-fixed .container {
    pointer-events: all;
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.hero-search-fixed .search-bar {
    max-width: 700px;
    margin: 0;
    transition: max-width 0.3s ease, box-shadow 0.3s ease;
    flex-wrap: nowrap;
    overflow: visible;
    position: relative;
}

.hero-search-fixed .search-bar:focus-within {
    max-width: 900px;
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.25);
    overflow: visible;
}

.search-bar-home {
    max-width: 950px !important;
}

.search-bar-home:focus-within {
    max-width: 1100px !important;
}

.search-bar-home .search-input {
    flex: 2;
    min-width: 180px;
}

.search-bar-home .search-select {
    flex: 1;
    max-width: 140px;
    font-size: 13px;
    padding: 14px 10px;
}

.search-bar-home .btn-search {
    padding: 14px 20px;
    font-size: 14px;
}

.hero-search-fixed .search-bar .search-select {
    max-width: 130px;
    font-size: 13px;
    padding: 14px 10px;
}

.search-bar-artisans {
    max-width: 850px !important;
}

.search-bar-artisans:focus-within {
    max-width: 1050px !important;
}

.search-bar-artisans .search-input {
    flex: 2.5;
    min-width: 200px;
}

.search-bar-artisans .search-select {
    flex: 1;
    max-width: 150px;
    font-size: 14px;
    padding: 16px 12px;
}

.search-bar-artisans .btn-search {
    padding: 16px 25px;
    font-size: 14px;
}

@media (max-width: 768px) {

    .hero-search-fixed .search-bar .search-select:nth-child(2),
    .hero-search-fixed .search-bar .search-select:nth-child(3) {
        max-width: 100%;
        width: 100%;
    }

    .search-bar-artisans .search-select {
        max-width: 100%;
        width: 100%;
    }
}

.search-bar {
    display: flex;
    background: var(--white-color);
    border-radius: 50px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    gap: 8px;
    transition: max-width 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 700px;
}

.search-bar:focus-within {
    max-width: 900px;
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.2);
}

.search-input {
    flex: 2;
    min-width: 0;
    border: none;
    padding: 16px 24px;
    font-size: 16px;
    border-radius: 50px;
    outline: none;
    font-family: inherit;
}

.search-select {
    flex: 1;
    min-width: 0;
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    border-radius: 50px;
    outline: none;
    background: var(--gray-light);
    cursor: pointer;
    font-family: inherit;
    max-width: 180px;
}

.btn-search {
    background: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    padding: 16px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


.btn-search svg {
    flex-shrink: 0;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   HOME STATS SECTION
   ============================================ */
.home-stats {
    padding: 50px 20px;
}

.home-stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.home-stat-card {
    background: var(--primary-color);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(50% - 8px);
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    color: #fff;
}

.home-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.home-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0 5px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--gray-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
    font-weight: bold;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-medium);
}

/* SERVICES PAGE STATS OVERVIEW */
.services-stats-overview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 50%, #2563eb 100%);
    border-radius: 20px;
    padding: 36px 20px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.25);
}

.services-stat-item {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.services-stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1px;
}

.services-stat-label {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

/* SERVICES SEARCH BAR */
.services-search-wrapper {
    position: relative;
    max-width: 640px;
    margin: 0 auto 36px;
}

.services-search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 0 18px;
    height: 54px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.services-search-bar:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.13);
}

.services-search-icon {
    color: var(--gray-medium);
    flex-shrink: 0;
    margin-right: 12px;
}

.services-search-icon svg {
    width: 20px;
    height: 20px;
}

.services-search-clear svg {
    width: 18px;
    height: 18px;
}

.services-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: var(--text-color);
    background: transparent;
    font-family: inherit;
}

.services-search-input::placeholder {
    color: #9ca3af;
}

.services-search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-medium);
    padding: 4px;
    border-radius: 50%;
    transition: background 0.15s, color 0.15s;
}

.services-search-clear:hover {
    background: #f3f4f6;
    color: var(--text-color);
}

.services-search-suggestions {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.12);
    margin-bottom: 6px;
    max-height: 360px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    border: 1px solid #e5e7eb;
}

.services-search-suggestions.active {
    display: block;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    transition: background 0.15s;
    text-decoration: none;
    color: inherit;
}

.search-suggestion-item:hover,
.search-suggestion-item.active {
    background: #EEF2FF;
}

.search-suggestion-type {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 6px;
    flex-shrink: 0;
    min-width: 70px;
    text-align: center;
}

.search-suggestion-type.type-categorie {
    background: #E8E7FE;
    color: var(--primary-color);
}

.search-suggestion-type.type-domaine {
    background: #E0DFFE;
    color: var(--primary-dark);
}

.search-suggestion-type.type-metier {
    background: #fef3c7;
    color: #d97706;
}

.search-suggestion-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.search-suggestion-parent {
    font-size: 12px;
    color: #64748b;
    margin-top: 1px;
}

.search-suggestion-name mark {
    background: #fef08a;
    color: inherit;
    border-radius: 2px;
    padding: 0 1px;
}

.search-suggestion-pros {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    flex-shrink: 0;
    white-space: nowrap;
}

.search-suggestion-pros.has-pros {
    background: #E8E7FE;
    color: var(--primary-color);
}

.search-suggestion-pros.no-pros {
    background: #fee2e2;
    color: #dc2626;
}

.search-suggestion-item.no-pros-item {
    opacity: 0.6;
    cursor: default;
}

.services-search-info {
    text-align: center;
    font-size: 13px;
    color: var(--gray-medium);
    margin-top: 8px;
    min-height: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: start;
}

.service-card {
    background: rgba(255,255,255,0.6);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.service-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    cursor: pointer;
    user-select: none;
}

.service-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: 16px;
    font-weight: 700;
    flex: 1;
    margin: 0;
    text-align: left;
}

.service-expand-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-light);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.service-expand-btn svg {
    width: 14px;
    height: 14px;
}

.service-card.expanded .service-expand-btn {
    transform: rotate(180deg);
}

.service-card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
    text-align: center;
}

.service-card.expanded .service-card-details {
    max-height: 300px;
    padding: 0 20px 20px;
}

.service-description {
    color: var(--gray-medium);
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 14px;
    text-align: center;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 8px;
    background: var(--gray-light);
    transition: var(--transition);
}

.service-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 12px;
}

.service-tag {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f7ff 100%);
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid rgba(79, 70, 229, 0.15);
    transition: all 0.2s ease;
}

.service-tag:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0077cc 100%);
    color: white;
    border-color: transparent;
}

.service-rating {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 18px;
}

.artisan-card {
    position: relative;
    overflow: visible;
}

.artisan-card>div:first-child {
    position: relative;
    min-height: 30px;
    margin-bottom: 12px;
}

.artisan-badge-top {
    max-width: calc(100% - 80px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.artisan-rating-badge {
    box-shadow: var(--shadow-sm);
}

.artisan-service-badge {
    display: inline-block;
    margin-bottom: 12px;
}

.btn-action {
    transition: var(--transition);
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-view-profile {
    background: var(--primary-color) !important;
}

.btn-view-profile:hover {
    background: transparent !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-call-artisan {
    background: #007AFF !important;
}

.btn-call-artisan:hover {
    background: transparent !important;
    color: #007AFF !important;
    border-color: #007AFF !important;
}

.btn-whatsapp-artisan {
    background: #25D366 !important;
}

.btn-whatsapp-artisan:hover {
    background: transparent !important;
    color: #25D366 !important;
    border-color: #25D366 !important;
}

/* ============================================
   POPULAR CATEGORIES SECTION
   ============================================ */
.popular-categories {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #EEF2FF 0%, #F8F7FF 100%);
}

.popular-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 10px 0 24px;
}

.popular-cat-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 20px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.25s, box-shadow 0.25s;
}

.popular-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(79, 70, 229, 0.13);
}

.popular-cat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.popular-cat-icon svg {
    width: 32px;
    height: 32px;
}

.popular-cat-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}

.popular-cat-count {
    font-size: 12px;
    color: var(--gray-medium);
    font-weight: 500;
}

.section-cta {
    text-align: center;
    padding-top: 8px;
}

.btn-see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-see-all:hover {
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 1024px) {
    .popular-cats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .popular-categories {
        padding: 40px 0 30px;
    }
    .popular-cats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .popular-cat-card {
        padding: 18px 14px;
    }
    .popular-cat-icon {
        width: 54px;
        height: 54px;
        border-radius: 14px;
    }
    .popular-cat-icon svg {
        width: 26px;
        height: 26px;
    }
    .popular-cat-name {
        font-size: 13px;
    }
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark, #3730A3) 100%);
}

.how-it-works .section-title,
.how-it-works .section-subtitle {
    color: var(--white-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.step {
    text-align: center;
    position: relative;
}

.step::after {
    content: '→';
    position: absolute;
    top: 40px;
    right: -25px;
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.3;
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-md);
}

.step-title {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: bold;
}

.step-description {
    color: var(--gray-medium);
    line-height: 1.6;
    font-size: 16px;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    padding-top: 50px;
    background: var(--white-color);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.step-card .step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #00c853 0%, #00a843 100%);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(0, 200, 83, 0.4);
    border: 4px solid var(--white-color);
}

.step-card .step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    border-radius: 18px;
}

.step-card .step-icon svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

.step-card .step-title {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--black-color);
}

.step-card .step-description {
    color: var(--gray-medium);
    line-height: 1.7;
    font-size: 15px;
}

/* ============================================
   GUARANTEES SECTION
   ============================================ */
/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose-us {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.why-choose-header {
    text-align: center;
    margin-bottom: 50px;
}

.why-choose-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.why-choose-label svg {
    width: 14px;
    height: 14px;
}

.why-choose-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--black-color);
    margin-bottom: 12px;
    line-height: 1.2;
}

.why-choose-title .highlight {
    color: var(--primary-color);
    text-shadow: none;
}

.why-choose-subtitle {
    font-size: 17px;
    color: var(--gray-medium);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid rgba(0,0,0,0.04);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
    border-color: transparent;
}

.why-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.why-card-icon svg {
    width: 30px;
    height: 30px;
    color: #fff;
}

.why-card-content {
    flex: 1;
}

.why-card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 10px;
}

.why-card-text {
    font-size: 15px;
    color: var(--gray-medium);
    line-height: 1.7;
}

.why-card-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 52px;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    line-height: 1;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-card {
        padding: 30px 24px;
    }
}

@media (max-width: 600px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .why-choose-title {
        font-size: 26px;
    }
    .why-card {
        padding: 28px 22px;
    }
    .why-card-icon {
        width: 56px;
        height: 56px;
    }
    .why-card-icon svg {
        width: 26px;
        height: 26px;
    }
    .why-card-title {
        font-size: 17px;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 80px 0;
    background: var(--white-color);
}

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

.faq-item {
    background: var(--white-color);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.1);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.15);
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: var(--white-color);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--black-color);
    text-align: left;
    transition: background 0.3s ease;
    gap: 15px;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question span {
    flex: 1;
}

.faq-question svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    padding: 4px;
    background: #f0f7ff;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--primary-color);
    box-sizing: content-box;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: var(--white-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: #f8fafc;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 20px 28px 25px;
}

.faq-answer p {
    color: var(--gray-medium);
    line-height: 1.8;
    font-size: 15px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: var(--white-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.contact-card-icon {
    margin-bottom: 24px;
}

.contact-card-icon svg {
    width: 44px;
    height: 44px;
    color: var(--primary-color);
}

.contact-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black-color);
}

.contact-card-info {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-card-subinfo {
    font-size: 14px;
    color: var(--gray-medium);
    margin-bottom: 24px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn-call {
    background: var(--primary-color);
    color: var(--white-color);
}

.contact-btn-call:hover {
    background: #004494;
    transform: scale(1.05);
}

.contact-btn-whatsapp {
    background: #25D366;
    color: var(--white-color);
}

.contact-btn-whatsapp:hover {
    background: #1da851;
    transform: scale(1.05);
}

.contact-btn-email {
    background: #EA4335;
    color: var(--white-color);
}

.contact-btn-email:hover {
    background: #d33426;
    transform: scale(1.05);
}

.contact-info-extra {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px;
    background: var(--white-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-info-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-info-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.contact-info-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 4px;
}

.contact-info-box p {
    font-size: 14px;
    color: var(--gray-medium);
}

/* ============================================
   ABOUT PAGE SECTIONS
   ============================================ */
.about-mission {
    padding: 80px 0;
    background: var(--white-color);
}

.about-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--black-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text {
    font-size: 16px;
    color: var(--gray-medium);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-visual-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.about-visual-card svg {
    margin-bottom: 24px;
}

.about-visual-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 12px;
}

.about-visual-card p {
    font-size: 15px;
    color: var(--gray-medium);
}

/* Values Section */
.about-values {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--white-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-color);
}

.value-icon svg {
    width: 36px;
    height: 36px;
}

.value-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 12px;
}

.value-text {
    font-size: 15px;
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Why Choose Us */
.about-why {
    padding: 80px 0;
    background: var(--white-color);
}

.about-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.why-feature:hover {
    transform: translateX(10px);
}

.why-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.why-feature h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 6px;
}

.why-feature p {
    font-size: 14px;
    color: var(--gray-medium);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 80px 0;
    background: var(--black-color);
    color: var(--white-color);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    margin-bottom: 16px;
    font-weight: bold;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.btn-cta {
    background: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-cta:hover {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--black-color);
    color: var(--white-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 16px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
    position: relative;
}

.social-link svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.social-link:hover svg {
    color: #fff;
}
    display: block !important;
    object-fit: contain;
    opacity: 1 !important;
    visibility: visible !important;
    filter: brightness(0) invert(1);
    transition: var(--transition);
    background: transparent;
    flex-shrink: 0;
}

.social-link svg {
    fill: currentColor;
}

.social-link:hover {
    background: var(--primary-color);
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white-color);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    font-size: 16px;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    opacity: 0.7;
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* ============================================
   SPLASH SCREEN
   ============================================ */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease;
    visibility: visible;
}

.splash-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.splash-logo {
    width: 300px;
    height: auto;
    max-width: 80%;
    object-fit: contain;
    display: block;
    opacity: 0;
    animation: splashFadeIn 0.8s ease forwards;
}

.splash-loader {
    width: 30px;
    height: 30px;
    border: 3px solid var(--gray-light);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-top: 10px;
}

@keyframes splashFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

body.loaded {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Overlay de traduction */
#translate-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

#translate-overlay .translate-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
}

#translate-overlay .translate-overlay-content {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 320px;
    width: 90%;
}

.translate-spinner {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 3px solid rgba(79, 70, 229, 0.12);
    border-top-color: #4F46E5;
    animation: translate-spin 0.8s linear infinite;
}

#translate-overlay p {
    margin: 0;
    font-size: 14px;
    color: #0f172a;
    font-weight: 500;
}

@keyframes translate-spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--white-color);
    color: var(--black-color);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    font-family: "Dosis", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 16px;
    z-index: 10002;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    max-width: 350px;
}

.toast-show {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    padding: 100px 0;
    background: var(--gray-light);
    position: relative;
    z-index: 1;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 40px;
}

#map {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-color: #e0e0e0;
}

/* Location Map pour formulaire inscription */
#mapContainer {
    width: 100%;
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#mapContainer.map-container {
    height: auto;
}

#locationMap {
    width: 100% !important;
    height: 350px !important;
    min-height: 350px;
    border-radius: 12px;
    background-color: #e5e5e5;
    z-index: 1;
}

#locationMap .leaflet-control-container {
    z-index: 100;
}

/* Fix pour les tuiles Leaflet */
.leaflet-container {
    font-family: inherit;
}

.leaflet-tile-pane {
    z-index: 1;
}

.custom-marker {
    background: transparent !important;
    border: none !important;
}

/* Responsive map */
@media (max-width: 768px) {
    #locationMap {
        height: 300px !important;
        min-height: 300px;
    }
}

/* Map Wrapper avec légende */
.map-wrapper {
    position: relative;
    margin-top: 40px;
}

.map-wrapper .map-container {
    margin-top: 0;
}

/* Légende de la carte */
.map-legend {
    position: absolute;
    top: 16px;
    right: 16px;
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 180px;
}

.map-legend-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.2s ease;
}

.map-legend-close:hover {
    background: #f0f0f0;
    color: #333;
}

.map-legend-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.map-legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.legend-marker {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.legend-marker-user .legend-marker-inner {
    width: 14px;
    height: 14px;
    background: #e53935;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(229, 57, 53, 0.4);
}

.legend-marker-pro .legend-marker-inner {
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.4);
}

.map-legend-item span {
    font-size: 13px;
    color: #555;
}

.map-legend-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 11px;
    color: #888;
}

.map-legend-info svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--primary-color);
}

/* Responsive légende */
@media (max-width: 768px) {
    .map-legend {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 16px;
        width: 100%;
    }
    
    .map-legend-item {
        padding: 6px 0;
    }
}

/* ============================================
   LOCATION POPUP
   ============================================ */
.location-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.location-popup-content {
    background: var(--white-color);
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

.location-popup-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white-color);
}

.location-popup-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white-color);
}

.location-popup-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    color: var(--black-color);
    font-family: "Dosis", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
}

.location-popup-text {
    font-size: 16px;
    color: var(--gray-medium);
    margin-bottom: 32px;
    line-height: 1.6;
    font-family: "Dosis", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
}

.location-popup-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-location-accept {
    background: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: "Dosis", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
    box-shadow: var(--shadow-sm);
}

.btn-location-accept:hover {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}


.btn-location-deny {
    background: var(--gray-light);
    color: var(--black-color);
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: "Dosis", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
}

.btn-location-deny:hover {
    background: var(--gray-medium);
    color: var(--white-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

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

    .services-stat-number {
        font-size: 40px;
    }

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

@media (max-width: 768px) {
    .language-selector-desktop {
        display: none;
    }

    .btn-primary {
        display: none;
    }

    .navbar-right {
        gap: 10px;
    }

    .sidebar-menu {
        width: 280px;
    }

    .sidebar-link {
        font-size: 16px;
        padding: 16px 25px;
    }

    .sidebar-mobile-actions {
        display: flex;
    }

    .sidebar-footer {
        display: none;
    }

    .language-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero .container {
        text-align: left;
    }

    .hero-content {
        text-align: left;
    }

    .hero-title {
        font-size: 34px;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 16px;
    }

    .search-input,
    .search-select,
    .btn-search {
        border-radius: 12px;
    }

    .home-stats {
        padding: 30px 15px;
    }
    
    .home-stats-grid {
        gap: 10px;
        max-width: 100%;
    }
    
    .home-stat-card {
        width: calc(50% - 5px);
        padding: 25px 15px;
        border-radius: 12px;
    }
    
    .home-stat-number {
        font-size: 24px;
    }
    
    .home-stat-label {
        font-size: 11px;
    }

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

    .services-stats-overview {
        padding: 28px 12px;
        border-radius: 16px;
        margin-bottom: 28px;
    }

    .services-stat-number {
        font-size: 32px;
    }

    .services-stat-label {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .services-stat-divider {
        height: 44px;
    }

    .services-stat-item {
        padding: 0 10px;
    }

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

    .step::after {
        display: none;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step-card {
        padding: 35px 25px;
        padding-top: 45px;
    }

    .faq-question {
        font-size: 15px;
        padding: 18px 20px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 30px 25px;
    }

    .contact-info-extra {
        flex-direction: column;
        gap: 25px;
        padding: 30px 25px;
    }

    .about-mission-grid,
    .about-why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-title {
        font-size: 28px;
    }

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

    .value-card {
        padding: 30px 20px;
    }

    .why-feature {
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 32px;
    }

    .stat-number {
        font-size: 36px;
    }
}

.profile-title-section {
    background: var(--white-color);
    padding: 30px 0;
    border-bottom: 1px solid var(--gray-light);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.profile-title-section .container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    width: fit-content;
    margin-left: 20px;
    border-radius: 8px;
}

.btn-back:hover {
    background: rgba(79, 70, 229, 0.1);
    transform: translateX(-3px);
}

.btn-back img {
    filter: invert(18%) sepia(88%) saturate(3477%) hue-rotate(206deg) brightness(91%) contrast(106%);
    transition: var(--transition);
}

.btn-back:hover img {
    transform: translateX(-3px);
}

.profile-page-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--black-color);
    margin: 0;
    padding: 0 20px;
    text-align: left;
}

.profile-main {
    min-height: calc(100vh - 200px);
    padding-top: 40px;
}

.profile-hero {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(79, 70, 229, 0.05) 100%);
    padding: 60px 0;
    position: relative;
}

.profile-name-colored {
    color: var(--primary-color);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
    position: relative;
}

.profile-avatar-container {
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

.profile-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--white-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: var(--white-color);
}

.profile-info {
    flex: 1;
    background: var(--white-color);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    min-width: 300px;
}

.profile-name {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--black-color);
}

.profile-service {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 600;
}

.profile-rating {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.profile-location {
    font-size: 16px;
    color: var(--gray-medium);
    margin-bottom: 24px;
}

.profile-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    align-items: center;
    width: 100%;
}

.btn-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-booking {
    flex: 1;
    /* Makes the book button grow */
    background: var(--primary-color);
    color: white;
}

.btn-favorite {
    width: 48px;
    height: 48px;
    padding: 0;
    padding: 0;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .profile-info {
        padding: 20px;
        min-width: 100%;
    }
}



.btn-call {
    background: #007AFF;
    color: white;
    border-color: #007AFF;
}

.btn-call:hover {
    background: transparent;
    color: #007AFF;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background: transparent;
    color: #25D366;
}

.btn-directions {
    background: #EA4335;
    color: white;
    border-color: #EA4335;
}

.btn-directions:hover {
    background: transparent;
    color: #EA4335;
}

.profile-rating-section {
    padding: 40px 0;
    background: var(--white-color);
}

.rating-widget {
    text-align: center;
    padding: 20px 0;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.rating-stars .star {
    font-size: 40px;
    cursor: pointer;
    transition: var(--transition);
    filter: grayscale(100%);
    opacity: 0.5;
}

.rating-stars .star:hover,
.rating-stars .star.active {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.rating-text {
    font-size: 16px;
    color: var(--gray-medium);
    margin-top: 12px;
}

.profile-content {
    padding: 60px 0;
    background: var(--gray-light);
}

.profile-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.profile-card {
    background: var(--white-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.profile-card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--black-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 12px;
}

.profile-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-medium);
}

.profile-schedule {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background: var(--gray-light);
    transition: var(--transition);
}

.schedule-item:hover {
    background: rgba(79, 70, 229, 0.1);
}

.schedule-today {
    background: rgba(79, 70, 229, 0.15);
}

.schedule-day {
    font-weight: 600;
    color: var(--black-color);
    font-size: 16px;
}

.schedule-time {
    color: var(--gray-medium);
    font-size: 16px;
}

.profile-map-card {
    margin-bottom: 30px;
}

.profile-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.profile-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

@media (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

.profile-accordion {
    max-width: 1200px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white-color);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white-color);
    transition: var(--transition);
    user-select: none;
}

.accordion-header:hover {
    background: var(--gray-light);
}

.accordion-item.active .accordion-header {
    background: var(--primary-color);
    color: var(--white-color);
}

.accordion-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--black-color);
    margin: 0;
    transition: var(--transition);
}

.accordion-item.active .accordion-title {
    color: var(--white-color);
}

.accordion-icon {
    font-size: 14px;
    color: var(--gray-medium);
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--white-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 25px;
}

@media (max-width: 768px) {
    .profile-title-section {
        padding: 20px 0;
        top: 70px;
    }

    .btn-back {
        margin-left: 15px;
        padding: 8px 16px;
        font-size: 14px;
    }

    .profile-page-title {
        font-size: 32px;
        padding: 0 15px;
    }

    .accordion-header {
        padding: 16px 20px;
    }

    .accordion-title {
        font-size: 18px;
    }

    .accordion-item.active .accordion-content {
        padding: 20px;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 0 15px;
    }

    .profile-avatar {
        width: 150px;
        height: 150px;
        border: 4px solid var(--white-color);
    }

    .profile-info {
        padding: 20px;
        min-width: 100%;
    }

    .profile-name {
        font-size: 32px;
    }

    .profile-service {
        font-size: 20px;
    }

    .profile-actions {
        justify-content: center;
    }

    .profile-rating-section {
        padding: 30px 0;
    }

    .rating-stars .star {
        font-size: 32px;
    }

    .profile-card {
        padding: 25px;
    }

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

.artisan-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(79, 70, 229, 0.02) 100%);
}

.artisan-cta-card {
    background: var(--white-color);
    border-radius: 24px;
    padding: 60px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.artisan-cta-content {
    flex: 1;
    z-index: 1;
}

.artisan-cta-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--black-color);
    margin-bottom: 16px;
    line-height: 1.2;
}

.artisan-cta-text {
    font-size: 20px;
    color: var(--gray-medium);
    margin-bottom: 32px;
    line-height: 1.6;
}

.btn-cta-artisan {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-cta-artisan:hover {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.artisan-cta-icon {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366f1 100%);
    border-radius: 50%;
}

.artisan-cta-icon svg {
    width: 56px;
    height: 56px;
    color: #fff;
}

@media (max-width: 1024px) {
    .artisan-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 50px 40px;
    }

    .artisan-cta-icon {
        width: 120px;
        height: 120px;
    }

    .artisan-cta-icon svg {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .artisan-cta {
        padding: 60px 0;
    }

    .artisan-cta-card {
        padding: 40px 30px;
    }

    .artisan-cta-title {
        font-size: 32px;
    }

    .artisan-cta-text {
        font-size: 18px;
    }

    .btn-cta-artisan {
        padding: 16px 32px;
        font-size: 16px;
    }

    .artisan-cta-icon {
        width: 100px;
        height: 100px;
    }

    .artisan-cta-icon svg {
        width: 40px;
        height: 40px;
    }
}


.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero {
        min-height: 450px;
    }

    .hero-content {
        padding: 20px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .search-section {
        padding: 25px 15px;
    }

    .search-card {
        margin: 0;
    }

    .search-card-title {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .search-card-subtitle {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .search-section .search-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 12px;
        gap: 10px;
    }

    .search-section .search-input,
    .search-section .search-select {
        width: 100%;
        min-width: 100%;
        max-width: 100% !important;
        border-radius: 12px;
        padding: 14px 16px;
        font-size: 15px;
    }

    .search-section .btn-search {
        width: 100%;
        border-radius: 12px;
        padding: 14px 20px;
    }
    
    .search-bar-home .search-select {
        max-width: 100% !important;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .hero-search-fixed {
        bottom: 50px;
        padding: 0 20px;
    }

    .hero-search-fixed .container {
        margin-top: 0;
    }

    .hero-search-fixed .container {
        justify-content: flex-start;
    }

    .hero-search-fixed .search-bar {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
        gap: 10px;
        max-width: 100%;
    }

    .hero-search-fixed .search-input,
    .hero-search-fixed .search-select {
        border-radius: 12px;
        padding: 14px 20px;
        width: 100%;
        min-width: 100%;
        font-size: 16px;
    }

    .hero-search-fixed .search-select {
        width: 100%;
        min-width: 100%;
        flex: 1 1 100%;
    }

    .hero-search-fixed .btn-search {
        width: 100%;
        padding: 14px 30px;
        border-radius: 12px;
    }

    .hero-slider-dots {
        bottom: 5px;
    }

    .hero-social-fixed {
        bottom: 20px;
        right: 20px;
    }

    .hero-social-fixed .social-links {
        gap: 12px;
    }

    .hero-social-fixed .social-link {
        width: 35px;
        height: 35px;
    }

    .hero-social-fixed .social-link svg {
        width: 20px !important;
        height: 20px !important;
    }

    .btn-find-nearby {
        padding: 14px 28px;
        font-size: 14px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 400px;
    }

    .hero-content {
        padding: 15px;
    }

    .search-card-title {
        font-size: 18px;
    }

    .search-card-subtitle {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .hero-title {
        font-size: 22px;
        margin-bottom: 12px;
        margin-top: 0;
    }

    .hero-badge {
        font-size: 10px;
        padding: 6px 12px;
        margin-bottom: 10px;
    }

    .hero-features {
        gap: 8px;
        margin-top: 15px;
    }

    .hero-feature {
        padding: 6px 10px;
        font-size: 10px;
        gap: 4px;
    }

    .hero-feature svg {
        width: 12px;
        height: 12px;
    }

    .hero-subtitle {
        font-size: 13px;
        margin-bottom: 8px;
        line-height: 1.5;
    }

    .hero-features {
        gap: 6px;
        margin-top: 10px;
    }

    .hero-search-fixed {
        bottom: 40px;
        padding: 0 15px;
    }

    .hero-social-fixed {
        bottom: 15px;
        right: 15px;
    }

    .hero-social-fixed .social-link {
        width: 32px;
        height: 32px;
    }

    .hero-social-fixed .social-link svg {
        width: 18px !important;
        height: 18px !important;
    }

    .btn-find-nearby {
        padding: 12px 24px;
        font-size: 14px;
        margin-top: 12px;
    }

    .hero-search-fixed .search-input,
    .hero-search-fixed .search-select {
        width: 100%;
        min-width: 100%;
        font-size: 16px;
    }

    .hero-search-fixed .search-select {
        width: 100%;
        min-width: 100%;
        flex: 1 1 100%;
    }

    .hero-search-fixed .container {
        justify-content: flex-start;
        margin-top: 0;
    }

    .hero-slider-dots {
        bottom: 5px;
    }
}

.search-results-popup {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    min-width: 100%;
    display: none;
}

.search-results-popup-top {
    top: auto !important;
    bottom: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    transform: translateY(10px);
    position: absolute !important;
}

.search-results-popup-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block !important;
}

.search-results-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block !important;
}

.search-results-list {
    padding: 8px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-light);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--gray-light);
    transform: translateX(4px);
}

.search-result-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary-color);
}

.search-result-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--black-color);
    margin-bottom: 4px;
}

.search-result-service {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 4px;
}

.search-result-location {
    font-size: 12px;
    color: var(--gray-medium);
}

.search-result-distance {
    flex-shrink: 0;
    text-align: right;
}

.search-distance {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.search-distance-text {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-light);
    color: var(--gray-medium);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.inscription-hero {
    position: relative;
    min-height: 400px;
    background-image: url('../img/portier.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.inscription-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.inscription-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white-color);
}

.inscription-hero-title {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--white-color);
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.inscription-hero-subtitle {
    font-size: 24px;
    color: var(--white-color);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

.inscription-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.inscription-info-box {
    background: var(--white-color);
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
}

.info-box-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--black-color);
    font-weight: bold;
}

.info-box-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--gray-medium);
}

.info-box-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.info-box-list li {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 15px;
    color: var(--black-color);
    display: inline-block;
    width: 100%;
}

.info-box-list li strong {
    display: inline;
    font-weight: 600;
}

.info-item-success,
.info-item-error {
    display: inline;
}

.info-box-list li .info-dot {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    margin-top: 0;
}

.info-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
}

.info-dot.success {
    background: #25D366;
}

.info-dot.error {
    background: #F44336;
}

.info-box-warning {
    font-size: 14px;
    margin-top: 15px;
    padding: 12px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 8px;
    color: var(--black-color);
}

.inscription-form {
    background: var(--white-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-light);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--black-color);
    font-weight: bold;
}

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

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--black-color);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white-color);
}

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

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-file {
    width: 100%;
    padding: 12px;
    border: 2px dashed var(--gray-light);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.form-file:hover {
    border-color: var(--primary-color);
    background: rgba(79, 70, 229, 0.05);
}

.form-help {
    display: block;
    font-size: 14px;
    color: var(--gray-medium);
    margin-top: 8px;
}

/* Tags input container */
.langues-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: var(--white-color);
}

.checkbox-label:hover {
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
}

.checkbox-label:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(79, 70, 229, 0.05);
}

.tags-input-container {
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    padding: 12px;
    background: var(--white-color);
    transition: var(--transition);
}

.tags-input-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.tags-list:empty {
    margin-bottom: 0;
}

.tag-item,
.tags-list .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.tag-remove {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.2s;
}

.tag-remove:hover {
    background: rgba(255, 255, 255, 0.5);
}

.tags-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.tags-input-row input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.btn-add-tag {
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-add-tag:hover {
    background: var(--primary-dark);
}

.horaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.horaire-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.2s;
}

.horaire-row:hover {
    background: #e9ecef;
}

.horaire-row .jour {
    min-width: 80px;
    font-weight: 600;
    color: #212529;
    font-size: 14px;
}

.horaire-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.horaire-inputs input[type="time"] {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.horaire-inputs input[type="time"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.horaire-inputs input[type="time"]:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.horaire-separator {
    color: #6c757d;
    font-weight: 500;
}

.ferme-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6c757d;
    cursor: pointer;
    white-space: nowrap;
    margin-left: 8px;
}

.ferme-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #F44336;
    cursor: pointer;
}

.horaire-row.ferme {
    background: #ffebee;
}

.horaire-row.ferme .jour {
    color: #c62828;
}

.location-warning {
    background: #FFEBEE;
    border-left: 4px solid #F44336;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.location-warning p {
    color: #C62828;
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.btn-location {
    background: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-location:hover {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-location:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.location-status {
    display: inline-block;
    margin-left: 15px;
    font-size: 14px;
    font-weight: 600;
}

.location-status.success {
    color: #25D366;
}

.location-status.error {
    color: #F44336;
}

.location-info {
    margin-top: 20px;
    padding: 20px;
    background: var(--gray-light);
    border-radius: 12px;
}

.coordinates-display {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray-medium);
}

.coordinates-display strong {
    color: var(--black-color);
    font-weight: 600;
}

.location-map {
    width: 100%;
    height: 0;
    min-height: 0;
    border-radius: 12px;
    overflow: hidden;
    transition: height 0.3s ease;
    margin-top: 15px;
    position: relative;
    background: var(--gray-light);
}

.location-map.visible {
    height: 300px;
    min-height: 300px;
}

.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn-submit {
    background: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    padding: 16px 48px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

/* .btn-submit:hover - Hover désactivé */

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Modal de chargement */
.loading-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.loading-modal.active {
    display: flex;
}

.loading-content {
    background: white;
    border-radius: 20px;
    padding: 40px 50px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.loading-spinner {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.spinner-svg {
    width: 100%;
    height: 100%;
    animation: spinnerRotate 1.5s linear infinite;
}

.spinner-svg circle {
    stroke: var(--primary-color);
    stroke-linecap: round;
    stroke-dasharray: 90, 150;
    stroke-dashoffset: 0;
    animation: spinnerDash 1.5s ease-in-out infinite;
}

/* Small spinner for buttons */
.spinner-small {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spinnerRotate 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spinnerRotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinnerDash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.loading-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
}

.loading-content p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 24px;
}

.loading-steps {
    text-align: left;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #adb5bd;
    font-size: 14px;
    border-bottom: 1px solid #f1f3f5;
    transition: all 0.3s ease;
}

.loading-step:last-child {
    border-bottom: none;
}

.loading-step .step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.loading-step .step-icon svg {
    opacity: 0;
    transition: opacity 0.3s;
    width: 24px;
    height: 24px;
}

.loading-step.active {
    color: var(--primary-color);
}

.loading-step.active .step-icon {
    background: rgba(79, 70, 229, 0.1);
    animation: stepPulse 1s infinite;
}

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

.loading-step.completed {
    color: #25D366;
}

.loading-step.completed .step-icon {
    background: #25D366;
    animation: none;
}

.loading-step.completed .step-icon svg {
    opacity: 1;
    color: white;
}

.btn-cancel {
    background: transparent;
    color: var(--gray-medium);
    border: 2px solid var(--gray-medium);
    padding: 16px 48px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cancel:hover {
    background: var(--gray-medium);
    color: var(--white-color);
    transform: translateY(-2px);
}

.btn-save-location {
    background: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-save-location:hover:not(:disabled) {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-save-location:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.save-location-status {
    display: inline-block;
    margin-left: 15px;
    font-size: 14px;
    font-weight: 600;
}

.save-location-status.success {
    color: #25D366;
}

@media (max-width: 768px) {
    .inscription-hero {
        min-height: 300px;
        padding: 60px 0;
    }

    .inscription-hero-title {
        font-size: 36px;
    }

    .inscription-hero-subtitle {
        font-size: 18px;
    }

    .inscription-section {
        padding: 60px 0;
    }


    .inscription-form {
        padding: 25px 20px;
    }

    .form-section {
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .form-section-title {
        font-size: 20px;
    }

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

    .form-actions {
        flex-direction: column;
    }

    .btn-submit,
    .btn-cancel {
        width: 100%;
    }
}

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary-color);
    z-index: 10001;
    transition: width 0.1s ease;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.3);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: rgba(79, 70, 229, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.scroll-to-top-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .scroll-to-top-icon {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   BOOKING SYSTEM STYLES
   ============================================ */

/* Booking Button */
.btn-booking {
    background: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.btn-booking:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-booking img {
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.btn-booking:hover img {
    /* Filter to match #4F46E5 (Primary Color) from black */
    filter: invert(18%) sepia(88%) saturate(3477%) hue-rotate(206deg) brightness(91%) contrast(106%);
}

/* Booking Modal */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.booking-modal.active {
    display: flex;
    opacity: 1;
}

.booking-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.booking-modal-content {
    position: relative;
    margin: auto;
    background: var(--white-color);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: bookingSlideIn 0.3s ease-out;
}

@keyframes bookingSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

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

.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--gray-light);
}

.booking-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--black-color);
    margin: 0;
}

.booking-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
    border-radius: 8px;
}

.booking-modal-close:hover {
    background: var(--gray-light);
    transform: rotate(90deg);
}

.booking-modal-body {
    padding: 28px;
}

.booking-summary {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.booking-artisan-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.booking-artisan-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.booking-artisan-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--black-color);
    margin: 0 0 4px 0;
}

.booking-artisan-service {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

/* Booking Form */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--black-color);
}

.booking-input,
.booking-textarea {
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white-color);
}

.booking-input:focus,
.booking-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.booking-textarea {
    resize: vertical;
    min-height: 100px;
}

.booking-error {
    background: #fee;
    color: #c33;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.booking-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.btn-booking-cancel,
.btn-booking-confirm {
    flex: 1;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid;
}

.btn-booking-cancel {
    background: var(--white-color);
    color: var(--gray-medium);
    border-color: var(--gray-light);
}

.btn-booking-cancel:hover {
    background: var(--gray-light);
    border-color: var(--gray-medium);
    color: var(--black-color);
}

.btn-booking-confirm {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0047AB 100%);
    color: var(--white-color);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-booking-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* Booking Toast */
.booking-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: var(--white-color);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    transition: bottom 0.3s ease;
    max-width: 500px;
    width: 90%;
}

.booking-toast.show {
    bottom: 32px;
}

.booking-toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .booking-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .booking-modal-header {
        padding: 20px;
    }

    .booking-modal-title {
        font-size: 20px;
    }

    .booking-modal-body {
        padding: 20px;
    }

    .booking-form-actions {
        flex-direction: column;
    }

    .btn-booking-cancel,
    .btn-booking-confirm {
        width: 100%;
    }

    .profile-actions {
        flex-wrap: wrap;
    }
}

/* ... Previous styles ... */

.client-badges {
    margin-top: 5px;
}

/* Consolidated with .badge-verified below */

.artisan-meta {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.city-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--gray-medium);
}

.booking-card-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-view {
    background: var(--gray-light);
    color: var(--black-color);
}

.btn-view:hover {
    background: #e0e0e0;
}

.btn-cancel-res {
    background: #fff3cd;
    color: #856404;
}

.btn-cancel-res:hover {
    background: #ffeeba;
}

.btn-delete {
    background: #ffebee;
    color: #c62828;
    margin-left: auto;
    /* Push delete to right if possible */
}

.btn-delete:hover {
    background: #ffcdd2;
}

.booking-card.cancelled {
    background: #fafafa;
    border-style: dashed;
}

.booking-card.cancelled .booking-artisan h3,
.booking-card.cancelled .booking-info-row {
    color: #999;
}

.booking-desc {
    font-style: italic;
    color: var(--gray-medium);
    margin-top: 5px;
    font-size: 13px;
}

/* ============================================
   CLIENT PROFILE PAGE
   ============================================ */
.client-profile-page {
    padding-top: 100px;
    padding-bottom: 50px;
    background-color: var(--gray-light);
    min-height: 100vh;
}

.profile-header-card {
    background: var(--white-color);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.client-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.client-info h1 {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--black-color);
}

.client-info p {
    color: var(--gray-medium);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr 2fr;
    }
}

.dashboard-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    background: var(--white-color);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.stat-box:hover {
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray-medium);
    font-size: 14px;
}

.booking-history-section {
    background: var(--white-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.booking-history-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 15px;
}

.booking-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-card {
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
}

.booking-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.booking-artisan h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.service-tag {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.booking-status {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: #FFF3CD;
    color: #856404;
}

.booking-card-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.booking-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-medium);
    font-size: 14px;
}

.booking-info-row svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.empty-state {
    text-align: center;
    padding: 40px;
}

.empty-state svg {
    width: 48px;
    height: 48px;
    color: var(--gray-light);
    margin-bottom: 15px;
    display: block;
}

@media (max-width: 768px) {
    .client-profile-page {
        padding-top: 80px;
    }

    .profile-header-card {
        flex-direction: column;
        text-align: center;
    }

    .dashboard-stats {
        flex-direction: row;
        justify-content: center;
    }
}

/* ============================================
   FAVORITES & MOBILE IMPROVEMENTS
   ============================================ */

/* Responsive Stats Grid */
@media (max-width: 480px) {
    .dashboard-stats {
        flex-direction: row;
        gap: 15px;
    }

    .stat-box {
        flex: 1;
        padding: 15px;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Remove text decoration from primary button link */
.empty-state .btn-primary {
    text-decoration: none;
}

/* Favorite Button Styles */
.btn-favorite {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
    margin-right: 10px;
    /* Space between heart and book button */
}

.btn-favorite:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.btn-favorite img {
    width: 24px;
    height: 24px;
    transition: var(--transition);
    filter: grayscale(100%);
    opacity: 0.6;
}

.btn-favorite.active {
    border-color: #ff4081;
    background: #fff0f5;
}

.btn-favorite.active img {
    filter: none;
    opacity: 1;
    content: url('https://cdn-icons-png.flaticon.com/512/833/833472.png');
    /* Red heart */
}

/* Favorites Section in Client Profile */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.favorite-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--gray-light);
}

.favorite-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.favorite-card img.artisan-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.favorite-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.favorite-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
}


/* ============================================
   DASHBOARD DESIGN SYSTEM (NEW)
   ============================================ */

.dashboard-body {
    background-color: #f8f9fa;
    /* Light gray background for contrast */
}

.dashboard-main {
    padding-top: 100px;
    padding-bottom: 60px;
}

/* Welcome Banner */
.welcome-banner {
    background: white;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
}

.welcome-text h1 {
    font-size: 28px;
    margin-bottom: 5px;
    color: var(--black-color);
}

.welcome-text p {
    color: var(--gray-medium);
    font-size: 16px;
}

.welcome-avatar {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.welcome-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.badge-verified {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 14px;
    z-index: 2;
    border: 1px solid #c8e6c9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-verified img {
    width: 12px;
    height: 12px;
    object-fit: contain;
}

/* Stats Overview */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card.blue .stat-icon-wrapper {
    background: #e3f2fd;
}

.stat-card.orange .stat-icon-wrapper {
    background: #fff3e0;
}

.stat-card.red .stat-icon-wrapper {
    background: #ffebee;
}

.stat-icon-wrapper img {
    width: 30px;
    height: 30px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--black-color);
    line-height: 1.2;
}

.stat-title {
    font-size: 14px;
    color: var(--gray-medium);
}

/* Dashboard Content Grid */
.dashboard-content-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    /* Favorites fixed width, history fills rest */
    gap: 30px;
}

.dashboard-section {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    height: fit-content;
}

.section-header h2 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-light);
}

/* Fav Grid Dashboard */
.favorites-grid-dashboard {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column in side panel */
    gap: 15px;
}

.empty-placeholder {
    text-align: center;
    padding: 30px 0;
    color: var(--gray-medium);
}

.btn-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Booking List Dashboard */
.booking-list-dashboard {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-card {
    border: 1px solid #f0f0f0;
    background: #fff;
    /* Reset outdated styles if any */
}

/* Responsive Dashboard */
@media (max-width: 900px) {
    .dashboard-content-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
    }
}

@media (max-width: 768px) {
    .dashboard-main {
        padding-top: 80px;
    }

    .stats-overview {
        grid-template-columns: 1fr 1fr;
        /* 2 cols */
    }

    .stat-card:last-child {
        grid-column: span 2;
        /* Full width for 3rd card */
    }

    .welcome-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .welcome-avatar {
        order: -1;
    }

    /* Avatar on top */
}

@media (max-width: 480px) {
    .stats-overview {
        display: flex;
        overflow-x: auto;
        padding-bottom: 15px;
        /* Space for scrollbar */
        gap: 15px;
    }

    .stat-card {
        min-width: 200px;
        /* Fixed width for scrolling */
    }
}

.inscription-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inscription-modal.active {
    display: flex;
    opacity: 1;
}

.inscription-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.inscription-modal-content {
    position: relative;
    margin: auto;
    background: var(--white-color);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: inscriptionSlideIn 0.3s ease-out;
    overflow: hidden;
}

@keyframes inscriptionSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.inscription-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
    border-radius: 8px;
    z-index: 1;
}

.inscription-modal-close:hover {
    background: var(--gray-light);
    transform: rotate(90deg);
}

.inscription-modal-body {
    padding: 50px 40px 40px;
    text-align: center;
}

.inscription-modal-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(79, 70, 229, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.inscription-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 16px;
}

.inscription-modal-text {
    font-size: 16px;
    color: var(--gray-medium);
    line-height: 1.6;
    margin-bottom: 32px;
}

.btn-inscription-contact {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-inscription-contact:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .inscription-modal-content {
        width: 95%;
        max-width: none;
    }

    .inscription-modal-body {
        padding: 40px 30px 30px;
    }

    .inscription-modal-title {
        font-size: 24px;
    }

    .inscription-modal-text {
        font-size: 14px;
    }
}

/* ============================================
   NOUVELLES CARTES PROFESSIONNELS
   ============================================ */
.pro-card-new {
    background: var(--white-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pro-card-new:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pro-card-header-new {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(79, 70, 229, 0.02) 100%);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pro-avatar-new {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--white-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: var(--gray-light);
    flex-shrink: 0;
}

.pro-avatar-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pro-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: var(--gray-light);
}

.pro-info-new {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pro-name-new {
    font-size: 18px;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 4px;
}

.pro-metier-new {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pro-metier-new svg {
    width: 12px;
    height: 12px;
    opacity: 0.7;
}

.pro-domaine-new {
    color: var(--gray-medium);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pro-domaine-new svg {
    width: 11px;
    height: 11px;
    opacity: 0.6;
}

.pro-dispo-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.pro-card-body-new {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pro-detail-new {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--gray-medium);
}

.pro-detail-icon-new {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.pro-detail-icon-new svg {
    width: 16px;
    height: 16px;
}

.pro-detail-icon-new svg {
    width: 14px;
    height: 14px;
}

/* Indicateur de distance */
.pro-distance-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark, #3730A3) 100%);
    color: white;
    font-size: 13px;
    font-weight: 500;
}

.pro-distance-indicator svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.pro-distance-indicator strong {
    font-weight: 700;
}

/* État sans GPS - cliquable */
.pro-distance-indicator.pro-distance-no-gps {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pro-distance-indicator.pro-distance-no-gps:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark, #3730A3) 100%);
}

/* Indicateur de statut horaire dans le card body */
.pro-schedule-detail {
    margin-top: 4px;
}

.pro-schedule-detail.open span:last-child {
    color: #25D366;
    font-weight: 600;
}

.pro-schedule-detail.open .pro-detail-icon-new {
    color: #25D366;
}

.pro-schedule-detail.closing-soon span:last-child {
    color: #FF9800;
    font-weight: 600;
}

.pro-schedule-detail.closing-soon .pro-detail-icon-new {
    color: #FF9800;
}

.pro-schedule-detail.opening-soon span:last-child {
    color: #2196F3;
    font-weight: 600;
}

.pro-schedule-detail.opening-soon .pro-detail-icon-new {
    color: #2196F3;
}

.pro-schedule-detail.closed span:last-child {
    color: #e74c3c;
    font-weight: 600;
}

.pro-schedule-detail.closed .pro-detail-icon-new {
    color: #e74c3c;
}

.pro-distance-new {
    margin-left: auto;
}

.pro-langues-new {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--gray-medium);
}

.pro-langues-new svg {
    width: 14px;
    height: 14px;
    color: var(--primary-color);
    opacity: 0.6;
}

.pro-langue-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1;
}

.pro-langue-badge.lang-fr {
    background: #3B5998;
}

.pro-langue-badge.lang-en {
    background: #C8102E;
}

.pro-langue-badge.lang-pd {
    background: #009639;
}

.pro-tags-new {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.pro-tag-new {
    background: var(--gray-light);
    color: var(--gray-medium);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.pro-tag-more {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
}

.pro-card-footer-new {
    padding: 16px 20px;
    background: var(--gray-light);
    margin-top: auto;
}

.btn-voir-profil-new {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s ease;
}

.btn-voir-profil-new:hover {
    background: var(--primary-dark);
}

/* PAGINATION */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 0 16px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover:not(.disabled) {
    background: var(--primary-color);
    color: #fff;
}

.pagination-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: #d1d5db;
    color: #9ca3af;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--text-color);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-num:hover {
    background: #EEF2FF;
    color: var(--primary-color);
}

.pagination-num.active {
    background: var(--primary-color);
    color: #fff;
}

.pagination-dots {
    padding: 0 4px;
    color: #9ca3af;
    font-weight: 600;
}

@media (max-width: 600px) {
    .pagination-container {
        gap: 8px;
        padding: 24px 0 12px;
    }
    .pagination-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    .pagination-num {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .pro-card-header-new {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }

    .pro-info-new {
        width: 100%;
    }

    .pro-name-new {
        font-size: 17px;
        margin-bottom: 2px;
    }

    .pro-metier-new {
        display: block;
        font-size: 13px;
        margin-bottom: 2px;
    }

    .pro-domaine-new {
        display: block;
        font-size: 12px;
    }
    
    .pro-dispo-badge {
        margin-top: 8px;
    }
    
    .pro-detail-new {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .pro-distance-new {
        margin-left: 0;
        width: 100%;
        text-align: left;
    }
    
    .pro-tags-new {
        justify-content: flex-start;
    }
}