:root, [data-bs-theme=light]
{
    --bs-primary-rgb: 18, 119, 187;
}

:root {
	--header-bg: var(--fifth-color);
    --primary-color: #104275;
	--secondary-color: #1277bb;
	--third-color: #2d5a87;
	--fourth-color: #2c5aa0;
	--fifth-color: #f8f9ff;
	--sixth-color: #e3f2fd;
	--primary-green: #16A34A;
	--secondary-green: #15803D;
	--dark-green: #14532D;
	--light-gray: #F8FAFC;
	--text-dark: #1E293B;
	--text-light: #64748B;
}

body {
	background-image: url(../images/bg.png);
	background-size: cover;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--secondary-color);
    --bs-btn-border-color: var(--secondary-color);
}

.navbar-dark, .navbar[data-bs-theme=dark] {
    --bs-navbar-color: #fff;
}

.navbar {
    background-color: var(--secondary-color);
}

.header-banner {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--third-color) 50%, var(--secondary-color) 100%);
	color: white;
	padding: 60px 0;
	position: relative;
	overflow: hidden;
}

.header-banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.header-banner-title {
	font-size: 3rem;
	font-weight: bold;
	text-align: center;
	margin: 0;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
	position: relative;
	z-index: 2;
}

.header-banner-subtitle {
	text-align: center;
	margin-bottom: 0;
	font-size: 1.2rem;
	opacity: 0.9;
	position: relative;
	z-index: 2;
}

.competition-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
}

.competition-card {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(30, 58, 95, 0.15);
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	border: none;
	position: relative;
	border-top: 4px solid var(--primary-color);
}

.competition-card:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 20px 40px rgba(30, 58, 95, 0.25);
}

.card-header {
	background: linear-gradient(135deg, var(--primary-color), var(--third-color));
	color: white;
	padding: 25px 20px;
	border: none;
	position: relative;
	overflow: hidden;
}

.card-header::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 100px;
	height: 100px;
	background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
	border-radius: 50%;
	transform: translate(30%, -30%);
}

.competition-name {
	font-size: 1.6rem;
	font-weight: bold;
	margin: 0;
	position: relative;
	z-index: 2;
}

.competition-status {
	margin-top: 12px;
	position: relative;
	z-index: 2;
}

.status-badge {
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: bold;
	display: inline-flex;
	align-items: center;
}

.status-active {
	background: var(--secondary-color);
	color: white;
}

.status-inactive {
	background: linear-gradient(45deg, #5a6c7d, #495057);
	color: white;
}

.card-body {
	padding: 30px 25px;
}

.competition-info {
	margin-bottom: 25px;
}

.info-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #e9ecef;
	transition: all 0.3s ease;
}

.info-item:hover {
	background: rgba(30, 58, 95, 0.05);
	margin: 0 -15px 12px;
	padding: 10px 15px;
	border-radius: 8px;
}

.info-label {
	font-weight: 600;
	color: #5a6c7d;
	display: flex;
	align-items: center;
}

.info-value {
	font-weight: bold;
	color: var(--primary-color);
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	padding: 4px 12px;
	border-radius: 15px;
	font-size: 0.9rem;
}

.competition-actions {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.action-btn, .btn-back {
	flex: 1;
	background: linear-gradient(45deg, var(--primary-color), var(--third-color));
	color: white;
	padding: 10px 25px;
	border-radius: 25px;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: bold;
	transition: all 0.3s ease;
	border: none;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.action-btn::before, .btn-back::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
	transition: left 0.6s;
}

.action-btn:hover::before, .btn-back:hover::before {
	left: 100%;
}

.action-btn:hover, .btn-back:hover {
	background: linear-gradient(45deg, var(--third-color), var(--secondary-color));
	color: white;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(30, 58, 95, 0.3);
}

.action-btn:focus {
	color: white;
}

.empty-state {
	text-align: center;
	padding: 100px 20px;
	color: #5a6c7d;
	background: white;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.empty-state i {
	font-size: 5rem;
	margin-bottom: 30px;
	opacity: 0.4;
	color: var(--primary-color);
}

.empty-state h3 {
	font-size: 1.8rem;
	margin-bottom: 15px;
	color: var(--primary-color);
}

.back-button {
	text-align: center;
	margin-top: 50px;
}

.btn-back.btn:focus {
	color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
	.competitions-title {
		font-size: 2.2rem;
	}
	
	.competition-grid {
		grid-template-columns: 1fr;
	}
	
	.card-body {
		padding: 20px;
	}
}


body {
	background-color: #f5f6fa;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-section {
	background: linear-gradient(135deg, var(--fourth-color) 0%, #1e3f66 50%, var(--secondary-color) 100%);
	color: white;
	padding: 100px 0 80px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero-title {
	font-size: 4rem;
	font-weight: 800;
	margin-bottom: 20px;
	text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
	letter-spacing: -1px;
}

.custom-container {
	padding: 60px 0;
}

/* Style FRMF - Grille de compétitions */
.custom-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 25px;
	margin-bottom: 40px;
}

/* Cartes compétitions style FRMF */
.custom-card {
	position: relative;
	height: 180px;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	box-shadow: 0 8px 25px rgba(0,0,0,0.12);
	background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.custom-card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.custom-card::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 120px;
	height: 120px;
	background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
	border-radius: 50%;
	transform: translate(30%, -30%);
}

.custom-card-content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
	text-align: center;
	padding: 30px 20px;
}

.custom-name {
	font-size: 2.8rem;
	font-weight: 900;
	margin-bottom: 8px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
	letter-spacing: -1px;
}

.custom-subtitle {
	font-size: 0.95rem;
	opacity: 0.85;
	font-weight: 500;
}

/* Section statistiques */
.stats-section {
	background: white;
	border-radius: 20px;
	padding: 50px;
	margin-top: 60px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	border-top: 4px solid var(--fourth-color);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-top: 40px;
}

.stat-item {
	text-align: center;
	padding: 25px 15px;
	background: linear-gradient(135deg, var(--fifth-color) 0%, var(--sixth-color) 100%);
	border-radius: 15px;
	border: 2px solid transparent;
	background-clip: padding-box;
	position: relative;
	transition: all 0.3s ease;
}

.stat-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 25px rgba(44, 90, 160, 0.15);
	border-color: var(--fourth-color);
}

.stat-number {
	font-size: 3rem;
	font-weight: 800;
	color: var(--fourth-color);
	display: block;
	line-height: 1;
	margin-bottom: 8px;
}

.stat-label {
	color: #5a6c7d;
	font-weight: 600;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* État vide */
.empty-state {
	text-align: center;
	padding: 100px 20px;
	color: #6c757d;
}

.empty-state i {
	font-size: 5rem;
	margin-bottom: 30px;
	opacity: 0.4;
	color: var(--fourth-color);
}

.empty-state h3 {
	font-size: 1.8rem;
	margin-bottom: 15px;
	color: var(--fourth-color);
}

/* Responsive */
@media (max-width: 1200px) {	
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {	
	.custom-grid {
		grid-template-columns: 1fr;
	}
	
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	
	.custom-name {
		font-size: 2.2rem;
	}
	
	.stats-section {
		padding: 30px 20px;
	}
}

@media (max-width: 480px) {
	.stats-grid {
		grid-template-columns: 1fr;
	}
}

/* Animations */
@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.custom-card {
	animation: slideInUp 0.6s ease forwards;
	opacity: 0;
}

.navigation-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.nav-card {
	background: white;
	border-radius: 15px;
	padding: 40px 30px;
	text-align: center;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	border: none;
	text-decoration: none;
	color: inherit;
	position: relative;
	overflow: hidden;
	margin-bottom: 40px;
}

.nav-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
	transition: left 0.6s;
}

.nav-card:hover::before {
	left: 100%;
}

.nav-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0,0,0,0.2);
	text-decoration: none;
	color: inherit;
}

.nav-card-icon {
	font-size: 3rem;
	margin-bottom: 20px;
	color: var(--secondary-color);
}

.nav-card-title {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 15px;
	color: #2c3e50;
}

.nav-card-description {
	color: #6c757d;
	margin: 0;
}

.division-card, .program-season-card {
	background: white;
	border-radius: 10px;
	padding: 25px;
	margin-bottom: 20px;
	border-left: 4px solid #28a745;
	transition: all 0.3s ease;
}

.division-name, .program-season-name {
	font-size: 1.3rem;
	font-weight: bold;
	color: #2c3e50;
}

.calendar-header, .results-header, .standings-header {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
	color: white;
	padding: 40px 0;
	position: relative;
	overflow: hidden;
}

.calendar-header::before {
	content: '';
	position: absolute;
	top: -50px;
	right: -50px;
	width: 200px;
	height: 200px;
	background: rgb(34,57,139);
	border-radius: 50%;
	opacity: 0.1;
}

.calendar-header::after {
	content: '';
	position: absolute;
	bottom: -100px;
	left: -100px;
	width: 300px;
	height: 300px;
	background: rgb(34,57,139);
	border-radius: 50%;
	opacity: 0.05;
}

.calendar-title, .results-title, .standings-title {
	font-size: 2.8rem;
	font-weight: bold;
	text-align: center;
	margin: 0;
	position: relative;
	z-index: 2;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.breadcrumb-nav {
	background: rgba(255,255,255,0.15);
	border-radius: 25px;
	padding: 15px 25px;
	margin-top: 15px;
	position: relative;
	z-index: 2;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,0.1);
}

.breadcrumb-nav a {
	color: rgba(255,255,255,0.9);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
	color: white;
	text-decoration: underline;
}

/* Navigation Tabs Style */
.navigation-tabs {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: -20px auto 30px;
	position: relative;
	z-index: 3;
}

.nav-tab {
	background: white;
	color: var(--text-dark);
	padding: 15px 30px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
	border: 3px solid transparent;
	position: relative;
	overflow: hidden;
}

.nav-tab.active {
	background: var(--primary-green);
	color: white;
	border-color: var(--secondary-green);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3);
}

.nav-tab:hover:not(.active) {
	background: var(--light-gray);
	transform: translateY(-1px);
	box-shadow: 0 5px 18px rgba(0,0,0,0.15);
	border-color: var(--primary-green);
}

.nav-tab::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
	transition: left 0.5s;
}

.nav-tab:hover::before {
	left: 100%;
}

.match-table {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(220, 20, 60, 0.15);
	border: 2px solid #f1f5f9;
}

.table-header {
	background: linear-gradient(135deg, var(--dark-green) 0%, var(--secondary-green) 100%);
	color: white;
}

.table-header th {
	padding: 20px 15px;
	font-weight: 600;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: none;
}

.match-row {
	border-bottom: 1px solid #e2e8f0;
	transition: all 0.3s ease;
}

.match-row:hover {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	transform: translateY(-1px);
}

.match-row:last-child {
	border-bottom: none;
}

.match-row td {
	padding: 20px 15px;
	vertical-align: middle;
	border: none;
}

.team-name {
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--text-dark);
}

.match-time {
	font-size: 1.1rem;
	font-weight: bold;
	color: var(--primary-color);
}

.match-date {
	font-size: 0.9rem;
	color: var(--text-light);
}

.round-badge {
	background: linear-gradient(45deg, var(--primary-green), var(--secondary-green));
	color: white;
	padding: 6px 15px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

.btn-outline-secondary {
	border: 2px solid var(--text-light);
	color: var(--text-light);
	font-weight: 500;
	padding: 12px 25px;
	border-radius: 25px;
	transition: all 0.3s ease;
	background: white;
}

.btn-outline-secondary:hover {
	background: var(--primary-green);
	border-color: var(--primary-green);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
}

.filter-section {
	background: white;
	border-radius: 15px;
	padding: 25px;
	margin-bottom: 30px;
	box-shadow: 0 4px 15px rgba(220, 20, 60, 0.1);
	border-left: 5px solid var(--primary-color);
}

.empty-state {
	text-align: center;
	padding: 80px 20px;
	color: var(--text-light);
}

.empty-state i {
	font-size: 4rem;
	margin-bottom: 20px;
	color: var(--primary-color);
	opacity: 0.6;
}

.empty-state h5 {
	color: var(--text-dark);
	font-weight: 600;
	margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.navigation-tabs {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}
	
	.nav-tab {
		padding: 12px 25px;
		font-size: 0.9rem;
	}
	
	.calendar-title {
		font-size: 2.2rem;
	}
}

.results-header::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon fill="rgba(34,57,139,0.1)" points="100,0 100,50 50,100 0,100"/></svg>') no-repeat;
	background-size: cover;
}

.results-table {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(196, 30, 58, 0.15);
	border: 2px solid #f8f9fa;
}
	
.score-display {
	background: linear-gradient(135deg, #C41E3A 0%, #8B1538 100%);
	color: white;
	padding: 12px 25px;
	border-radius: 30px;
	font-weight: bold;
	font-size: 1.3rem;
	text-align: center;
	min-width: 130px;
	box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
	display: inline-block;
}

.score-separator {
	margin: 0 12px;
	font-size: 1.4rem;
}

.standings-header::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon fill="rgba(34,57,139,0.1)" points="100,0 100,50 50,100 0,100"/></svg>') no-repeat;
	background-size: cover;
}

.standings-container {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(196, 30, 58, 0.15);
	border: 2px solid #f8f9fa;
}

.standings-table {
	margin: 0;
}

.position-cell {
	width: 60px;
	text-align: center;
	font-weight: bold;
	font-size: 1.2rem;
}

.team-cell {
	font-weight: 600;
	color: #1B4332;
	font-size: 1.05rem;
}

.stats-cell {
	text-align: center;
	font-weight: 500;
	padding: 15px 8px;
}

.points-cell {
	color: white;
	text-align: center;
	font-weight: bold;
	font-size: 1.2rem;
	box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

/* .champion-position { */
	/* background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%); */
	/* border-left: 4px solid #FFD700; */
/* } */

/* .europa-position { */
	/* background: linear-gradient(135deg, rgba(34, 139, 34, 0.15) 0%, rgba(34, 139, 34, 0.08) 100%); */
	/* border-left: 4px solid #228B22; */
/* } */

/* .relegation-position { */
	/* background: linear-gradient(135deg, rgba(196, 30, 58, 0.15) 0%, rgba(196, 30, 58, 0.08) 100%); */
	/* border-left: 4px solid #C41E3A; */
/* } */

.standings-table tbody tr {
	transition: all 0.3s ease;
	border-bottom: 1px solid #e9ecef;
}

.standings-table tbody tr:hover {
	transform: translateX(5px);
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.table-legend {
	background: white;
	border-radius: 15px;
	padding: 25px;
	margin-top: 25px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
	border: 1px solid #e9ecef;
}

/* .legend-item { */
	/* display: inline-flex; */
	/* align-items: center; */
	/* margin-right: 25px; */
	/* margin-bottom: 12px; */
	/* font-weight: 500; */
/* } */

/* .legend-color { */
	/* width: 24px; */
	/* height: 24px; */
	/* border-radius: 6px; */
	/* margin-right: 10px; */
	/* box-shadow: 0 2px 4px rgba(0,0,0,0.2); */
/* } */

/* .champion-legend { */
	/* background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); */
/* } */

/* .europa-legend { */
	/* background: linear-gradient(135deg, #228B22 0%, #1B4332 100%); */
/* } */

/* .relegation-legend { */
	/* background: linear-gradient(135deg, #C41E3A 0%, #8B1538 100%); */
/* } */
	
/* Animation pour les lignes */
@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.standings-table tbody tr {
	animation: slideInRight 0.5s ease forwards;
}

.standings-table tbody tr:nth-child(even) {
	animation-delay: 0.1s;
}

.standings-table tbody tr:nth-child(odd) {
	animation-delay: 0.05s;
}

.standings-table .team-logo {
	height: 30px;
	width: 30px;
	object-fit: cover;
}

/* Header principal */
.main-header {
    background: var(--header-bg);
    border-bottom: 5px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(16, 66, 117, 0.1);
}

/* Logo et texte */
.header-logo {
    height: 75px;
    transition: transform 0.2s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.logo-text h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.logo-text small {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Navigation principale */
.main-nav .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin: 0 0.25rem;
}

.main-nav .dropdown-toggle::after {
    vertical-align: .1em;
}

/* Boutons personnalisés avec vos couleurs */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Dropdown menu */
.dropdown-menu {
    border: 1px solid rgba(16, 66, 117, 0.2);
    box-shadow: 0 4px 15px rgba(16, 66, 117, 0.15);
}

.dropdown-item:hover {
    background-color: var(--header-bg);
    color: var(--primary-color);
}

/* Footer modernisé */
.modern-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--third-color) 50%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem 0 2rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
}

.modern-footer .container {
    position: relative;
    z-index: 2;
}

.modern-footer h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modern-footer img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.modern-footer img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive Design pour le footer */
@media (max-width: 768px) {
    .modern-footer {
        padding: 2rem 0 1.5rem;
    }
}

.program-file {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.program-file:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(45, 90, 135, 0.2);
    transform: translateY(-2px);
}

.file-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.file-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--third-color) 50%, var(--secondary-color) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.file-icon i {
    font-size: 1.5rem;
    color: white;
}

.file-details h5 {
    margin: 0;
    font-size: 1.1rem;
    color: #2d3748;
    font-weight: 600;
}

.file-details p {
    margin: 0;
    font-size: 0.9rem;
    color: #718096;
}

.download-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--third-color) 50%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 90, 135, 0.4);
    color: white;
}

.download-btn i {
    font-size: 1.2rem;
}
