/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* Navigation */


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

.nav-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    font-size: medium;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), 
            url('images/hero-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: slideIn 1.5s ease-out;
}

/* Animations */
@keyframes slideIn {
    from { transform: translateY(-100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Sections */
.values-section {
  
    background: #f8f9fa;
}
.values-section h2 {
    font-size: 3.6rem;
    color: var(--justvert);
}
.values-section h1 {
   font-size: large;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        left: 0;
        width: 100%;
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links a {
       color: #fff;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* Hero Section */


.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: slideIn 1.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(-100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Sections */

.objectives-section {
    padding: 5rem 2rem;
    background: white;
}
.objectives-section p {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c3e50;
}
.objectives-section h3 {
    color: #2c3e50;
    font-weight: bold;
}

.objectives-section h2 {
    font-size: 3.6rem;
    color: var(--justvert);
    
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
}

.objectives-grid h3 {
   font-size: 1.69rem;
   padding-bottom: 0.69rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 1rem;
    transition: transform 0.3s;
}
.value-card h3 {
    background: white;
    font-size: 1.66rem;
    border-radius: 10px;
   
    margin: 1rem;

}

.value-card:hover {
    transform: translateY(-10px);
}

.objective-item {
    text-align: center;
    padding: 2rem;
    border-left: 4px solid var(--accent);
}

.animated-number {
    font-size: 3rem;
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #2A5C82;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
   
    .hero h1 {
        font-size: 3rem;
    }
    
    .objectives-grid {
        grid-template-columns: 1fr;
    }

    .members-section h2 {
        font-size: 2.82rem;
    }

    .partners-section h2 {
        font-size: 2.82rem;
        }
        .values-section h2 {
            font-size: 2.82rem;
            
        }
}


/* Dans css/style.css */
/* -- NAVBAR -- */
.navbar {
    height: auto;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.79);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s ease;
  
}

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

.logo img {
    height: 5rem;
    transition: transform 0.3s;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-links {
    color: #2A5C82;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.nav-links::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--justvert);
    transition: width 0.3s;
}

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

.cta-button {
    background: var(--justvert);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all cubic-bezier(0.215, 0.610, 0.355, 1);
    text-decoration: none;
    font-weight: bold;
}

.cta-button0 {
    background: var(--accent);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all cubic-bezier(0.215, 0.610, 0.355, 1);
    text-decoration: none;
    font-size: medium;
    font-weight: bold;
    font-size: 1.3rem;
}

.cta-button:hover {
    background: var(--accent);
    transform: translateY(-2px);
}
.cta-button0:hover {
    background: var(--justvert);
    transform: translateY(-2px);
}

/* Menu mobile */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    width: 30px;
    height: 2px;
    background: var(--accent);
    position: relative;
    transition: all 0.3s;
    font-weight: bolder;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    transition: all 0.3s;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Animation menu mobile */
.nav-menu.active {
    transform: translateX(0) !important;
}

.menu-toggle.active .hamburger {
    background: var(--accent);
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        gap: 0.88rem;
    }
    
    .nav-links {
        gap: 0.88rem;
        
    }   
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 77%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.45);
        transition: right 1.1s ease;
        border-radius: 50px 10px 0;
    }

    .nav-menu.active {
        right: 0;
        background-color: #E94F37;
        
    }

    .nav-links {
        flex-direction: column;
        width: fit-content;
    }

    .nav-links {
        padding-bottom: 0.1;
        margin-right: 0px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1.5rem;
     
        margin-left: -22px;
        
    }
}

/* Dans css/style.css */

/* Effet Parallaxe */
.parallax {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 2.3s ease-out;
    
}

/* Section Membres */
.members-section {
   
    background: #fff;
}
.members-section h2 {
    font-size: 3.6rem;
    color: var(--justvert);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.menber-details {
    font-size: 1.11rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 2rem;
    border-left: 4px solid #E94F37;
    padding-left: 1.5rem;
}
.menber-details h3 {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--accent);
   
}

.menber-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c3e50;
}
.menber-card p {
   
    text-align: center;
    font-size: 1.11rem;
    line-height: 1.595;
    color: #2c3e50;
}

.menber-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(42,92,130,0.15);
}

.member-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s;
}

.member-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

.member-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.member-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E94F37;
    transition: width 0.3s;
}

.member-link:hover::after {
    width: 100%;
}

/* Effet Parallaxe Dynamique */
@media (min-width: 768px) {
    [data-parallax="scroll"] {
        background-attachment: fixed !important;
    }
}


:root {
    --primary: #2A5C82;
    --accent: #e94f37;
    --justvert:#49a246;
}

.hero-container {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dynamic-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, var(--primary) 0%, #1a3a5a 100%);
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding-top: 30vh;
}
.hero-content h3 {
   font-size: 2rem;
}

.hero-content p {
    font-size: 2.666rem;
    font-weight: bolder;
 }

.text-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.animated-title {
    font-size: 88px;
    font-weight: bolder;
}

.animated-text {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animated-text.active {
    opacity: 1;
    transform: translateY(0);
}

.animated-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    width: 0%;
    transition: width 4s linear;
    z-index: 3;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.cta-button {
    animation: float 2s ease-in-out;


}

.partners-section {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.partners-section h2 {
font-size: 3.6rem;
color: var(--justvert);
}

.partners-marquee {
    display: flex;
    overflow: hidden;
    padding: 2rem 0;
}

.partner-track {
    display: flex;
    animation: marquee 20s linear infinite;
}

.partner-item {
    margin: 0 4rem;
   
    transition: all 0.3s;
}

.partner-item:hover {
 
    transform: scale(1.1);
}

@keyframes slideAnim {
    0%, 33% { opacity: 1; }
    33.1%, 100% { opacity: 0; }
}

@keyframes textRotate {
    0%, 25% { opacity: 1; transform: translateY(0); }
    30%, 100% { opacity: 0; transform: translateY(-50px); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}



/* Styles typographiques */
.narrative-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.narrative-content h2 {
 font-size: 1.69rem;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 2rem;
    border-left: 4px solid #E94F37;
    padding-left: 1.5rem;
}

.core-values {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.value-item {
    background: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.value-item h3 {
  font-size: 1.66rem;
}

.value-icon {
    font-size: 3.8rem;
    margin-bottom: 1rem;
}

.mandate-list {
    list-style: none;
    padding-left: 0;
}

.mandate-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.599;
    color: #2c3e50;
}
.mission-text p {
    font-size: 1.2rem;
    line-height: 1.599;
    color: #2c3e50;
}

.mandate-list li::before {
    content: "•";
    color: #E94F37;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

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

.approach-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #f0f4f8;
}

blockquote.quote {
    font-style: italic;
    color: #2A5C82;
    border-left: 3px solid #E94F37;
    padding-left: 2rem;
    margin: 2rem 0;
}

blockquote footer {
    font-style: normal;
    font-weight: 600;
    margin-top: 1rem;
    color: #1a3a5a;
}

.history-timeline {
    margin-top: 3rem;
}

.color1{
    color:var(--accent);
}
.color2{
    color:var(--justvert);
}


.highlighted {
    font-size: 4.5rem;
    display: inline-block;
    background: linear-gradient(to right, #fff 30%, var(--accent) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: highlight 3s infinite alternate;
}

.highlighted-hero {
    display: inline-block;
    background: linear-gradient(to right, #fff 30%, var(--accent) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes highlight {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}


.dynamic-footer {
    background: linear-gradient(177deg, var(--accent) 20%, var(--justvert) 100%);
    color: white;
    position: relative;
    margin-top: 8rem;
}

.footer-wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0 80L1200 0V120H0Z" fill="%232a5c82"/></svg>');
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.footer-col {
    padding: 1.5rem;
}.footer-col h3 {
    font-size: 1.5rem;
    text-align: left;
}


.footer-col li a{
    text-decoration: none;
}

.footer-logo img {
    width: 200px;
    margin-bottom: 0.5rem;
   
}



.contact-info i {
   margin: auto;
    color: whitesmoke;
    font-weight: bold;
    font-size: 1.6rem;
    
}

.footer-links li {
    margin: 1rem 0;
    transition: transform 0.3s;
    text-align: left;
}

.footer-links ul {

    text-align: left;
}

.footer-links a {
    color: white;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-links a:hover {
    color: var(--justvert);
    transform: translateX(10px);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.social-grid a {
   text-decoration: none;
   font-size: 2.2rem;
   font-weight: bolder;
   color: bisque;
}

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: all 0.3s;
}

.social-icon:hover {
    transform: translateY(-5px);
}




.newsletter-box {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter-form button {
    background: #E94F37;
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--justvert);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.back-to-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    font-size: 2rem;
    color: bisque;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}


.projects-hero {
    height: 60vh;
    background: linear-gradient(rgba(233,79,55,0.9), rgba(233,79,55,0.7)),
                url('images/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 4rem;
}

.project-filter {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 2rem;
    background: #f8f9fa;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 2px solid #2A5C82;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active {
    background: #2A5C82;
    color: white;
}

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

.project-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 250px;
    background-size: cover;
    position: relative;
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #E94F37;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.project-info {
    padding: 1.5rem;
    background: white;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    color: #2A5C82;
}




/*  Page Projet  */


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

.project-card {
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.project-image {
    height: 200px;
    background-size: cover;
    position: relative;
}

        .project-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            color: white;
            font-weight: bold;
        }

        .ongoing { background: #E94F37; }
        .completed { background: #49a246; }

        /* Modal Styles */
        .project-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.9);
            overflow: auto;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }

        .modal-content {
            background: white;
            max-width: 800px;
            margin: 2rem auto;
            padding: 2rem;
            border-radius: 10px;
        }

        .close-btn {
            float: right;
            cursor: pointer;
            font-size: 24px;
        }

        .gallery-main {
            height: 500px;
            background-size: cover;
            border-radius: 15px 15px 0 0;
        }

        .thumbnail-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
            padding: 1rem;
        }

        .thumbnail {
            height: 100px;
            background-size: cover;
            cursor: pointer;
            border-radius: 5px;
            transition: transform 0.3s;
        }

        .thumbnail:hover {
            transform: scale(1.05);
        }

        .project-info {
            padding: 2rem;
        }

        .project-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin: 2rem 0;
        }

        @keyframes modalOpen {
            from { transform: scale(0.8); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .close-modal {
            position: absolute;
            top: 1rem;
            right: 1rem;
            color: white;
            font-size: 2rem;
            cursor: pointer;
        }


        .project-filters {
            text-align: center;
            margin: 3rem 0;
        }
    
        .filter-btn {
            padding: 1rem 2rem;
            margin: 0 1rem;
            border: 1px solid rgba(55, 39, 39,o.5);
            background: transparent;
            color: #2A5C82;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
        }
    
        .filter-btn.active {
            background: #49a246;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(42,92,130,0.3);
        }
    
        .filter-btn:hover:not(.active) {
            background: rgba(42,92,130,0.1);
        }

.menber-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow: auto;
}


.gallery-item {
    height: 200px;
    background-size: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item.zoomed {
    transform: scale(2);
    z-index: 1001;
}
.project-modal {
    animation: modalEntrance 0.3s ease-out;
}

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


.gallery-container {
    position: relative;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-image-container {
    flex-grow: 1;
    text-align: center;
}

.main-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.nav-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav-btn:hover {
    background: #2A5C82;
    color: white;
    transform: scale(1.1);
}

.image-counter {
    text-align: center;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 1rem;
}

.project-details {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 1rem;
}




/* Page Contact */

/* Hero Section */
.contact-hero {
    height: 60vh;
    background: linear-gradient(rgba(233,79,55,0.9), rgba(233,79,55,0.7)),
                url('images/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 4rem;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero-content h2 {
    font-size: 1.44rem;
}

/* Contact Cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--justvert);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-info p {
    margin: 0.9rem 0;
    color: #2A5C82;

}
.footer_l_t  {
   text-align-last:justify ;
}
.contact-info-footer  {
    text-align: left;
  
    
}
.contact-info-footer i {
   font-size: 1.5rem;
   margin-right: 1rem;
}
.contact-info-footer p {
    margin: 0.9rem 0;
    color: whitesmoke;

}

/* Formulaire */
.contact-form-section {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

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

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--primary);
    outline: none;
}

.submit-btn {
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.submit-btn:hover {
    transform: translateY(-3px);
}

/* Carte */
.contact-map {
    height: 400px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin: 4rem 0;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.79rem;
    }

    .hero-content p {
        font-size: 1.77rem;
        font-weight: bolder;
     }
}

.form-input:focus {
    border-color: var(--accent);
}

.submit-btn {
    background: var(--accent);
}

.submit-btn:hover {
    background: var(--accent); /* Nuance plus foncée */
}



#modalPortraitTitle {
font-size: 2.6rem;
}

.contact-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.contact-container::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    opacity: 0.1;
    border-radius: 30px;
    transform: rotate(45deg);
}

.logo-space {
    flex: 0 0 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 1rem;
    position: relative;

}

.logo-space img {
    max-width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.contact-section  {
    color: var(--accent-color);
    font-size: 1.11em;


}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 13px;
    border-radius: 25px;
    transition: background 0.3s ease;
    border: solid 3px black;
}

.contact-item:hover {
    background: #f8f9fa;
}

.icon-wrapper {
    border: solid 2px black;
    width: auto;
    height: auto;
    border-radius: 25px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    padding: 0.99rem;
}

.icon-wrapper i {
    color: var(--accent) !important;
    font-size: 1.9rem;
    font-weight: bolder;
}

.secondary-icon {
    color: var(--accent);
    margin-right: 8px;
    font-size: 0.9em;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

.contact-item p {
    color: var(--justvert);
    margin: 0;
    line-height: 1.6;
    
}

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

.contact-item a:hover {
    color: #c0392b;
    text-shadow: 0 2px 10px rgba(231, 76, 60, 0.2);
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .logo-space {
        height: 150px;
    }
    .logo-space img {
        max-width: 144px;
   
    }
    
    .contact-section h2 {
        font-size: 1.8rem;
    }
    .contact-item p {
        color: var(--justvert);
        margin: 0;
        line-height: 1.3;
        position: relative;
    }
}


.about-comite{

    display: flex;
   background-color: #c0392b;
   position: relative;
   width: 100vw;
   

}
.pic{
  display: flex;
  height: auto;
  width: 40vw;
  overflow: hidden;
  justify-content: center;
  text-align: center;
  background-color: #c02b64;
}
.pic img {
    width: 100%;
    height: auto;
    display: block;
}