/* ============================================
   DAR SINO-TUNISIENNE EL GHABET
   Premium site CSS — Mavis quality
   ============================================ */

:root {
    --primary: #1B5E20;
    --primary-dark: #0D3D14;
    --primary-light: #E8F5E9;
    --secondary: #C62828;
    --accent: #F57C00;
    --accent-light: #FFB74D;
    --turquoise: #00838F;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E0E0E0;
    --gray-500: #9E9E9E;
    --gray-700: #616161;
    --gray-900: #1A1A1A;
    --gradient-primary: linear-gradient(135deg, #1B5E20 0%, #2E7D32 60%, #388E3C 100%);
    --gradient-accent: linear-gradient(135deg, #F57C00 0%, #FB8C00 100%);
    --gradient-secondary: linear-gradient(135deg, #C62828 0%, #D32F2F 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 36px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover { color: var(--accent); }

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

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

/* ============================================
   LANGUAGE SWITCHER (floating) - 4 languages
   ============================================ */
.lang-switcher {
    position: fixed;
    top: 90px;
    right: 24px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 998;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-100);
}

.lang-btn {
    padding: 10px 16px;
    border: none;
    background: white;
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--gray-100);
    text-align: center;
    min-width: 70px;
    letter-spacing: 0.5px;
}

.lang-btn:last-child { border-bottom: none; }

.lang-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateX(-2px);
}

.lang-btn.active {
    background: var(--gradient-primary);
    color: white;
}

body.rtl .lang-switcher {
    right: auto;
    left: 24px;
}

body.rtl .lang-btn:hover {
    transform: translateX(2px);
}

/* RTL support for Arabic */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .hero-content { text-align: center; }
body.rtl .nav-links { direction: ltr; }
body.rtl .invest-card li { flex-direction: row-reverse; }
body.rtl .contact-item { flex-direction: row-reverse; }
body.rtl .timeline { padding-right: 0; }
body.rtl .timeline-item { padding-left: 0; padding-right: 70px; }
body.rtl .timeline::before { left: auto; right: 24px; }
body.rtl .timeline-dot { left: auto; right: 8px; }
body.rtl .gallery-item-overlay h4,
body.rtl .gallery-item-overlay p { text-align: right; }
body.rtl .team-contact { text-align: right; }
body.rtl .form-group input,
body.rtl .form-group select,
body.rtl .form-group textarea { text-align: right; }
body.rtl .form-group label { text-align: right; }
body.rtl .concept-grid,
body.rtl .team-grid,
body.rtl .investment-grid,
body.rtl .contact-grid { direction: rtl; }
body.rtl .hero-stats { direction: ltr; }
body.rtl .numbers-grid { direction: ltr; }

/* Better font for Arabic */
body.rtl, body.rtl p, body.rtl h1, body.rtl h2, body.rtl h3, body.rtl h4 {
    font-family: 'Cairo', 'Noto Sans SC', sans-serif;
}

body.zh, body.zh p, body.zh h1, body.zh h2, body.zh h3, body.zh h4 {
    font-family: 'Noto Sans SC', 'Inter', sans-serif;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 18px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-logo {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-brand-name {
    font-weight: 900;
    color: var(--primary);
    font-size: 20px;
    letter-spacing: 1px;
}

.nav-brand-zh {
    font-size: 12px !important;
    color: var(--secondary) !important;
    font-weight: 600;
}

.nav-brand .zh {
    font-size: 14px;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

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

.nav-cta {
    background: var(--gradient-accent);
    color: white !important;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-weight: 700 !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(245, 124, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(198, 40, 40, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    opacity: 0.4;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 183, 77, 0.2);
    color: var(--accent-light);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 183, 77, 0.3);
}

.hero h1 {
    color: white;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.05;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-logo {
    height: 140px;
    width: auto;
    margin: 0 auto 24px;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.95);
    padding: 12px;
}

.hero-slogan {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--accent-light);
    margin-bottom: 8px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 2px;
}

.hero-slogan-zh {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero .zh-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: var(--accent-light);
    margin-bottom: 24px;
    font-weight: 700;
}

.hero p {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: rgba(255,255,255,0.95);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 48px;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 24px 16px;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.hero-stat-num {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 8px 24px rgba(245, 124, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(245, 124, 0, 0.5);
    color: white;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    transform: translateY(-2px);
}

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.1;
}

.section-title .zh {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--secondary);
    margin-bottom: 16px;
    display: block;
}

.section-title p {
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto;
    font-size: 17px;
}

/* ============================================
   CONCEPT (4 pillars)
   ============================================ */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.pillar {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.pillar::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.pillar:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pillar:hover::before { transform: scaleX(1); }

.pillar-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: white;
}

.pillar-1 .pillar-icon { background: var(--gradient-primary); }
.pillar-2 .pillar-icon { background: var(--gradient-secondary); }
.pillar-3 .pillar-icon { background: var(--gradient-accent); }
.pillar-4 .pillar-icon { background: linear-gradient(135deg, #00838F, #00ACC1); }

.pillar h3 {
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--gray-900);
}

.pillar .pillar-zh {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 16px;
}

.pillar p {
    color: var(--gray-700);
    line-height: 1.6;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    background: var(--gray-50);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

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

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 4px;
}

.gallery-item-overlay p {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}

/* ============================================
   PROGRESS (Avancement)
   ============================================ */
.progress {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.progress::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(245, 124, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(198, 40, 40, 0.1) 0%, transparent 40%);
    z-index: 1;
}

.progress .container { position: relative; z-index: 2; }

.progress .section-tag { color: var(--accent-light); }

.progress .section-title h2 { color: white; }
.progress .section-title p { color: rgba(255,255,255,0.9); }

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    padding-bottom: 32px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: 8px;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 2;
}

.timeline-item.completed .timeline-dot {
    background: var(--accent);
    border-color: var(--accent);
}

.timeline-item.in-progress .timeline-dot {
    background: var(--secondary);
    border-color: var(--secondary);
    animation: pulse 2s infinite;
}

.timeline-item.upcoming .timeline-dot {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.5); }
    50% { box-shadow: 0 0 0 12px rgba(198, 40, 40, 0); }
}

.timeline-content {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255,255,255,0.12);
    transform: translateX(8px);
}

.timeline-content h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 4px;
}

.timeline-content .zh {
    color: var(--accent-light);
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.timeline-content p {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.5;
}

.timeline-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.timeline-item.completed .timeline-status {
    background: rgba(76, 175, 80, 0.3);
    color: #A5D6A7;
}

.timeline-item.in-progress .timeline-status {
    background: rgba(245, 124, 0, 0.3);
    color: var(--accent-light);
}

.timeline-item.upcoming .timeline-status {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
}

/* ============================================
   NUMBERS
   ============================================ */
.numbers {
    background: white;
}

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

.number-card {
    text-align: center;
    padding: 32px 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.number-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.number-card-num {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.number-card:nth-child(2) .number-card-num {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.number-card:nth-child(3) .number-card-num {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.number-card:nth-child(4) .number-card-num {
    background: linear-gradient(135deg, #00838F, #00ACC1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.number-card-label {
    color: var(--gray-700);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* ============================================
   TEAM
   ============================================ */
.team {
    background: var(--gray-50);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}

.team-card.zh .team-avatar { background: var(--gradient-secondary); }

.team-card h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.team-card .role {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.team-card .role-zh {
    color: var(--secondary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

.team-card p {
    color: var(--gray-700);
    margin-bottom: 16px;
    line-height: 1.6;
    text-align: left;
}

.team-card.zh p {
    font-family: 'Noto Sans SC', sans-serif;
    text-align: left;
}

.team-contact {
    border-top: 1px solid var(--gray-100);
    padding-top: 16px;
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.8;
}

/* ============================================
   INVESTMENT
   ============================================ */
.investment {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.investment::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(245, 124, 0, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.investment .container { position: relative; z-index: 2; }

.investment .section-tag { color: var(--accent-light); }
.investment .section-title h2 { color: white; }
.investment .section-title p { color: rgba(255,255,255,0.9); }

.investment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.invest-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.invest-card h3 {
    color: var(--accent-light);
    font-size: 18px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.invest-card ul {
    list-style: none;
}

.invest-card li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.95);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.invest-card li:last-child { border-bottom: none; }

.invest-card li::before {
    content: '✓';
    color: var(--accent-light);
    font-weight: 700;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: rgba(245, 124, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.invest-card.zh li {
    font-family: 'Noto Sans SC', sans-serif;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-700);
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.6;
}

/* QR Codes Section */
.qr-section {
    margin: 32px 0;
    padding: 24px;
    background: linear-gradient(135deg, #f8fdf8, #f0f9f0);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--primary-light);
}

.qr-intro {
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 20px !important;
}

.qr-codes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.qr-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

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

.qr-image {
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0 auto 12px;
    display: block;
    border-radius: var(--radius-sm);
}

.qr-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qr-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
}

.qr-id {
    color: var(--gray-700);
    font-size: 13px;
    font-family: 'Courier New', monospace;
}

body.rtl .qr-card {
    direction: ltr;
}

/* Gallery render items (architectural renders) */
.gallery-item-render {
    border: 2px solid var(--accent);
    position: relative;
}

.gallery-item-render::before {
    content: "RENDU 3D";
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 3;
}

/* Gallery sections (Current vs Future) */
.gallery-section {
    margin-bottom: 48px;
}

.gallery-section:last-child {
    margin-bottom: 0;
}

.gallery-section-title {
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.gallery-badge {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gallery-badge.current {
    background: var(--primary);
    color: white;
}

.gallery-badge.future {
    background: var(--accent);
    color: white;
}

.gallery-section-zh {
    font-size: 13px;
    color: var(--gray-700);
    font-weight: 500;
}

/* Current section has slight sepia tint */
.gallery-section:first-of-type .gallery-item::after {
    content: "PHOTO RÉELLE";
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 3;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item-content .label {
    color: var(--gray-500);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-item-content .value {
    color: var(--gray-900);
    font-weight: 600;
    font-size: 16px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    color: var(--gray-900);
    background: var(--gray-50);
    transition: all 0.2s ease;
}

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

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

.form-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Contact buttons (WhatsApp + WeChat) */
.contact-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.contact-btn-icon {
    font-size: 18px;
}

.contact-btn-text {
    font-size: 13px;
}

.contact-btn.whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.contact-btn.whatsapp:hover {
    background: #1DAB54;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.contact-btn.wechat {
    background: #07C160;
    color: white;
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.3);
}

.contact-btn.wechat:hover {
    background: #04A04C;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(7, 193, 96, 0.4);
}

.form-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 12px;
    margin-top: 12px;
    font-style: italic;
}

/* WeChat Modal */
#wechat-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wechat-modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.wechat-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray-500);
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.wechat-modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.wechat-modal-content h3 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 12px;
    padding-right: 32px;
}

.wechat-modal-content p {
    color: var(--gray-700);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.wechat-id {
    background: var(--primary-light);
    color: var(--primary);
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 16px !important;
    margin-bottom: 12px !important;
}

.wechat-message-box {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 13px;
    resize: vertical;
    margin-bottom: 12px;
    color: var(--gray-700);
}

.wechat-copy-btn {
    width: 100%;
    background: #07C160;
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background 0.2s ease;
}

.wechat-copy-btn:hover {
    background: #04A04C;
}

.wechat-note {
    color: var(--gray-500) !important;
    font-size: 12px !important;
    text-align: center;
    margin: 0 !important;
}

/* ============================================
   LIGHTBOX (Full-screen image viewer)
   ============================================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
    z-index: 100001;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 100001;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    text-align: center;
    max-width: 80vw;
}

.lightbox-caption strong {
    color: var(--accent-light);
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

.lightbox-counter {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Make gallery items clickable */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.02);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 64px 0 24px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    color: white;
}

.footer-logo {
    height: 60px;
    width: auto;
    border-radius: 8px;
}

.footer-brand-name {
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.footer-brand .zh {
    display: block;
    font-size: 14px;
    color: var(--accent-light);
    margin-top: 4px;
    font-weight: 700;
}

.footer-slogan {
    color: var(--accent-light);
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    margin-bottom: 12px;
}

footer p { color: rgba(255,255,255,0.7); line-height: 1.6; font-size: 14px; }

footer h4 {
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: color 0.2s ease;
}
footer ul li a:hover { color: var(--accent-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .concept-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .investment-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 16px;
    }
    section { padding: 64px 0; }
    .hero { padding: 100px 0 60px; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .numbers-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .lang-switcher { top: 80px; right: 12px; }
}
