/* 
   Premium Portfolio Styles 
   Dr. Hope AKOHOUVI AMOU
*/

:root {
    /* Colors - Pharmacy Green & Orange Palette */
    --primary: #059669;
    /* Emerald 600 - Vert Pharmacie */
    --primary-light: #10b981;
    --primary-dark: #047857;

    --secondary: #0f172a;
    /* Slate dark */
    --secondary-light: #334155;

    --accent: #f59e0b;
    /* Amber 500 - Orange Vibrant */
    --accent-glow: rgba(245, 158, 11, 0.4);

    --bg-main: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-card-hover: rgba(255, 255, 255, 0.9);

    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #f8fafc;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #fbbf24 100%);

    /* Layout */
    --container-max: 1200px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(5, 150, 105, 0.07);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-normal: 0.3s ease;
    --trans-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Suppression du text-align: justify global pour éviter les espaces dans les badges */
}

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

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

ul {
    list-style: none;
}

/* Background Shapes for Glassmorphism Context */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: float 20s infinite ease-in-out alternate;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.2);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(14, 165, 233, 0.15);
    bottom: 10%;
    right: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(30, 64, 175, 0.1);
    top: 40%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 30px) scale(1.05);
    }

    100% {
        transform: translate(-20px, 60px) scale(0.95);
    }
}

/* Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 3rem;
}

.section {
    padding: 3rem 0;
}

.bg-light {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

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

/* Glassmorphism Classes */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    transition: transform var(--trans-normal), background var(--trans-fast), box-shadow var(--trans-normal);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px 0 rgba(31, 38, 135, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--trans-normal);
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.5);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-main);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--trans-normal);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

.navbar.scrolled .logo-text {
    color: var(--primary);
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--trans-normal);
}

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

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

.btn-contact {
    padding: 0.5rem 1.25rem;
    background: var(--accent);
    color: white !important;
    border-radius: var(--radius-full);
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background: #d97706;
    /* Un orange un peu plus foncé au survol */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

/* Section Headers */
.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.section-line {
    height: 4px;
    width: 60px;
    background: var(--gradient-primary);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

/* -------------------------------- */
/* HERO SECTION                     */
/* -------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 4.5rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content .badge {
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary-light);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
    text-align: justify;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    max-width: 100%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    box-shadow: 0 0 30px var(--primary-light), 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    z-index: 1;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.1) translateZ(0); /* Zoom mini de 1.1 */
    will-change: transform; /* Indique au navigateur de figer ce transform sur le GPU */
    transition: transform var(--trans-slow);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.2) translateZ(0); /* Zoom léger supplémentaire au survol */
}

.visual-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    z-index: 2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    /* Adding a subtle gradient background overlay */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    bottom: 15px;
    left: 15px;
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

.card-stats {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 2rem;
}

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

.stat-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.visual-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.visual-badge {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    color: var(--secondary);
    text-transform: none;
    font-size: 1rem;
    text-align: left;
    /* Empêche les grands espaces entre les mots */
}

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




/* -------------------------------- */
/* ABOUT SECTION                    */
/* -------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

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

.about-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

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

.achievement-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.achievement-list i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.2rem;
}

.achievement-list strong {
    display: block;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.achievement-list span {
    color: var(--text-muted);
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.75rem;
}

.info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.info-card ul {
    list-style-type: none;
}

.info-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.info-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.info-card p {
    color: var(--text-muted);
}

.current-roles strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.mt-card {
    margin-top: -1rem;
}

/* -------------------------------- */
/* EXPERTISE SECTION                */
/* -------------------------------- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--trans-normal);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.1);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
    transform: rotate(-5deg);
    transition: transform var(--trans-normal);
}

.expertise-card:hover .expertise-icon {
    transform: rotate(0deg) scale(1.1);
}

.expertise-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.expertise-desc {
    color: var(--text-muted);
    text-align: justify;
}

/* -------------------------------- */
/* EXPERIENCE TIMELINE              */
/* -------------------------------- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: rgba(59, 130, 246, 0.2);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

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

.timeline-dot {
    position: absolute;
    top: 0;
    left: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid white;
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--trans-fast);
}

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

.timeline-role {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.timeline-company {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.timeline-content ul {
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.timeline-content ul li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
    text-align: justify;
}

/* -------------------------------- */
/* CERTIFICATIONS SECTION           */
/* -------------------------------- */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all var(--trans-normal);
    border-left: 4px solid var(--primary);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}

.formation-subsection {
    margin-bottom: 4rem;
}

.subsection-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    padding-bottom: 0.75rem;
    max-width: 900px;
    margin: 0 auto 2rem auto;
}

.subsection-title i {
    color: var(--primary);
}

.mt-5 {
    margin-top: 3rem;
}

/* -------------------------------- */
/* FORMATION LIST STYLE (IMAGE)     */
/* -------------------------------- */
.formation-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.formation-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.formation-year-box {
    background: #334155;
    /* Slate-700 constant from image */
    color: white;
    min-width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    border-radius: 4px;
}

.formation-info {
    flex-grow: 1;
}

.formation-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.formation-detail {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .formation-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .formation-year-box {
        min-width: 80px;
        height: 40px;
    }
}

/* -------------------------------- */
/* CERTIFICATIONS TIMELINE STYLE    */
/* -------------------------------- */
.certifications-timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

.certifications-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.cert-timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 3rem;
    position: relative;
}

.cert-timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.cert-timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.cert-timeline-date {
    width: 45%;
    text-align: right;
    font-weight: 700;
    color: #475569;
    font-size: 1.1rem;
}

.cert-timeline-item:nth-child(even) .cert-timeline-date {
    text-align: left;
}

.cert-timeline-content-box {
    width: 45%;
    background: #f1f5f9;
    padding: 1.5rem 2rem;
    border-radius: 4px;
    position: relative;
}

.cert-timeline-content-box::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent #f1f5f9;
}

.cert-timeline-item:nth-child(even) .cert-timeline-content-box::before {
    right: auto;
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f1f5f9 transparent transparent;
}

.cert-timeline-content-box h3 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.cert-timeline-content-box p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .certifications-timeline::before {
        left: 20px;
    }

    .cert-timeline-item,
    .cert-timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }

    .cert-timeline-dot {
        left: 20px;
        width: 20px;
        height: 20px;
    }

    .cert-timeline-date,
    .cert-timeline-content-box {
        width: 100%;
        text-align: left !important;
    }

    .cert-timeline-date {
        margin-bottom: 0.5rem;
    }

    .cert-timeline-content-box::before {
        display: none;
    }
}

/* -------------------------------- */
/* SKILLS SECTION                   */
/* -------------------------------- */
.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.skills-category {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.skills-category h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.skills-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill-tag {
    background: var(--bg-main);
    color: var(--secondary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--trans-fast);
}

.skill-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

/* -------------------------------- */
/* SOCIAL BAR                       */
/* -------------------------------- */
.social-bar {
    background-color: var(--accent);
    /* Même orange que le bouton contact */
    padding: 2rem 0;
    width: 100%;
}

.social-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #2e2e2e;
    /* Fallback */
    color: #ffffff;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn.facebook {
    background-color: #1877F2;
}

.social-btn.tiktok {
    background-color: #000000;
}

.social-btn.linkedin {
    background-color: #0A66C2;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

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

.social-btn:hover {
    color: #ffffff;
    transform: translateY(-5px);
    filter: brightness(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* -------------------------------- */
/* INTERESTS SECTION                */
/* -------------------------------- */
.interests-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 950px;
    margin: 0 auto;
    padding: 1rem 0;
}

.interest-card {
    background-color: #f4f3ed;
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    flex: 0 1 280px;
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.interest-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.interest-icon-wrapper i {
    font-size: 3rem;
    color: var(--secondary);
    opacity: 0.7;
}

.interest-label {
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 400;
    text-align: center;
}

@media (max-width: 768px) {
    .interests-grid {
        flex-direction: column;
        align-items: center;
        max-width: 320px;
    }
}

/* -------------------------------- */
/* CONTACT SECTION                  */
/* -------------------------------- */
.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Info Blocks (3 Columns) */
.contact-info-blocks {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.info-block i {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    opacity: 0.7;
}

.info-title {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.info-detail {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-block a.info-detail:hover {
    color: var(--primary);
}

.info-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 0 1.5rem;
}

/* Minimalist Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: transparent;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    border-radius: 2px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #a0a0a0;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.1);
}

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

.submit-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    padding: 0.8rem 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

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

/* -------------------------------- */
/* FOOTER                           */
/* -------------------------------- */
.footer {
    background: var(--secondary);
    color: var(--text-light);
    padding: 3rem 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-brand .logo-text {
    color: white;
    font-size: 2rem;
    display: block;
    text-align: center;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* -------------------------------- */
/* RESPONSIVE MEDIA QUERIES         */
/* -------------------------------- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-description {
        margin: 0 auto 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 1.5rem 0;
    }

    .hero-image-wrapper {
        width: 90px;
        height: 90px;
        margin: 0 auto;
    }

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

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .nav-links {
        display: none;
        /* Mobile menu hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .contact-info-blocks {
        flex-direction: column;
        gap: 2.5rem;
    }

    .info-divider {
        display: none;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .card-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

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

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

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white;
}

.social-btn.whatsapp:hover {
    background-color: #25d366;
    color: white;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

/* Wide Banner Section */
.wide-banner {
    height: 450px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.4)), url('photo_hope.jpg');
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(15, 23, 42, 0.6) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 2rem;
}

.banner-text {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    color: #ffffff !important;
    opacity: 1;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .wide-banner {
        height: 300px;
        background-attachment: scroll;
        /* Disable parallax on mobile for performance */
    }

    .banner-text {
        font-size: 1.75rem;
    }
}

/* ITA INNOVATE Credit */
.ita-credit {
    color: var(--primary-light) !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(16, 185, 129, 0.2);
}

.ita-credit:hover {
    color: #34d399 !important; /* Vert brillant */
    text-shadow: 0 0 12px rgba(52, 211, 153, 0.8), 0 0 20px rgba(52, 211, 153, 0.4);
    letter-spacing: 1px;
}

/* Recap Card (After Contact Submission) */
.recap-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: left;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-out forwards;
}

.recap-success-header {
    text-align: center;
    margin-bottom: 2rem;
}

.recap-success-icon {
    font-size: 3.5rem;
    color: #10b981; /* Green color for success */
    margin-bottom: 0.5rem;
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.recap-success-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.recap-success-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.recap-details {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.recap-details p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
}

.recap-details p strong {
    color: var(--primary-light);
    font-weight: 600;
    margin-right: 0.5rem;
}

.recap-message-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-top: 0.5rem;
    white-space: pre-wrap;
    max-height: 200px;
    overflow-y: auto;
}

.recap-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #25d366; /* Official WhatsApp Green */
    color: white !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 1rem 2rem;
    border-radius: 50px;
    width: 100%;
    max-width: 320px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-text-only {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.btn-text-only:hover {
    color: var(--primary-light);
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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