:root {
  --primary-color: #1e40af;
  --primary-dark: #0f2557;
  --primary-light: #2563eb;
  --accent-color: #f59e0b;
  --accent-light: #fbbf24;
  --text-color: #0f172a;
  --text-light: #64748b;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --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-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --transition-fast: 0.15s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes bounce-in {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes slide-in-left {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-right {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.top-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 4s infinite;
}

.top-bar .container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.top-bar a {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
}

.top-bar a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.desktop-nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.desktop-nav .nav-links {
    display: flex;
    gap: 25px;
}

.desktop-nav .nav-links a {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
}

.desktop-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
    transition: var(--transition);
    transform: translateX(-50%);
}

.desktop-nav .nav-links a:hover::after,
.desktop-nav .nav-links a.active::after {
    width: 100%;
}

.desktop-nav .nav-links a:hover,
.desktop-nav .nav-links a.active {
    color: var(--accent-color);
}

.mobile-nav {
    display: none;
}

.header-action .btn-rdv-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.header-action .btn-rdv-header:hover,
.header-action .btn-rdv-header.active {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    animation: pulse-glow 2s infinite;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

/* Mobile Nav Active State */
.mobile-nav .nav-links a {
    transition: var(--transition);
}

.mobile-nav .nav-links a:hover,
.mobile-nav .nav-links a.active {
    color: var(--accent-color);
    padding-left: 5px;
}

.btn-rdv-mobile {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.btn-rdv-mobile:hover,
.btn-rdv-mobile.active {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, rgba(0, 44, 95, 0.9), rgba(0, 44, 95, 0.4)),
        url('../images/brain-hero.jpg') center/cover no-repeat;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    color: var(--white);
    animation: slide-in-left 0.8s ease-out;
}

.hero-tagline {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 8px 20px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    border-radius: 50px;
    margin-bottom: 25px;
    letter-spacing: 2px;
    box-shadow: var(--shadow-md);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.7;
}

.btn-hero {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-dark);
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    font-size: 1.05rem;
}

.btn-hero:hover {
    background: linear-gradient(135deg, var(--white), #f0f0f0);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.btn-hero i {
    transition: var(--transition);
}

.btn-hero:hover i {
    transform: translateX(5px);
}

.subpage-hero {
    position: relative;
    height: 420px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color), var(--primary-light));
    background-size: 200% 200%;
    animation: gradient-shift 8s ease-in-out infinite;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.25) 0%, transparent 50%);
    animation: float 12s ease-in-out infinite;
}

.subpage-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(0, 64, 128, 0.35) 0%, transparent 60%);
    animation: float 10s ease-in-out infinite reverse;
    border-radius: 50%;
}

.subpage-hero .container {
    position: relative;
    z-index: 3;
}

.subpage-hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 18px;
    letter-spacing: 3px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    background: linear-gradient(90deg, white, var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fade-in-up 0.8s ease-out;
}


.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumbs a:hover {
    color: var(--accent-color);
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background: linear-gradient(180deg, var(--light-bg), #fafcfa);
}

.section-title-box {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    font-size: 0.85rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.modern-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 1);
    position: relative;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    opacity: 1;
    transition: var(--transition);
}

.modern-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    border-color: var(--accent-color);
}

.card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 44, 95, 0.2));
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.modern-card:hover .card-img img {
    transform: scale(1.12);
}

.card-body {
    padding: 30px;
    flex-grow: 1;
}

.card-title {
    color: var(--primary-color);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Card Badge (Floating PDF Badge) */
.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    background: linear-gradient(135deg, var(--accent-color), #b8941f);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.card-badge::before {
    content: '\f1c1';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
}

.modern-card:hover .card-badge {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
}

/* Card Button */
.btn-card {
    margin-top: 20px;
    padding: 14px 26px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
}

.btn-card:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}


.gallery-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-slide {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    aspect-ratio: 4/3;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-slide:hover img {
    transform: scale(1.1);
}

/* Reviews Section */
.review-card {
    background: white;
    padding: 35px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,44,95,0.05);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
}

.review-user h4 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.1rem;
}

.review-date {
    margin: 5px 0 0 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

.review-stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.review-text {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.02rem;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #4285f4, #357ae8);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-google:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #357ae8, #2962ff);
}

/* Cursus Timeline */
.cursus-timeline-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}
.cursus-timeline {
    position: relative;
}
.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-radius: 5px;
}
.timeline-item {
    position: relative;
    margin-bottom: 70px;
}
.timeline-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 35px;
    align-items: center;
}
.timeline-content {
    padding: 35px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-color);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}
.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    opacity: 0;
    transition: var(--transition);
}
.timeline-content:hover::before {
    opacity: 1;
}
.timeline-item:nth-child(even) .timeline-content {
    border-left: 4px solid var(--primary-color);
}
.timeline-item:nth-child(even) .timeline-content::before {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}
.timeline-content:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,44,95,0.2);
}
.timeline-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}
.timeline-content p {
    color: var(--text-light);
    font-size: 1rem;
    position: relative;
    z-index: 2;
}
.timeline-dot {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), #b8941f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    animation: pulse-glow-dot 3s ease-in-out infinite;
}
@keyframes pulse-glow-dot {
    0%, 100% {
        box-shadow: var(--shadow-md);
    }
    50% {
        box-shadow: var(--shadow-lg);
    }
}
.timeline-item:hover .timeline-dot {
    transform: scale(1.15);
    animation: none;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}
.timeline-dot i {
    color: white;
    font-size: 1.8rem;
}
.timeline-meta {
    padding: 35px;
}
.timeline-location {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    transition: var(--transition);
}
.timeline-location.gold {
    background: var(--accent-color);
    color: var(--primary-color);
}
.timeline-location:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.timeline-item:nth-child(even) .timeline-meta {
    text-align: right;
}

/* Publications */
.pub-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}
.pub-tab-container {
    display: flex;
    background: rgba(0, 44, 95, 0.04);
    padding: 6px;
    border-radius: 40px;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
    max-width: 100%;
}
.pub-tab-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.pub-tab-btn:hover {
    background: rgba(0, 44, 95, 0.05);
}
.pub-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 6px 20px rgba(0,44,95,0.18);
}
.pub-content-wrapper {
    background: white;
    padding: 45px;
    border-radius: 24px;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,44,95,0.06);
    position: relative;
    overflow: hidden;
}
.pub-content-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 44, 95, 0.08);
}
.pub-content-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 44, 95, 0.04);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pub-content-icon i {
    font-size: 1.8rem;
    color: var(--accent-color);
}
.pub-content-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    color: var(--primary-color);
}
.pub-content-header p {
    margin: 6px 0 0 0;
    color: var(--text-light);
    font-size: 1rem;
}
.pub-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.pub-list::-webkit-scrollbar {
    width: 6px;
}
.pub-list::-webkit-scrollbar-track {
    background: rgba(0, 44, 95, 0.02);
    border-radius: 10px;
}
.pub-list::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 10px;
}
.pub-list::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}
.pub-card {
    padding: 24px 28px;
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border-radius: 20px;
    border: 1px solid rgba(0,44,95,0.08);
    position: relative;
    transition: var(--transition-slow);
}
.pub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
}
.pub-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(212,175,55,0.05), rgba(0,44,95,0.03));
    opacity: 0;
    transition: var(--transition);
}
.pub-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0,44,95,0.15);
    border-color: rgba(212,175,55,0.3);
}
.pub-card:hover::after {
    opacity: 1;
}
.pub-card-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    width: 100%;
}
.pub-card-icon-container {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 44, 95, 0.1), rgba(212, 175, 55, 0.15));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.pub-card:hover .pub-card-icon-container {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: rotate(5deg) scale(1.1);
}
.pub-card-icon-container i {
    color: var(--primary-color);
    font-size: 1.4rem;
    transition: var(--transition);
}
.pub-card:hover .pub-card-icon-container i {
    color: white;
}
.pub-card-text {
    flex: 1;
    width: 100%;
}
.pub-card-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: var(--primary-color);
    line-height: 1.45;
}
.pub-card-meta {
    font-size: 0.92rem;
    color: var(--text-light);
    margin: 0 0 6px 0;
    line-height: 1.4;
}
.pub-card-meta strong {
    color: var(--accent-color);
}
.pub-card-authors {
    font-size: 0.85rem;
    color: #7a828a;
    margin: 0;
    line-height: 1.35;
}
.pub-empty-state {
    text-align: center;
    padding: 60px 20px;
}
.pub-empty-state i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    opacity: 0.5;
}
.pub-empty-state p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.about-section {
    padding: 120px 0;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-rdv-blue {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-rdv-blue:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    border-radius: 24px;
    z-index: -1;
}

.about-image img {
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    width: 100%;
}

.site-cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
}

.site-cta-section .cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/service_doctor.png') center/cover;
    opacity: 0.15;
    z-index: 1;
}

.site-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.site-cta-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.site-cta-section h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.site-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 45px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 45px;
    line-height: 1.7;
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-color);
    padding: 20px 55px;
    border-radius: 50px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.btn-cta:hover {
    background: var(--white);
    transform: translateY(-6px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.appointment-form-card {
    background: white;
    padding: 60px;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0,44,95,0.15);
    position: relative;
    overflow: hidden;
}
.appointment-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}
.appointment-form-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212,175,55,0.1), transparent 70%);
    border-radius: 50%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 800;
    color: var(--primary-color);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    position: relative;
    z-index: 2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #e8eff6;
    border-radius: 18px;
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    font-family: inherit;
    font-size: 1.05rem;
    transition: var(--transition);
    color: var(--text-color);
    position: relative;
    z-index: 2;
}
.form-group select:disabled,
.form-group input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 5px rgba(212,175,55,0.12), 0 10px 30px rgba(0,44,95,0.08);
    outline: none;
    transform: translateY(-3px);
}

.btn-submit {
    width: 100%;
    padding: 22px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 18px;
    font-weight: 800;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 12px 30px rgba(0,44,95,0.2);
    position: relative;
    z-index: 2;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-color);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(212,175,55,0.35);
}

.btn-submit i {
    transition: var(--transition);
}
.btn-submit:hover i {
    transform: translateX(5px);
}
/* Intl Tel Input Styling */
.iti {
    width: 100% !important;
}
.iti__selected-flag {
    border-radius: 16px 0 0 16px;
    transition: var(--transition);
}
.iti__country-list {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: none;
    padding: 8px 0;
}
.iti__country:hover,
.iti__country.highlight {
    background: rgba(212,175,55,0.15);
}
.iti__flag-container--selected {
    background: transparent;
}

/* Rendez-vous Page Styles */
.appointment-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}
.appointment-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212,175,55,0.15), transparent 70%);
    border-radius: 50%;
}
.appointment-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,68,136,0.2), transparent 70%);
    border-radius: 50%;
}
.appointment-hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    animation: fade-in-up 0.8s ease-out;
}
.appointment-eyebrow {
    display: inline-block;
    background: rgba(212,175,55,0.2);
    color: var(--accent-light);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.appointment-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.appointment-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}
.appointment-section {
    padding: 80px 0;
}
.appointment-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}
.appointment-info {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 50px 40px;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0,44,95,0.1);
    position: sticky;
    top: 120px;
    border: 1px solid rgba(0,44,95,0.05);
    overflow: hidden;
}
.appointment-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}
.appointment-info h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 36px;
    line-height: 1.2;
}
.appointment-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.appointment-detail {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
    padding: 16px;
    border-radius: 16px;
}
.appointment-detail:hover {
    background: rgba(0,44,95,0.03);
    transform: translateX(8px);
}
.appointment-detail i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.appointment-detail:hover i {
    transform: rotate(10deg) scale(1.1);
}
.appointment-detail p {
    margin: 0;
    line-height: 1.6;
}
.appointment-detail strong {
    display: block;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.appointment-detail span {
    color: var(--text-color);
    font-size: 1rem;
}
.appointment-form-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}
.appointment-form-header h2 {
    color: var(--primary-color);
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.appointment-success,
.appointment-error {
    padding: 20px 28px;
    border-radius: 16px;
    margin-bottom: 32px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}
.appointment-success {
    background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(16,185,129,0.08));
    color: #065f46;
    border-left: 4px solid #10b981;
}
.appointment-error {
    background: linear-gradient(135deg, rgba(239,68,68,0.1), rgba(248,113,113,0.08));
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* Responsive for Rendez-vous Page */
@media (max-width: 1200px) {
    .appointment-layout {
        grid-template-columns: 1fr;
    }
    .appointment-info {
        position: static;
    }
}
@media (max-width: 768px) {
    .appointment-hero h1 {
        font-size: 2.5rem;
    }
    .appointment-hero p {
        font-size: 1.05rem;
    }
    .appointment-info {
        padding: 35px 25px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .appointment-form-card {
        padding: 35px 25px;
    }
}
@media (max-width: 480px) {
    .appointment-hero {
        padding: 100px 0 60px;
    }
    .appointment-hero h1 {
        font-size: 2rem;
    }
    .appointment-info h2 {
        font-size: 1.6rem;
    }
    .appointment-form-header h2 {
        font-size: 1.75rem;
    }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: bounce-in 0.4s ease-out;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    transform: translateY(-5px);
    color: var(--primary-color);
}

.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-toggle {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    border: 3px solid var(--accent-color);
}

.contact-toggle:hover {
    transform: rotate(90deg) scale(1.1);
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-color);
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: var(--transition-slow);
}

.contact-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.contact-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.contact-btn:hover {
    transform: scale(1.15);
}

.contact-btn.phone {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.contact-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.contact-btn.location {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

footer {
    background: linear-gradient(180deg, var(--primary-dark), #001428);
    color: white;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    height: 90px;
    filter: brightness(0) invert(1);
    margin-bottom: 25px;
}

.footer-logo p {
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-contact h3,
.footer-menu h3 {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-contact p {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    align-items: flex-start;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,175,55,0.1);
    transition: var(--transition);
}

.footer-contact p:hover {
    background: rgba(212,175,55,0.08);
    border-color: rgba(212,175,55,0.3);
    transform: translateX(8px);
}

.footer-contact i {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-color), #b8941f);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.footer-contact p:hover i {
    transform: rotate(10deg) scale(1.1);
}

.footer-contact .label {
    display: block;
    font-weight: 800;
    color: var(--accent-color);
    font-size: 0.78rem;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.6px;
}

/* Map Section Styles */
.map-section {
    background: linear-gradient(180deg, var(--light-bg), #f8f9fa);
    padding: 100px 0;
}

.map-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.map-section-text {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-top: 15px;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,44,95,0.18);
    border: 1px solid rgba(0,44,95,0.08);
}

.map-iframe {
    border: 0;
    display: block;
}



.footer-menu ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu a {
    display: block;
    padding: 5px 0;
    transition: var(--transition);
    opacity: 0.85;
}

.footer-menu a:hover,
.footer-menu a.active {
    color: var(--accent-color);
    padding-left: 10px;
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 35px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .desktop-nav,
    .header-action {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .logo img {
        height: 70px;
    }
    .mobile-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        z-index: 1000;
        transition: var(--transition-slow);
        padding: 140px 40px 60px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        box-shadow: -20px 0 50px rgba(0, 44, 95, 0.1);
    }
    .menu-close {
        position: absolute;
        top: 35px;
        right: 40px;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        color: var(--primary-color);
        cursor: pointer;
        border-radius: 50%;
        background: linear-gradient(145deg, #f8fafc, #ffffff);
        box-shadow: 0 4px 12px rgba(0,44,95,0.1);
        transition: var(--transition);
    }
    .menu-close:hover {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
        color: white;
        transform: rotate(90deg);
    }
    .mobile-nav.active {
        right: 0;
    }
    .mobile-nav .nav-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .mobile-nav .nav-links a {
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--primary-color);
        padding: 20px 25px;
        border-bottom: 1px solid rgba(0, 44, 95, 0.08);
        border-radius: 12px;
        background: linear-gradient(145deg, #f8fafc, #ffffff);
        box-shadow: 0 4px 12px rgba(0, 44, 95, 0.05);
        transition: var(--transition);
    }
    .mobile-nav .nav-links a:hover,
    .mobile-nav .nav-links a.active {
        color: var(--primary-color);
        background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.08));
        border-bottom: 1px solid rgba(212,175,55,0.3);
        box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
        transform: translateX(5px);
    }
    .mobile-nav .nav-links a.active {
        color: var(--accent-color);
        border-left: 4px solid var(--accent-color);
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .footer-logo,
    .footer-contact {
        align-items: center;
    }
    .footer-contact p {
        justify-content: flex-start;
        text-align: left;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    /* Cursus responsive */
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .timeline-line {
        left: 35px;
    }
    .timeline-meta,
    .timeline-item:nth-child(even) .timeline-meta {
        text-align: left;
        padding: 0 0 0 70px;
    }
    .timeline-content {
        margin-left: 70px;
    }
    .timeline-dot {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
    }
    .timeline-item:nth-child(even) .timeline-grid {
        direction: ltr;
    }
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 70px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .hero {
        height: auto;
        padding: 120px 0 100px;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .subpage-hero h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .top-bar .container {
        gap: 15px;
        font-size: 0.8rem;
    }
    .section-padding {
        padding: 70px 0;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .site-cta-section h2 {
        font-size: 2.2rem;
    }
    .site-cta-section p {
        font-size: 1rem;
    }
    .appointment-form-card {
        padding: 30px 20px;
    }
    .about-content h2 {
        font-size: 2.2rem;
    }
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
    .back-to-top {
        bottom: 20px;
        left: 20px;
    }
    /* Map Section Responsive */
    .map-section {
        padding: 70px 0;
    }
    .map-iframe {
        height: 350px;
    }
    /* Footer Responsive */
    footer {
        padding: 70px 0 30px;
    }
    .footer-logo img {
        height: 70px;
    }
    .footer-contact p {
        padding: 14px;
    }

    /* Publication Cards Responsive */
    .pub-content-wrapper {
        padding: 25px 20px;
    }
    .pub-card-inner {
        flex-direction: column;
        gap: 15px;
    }
    .pub-card {
        padding: 20px;
    }
    .pub-content-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .pub-content-icon {
        margin: 0 auto;
    }
    .pub-tab-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    .pub-list {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .btn-hero,
    .btn-cta {
        width: 100%;
        justify-content: center;
    }
    .logo img {
        height: 60px;
    }
    .container {
        padding: 0 15px;
    }
    .pub-tab-btn {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
    }
    .pub-tab-container {
        border-radius: 15px;
        flex-direction: column;
    }
    .pub-card-title {
    font-size: 1rem;
}
}

/* Méthodes utilisées en neurologie - Responsive Design */
.methodes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.methodes-grid h2 {
    font-size: 3rem;
}

/* Intro grid styles */
.neuro-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .methodes-grid {
        grid-template-columns: 1fr;
    }
    .methodes-grid h2 {
        font-size: 2rem;
    }
    .grid-2,
    .neuro-intro-grid {
        grid-template-columns: 1fr;
    }
}

/* === CURSUS PAGE STYLES === */

/* Hero Section */
.cursus-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    overflow: hidden;
    display: flex;
    align-items: center;
}
.cursus-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?w=1920&auto=format&fit=crop') center/cover;
    opacity: 0.2;
}
.cursus-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.cursus-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}
.cursus-breadcrumbs a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.cursus-hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

/* Cursus Section */
.cursus-section {
    padding: 100px 0;
    background: var(--white);
}
.cursus-section-header {
    text-align: center;
    margin-bottom: 70px;
}
.cursus-section-header p {
    color: var(--accent-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 600;
}
.cursus-section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
}

/* Timeline */
.cursus-timeline-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}
.cursus-timeline {
    position: relative;
}
.cursus-timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--primary-dark) 100%);
    border-radius: 5px;
}
.cursus-timeline-item {
    position: relative;
    margin-bottom: 70px;
}
.cursus-timeline-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 35px;
    align-items: center;
}
.cursus-timeline-card {
    padding: 35px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
    cursor: pointer;
}
.cursus-timeline-card.right {
    text-align: left;
    border-left: 4px solid var(--primary-dark);
}
.cursus-timeline-card.left {
    text-align: right;
}
.cursus-timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.cursus-timeline-card h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
}
.cursus-timeline-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}
.cursus-timeline-dot {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(245,158,11,0.4);
    border: 4px solid var(--white);
    transition: all 0.4s ease;
}
.cursus-timeline-dot i {
    color: var(--white);
    font-size: 1.8rem;
}
.cursus-timeline-meta-wrapper {
    display: flex;
    justify-content: flex-start;
}
.cursus-timeline-meta-wrapper.right {
    justify-content: flex-end;
}
.cursus-timeline-meta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
}
.cursus-timeline-meta.gold {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-dark);
    box-shadow: 0 5px 20px rgba(245,158,11,0.3);
}

/* Publications Section */
.cursus-publications {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
}
.cursus-pub-tab-container {
    display: flex;
    background: rgba(15,37,87,0.04);
    padding: 6px;
    border-radius: 40px;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
    max-width: 100%;
    margin-bottom: 50px;
}
.cursus-pub-tab-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cursus-pub-tab-btn:hover {
    background: rgba(15,37,87,0.05);
}
.cursus-pub-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color)) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-md) !important;
}
.cursus-pub-tab-btn.active-gold {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light)) !important;
    color: var(--primary-dark) !important;
    box-shadow: 0 6px 20px rgba(245,158,11,0.25) !important;
}
.cursus-pub-content-wrapper {
    background: var(--white);
    padding: 45px;
    border-radius: 24px;
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15,37,87,0.06);
    position: relative;
    overflow: hidden;
}
.cursus-pub-content-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(15,37,87,0.08);
    position: relative;
    z-index: 2;
}
.cursus-pub-content-icon {
    width: 60px;
    height: 60px;
    background: rgba(15,37,87,0.04);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cursus-pub-content-icon i {
    color: var(--accent-color);
    font-size: 1.8rem;
}
.cursus-pub-content-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    color: var(--primary-dark);
}
.cursus-pub-content-header p {
    margin: 6px 0 0 0;
    color: var(--text-light);
    font-size: 1rem;
}
.cursus-pub-list {
    max-height: 650px;
    overflow-y: auto;
    padding-right: 15px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
/* Custom Scrollbar for pub-list */
.cursus-pub-list::-webkit-scrollbar {
    width: 6px;
}
.cursus-pub-list::-webkit-scrollbar-track {
    background: rgba(15,37,87,0.02);
    border-radius: 10px;
}
.cursus-pub-list::-webkit-scrollbar-thumb {
    background: rgba(245,158,11,0.3);
    border-radius: 10px;
}
.cursus-pub-list::-webkit-scrollbar-thumb:hover {
    background: rgba(245,158,11,0.5);
}
.cursus-pub-card {
    padding: 22px 26px;
    background: var(--light-bg);
    border-radius: 14px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-top: 1px solid rgba(15,37,87,0.02);
    border-right: 1px solid rgba(15,37,87,0.02);
    border-bottom: 1px solid rgba(15,37,87,0.02);
    cursor: default;
}
.cursus-pub-card:hover {
    transform: translateY(-2px);
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-top-color: rgba(15,37,87,0.05);
    border-right-color: rgba(15,37,87,0.05);
    border-bottom-color: rgba(15,37,87,0.05);
}
.cursus-pub-card-flex {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.cursus-pub-card-icon-container {
    min-width: 40px;
    height: 40px;
    background: rgba(15,37,87,0.04);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cursus-pub-card-icon-container i {
    color: var(--primary-dark);
    font-size: 1.2rem;
}
.cursus-pub-card-content {
    flex: 1;
}
.cursus-pub-card-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: var(--primary-dark);
    line-height: 1.45;
}
.cursus-pub-card-meta {
    font-size: 0.92rem;
    color: var(--text-light);
    margin: 0 0 6px 0;
    line-height: 1.4;
}
.cursus-pub-card-meta strong {
    color: var(--accent-color);
}
.cursus-pub-card-authors {
    font-size: 0.85rem;
    color: #7a828a;
    margin: 0;
    line-height: 1.35;
}


/* === RESPONSIVE STYLES FOR CURSUS PAGE === */

@media (max-width: 1024px) {
    /* Timeline Responsive */
    .cursus-timeline-line {
        left: 35px !important;
    }
    .cursus-timeline-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .cursus-timeline-dot {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
    }
    .cursus-timeline-card.left,
    .cursus-timeline-card.right {
        text-align: left !important;
        margin-left: 70px !important;
    }
    .cursus-timeline-meta-wrapper {
        justify-content: flex-start !important;
        margin-left: 70px !important;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .cursus-hero {
        height: auto;
        padding: 100px 0;
    }
    .cursus-hero-content h1 {
        font-size: 2.2rem;
    }
    /* Cursus Section */
    .cursus-section-header h2 {
        font-size: 2.2rem;
    }
    .cursus-section {
        padding: 70px 0;
    }
    /* Publications */
    .cursus-publications {
        padding: 70px 0;
    }
    .cursus-pub-tab-container {
        flex-direction: column;
    }
    .cursus-pub-content-wrapper {
        padding: 30px 20px;
    }
    .cursus-pub-list {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
    .cursus-pub-content-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
