/*!
 * Portfolio Website - Stylesheet
 * © 2025 Haythem Rehouma, Ph.D.
 * Medical AI Solutions Architect
 * All Rights Reserved
 * 
 * haythemrehouma.com
 */

/* ========================================
   Global Styles & Variables
   ======================================== */

:root {
    --primary-color: #0066ff;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    --dark-bg: #0a0a0f;
    --darker-bg: #05050a;
    --card-bg: #151520;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo-bracket {
    color: var(--primary-color);
}

.logo-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    bottom: -10%;
    left: -10%;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--gradient-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-subtitle-pro {
    color: var(--accent-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(0, 102, 255, 0.5);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-tertiary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-tertiary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.hero-image {
    animation: fadeInRight 1s ease-out;
}

/*
.image-container {
    position: relative;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    max-height: 600px;
}
    */

    .image-container {
        position: relative;
        width: 200%;
        max-width: 620px;             /* limite la largeur pour ne pas qu’elle devienne géante */
    }
    
    .image-container img {
        display: block;
        width: 100%;                  /* responsive */
        height: auto;                 /* garde les proportions */
        border-radius: 20px;
        box-shadow: var(--shadow-lg);
        object-fit: contain;          /* NE coupe plus l’image */
        max-height: none;             /* enlève la limite qui tronquait */
    }

.floating-card {
    position: absolute;
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: floatCard 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.card-1 {
    top: 10%;
    right: -2%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: -3%;
    animation-delay: 1s;
}

.card-3 {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.card-4 {
    top: 25%;
    left: -5%;
    animation-delay: 0.5s;
}

.card-5 {
    bottom: 35%;
    right: -3%;
    animation-delay: 1.5s;
}

.card-6 {
    bottom: 5%;
    left: -5%;
    animation-delay: 2.5s;
}

.card-7 {
    top: 50%;
    left: -6%;
    animation-delay: 3s;
}

.card-8 {
    bottom: 15%;
    right: -4%;
    animation-delay: 3.5s;
}

.card-9 {
    top: 5%;
    left: 15%;
    animation-delay: 4s;
}

.card-4 {
    top: 25%;
    left: -5%;
    animation-delay: 0.5s;
}

.card-5 {
    bottom: 35%;
    right: -3%;
    animation-delay: 1.5s;
}

.card-6 {
    bottom: 5%;
    left: -5%;
    animation-delay: 2.5s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   Section Styles
   ======================================== */

section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header.left {
    text-align: left;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* ========================================
   About Section
   ======================================== */

.about {
    background: var(--darker-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
    min-height: 500px;
    border-radius: 20px;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 102, 255, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover .about-image-overlay {
    opacity: 1;
}

.overlay-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-section-label {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.about-section-label:first-of-type {
    margin-top: 0;
}

.about-intro {
    font-size: 1.35rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.about-list li {
    padding: 0.75rem 0 0.75rem 1.5rem;
    color: var(--text-secondary);
    position: relative;
    line-height: 1.6;
}

.about-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.highlight-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.highlight-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* ========================================
   Skills Showcase Section - NEW GRID DESIGN
   ======================================== */

.skills-showcase {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.skills-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.skills-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 50%, rgba(6, 182, 212, 0.05) 100%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    animation: fadeInGrid 0.8s ease-out;
}

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

.skill-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(21, 21, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-height: 60px;
}

.skill-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.skill-badge:hover::before {
    left: 100%;
}

.skill-badge:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(21, 21, 32, 0.9);
    border-color: rgba(0, 102, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.3);
}

.skill-badge i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    align-self: flex-start;
    margin-top: 0.1rem;
}

.skill-badge:hover i {
    transform: scale(1.2) rotate(5deg);
}

.skill-badge span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: normal;
    line-height: 1.3;
    word-break: break-word;
    position: relative;
    z-index: 2;
}

/* Tech badges */
.skill-badge.tech {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
}

.skill-badge.tech:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.3);
}

.skill-badge.tech i {
    color: var(--accent-color);
}

/* Staggered animation on scroll - FIXED */
.skill-badge {
    animation: fadeInBadge 0.6s ease-out forwards;
    opacity: 1;
}

.skill-badge:nth-child(1) { animation-delay: 0s; }
.skill-badge:nth-child(2) { animation-delay: 0.05s; }
.skill-badge:nth-child(3) { animation-delay: 0.1s; }
.skill-badge:nth-child(4) { animation-delay: 0.15s; }
.skill-badge:nth-child(5) { animation-delay: 0.2s; }
.skill-badge:nth-child(6) { animation-delay: 0.25s; }
.skill-badge:nth-child(7) { animation-delay: 0.3s; }
.skill-badge:nth-child(8) { animation-delay: 0.35s; }
.skill-badge:nth-child(9) { animation-delay: 0.4s; }
.skill-badge:nth-child(10) { animation-delay: 0.45s; }
.skill-badge:nth-child(11) { animation-delay: 0.5s; }
.skill-badge:nth-child(12) { animation-delay: 0.55s; }
.skill-badge:nth-child(13) { animation-delay: 0.6s; }
.skill-badge:nth-child(14) { animation-delay: 0.65s; }
.skill-badge:nth-child(15) { animation-delay: 0.7s; }
.skill-badge:nth-child(16) { animation-delay: 0.75s; }

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

/* ========================================
   Expertise Section
   ======================================== */

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

.expertise-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.expertise-card.featured {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(124, 58, 237, 0.1));
    border-color: var(--primary-color);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.expertise-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.skill-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ========================================
   Tech Stack Section
   ======================================== */

.tech-stack {
    background: var(--darker-bg);
}

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

.tech-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-tag {
    background: var(--card-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: default;
}

.tech-tag:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ========================================
   Projects Section
   ======================================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 102, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 60px;
    height: 60px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.project-link:hover {
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: rgba(0, 102, 255, 0.2);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.project-links {
    display: flex;
    gap: 0.75rem;
    margin: 1.25rem 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.publication-btn,
.pdf-btn,
.scholar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

/* Sensors (MDPI) - Official MDPI Green */
.project-card:nth-child(1) .publication-btn {
    background: linear-gradient(135deg, #3fa54a, #4caf50);
    color: white;
    border-color: #3fa54a;
}

.project-card:nth-child(1) .publication-btn:hover {
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(63, 165, 74, 0.5);
}

/* ScienceDirect - Official Elsevier Dark Blue */
.project-card:nth-child(2) .publication-btn {
    background: linear-gradient(135deg, #0c3a6d, #1565c0);
    color: white;
    border-color: #0c3a6d;
}

.project-card:nth-child(2) .publication-btn:hover {
    background: linear-gradient(135deg, #082952, #0d47a1);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(12, 58, 109, 0.5);
}

/* IEEE Xplore - Dark Red */
.project-card:nth-child(3) .publication-btn {
    background: linear-gradient(135deg, #b71c1c, #d32f2f);
    color: white;
    border-color: #b71c1c;
}

.project-card:nth-child(3) .publication-btn:hover {
    background: linear-gradient(135deg, #8b0000, #b71c1c);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(183, 28, 28, 0.5);
}

/* PDF Button - Yellow/Gold */
.pdf-btn {
    background: linear-gradient(135deg, #fbbf24, #fcd34d);
    color: #1f2937;
    border-color: #fbbf24;
    font-weight: 700;
}

.pdf-btn:hover {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(251, 191, 36, 0.5);
}

.scholar-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border-color: rgba(255, 255, 255, 0.2);
}

.scholar-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.2);
}

.publication-btn i,
.pdf-btn i,
.scholar-btn i {
    font-size: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: var(--darker-bg);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    background: var(--darker-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 50px;
    text-align: center;
}

.method-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.method-value {
    display: block;
    font-weight: 600;
}

.contact-form-container {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

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

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.25rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ========================================
   Chatbot
   ======================================== */

.chatbot-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.chatbot-toggle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-2);
    border: none;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    animation: pulse 2s infinite;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.6);
}

.chatbot-toggle:active {
    transform: scale(0.95);
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 3px solid var(--dark-bg);
    animation: bounce-badge 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 102, 255, 0.6), 0 0 0 15px rgba(0, 102, 255, 0.1);
    }
}

@keyframes bounce-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.chatbot-widget {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 400px;
    max-width: calc(100vw - 4rem);
    height: 600px;
    max-height: calc(100vh - 180px);
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.chatbot-widget.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chatbot-header {
    background: var(--gradient-2);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 20px 20px 0 0;
}

.chatbot-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    animation: rotate-avatar 3s linear infinite;
}

@keyframes rotate-avatar {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.chatbot-title {
    flex: 1;
}

.chatbot-title h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.chatbot-status {
    font-size: 0.75rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chatbot-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.chatbot-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.chatbot-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--darker-bg);
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.bot-message,
.user-message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    animation: slideInMessage 0.3s ease;
}

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

.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: var(--gradient-3);
}

.message-avatar i {
    font-size: 1rem;
}

.message-content {
    background: var(--card-bg);
    padding: 0.875rem 1.125rem;
    border-radius: 16px;
    max-width: 75%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.user-message .message-content {
    background: var(--primary-color);
}

.message-content p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.9rem;
}

.typing-indicator {
    display: flex;
    gap: 0.5rem;
    padding: 0.875rem 1.125rem;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chatbot-suggestions {
    padding: 1rem;
    background: var(--dark-bg);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-height: 150px;
    overflow-y: auto;
}

.chatbot-suggestions::-webkit-scrollbar {
    height: 4px;
}

.chatbot-suggestions::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-suggestions::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.suggestion-btn {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.suggestion-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.suggestion-btn:active {
    transform: translateY(0);
}

.chatbot-input {
    padding: 1rem;
    background: var(--dark-bg);
    display: flex;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chatbot-input input {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.chatbot-input button {
    width: 45px;
    height: 45px;
    background: var(--gradient-2);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-input button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4);
}

.chatbot-input button:active {
    transform: scale(0.95);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    /*.hero-image {
        order: -1;
    }
*/
.hero-image {
    animation: fadeInRight 1s ease-out;
    display: flex;
    justify-content: center;      /* centre l’image dans sa colonne */
}
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    /* Skills grid responsive - tablet */
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .skill-badge {
        padding: 0.875rem 1rem;
        min-height: 55px;
    }
    
    .skill-badge i {
        font-size: 1.3rem;
    }
    
    .skill-badge span {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--card-bg);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .tech-categories {
        grid-template-columns: 1fr;
    }

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

    .contact-form-container {
        padding: 2rem;
    }

    /* Skills grid responsive - mobile */
    .skills-grid-container {
        padding: 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.875rem;
    }
    
    .skill-badge {
        padding: 0.75rem 0.875rem;
        gap: 0.5rem;
        min-height: 50px;
    }
    
    .skill-badge i {
        font-size: 1.2rem;
    }
    
    .skill-badge span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 6rem 1rem 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .floating-card {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .floating-card i {
        font-size: 1.25rem;
    }

    section {
        padding: 4rem 0;
    }

    .chatbot-container {
        bottom: 1rem;
        right: 1rem;
    }

    .chatbot-toggle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .chatbot-widget {
        width: calc(100vw - 2rem);
        right: -1rem;
        height: calc(100vh - 160px);
    }

    /* Skills grid responsive - small mobile */
    .skills-grid-container {
        padding: 1rem;
        border-radius: 20px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .skill-badge {
        padding: 0.7rem 0.75rem;
        gap: 0.5rem;
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    
    .skill-badge i {
        font-size: 1.5rem;
    }
    
    .skill-badge span {
        font-size: 0.75rem;
        white-space: normal;
        line-height: 1.2;
    }
}

/* ========================================
   Animations
   ======================================== */

.fade-in {
    animation: fadeIn 1s ease-out;
}

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

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* Contact Image */
.contact-image {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-image img {
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.3);
    transition: transform 0.3s ease;
}

.contact-image img:hover {
    transform: scale(1.02);
}

/* Featured Link */
.featured-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 12px;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.featured-link:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.featured-link i {
    font-size: 1.2rem;
}

/* GitHub Section */
.github-section {
    margin-top: 2.5rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.github-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.github-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.github-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(36, 41, 46, 0.8) 0%, rgba(22, 27, 34, 0.9) 100%);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.github-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    transition: left 0.6s ease;
}

.github-btn:hover::before {
    left: 100%;
}

.github-btn i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.github-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-color: var(--accent-secondary);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
}

.github-btn:hover i {
    transform: rotate(360deg) scale(1.2);
}

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

/* Contact Buttons */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.contact-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-buttons .btn i {
    font-size: 1.3rem;
}

.btn-success {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.btn-linkedin {
    background: linear-gradient(135deg, #0077B5 0%, #005885 100%);
    color: white;
}

.btn-linkedin:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 119, 181, 0.4);
}

@media (min-width: 768px) {
    .contact-buttons {
        flex-direction: row;
        max-width: 100%;
        justify-content: center;
    }
}

