:root {
	--slate-900: #0f172a;
    --blue-900: #1e3a8a;
    --card-bg: #121e30;
    --primary-gradient: linear-gradient(180deg, #4f46e5 0%, #3b82f6 100%);
	--secondary-gradient: linear-gradient(180deg, #776ffc 0%, #51affc 100%);
    --indigo-glow: rgba(79, 70, 229, 0.6);
    --text-main: #ffffff;
    --text-muted: #cbd5e1;
    --accent-indigo: #6366f1;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, var(--slate-900), var(--blue-900));
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
	min-height: 100vh;
}

main {
    background: transparent;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 120px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 80px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}

.btn-nav {
    border: 1px solid var(--accent-indigo);
    padding: 8px 20px;
    border-radius: 8px;
}

/* Hero Video Section */
.hero-video-section {
    width: 100%;
    height: 60vh;
    margin-top: 120px;
    background: #000;
}

.video-container {
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Text */
.hero-text-section {
    padding: 80px 0;
    text-align: center;
}

.gradient-text {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.5rem;
    font-weight: 800;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 20px 0;
    color: var(--text-muted);
}

/* Why BlueHorn */
.why-bluehorn {
    padding: 20px 0;
	text-align: justify;
}

.content-box {
    display: flex;
    background: transparent; /* On enlève le fond global */
    border: 1px solid #475466;
    gap: 50px;               /* Espace entre les deux boîtes */
	padding: 30px;
	border-radius: 20px;
    align-items: center;
}

/* Style des deux nouveaux conteneurs (Texte et Vidéo) */
.text-card-wrapper, .video-card-wrapper {
    background: rgba(15, 23, 42, 0.6); /* Fond sombre identique à l'image */
    border: 1px solid #546173; /* Bordure fine et visible */
    border-radius: 20px;
    padding: 30px;
}

/* Bloc de gauche : Texte */
.text-card-wrapper {
    flex: 2;
    display: flex;
    align-items: center;
    text-align: justify;
}
.text-card-wrapper h2 {
    font-size: 2.2rem; /* Réduit la taille spécifiquement ici */
    margin-bottom: 10px;
}

.vertical-accent {
    width: 6px;
    min-height: 120px;
    height: 100%; /* S'adapte au contenu textuel */
    background: #4f46e5;
    flex-shrink: 0;
    margin-right: 25px;
    border-radius: 3px;
}

/* Bloc de droite : Vidéo */
.video-card-wrapper {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
	padding: 15px;
}

.video-placeholder {
    width: 100%;
}

.video-placeholder video {
    width: 100%;
	max-height: 250px;
    border-radius: 6px; /* Coins légèrement arrondis pour la vidéo */
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Features Grid */
.features-outer-wrapper {
    background-color: #02050d; 
    width: 100%;
    padding: 60px 0; /* Ajoute de l'espace en haut et en bas de la section */
    margin: 40px 0;   /* Espace avec les sections au-dessus et en-dessous */
}
.features {
    padding: 0 !important;
	text-align: center;
	
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
	font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
	justify-items: center;
	justify-content: center;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(79, 70, 229, 0.8);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
	
	width: 100%;
    max-width: 380px; /* Ajustez cette valeur pour réduire ou agrandir */
    margin: 0 auto;   /* Centre la carte dans sa colonne */
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.3);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    padding: 16px; 
    border-radius: 20px; 
}

.card-body {
    padding: 25px;
	text-align: left;
}

.card-body h3 {
    margin-bottom: 10px;
	text-align: left;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
	text-align: justify;
	hyphens: auto;
}

.read-more-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--accent-indigo);
    font-weight: 600;
	transition: all 0.3s ease;
}
/* État au survol (Hover) */
.read-more-wrapper:hover {
    color: #86ddfc; /* Passage au Cyan */
}

.read-more-wrapper:hover .arrow {
    border-color: #86ddfc;
    color: #86ddfc;
}
.arrow {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-indigo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
	transition: all 0.3s ease;
}

/* --- NOUVEAU: AUDIENCE SECTION --- */
.audience-section {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(30, 64, 175, 0.4), rgba(49, 46, 129, 0.6));
    margin-top: 60px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.audience-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid #334155;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.audience-card h3 {
    color: #60a5fa;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.audience-card p {
    color: #bfdbfe;
    text-align: center; /* Exception: Les petites cartes d'audience rendent mieux centrées */
}

/* --- NOUVEAU: PHILOSOPHY SECTION --- */
.philosophy-section {
    padding: 60px 0;
    text-align: center;
}

.philosophy-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: white;
    text-align: center; /* Exception: Message principal centré */
}

.highlight {
    color: #60a5fa;
    font-weight: 600;
}

/* --- NOUVEAU: CTA SECTION --- */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(to right, #1e40af, #312e81);
    text-align: center;
}

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

.cta-section p {
    font-size: 1.15rem;
    color: #e5e7eb;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center; /* Exception: Centré */
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-gradient {
    background: linear-gradient(to bottom, #4f46e5, #60a5fa);
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-gradient:hover {
    background: linear-gradient(to bottom, #3b82f6, #a5f3fc);
    transform: translateY(-2px);
}

/*------------------------------------------------------Team-------------------------------------------------*/
.benefice-container {
	margin-top:20px;
    display: flex; /* Disposer les sous-blocs horizontalement */
    flex-wrap: wrap; /* Permettre l'affichage en colonne sur petits écrans */
    gap: 20px; /* Espacement entre les blocs */
    width: 100%; /* Occupe toute la largeur disponible */
	background-color: #061b3d; 
    box-sizing: border-box; /* Inclut les bordures et le padding */
}

/* Sous-blocs */
.block {
    flex: 1; /* Prendre une part égale de l'espace total */
    min-width: 300px; /* Largeur minimale pour les petits écrans */
    height: 290px; /* Hauteur fixe pour chaque bloc */
    border-radius: 4px; /* Coins arrondis */
    overflow: hidden; /* Contenir les débordements */
}

.video video {
    width: auto; /* La vidéo occupe toute la largeur disponible */
    max-width: 700px; /* Largeur maximale fixe pour la vidéo */
	margin-left: 150px;
    height: 400px; /* Conserve les proportions */
    border-radius: 4px; /* Coins arrondis */
}

/* Bloc de texte */
.text-block {
    display: flex; /* Aligner le contenu */
    flex-direction: column; /* Empiler les éléments verticalement */
    justify-content: center; /* Centrer verticalement */
    align-items: flex-start; /* Aligner les éléments à gauche */
    padding: 10px; /* Marges internes */
    text-align: justify; /* Alignement du texte */
}

.image-text {
    display: flex; /* Aligner l'image et le texte horizontalement */
    align-items: center; /* Centrer verticalement */
    gap: 15px; /* Espacement entre l'image et le texte */
}

.arrow-icon {
    width: 30px; /* Ajustez la taille de l'image selon vos besoins */
    height: auto; /* Conserve les proportions de l'image */
	display: inline-block; /* Ensure proper alignment */
}

.text-block h1 {
    font-size: 3.8rem; /* Taille du titre */
    margin-bottom: 5px; /* Espacement sous le titre */
    color: #429bf5; /* Couleur du titre */
}
.text-block h2 {
    font-size: 1.8rem; /* Taille du titre */
    margin-bottom: 5px; /* Espacement sous le titre */
    color: white; /* Couleur du titre */
	line-height: 1.2; /* Adjust line height for better centering */
}

/* Styling for the team page link */
.team-link {
    color: #429bf5; /* Blue text */
    /* text-decoration: none; Remove underline */
    font-size: 28px; /* Adjust size as needed */
    font-weight: bold; /* Make it stand out */
    transition: color 0.3s ease; /* Smooth hover transition */
}

.team-link:hover {
    color: #cb92f7; /* Change color on hover */
    text-decoration: underline; /* Add underline on hover */
}

/* ------------------------------------------------------- FOOTER ------------------------------------ */
.footer-dark {
    background: #111827; /* Noir/Gris très foncé comme bg-gray-900 */
    padding: 80px 0 40px;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}


@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.footer-brand h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-brand p {
    color: #9ca3af;
    text-align: left;
	max-width: 200px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #d1d5db;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact address {
    font-style: normal;
    color: #9ca3af;
}

.footer-contact p {
    margin-bottom: 8px;
    text-align: left;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 30px;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .content-box {
        flex-direction: column;
    }
    .text-card-wrapper, .video-card-wrapper {
        flex: none;
        width: 100%;
        padding: 25px;
    }
}
/* Ajustement pour garder le responsive sur mobile/tablette */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; /* 1 seule colonne sur mobile */
    }
}