:root {
    --primary: #006a4e;
    /* Vert Togo */
    --secondary: #ffce00;
    /* Jaune */
    --accent: #d21034;
    /* Rouge */
    --bg: #f4f7f6;
    --text: #333;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* Animations de révélation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.logo-container {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-family: 'Fredoka One';
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 106, 78, 0.9), rgba(255, 206, 0, 0.7)),
        url('https://images.unsplash.com/photo-1523050853064-59f2a2817812?auto=format&fit=crop&w=1500&q=80');
    /* Image générique UGB/Campus */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-logo {
    width: 150px;
    border-radius: 50%;
    border: 5px solid white;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.highlight {
    color: var(--secondary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-main {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-main:hover {
    transform: scale(1.1);
    background: #b00d2b;
}

/* Cards & Grid */
.container {
    padding: 80px 10%;
    text-align: center;
}

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

.card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
}

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

.card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Stats Section */
.stats-section {
    background: var(--primary);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.num {
    font-size: 3.5rem;
    font-weight: bold;
    display: block;
}

/* Contact Section */
.contact-info {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

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

.contact-item a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--primary);
}

footer {
    padding: 40px;
    text-align: center;
    background: #222;
    color: #888;
}