/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Preloader Styles */


.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #ff6b35, #f7931e);
    border-radius: 2px;
    animation: progressFill 3s ease-in-out infinite;
}


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

*,
*::before,
*::after {
    box-sizing: inherit;
}

/* Normalize CSS pour compatibilité navigateur */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

img {
    border-style: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    appearance: button;
    cursor: pointer;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #f8fafc;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

html {
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* Éliminer les espaces blancs indésirables */
main {
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
}

section {
    margin: 0;
    padding: 4rem 0;
}

section:first-child {
    padding-top: 0;
}

section:last-child {
    padding-bottom: 2rem;
}

/* Styles globaux pour toutes les sections principales */
.hero,
.mission,
.news,
.events,
.support,
.donation {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    clear: both;
    overflow: hidden;
}

/* Éliminer les marges par défaut des conteneurs */
.hero .container,
.mission .container,
.news .container,
.events .container,
.support .container,
.donation .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3b82f6 100%);
    color: white;
    padding: 1rem 0;
    position: relative;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

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

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    margin: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main-nav a:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: #333;
    padding: 1rem;
    display: block;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #2a5298;
}

.contact-info {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.9rem;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

.contact-info i {
    margin-right: 0.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.9) 0%, rgba(42, 82, 152, 0.85) 50%, rgba(59, 130, 246, 0.8) 100%), 
                url('assets/imgs/hero page.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    line-height: 1.1;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

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

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 300;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content .btn {
    margin: 0.5rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff8c42 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3), 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 50%, #f7931e 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: inherit;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4), 0 8px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(-1px);
    transition: transform 0.1s ease;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    background: white;
    color: #1e3c72;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3), 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: white;
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:active {
    transform: translateY(-1px);
    transition: transform 0.1s ease;
}

/* Mission Section */
.mission {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Mission Header Styles */
.mission-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.badge-icon {
    font-size: 1.2rem;
}

.mission-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1e3c72;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.mission-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

.mission-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #666;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mission-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05), 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.mission-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.mission-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(30, 60, 114, 0.1);
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    border-color: rgba(59, 130, 246, 0.2);
}

.mission-item:hover::before {
    transform: scaleX(1);
}

.mission-icon {
    font-size: 3rem;
    color: #2a5298;
    margin-bottom: 1rem;
}

.emoji-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.mission-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e3c72;
}

.mission-item p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.mission-item ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.mission-item ul li {
    padding: 0.5rem 0;
    border-left: 3px solid #2a5298;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(42, 82, 152, 0.05);
    border-radius: 0 5px 5px 0;
}

.mission-item ul li:before {
    content: "✓";
    color: #2a5298;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Mission Visual Section */
.mission-intro-section {
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.overlay-content p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.mission-statement {
    margin-bottom: 3rem;
}

.mission-statement h3 {
    color: #1e3c72;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Leadership Support Styles */
.leadership-support {
    margin-top: 3rem;
}

.president-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.2);
}

.badge-flag {
    font-size: 2rem;
}

.badge-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.badge-content p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.support-content {
    flex: 1;
}

/* Mission Philosophy Styles */
.mission-philosophy {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.philosophy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.philosophy-header h2 {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 2rem;
    font-weight: 700;
}

.philosophy-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    color: #1e3c72;
    font-size: 1rem;
}

/* Intro Cards */
.intro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.intro-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

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

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.intro-card h4 {
    color: #1e3c72;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.intro-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Pillars Introduction */
.pillars-introduction {
    text-align: center;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.pillars-introduction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.pillars-introduction h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.pillars-introduction p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.mission-visual {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.mission-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.mission-text {
    text-align: left;
}

.mps-support {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(42, 82, 152, 0.05);
    border-radius: 10px;
    border-left: 4px solid #2a5298;
}

.mps-logo {
    width: 80px;
    height: auto;
    object-fit: contain;
}

.leader-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.leader-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.leader-info {
    text-align: left;
}

/* Support Section */
.support {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.support h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1e3c72;
}

.support-content {
    max-width: 1000px;
    margin: 0 auto;
}

.support-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
    line-height: 1.7;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.support-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.support-item h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.support-item ul {
    list-style: none;
    padding-left: 0;
}

.support-item ul li {
    padding: 0.5rem 0;
    border-left: 3px solid #ff6b35;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 0 5px 5px 0;
}

.support-item ul li:before {
    content: "★";
    color: #ff6b35;
    font-weight: bold;
    margin-right: 0.5rem;
}

.support-conclusion {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #1e3c72;
    font-style: italic;
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Events Section */
.events {
    padding: 4rem 0;
    background: white;
}

.events h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e3c72;
}

.events > .container > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #666;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.event-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 0;
    height: 50px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 3px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.event-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e3c72, #2a5298, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
    z-index: 1;
}

.event-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(30, 60, 114, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

.event-item:hover::before {
    transform: scaleX(1);
}

.event-date {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .day {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-content {
    padding: 2rem;
    flex: 1;
}

.event-content h3 {
    margin-bottom: 1rem;
}

.event-content h3 a {
    color: #1e3c72;
    text-decoration: none;
 
    font-family: 'Roboto', sans-serif;
    padding-left: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.event-content h3 a:hover {
    color: #3b82f6;
    text-decoration: none;
}

.event-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-location {
    color: #2a5298;
    font-weight: bold;
    font-size: 0.9rem;
}

/* News Section */
.news {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298, #ff6b35);
}

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

.news h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #1e3c72;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.news-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(30, 60, 114, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.news-item.featured {
    grid-row: span 2;
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-item.featured .news-image {
    height: 300px;
}

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

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    z-index: 10;
}

.news-category.urgent {
    background: linear-gradient(45deg, #dc3545, #c82333);
    animation: pulse 2s infinite;
}

.news-category.officiel {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
}

.news-category.historique {
    background: linear-gradient(45deg, #28a745, #20c997);
}

.news-category.mobilisation {
    background: linear-gradient(45deg, #28a745, #34ce57);
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.news-category.adhesion {
    background: linear-gradient(45deg, #007bff, #0056b3);
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

.news-category.paix {
    background: linear-gradient(45deg, #dc3545, #bd2130);
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.news-content {
    padding: 2rem;
}

.news-item.featured .news-content {
    padding: 2.5rem;
    flex: 1;
}

.news-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-meta i {
    color: #2a5298;
}

.news-item h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.news-item.featured h3 {
    font-size: 1.6rem;
}

.news-item h3 a {
    color: #1e3c72;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item h3 a:hover {
    color: #2a5298;
}

.news-item p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.news-item.featured p {
    font-size: 1.1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2a5298;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.read-more:hover {
    color: #1e3c72;
    gap: 1rem;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

.news-footer {
    text-align: center;
    margin-top: 3rem;
}

.news-footer .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

/* Responsive news section */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-item.featured {
        grid-row: span 1;
    }
    
    .news-image,
    .news-item.featured .news-image {
        height: 200px;
    }
    
    .news-content,
    .news-item.featured .news-content {
        padding: 1.5rem;
    }
    
    .news h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* Donation Section */
.donation {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.donation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(180deg); }
}

.donation-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.donation h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.donation-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.donation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

/* Impact Section */
.donation-impact {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.donation-impact h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.impact-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.impact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.impact-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ff6b35;
}

.impact-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Donation Form */
.donation-form {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.donation-form h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.amount-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.amount-btn {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.amount-btn:hover,
.amount-btn.active {
    background: rgba(255,255,255,0.2);
    border-color: #ff6b35;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.amount-btn.popular {
    border-color: #ff6b35;
    background: rgba(255,107,53,0.2);
}

.popular-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b35;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.amount-btn .amount {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.amount-btn .frequency {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.custom-amount-section {
    margin: 2rem 0;
}

.custom-amount-section label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.custom-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-amount {
    flex: 1;
    padding: 1.2rem;
    padding-right: 3rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.custom-amount:focus {
    outline: none;
    border-color: #ff6b35;
    background: rgba(255,255,255,0.2);
}

.custom-amount::placeholder {
    color: rgba(255,255,255,0.7);
}

.currency {
    position: absolute;
    right: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff6b35;
}

.donation-actions {
    text-align: center;
}

.donate-btn {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255,107,53,0.4);
}

.security-note {
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Testimonial */
.donation-testimonial {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 2;
}

.donation-testimonial blockquote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.donation-testimonial cite {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .donation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .amount-grid {
        grid-template-columns: 1fr;
    }
    
    .donation h2 {
        font-size: 2rem;
    }
    
    .donation-impact,
    .donation-form,
    .donation-testimonial {
        padding: 2rem;
    }
}

.benefits {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.benefits li {
    padding: 0.5rem 0;
    color: rgba(255,255,255,0.9);
    position: relative;
    padding-left: 1.5rem;
}

.benefits li:before {
    content: "✓";
    color: #ff6b35;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: white;
    color: #1e3c72;
    border-color: white;
}

.custom-donation {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    max-width: 500px;
    margin: 0 auto;
}

.custom-donation h3 {
    margin-bottom: 2rem;
    color: white;
}

.custom-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.custom-amount {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.1);
    color: white;
}

.custom-amount::placeholder {
    color: rgba(255,255,255,0.7);
}

.donate-btn {
    min-width: 150px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    clear: both;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-section i {
    margin-right: 0.5rem;
    color: #2a5298;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-wrapper {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .logo {
        flex-direction: row;
        gap: 1rem;
        text-align: center;
        justify-content: center;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
        margin: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero {
        padding: 4rem 0;
        background-attachment: scroll;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        margin: 0;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mission-item {
        padding: 2rem;
        margin-bottom: 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mission-visual {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .mission-title {
        font-size: 2.2rem;
    }
    
    .mission-subtitle {
        font-size: 1.1rem;
    }
    
    .philosophy-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .intro-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .intro-card {
        padding: 2rem;
    }
    
    .pillars-introduction {
        padding: 2rem;
    }
    
    .pillars-introduction h3 {
        font-size: 1.6rem;
    }
    
    .president-badge {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .philosophy-header h2 {
        font-size: 2rem;
    }
    
    .mission-img {
        height: 200px;
    }
    
    .mps-support {
        flex-direction: column;
        text-align: center;
    }
    
    .mps-logo {
        width: 60px;
    }
    
    .leader-profile {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .leader-img {
        height: 250px;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        min-width: auto;
        padding: 1.5rem;
        border-radius: 20px 20px 0 0;
    }
    
    .event-content {
        padding: 1.5rem;
    }
    
    /* Testimonials grid supprimé - non utilisé */
    
    .donation-options {
        grid-template-columns: 1fr;
    }
    
    .donation-card.featured {
        transform: none;
    }
    
    .custom-form {
        flex-direction: column;
    }
    
    .news-item.featured {
        grid-column: span 1;
        flex-direction: column;
    }
    
    .news-item.featured .news-image {
        width: 100%;
        height: 200px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .engagement-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .alliance-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .mission h2,
    .events h2,
    .news h2,
    .donation h2 {
        font-size: 2rem;
    }
    
    .mission-item,
    .news-item {
        padding: 1.5rem;
    }
}

/* Animation for smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Micro-interactions */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Enhanced focus states for accessibility */
.btn:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
}

/* Improved link hover effects */
a {
    transition: all 0.3s ease;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Enhanced scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2a5298, #3b82f6);
}

/* Boutons Flottants Réseaux Sociaux - VISIBLES SUR TOUS LES FORMATS */
.floating-social-buttons {
    position: fixed !important;
    right: 25px;
    bottom: 25px;
    z-index: 9998 !important;
    display: flex !important;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    will-change: transform;
}

.floating-social-buttons .floating-btn {
    pointer-events: all;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

.floating-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: inherit;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.floating-btn:hover::before {
    transform: scale(1.2);
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.floating-btn:active {
    transform: translateY(-2px) scale(1.05);
    transition: transform 0.1s ease;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation-delay: 0s;
}

.whatsapp-btn::before {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

.whatsapp-btn:hover {
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

/* Phone Button */
.phone-btn {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    animation-delay: 0.2s;
}

.phone-btn::before {
    background: linear-gradient(135deg, #E55A2B 0%, #D4841A 100%);
}

.phone-btn:hover {
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

/* Facebook Button */
.facebook-btn {
    background: linear-gradient(135deg, #1877F2 0%, #42A5F5 100%);
    animation-delay: 0.5s;
}

.facebook-btn::before {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
}

.facebook-btn:hover {
    box-shadow: 0 15px 35px rgba(24, 119, 242, 0.4);
}

/* Email Button */
.email-btn {
    background: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
    animation-delay: 0.8s;
}

.email-btn::before {
    background: linear-gradient(135deg, #5A4FCF 0%, #8B80F9 100%);
}

.email-btn:hover {
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.4);
}

/* Icônes */
.btn-icon {
    color: white;
    font-size: 24px;
    z-index: 2;
    transition: all 0.3s ease;
}

.floating-btn:hover .btn-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Tooltips Améliorés */
.btn-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
                0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 180px;
    text-align: left;
}

.btn-tooltip span {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.btn-tooltip small {
    display: block;
    opacity: 0.8;
    font-size: 11px;
    font-weight: 400;
    color: #bdc3c7;
}

/* Badge de notification */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: white;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
    animation: badgePulse 2s infinite;
    z-index: 10;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.6);
    }
}

.btn-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #2c3e50;
}

.floating-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-10px);
}

/* Animations optimisées pour les boutons flottants */
.whatsapp-btn {
    animation: float 3s ease-in-out infinite, pulse 2s infinite;
}

.facebook-btn {
    animation: float 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Effet de notification */
.floating-btn::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    border-radius: 50%;
    border: 3px solid white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.whatsapp-btn::after {
    opacity: 1;
    transform: scale(1);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: scale(1) translateY(0);
    }
    40% {
        transform: scale(1.1) translateY(-5px);
    }
    60% {
        transform: scale(1.05) translateY(-3px);
    }
}

/* TOUS LES FORMATS - Styles universels pour la visibilité */
@media screen {
    .floating-social-buttons {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        transform: translateX(0) !important;
        z-index: 9999 !important;
        position: fixed !important;
    }
    
    .floating-social-buttons .floating-btn {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
    }
}

/* Tablettes et écrans moyens */
@media (min-width: 769px) and (max-width: 1024px) {
    .floating-social-buttons {
        right: 20px !important;
        bottom: 30px !important;
        gap: 16px !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        transform: translateX(0) !important;
    }
}

/* Version Mobile Ultra-Améliorée */
@media (max-width: 768px) {
    .floating-social-buttons {
        right: 12px !important;
        bottom: 85px !important; /* Position optimale pour tous les mobiles */
        gap: 18px !important;
        z-index: 9999 !important; /* Encore plus élevé */
        transform-origin: bottom right;
        opacity: 1 !important; /* Forcer la visibilité sur mobile */
        transform: translateX(0) !important; /* Forcer la position sur mobile */
        visibility: visible !important;
        display: flex !important;
        position: fixed !important;
    }
    
    /* Assurer que les boutons restent visibles pendant le scroll */
    .floating-social-buttons.scrolling {
        opacity: 0.9 !important;
        transform: translateX(0) scale(0.95) !important;
        visibility: visible !important;
        display: flex !important;
    }
    
    /* Forcer la visibilité même avec JavaScript désactivé */
    .floating-social-buttons {
        visibility: visible !important;
        display: flex !important;
    }
    
    /* Container avec effet glassmorphism */
    .floating-social-buttons::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        border-radius: 25px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .floating-social-buttons:hover::before {
        opacity: 1;
    }
    
    .floating-btn {
        width: 62px;
        height: 62px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 
                    0 4px 12px rgba(0, 0, 0, 0.15),
                    inset 0 1px 0 rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.3);
        position: relative;
        overflow: visible;
    }
    
    /* Effet de halo lumineux */
    .floating-btn::after {
        content: '';
        position: absolute;
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        border-radius: 50%;
        background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        opacity: 0;
        animation: rotate 3s linear infinite;
        z-index: -1;
    }
    
    .floating-btn:hover::after {
        opacity: 1;
    }
    
    @keyframes rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    
    .floating-btn:hover {
        transform: translateY(-5px) scale(1.08);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3), 
                    0 6px 15px rgba(0, 0, 0, 0.2);
    }
    
    /* Effet de particules */
    .floating-btn:active::before {
        content: '✨';
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 16px;
        animation: sparkle 0.6s ease-out;
        pointer-events: none;
    }
    
    @keyframes sparkle {
        0% { 
            opacity: 0; 
            transform: translateX(-50%) translateY(0) scale(0.5); 
        }
        50% { 
            opacity: 1; 
            transform: translateX(-50%) translateY(-10px) scale(1); 
        }
        100% { 
            opacity: 0; 
            transform: translateX(-50%) translateY(-20px) scale(0.5); 
        }
    }
    
    .btn-icon {
        font-size: 24px;
    }
    
    .btn-tooltip {
        right: 70px;
        font-size: 12px;
        padding: 8px 12px;
        border-radius: 20px;
        max-width: 180px;
        word-wrap: break-word;
    }
    
    /* Animation spéciale pour mobile */
    .floating-btn {
        animation: mobileFloat 2.5s ease-in-out infinite, mobilePulse 3s infinite;
    }
    
    .whatsapp-btn {
        animation-delay: 0s;
    }
    
    .facebook-btn {
        animation-delay: 0.3s;
    }
}

/* Très petits écrans mobiles */
@media (max-width: 480px) {
    .floating-social-buttons {
        right: 8px !important;
        bottom: 60px !important;
        gap: 12px !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
        visibility: visible !important;
        display: flex !important;
        position: fixed !important;
        z-index: 9999 !important;
    }
}

/* Écrans extra larges */
@media (min-width: 1200px) {
    .floating-social-buttons {
        right: 30px !important;
        bottom: 30px !important;
        gap: 20px !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        transform: translateX(0) !important;
        z-index: 9999 !important;
    }
}

/* Écrans ultra larges */
@media (min-width: 1600px) {
    .floating-social-buttons {
        right: 40px !important;
        bottom: 40px !important;
        gap: 22px !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        transform: translateX(0) !important;
    }
}

/* Styles pour très petits écrans - boutons */
@media (max-width: 480px) {
    .floating-btn {
        width: 54px;
        height: 54px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    }
    
    .btn-icon {
        font-size: 22px;
    }
    
    .btn-tooltip {
        display: none; /* Masquer les tooltips sur très petits écrans */
    }
    
    /* Notification badge plus visible sur mobile */
    .floating-btn::after {
        width: 18px;
        height: 18px;
        top: -4px;
        bottom: 15px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
    }
    
    .btn-icon {
        font-size: 20px;
    }
}

/* Amélioration pour les écrans tactiles */
@media (hover: none) and (pointer: coarse) {
    .floating-btn {
        /* Augmenter la zone de toucher */
        padding: 8px;
        min-width: 58px;
        min-height: 58px;
    }
    
    .floating-btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    /* Feedback tactile amélioré */
    .floating-btn::before {
        transition: transform 0.2s ease;
    }
    
    .floating-btn:active::before {
        transform: scale(1.3);
    }
}

/* Support pour les appareils avec encoche (iPhone X+) */
@supports (padding: max(0px)) {
    @media (max-width: 480px) {
        .floating-social-buttons {
            bottom: max(70px, env(safe-area-inset-bottom, 70px));
            right: max(12px, env(safe-area-inset-right, 12px));
        }
    }
}

/* Mode sombre mobile (si l'utilisateur préfère) */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
    .btn-tooltip {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .btn-tooltip::after {
        border-left-color: #1a1a1a;
    }
}

/* Animation d'attention pour mobile */
@media (max-width: 768px) {
    .floating-btn.attention {
        animation: mobileAttention 1s ease-in-out 3;
    }
}

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

/* Page-specific styles */
.page-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Main content layout */
.main-content {
    padding: 4rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.main-article {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.widget {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.widget h3 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

/* Content sections */
.content-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.content-section:last-child {
    border-bottom: none;
}

.section-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.vision-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.vision-item:hover {
    transform: translateY(-5px);
}

.vision-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Values list */
.values-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.value-icon {
    font-size: 2rem;
    color: #2a5298;
    min-width: 60px;
    text-align: center;
}

.value-content h3 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

/* Alliance content */
.alliance-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

.alliance-logo img {
    width: 100%;
    max-width: 150px;
    height: auto;
}

/* Team grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.member-photo img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.member-role {
    color: #2a5298;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Stats widget */
.stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2a5298;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Objectives list */
.objectives-list {
    list-style: none;
    padding: 0;
}

.objectives-list li {
    padding: 0.5rem 0;
    border-left: 3px solid #2a5298;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(42, 82, 152, 0.05);
}

/* Contact widget */
.contact-widget p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-widget i {
    color: #2a5298;
    width: 20px;
}

/* Program page styles */
.program-intro {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.intro-text {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.program-sections {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.program-section {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.section-icon {
    font-size: 4rem;
    color: #2a5298;
}

.section-title h2 {
    color: #1e3c72;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

.measures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.measure-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #2a5298;
}

.measure-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.measure-card ul {
    list-style: none;
    padding: 0;
}

.measure-card ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.measure-card ul li:before {
    content: "✓";
    color: #2a5298;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Timeline styles */
.program-timeline {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2rem;
}

.timeline-item {
    flex: 1;
    text-align: center;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.timeline-content h3 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

/* Budget styles */
.program-budget {
    margin-top: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.budget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.budget-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.budget-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2a5298;
    margin: 1rem 0;
}

/* Documents page styles */
.documents-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.document-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.document-card:hover {
    transform: translateY(-5px);
}

.document-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 2rem;
    text-align: center;
}

.document-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.document-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.document-date {
    font-size: 0.9rem;
    opacity: 0.8;
}

.document-content {
    padding: 2rem;
}

.document-summary {
    margin: 1.5rem 0;
}

.document-summary h4 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.document-summary ul {
    list-style: none;
    padding: 0;
}

.document-summary ul li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.document-summary ul li:before {
    content: "•";
    color: #2a5298;
    position: absolute;
    left: 0;
}

.document-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    margin: 2rem;
}

.modal-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.modal-body {
    padding: 2rem;
}

/* Legal notice styles */
.legal-notice {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.legal-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.legal-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.legal-item h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

/* Download center styles */
.download-center {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.download-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
}

.download-icon {
    font-size: 3rem;
    color: #2a5298;
    margin-bottom: 1rem;
}

.download-size {
    color: #666;
    font-size: 0.9rem;
    margin: 1rem 0;
}

/* Engagement page styles */
.engagement-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.intro-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.engagement-ways {
    margin-bottom: 4rem;
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.way-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.way-card:hover {
    transform: translateY(-5px);
}

.way-icon {
    font-size: 3rem;
    color: #2a5298;
    margin-bottom: 1rem;
}

.benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #2a5298; /* Couleur bleue pour les éléments de liste */
}

.benefits li:before {
    content: "✓";
    color: #2a5298;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Membership levels */
.membership-levels {
    margin-bottom: 4rem;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.level-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.level-card:hover {
    transform: translateY(-5px);
}

.level-card.featured {
    transform: scale(1.05);
    border: 2px solid #ff6b35;
}

.level-badge {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}

.level-badge.militant {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.level-price {
    font-size: 2rem;
    font-weight: bold;
    color: #2a5298;
    text-align: center;
    padding: 1rem;
}

.level-benefits {
    list-style: none;
    padding: 0 2rem;
    margin: 1rem 0 2rem;
}

.level-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.level-benefits li:before {
    content: "✓";
    color: #2a5298;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Form styles */
.form-container {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.engagement-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #1e3c72;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2a5298;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
}

.social-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Contact grid */
.engagement-contact {
    margin-top: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-icon {
    font-size: 3rem;
    color: #2a5298;
    margin-bottom: 1rem;
}

/* Animation fadeInUp supprimée - doublon avec fadeInUp existant */

.mission-item,
.news-item,
.event-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Featured Article Styles */
.featured-article {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    transition: transform 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.article-image {
    position: relative;
    overflow: hidden;
}

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

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

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    z-index: 10;
}

.article-category.communique {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
}

.article-category.evenement {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
}

.article-category.analyse {
    background: linear-gradient(45deg, #28a745, #20c997);
}

.article-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-meta i {
    color: #2a5298;
}

.article-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-content h2 a {
    color: #1e3c72;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h2 a:hover {
    color: #2a5298;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2a5298;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #1e3c72;
    gap: 1rem;
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

/* News Articles Grid */
.news-articles {
    margin-top: 3rem;
}

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

.news-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.card-category.evenement {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
}

.card-category.communique {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
}

.card-category.mouvement {
    background: linear-gradient(45deg, #28a745, #20c997);
}

.card-content {
    padding: 2rem;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #666;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.card-content h3 a {
    color: #1e3c72;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-content h3 a:hover {
    color: #2a5298;
}

.card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.card-read-more {
    color: #2a5298;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.card-read-more:hover {
    color: #1e3c72;
}

/* Responsive adjustments for featured article */
@media (max-width: 768px) {
    .featured-article {
        grid-template-columns: 1fr;
    }
    
    .article-image {
        height: 250px;
    }
    
    .article-content {
        padding: 2rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Project Society Page Styles */
.vision-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.intro-visual img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.lead {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #666;
    font-weight: 300;
}

/* Society Pillars */
.society-pillars {
    margin-bottom: 4rem;
}

.society-pillars h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3c72;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pillar-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #2a5298;
}

.pillar-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.pillar-icon {
    font-size: 4rem;
    color: #2a5298;
    margin-bottom: 1.5rem;
    display: block;
}

.pillar-item h3 {
    font-size: 1.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.pillar-item p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.pillar-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.pillar-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.pillar-features li:before {
    content: "✓";
    color: #2a5298;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Values Highlights */
.values-highlights {
    margin: 4rem 0;
}

.value-highlight {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.value-highlight.reverse {
    grid-template-columns: 2fr 1fr;
}

.value-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.value-content h3 {
    font-size: 1.8rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.value-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
}

.value-commitments {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #2a5298;
}

.value-commitments h4 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.value-commitments ul {
    list-style: none;
    padding: 0;
}

.value-commitments ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.value-commitments ul li:before {
    content: "→";
    color: #2a5298;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Call to Action Section */
.society-cta {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-radius: 15px;
    margin: 4rem 0;
}

.society-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.society-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive adjustments for project society */
@media (max-width: 768px) {
    .vision-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .value-highlight,
    .value-highlight.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Enhanced Mobile Optimizations */
@media (max-width: 768px) {
    /* Header improvements */
    .header {
        padding: 0.5rem 0;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .nav-wrapper {
        position: relative;
        padding: 0 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .logo {
        justify-content: flex-start;
        margin-bottom: 0;
        order: 2;
        flex: 1;
        text-align: center;
    }
    
    .logo h1 {
        font-size: 1.2rem;
        text-align: center;
        margin: 0;
    }
    
    .contact-info {
        display: none; /* Masqué sur mobile pour économiser l'espace */
    }
    
    /* Navigation mobile à gauche */
    .main-nav {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100vh;
        background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        padding-top: 80px;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 2rem 0;
        margin: 0;
        list-style: none;
    }
    
    .main-nav > ul > li {
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-nav > ul > li > a {
        display: block;
        padding: 1rem 2rem;
        color: white;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .main-nav > ul > li > a:hover,
    .main-nav > ul > li > a:active {
        background: rgba(255,255,255,0.1);
        padding-left: 2.5rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.2);
        border-radius: 0;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-menu a {
        padding: 0.8rem 3rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        color: rgba(255,255,255,0.9);
        font-size: 0.9rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        background: rgba(255,255,255,0.1);
        color: white;
        padding-left: 3.5rem;
    }
    
    /* Menu toggle button */
    .nav-toggle {
        order: 1;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }
    
    /* Overlay pour fermer le menu */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Hero section mobile */
    .hero {
        padding: 3rem 0;
        background-attachment: scroll;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-content .btn {
        display: block;
        margin: 1rem auto;
        max-width: 280px;
        text-align: center;
    }
    
    /* Page headers mobile */
    .page-header {
        padding: 2rem 0 1rem;
    }
    
    .page-header-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .page-header-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Content sections mobile */
    .main-content {
        padding: 2rem 0;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-article,
    .widget {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Mission section mobile */
    .mission {
        padding: 2rem 0;
    }
    
    .mission h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .mission-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mission-item {
        padding: 1.5rem;
    }
    
    .mission-visual {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .mission-img {
        height: 200px;
        margin: 0 auto;
    }
    
    /* Support section mobile */
    .support {
        padding: 2rem 0;
    }
    
    .support h2 {
        font-size: 1.8rem;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .support-item {
        padding: 1.5rem;
    }
    
    /* Events mobile */
    .events {
        padding: 2rem 0;
    }
    
    .events h2 {
        font-size: 1.8rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .event-item {
        flex-direction: column;
    }
    
    .event-date {
        padding: 1rem;
        min-width: auto;
        text-align: center;
    }
    
    .event-content {
        padding: 1.5rem;
    }
    
    /* News section mobile */
    .news {
        padding: 2rem 0;
    }
    
    .news h2 {
        font-size: 1.8rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-item.featured {
        grid-column: span 1;
        flex-direction: column;
    }
    
    .news-item.featured .news-image {
        width: 100%;
        height: 200px;
    }
    
    .news-content {
        padding: 1.5rem;
    }
    
    /* Sections testimonials supprimées - optimisation du code */
    
    /* Donation section mobile */
    .donation {
        padding: 2rem 0;
    }
    
    .donation-header h2 {
        font-size: 1.8rem;
    }
    
    .donation-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .donation-card.featured {
        transform: none;
    }
    
    .custom-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .custom-amount {
        margin-bottom: 1rem;
    }
    
    /* Footer mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Forms mobile */
    .form-container {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.8rem;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    /* Engagement page mobile */
    .engagement-intro {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        text-align: center;
    }
    
    .intro-image img {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    .ways-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .way-card {
        padding: 1.5rem;
    }
    
    .levels-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .level-card.featured {
        transform: none;
    }
    
    /* Documents page mobile */
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .document-card {
        margin-bottom: 1rem;
    }
    
    .document-header {
        padding: 1.5rem;
    }
    
    .document-content {
        padding: 1.5rem;
    }
    
    /* Program page mobile */
    .program-intro {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .program-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .section-icon {
        font-size: 3rem;
    }
    
    .measures-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .measure-card {
        padding: 1.5rem;
    }
    
    .timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .budget-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Extra small devices optimization */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Menu mobile plus étroit sur très petits écrans */
    .main-nav {
        width: 280px;
        left: -280px;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    /* Typography adjustments */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    
    /* Button adjustments */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Card padding reduction */
    .mission-item,
    .news-item,
    .event-item,
    .testimonial-item,
    .way-card,
    .level-card,
    .document-card {
        padding: 1rem;
    }
    
    /* Hero section extra small */
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    /* Navigation extra small */
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .contact-info {
        font-size: 0.7rem;
    }
    
    /* Form improvements for very small screens */
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 16px;
    }
    
    /* Modal adjustments */
    .modal-content {
        margin: 1rem;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    /* Footer extra small */
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.8rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .btn,
    .main-nav a,
    .dropdown-toggle {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Remove hover effects on touch devices */
    .mission-item:hover,
    .news-item:hover,
    .event-item:hover,
    .testimonial-item:hover {
        transform: none;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    /* Improve form inputs for touch */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 44px;
    }
    
    /* Better spacing for touch navigation */
    .dropdown-menu a {
        padding: 1rem 2rem;
        min-height: 44px;
    }
}

/* Mobile device specific improvements */
.mobile-device {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* Focus states for mobile */
.form-group.focused {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

.form-group.focused input,
.form-group.focused textarea,
.form-group.focused select {
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

/* Mobile navigation improvements */
@media (max-width: 768px) {
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .nav-wrapper {
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    
    .main-nav.active {
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Improved mobile cards */
@media (max-width: 768px) {
    .mission-item,
    .news-item,
    .event-item,
    .way-card,
    .document-card {
        margin-bottom: 1rem;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }
    
    .mission-item:active,
    .news-item:active,
    .event-item:active,
    .way-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Mobile-specific button improvements */
@media (max-width: 768px) {
    .btn {
        min-height: 48px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
    
    .btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .btn-primary {
        background: linear-gradient(135deg, #ff6b35, #f7931e);
    }
    
    .btn-secondary {
        background: linear-gradient(135deg, #1e3c72, #2a5298);
        color: white;
        border: none;
    }
}

/* Mobile typography improvements */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    p {
        margin-bottom: 1rem;
        line-height: 1.7;
    }
}

/* Mobile loading states */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #2a5298;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Mobile modal improvements */
@media (max-width: 768px) {
    .modal {
        padding: 1rem;
        align-items: flex-end;
    }
    
    .modal-content {
        width: 100%;
        max-height: 80vh;
        border-radius: 12px 12px 0 0;
        animation: slideUp 0.3s ease-out;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    .modal-header {
        padding: 1.5rem;
        border-bottom: 1px solid #eee;
    }
    
    .modal-body {
        padding: 1.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Mobile form improvements */
@media (max-width: 768px) {
    .form-container {
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-weight: 600;
        color: #1e3c72;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 1rem;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        font-size: 16px;
        transition: all 0.3s ease;
        background: white;
    }
    
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        outline: none;
        border-color: #2a5298;
        box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
    }
}

/* Mobile footer improvements */
@media (max-width: 768px) {
    .footer {
        background: #1a1a1a;
        border-top: 4px solid #2a5298;
    }
    
    .footer-section {
        margin-bottom: 2rem;
        padding: 1rem;
        background: rgba(255,255,255,0.02);
        border-radius: 8px;
    }
    
    .footer-section h3 {
        color: #2a5298;
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.8rem;
    }
    
    .footer-section a {
        color: #ccc;
        text-decoration: none;
        padding: 0.5rem 0;
        display: block;
        transition: color 0.3s ease;
    }
    
    .footer-section a:active {
        color: #2a5298;
    }
}

/* Mobile performance optimizations */
@media (max-width: 768px) {
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .hero {
        background-attachment: scroll;
    }
}

/* Safe area insets for modern mobile devices */
@supports (padding: max(0px)) {
    .header,
    .footer {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .hero,
    .main-content {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
}
