/* Navbar ONG BETHEL */
header {
    background-color: #005baa; /* Bleu profond ONG */
    padding: 10px 20px;
    color: #fff;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.donate-btn a {
    background-color: #ffcc00;
    color: #000;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
}

/* Hamburger menu mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #fff;
    margin-bottom: 4px;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 60px;
        background: #005baa;
        flex-direction: column;
        width: 200px;
        padding: 10px;
        display: none;
    }
    .nav-links.open {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
}
/* Footer ONG BETHEL */
footer {
    background-color: #003366;
    color: #fff;
    padding: 40px 20px 20px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.footer-container > div {
    flex: 1 1 250px;
    margin: 10px;
}

.footer-container h3 {
    margin-bottom: 10px;
    color: #ffcc00;
}

.footer-container a {
    color: #fff;
    text-decoration: none;
}

.footer-container a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #ffcc00;
    padding-top: 10px;
}

/* Responsive */
@media(max-width: 768px){
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
}
/* Hero Section */
.hero {
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-hero, .btn-hero-outline {
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    margin: 5px;
    display: inline-block;
}

.btn-hero {
    background-color: #ffcc00;
    color: #000;
}

.btn-hero-outline {
    border: 2px solid #ffcc00;
    color: #ffcc00;
    background: transparent;
}

.btn-hero:hover, .btn-hero-outline:hover {
    opacity: 0.8;
}

/* Responsive */
@media(max-width:768px){
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}
/* Sections principales homepage */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

/* Nos actions */
.actions h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #005baa;
}

.actions-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.actions .card {
    flex: 1 1 250px;
    background-color: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.actions .card h3 {
    margin-bottom: 10px;
    color: #003366;
}

/* Projet phare */
.project-tehiri {
    background-color: #e6f2ff;
    padding: 60px 20px;
}

.project-tehiri h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #005baa;
}

.project-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.project-content img {
    flex: 1 1 400px;
    border-radius: 8px;
    max-width: 100%;
}

.project-text {
    flex: 1 1 400px;
}

.project-text p {
    margin-bottom: 20px;
}

.project-text .btn-hero {
    text-decoration: none;
}

/* Chiffres clés */
.stats {
    padding: 60px 20px;
    background-color: #fff8e6;
    text-align: center;
}

.stats h2 {
    margin-bottom: 40px;
    color: #005baa;
}

.stats-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.stat-card {
    flex: 1 1 200px;
    background-color: #fffcf5;
    padding: 20px;
    border-radius: 8px;
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ff9900;
}

.stat-card p {
    font-size: 1rem;
    color: #333;
}

/* Responsive */
@media(max-width:768px){
    .actions-cards, .stats-cards, .project-content {
        flex-direction: column;
        align-items: center;
    }
}
/* Section Appel au don */
.donation-cta {
    background-color: #ffcc00;
    padding: 60px 20px;
    text-align: center;
    color: #000;
    border-radius: 8px;
    margin: 60px 0;
}

.donation-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.donation-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.donation-cta .btn-hero {
    background-color: #003366;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.donation-cta .btn-hero:hover {
    opacity: 0.9;
}

/* Responsive */
@media(max-width:768px){
    .donation-cta h2 {
        font-size: 1.8rem;
    }
    .donation-cta p {
        font-size: 1rem;
    }
}
/* Barre de progression */
.progress-bar {
    background-color: #e0e0e0;
    border-radius: 25px;
    height: 25px;
    margin: 20px 0;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #003366;
    border-radius: 25px 0 0 25px;
    transition: width 1s ease-in-out;
}
/* Partenaires */
.partners {
    padding: 60px 20px;
    background-color: #f0f8ff;
    text-align: center;
}

.partners h2 {
    color: #005baa;
    margin-bottom: 40px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.partners-logos img {
    height: 60px;
    object-fit: contain;
}

/* Actualités / Blog */
.blog {
    padding: 60px 20px;
    background-color: #fff;
}

.blog h2 {
    text-align: center;
    color: #005baa;
    margin-bottom: 40px;
}

.blog-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.blog-card {
    flex: 1 1 300px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f9f9;
    text-align: left;
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card h3 {
    margin: 15px;
    color: #003366;
}

.blog-card p {
    margin: 0 15px 15px 15px;
    font-size: 0.95rem;
    color: #333;
}

.blog-card .btn-hero-outline {
    margin: 0 15px 15px 15px;
}

/* Responsive */
@media(max-width:768px){
    .partners-logos, .blog-cards {
        flex-direction: column;
        align-items: center;
    }
}
/* Page Projets */
.projects-list {
    padding: 60px 20px;
}

.projects-list h2 {
    text-align: center;
    color: #005baa;
    margin-bottom: 40px;
}

.projects-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.project-card {
    flex: 1 1 300px;
    background-color: #f0f8ff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    margin: 15px 0 10px;
    color: #003366;
}

.project-card p {
    margin: 0 15px 10px 15px;
    font-size: 0.95rem;
}

.project-card .btn-hero-outline {
    text-decoration: none;
    margin-top: 10px;
}
/* Page Détail Projet */
.project-detail {
    padding: 60px 20px;
}

.project-detail h2 {
    text-align: center;
    color: #005baa;
    margin-bottom: 30px;
}

.project-detail img {
    display: block;
    max-width: 800px;
    width: 100%;
    margin: 0 auto 20px;
    border-radius: 8px;
}

.project-detail p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}

.project-detail .btn-hero {
    display: inline-block;
    margin: 20px auto;
    text-align: center;
}
/* Page Donate */
.donate-section {
    padding: 60px 20px;
    background-color: #f0f8ff;
}

.donate-section h2 {
    text-align: center;
    color: #005baa;
    margin-bottom: 30px;
}

.donate-section form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.donate-section label {
    font-weight: bold;
}

.donate-section input,
.donate-section select,
.donate-section textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
}

.donate-section button.btn-hero {
    background-color: #003366;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.donate-section button.btn-hero:hover {
    opacity: 0.9;
}

.success {
    background-color: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}
/* ================= ABOUT PAGE ================= */

.about-hero{
    background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url('../images/hero.jpg') center/cover;
    color:#fff;
    text-align:center;
    padding:120px 20px;
}

.about-hero h1{
    font-size:42px;
    margin-bottom:10px;
}

.about-section{
    padding:80px 20px;
    background:#fff;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.about-text p{
    margin-bottom:18px;
    line-height:1.7;
    color:#555;
}

.about-image img{
    width:100%;
    border-radius:12px;
}

/* mission */
.mission{
    background:#f4f7fb;
    padding:80px 20px;
}

.mission-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.mission-card{
    background:#fff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    text-align:center;
}

.mission-card h3{
    margin-bottom:15px;
}

/* actions */
.actions{
    padding:80px 20px;
    text-align:center;
}

.actions-grid{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
}

.action-card{
    background:#fff;
    padding:25px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

/* CTA */
.about-cta{
    background:#1c7ed6;
    color:#fff;
    text-align:center;
    padding:80px 20px;
}

.btn-primary{
    background:#fff;
    color:#1c7ed6;
    padding:12px 22px;
    border-radius:6px;
    text-decoration:none;
    margin:10px;
    display:inline-block;
}

.btn-secondary{
    border:2px solid #fff;
    color:#fff;
    padding:12px 22px;
    border-radius:6px;
    text-decoration:none;
    margin:10px;
    display:inline-block;
}
/* ================= ACTIONS PAGE ================= */

.actions-hero{
    background:linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url('../images/actions-hero.jpg') center/cover;
    color:#fff;
    text-align:center;
    padding:120px 20px;
}

.actions-intro{
    padding:70px 20px;
    text-align:center;
    background:#fff;
}

.actions-intro p{
    max-width:800px;
    margin:20px auto 0;
    color:#555;
    line-height:1.7;
}

/* liste actions */

.actions-list{
    padding:80px 20px;
    background:#f4f7fb;
}

.action-item{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
    margin-bottom:70px;
}

.action-item.reverse .action-image{
    order:2;
}

.action-image img{
    width:100%;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.action-content h3{
    margin-bottom:15px;
    font-size:26px;
}

.action-content p{
    margin-bottom:15px;
    color:#555;
    line-height:1.7;
}

/* CTA */

.actions-cta{
    background:#1c7ed6;
    color:#fff;
    text-align:center;
    padding:80px 20px;
}

/* responsive */

@media(max-width:900px){
    .action-item{
        grid-template-columns:1fr;
    }
    .action-item.reverse .action-image{
        order:0;
    }
}
/* ================= CONTACT PAGE ================= */

.contact-hero{
    background:linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
    url('../images/contact-hero.jpg') center/cover;
    color:#fff;
    text-align:center;
    padding:120px 20px;
}

.contact-section{
    padding:80px 20px;
    background:#f4f7fb;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.contact-form, .contact-info{
    background:#fff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.contact-form form{
    display:flex;
    flex-direction:column;
}

.contact-form label{
    margin-top:15px;
    margin-bottom:5px;
    font-weight:600;
}

.contact-form input,
.contact-form textarea{
    padding:10px;
    border:1px solid #ddd;
    border-radius:6px;
}

.alert{
    padding:10px;
    margin-bottom:15px;
    border-radius:6px;
}

.alert.success{
    background:#d4edda;
    color:#155724;
}

.alert.error{
    background:#f8d7da;
    color:#721c24;
}

@media(max-width:900px){
    .contact-grid{
        grid-template-columns:1fr;
    }
}
/* =============================
   STYLES FORMULAIRE CONTACT
   ============================= */

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px 25px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

h1 {
    text-align: center;
    margin-bottom: 25px;
    color: #1d72b8;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: 600;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
    transition: border 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #1d72b8;
    box-shadow: 0 0 5px rgba(29,114,184,0.3);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button {
    background-color: #1d72b8;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #155d8b;
    transform: translateY(-2px);
}

p {
    font-size: 14px;
}

p[style*="color:red"] {
    background: #ffe2e2;
    padding: 10px;
    border-radius: 6px;
    color: #a71d2a;
}

p[style*="color:green"] {
    background: #e2ffe2;
    padding: 10px;
    border-radius: 6px;
    color: #155724;
}

@media (max-width: 600px) {
    .container {
        margin: 20px;
        padding: 15px;
    }
    button {
        width: 100%;
    }
}
/* =============================
   FOOTER - DEVELOPPER INFO
   ============================= */
.footer-developper {
    background-color: #1d72b8;  /* bleu foncé */
    color: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    max-width: 300px;
    margin: 20px auto 0 auto;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: 'Poppins', sans-serif;
}

.footer-developper h3 {
    margin-bottom: 12px;
    font-size: 18px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 5px;
}

.footer-developper p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
}

.footer-developper p a {
    color: #ffd966; /* couleur accentuée pour les liens */
    text-decoration: none;
}

.footer-developper p a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .footer-developper {
        max-width: 100%;
        padding: 15px 20px;
        font-size: 13px;
    }

    .footer-developper h3 {
        font-size: 16px;
    }
}
/* =============================
   FOOTER - DEVELOPPER INFO
   ============================= */
.footer-developper {
    background-color: #1d72b8;  /* bleu foncé */
    color: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    max-width: 300px;
    margin: 20px auto 0 auto;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: 'Poppins', sans-serif;
}

.footer-developper h3 {
    margin-bottom: 12px;
    font-size: 18px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 5px;
}

.footer-developper p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
}

.footer-developper p a {
    color: #ffd966; /* couleur accentuée pour les liens */
    text-decoration: none;
}

.footer-developper p a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .footer-developper {
        max-width: 100%;
        padding: 15px 20px;
        font-size: 13px;
    }

    .footer-developper h3 {
        font-size: 16px;
    }
}
/* Barre de progression déjà existante avec .progress-bar */