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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;

}
.nav-btn {
    background: #3498db;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}
.nav-btn:hover {
    background: #217dbb;
}

header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) ;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ffd700;
    transform: translateY(-2px);
}

.nav-links a.active {
    color: #ffd700;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

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

.hero-about {
    background: linear-gradient(rgba(30, 60, 114, 0.9), rgba(42, 82, 152, 0.9)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231e3c72" width="1200" height="600"/><circle cx="300" cy="200" r="100" fill="%232a5298" opacity="0.3"/><circle cx="900" cy="350" r="120" fill="%23ffd700" opacity="0.2"/><polygon points="600,50 750,250 450,250" fill="%23ffffff" opacity="0.1"/></svg>');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: 80px;
}

.hero-content  {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-about h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-about p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.breadcrumb {
    background: rgba(255, 215, 0, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
}

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

.breadcrumb span {
    opacity: 0.8;
}

/* Story Section */
.story {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #070707, #2b2b2c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.story-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

.story-text h3 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.story-text p {
    margin-bottom: 1.5rem;
    color: #666;
}

.highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    padding: 2px 8px;
    border-radius: 5px;
    color: #1e3c72;
    font-weight: bold;
}

.story-visual {
    position: relative;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: white;
    overflow: hidden;
}

.story-visual::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 400 300"><circle cx="100" cy="80" r="30" fill="%23ffd700" opacity="0.3"/><circle cx="300" cy="200" r="40" fill="%23ffffff" opacity="0.1"/><rect x="50" y="150" width="80" height="80" fill="%23ffd700" opacity="0.2" transform="rotate(45 90 190)"/></svg>');
    opacity: 0.5;
}

.story-visual i {
    font-size: 4rem;
    color: #ffd700;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.story-visual h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.story-visual p {
    position: relative;
    z-index: 2;
    opacity: 0.9;
}

/* Mission Vision Values */
.mvv-section {
    padding: 100px 0;
    background: #1e3c72;
    color: white;
}

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

.mvv-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
}

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

.mvv-icon {
    font-size: 3.5rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
}

.mvv-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.mvv-card p {
    opacity: 0.9;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Team Section */
.team {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.member-image {
    height: 250px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.member-image i {
    font-size: 5rem;
    color: #ffd700;
    z-index: 2;
}

.member-image::after {
    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 300 250"><circle cx="80" cy="60" r="25" fill="%23ffd700" opacity="0.3"/><circle cx="220" cy="180" r="35" fill="%23ffffff" opacity="0.1"/></svg>');
    opacity: 0.5;
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-info h4 {
    color: #1e3c72;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 1rem;
}

.member-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.expertise-tag {
    background: rgba(30, 60, 114, 0.1);
    color: #1e3c72;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Experience Timeline */
.timeline {
    padding: 100px 0;
    background: #1e3c72;
    color: white;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 3rem;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #ffd700, #ffed4e);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

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

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin: 0 2rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.02);
}

.timeline-year {
    /* position: absolute; */
    /* left: 1%; */
    transform: translateX(-50%);
    background: #ffd700;
    color: #1e3c72;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);

    /* ✅ Anti-flou lors des animations */
    will-change: transform ;
    transform: translateX(-50%) translateZ(0);
    backface-visibility: hidden;
}



.timeline-content h4 {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Certifications */
.certifications {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

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

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.cert-icon {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.cert-item h4 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.cert-item p {
    color: #666;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

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

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1e3c72;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

/* Footer */
/* Footer */
footer {
    background: #0f1419;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: #ccc;
    line-height: 1.6;
}

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

.footer-section ul li {
    padding: 0.25rem 0;
}

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

.footer-section ul li a:hover {
    color: #ffd700;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-about h1 {
        font-size: 2.5rem;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .timeline-item {
        flex-direction: column !important;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column !important;
    }

    .timeline-content {
        margin: 2rem 0;
    }

    .timeline-line {
        left: 2rem;
    }

    .timeline-year {
        left: 2rem;
        transform: none;
    }
}
