/* --- Variables & Global Reset --- */
:root {
    --primary-color: #008080; /* Teal/Turquoise - Couleur principale de THink IT */
    --secondary-color: #1a4d6f; /* Bleu foncé - Couleur d'accentuation */
    --text-color: #333;
    --light-bg: #f7f9fb;
    --dark-bg: #2c3e50;
    --font-family: 'Arial', sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    scroll-behavior: smooth;
}

/* --- Typographie et En-têtes --- */
h1, h2, h3, h4 {
    color: var(--secondary-color);
    font-weight: 700;
}
.highlight { 
    color: var(--primary-color); 
}
.title-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.title-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}
.section-lead {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 3rem;
}


/* --- Customisation Bootstrap --- */

/* Navbar et Logo */
.logo-bold {
    font-size: 1.8em;
    font-weight: 900;
    color: var(--primary-color);
}
.logo-light {
    font-size: 1.8em;
    font-weight: 400;
    color: #000;
}
.tagline {
    font-size: 0.7em;
    color: #666;
    margin-top: -5px;
}

.navbar .nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin-left: 15px;
    position: relative;
}
.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--primary-color);
}

/* Boutons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #006666;
    border-color: #006666;
    box-shadow: 0 5px 15px rgba(0, 128, 128, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background-color: #103348;
    border-color: #103348;
    box-shadow: 0 5px 15px rgba(26, 77, 111, 0.3);
}

/* --- Hero Section & Carousel --- */
.hero-section {
    height: 70vh; /* Hauteur de la section Hero */
    min-height: 550px;
}
.hero-section .container {
    height: 100%;
}

/* Styles du carrousel pour l'effet de fond */
#heroCarousel .carousel-item {
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease-in-out;
    height: 100%;
}
/* Overlay pour rendre le texte lisible */
#heroCarousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Assombrir l'arrière-plan */
    z-index: 5;
}

/* Contenu du Hero (texte) */
.hero-content {
    max-width: 800px;
}
.hero-content h1 {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.hero-content .lead {
    color: #f0f0f0;
    font-weight: 300;
}


/* --- Expertise Cards --- */
.expertise-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 5px solid var(--primary-color);
    text-align: center;
    border-left: none; /* Désactiver la bordure gauche pour garder le style Bootstrap */
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* --- Expertise Cards --- */
/* ... (code précédent) ... */

.expertise-card i {
    /* Correction pour assurer une forme parfaitement ronde */
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    border: 2px solid var(--primary-color);
    padding: 15px; /* Padding uniforme pour garantir un cercle si la police est centrée */
    width: 65px; /* Fixer une largeur */
    height: 65px; /* Fixer une hauteur égale à la largeur */
    display: inline-flex; /* Utiliser flex pour centrer l'icône dans la boîte carrée */
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Assure une forme parfaitement ronde */
    transition: background-color 0.3s, color 0.3s;
}

.expertise-card:hover i {
    background-color: var(--primary-color);
    color: #fff;
}
/* ... (code suivant) ... */


/* --- About Section --- */
.about-image-placeholder {
    /* Style pour le placeholder d'image à droite */
    background-color: var(--light-bg);
    min-height: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Remplacer par une image réelle en production */
    background-image: url('images/placeholder-team.png'); 
    background-size: cover;
    background-position: center;
}

.value-list li {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.value-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* --- Why Us Section --- */
.bg-gray {
    background-color: var(--light-bg);
}

.icon-circle {
    font-size: 1.8em;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 15px;
}

/* --- Clients Section --- */
.client-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 70px;
    font-size: 0.9em;
    color: #999;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    transition: border-color 0.3s;
}
.client-logo-placeholder:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* --- Footer --- */
.footer {
    background: var(--dark-bg);
    color: #fff;
}
.footer-title {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 20px;
}
.footer p, .footer a, .footer li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95em;
}
.footer a:hover {
    color: #fff;
}
.footer i {
    margin-right: 10px;
    color: var(--primary-color);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Fix pour l'input group Bootstrap */
.input-group .btn-secondary {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 450px;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
}

/* --- Clients Section Logos --- */
#clients {
    padding-bottom: 50px;
}
.clients-logo-grid {
    /* Utiliser la grille Bootstrap pour l'alignement centré */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* Espace entre les logos */
}

.client-logo-item {
    /* Conteneur pour centrer et limiter la taille du logo */
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 150px; /* Largeur maximale pour un logo */
    height: 60px; /* Hauteur uniforme pour tous les logos */
    transition: all 0.3s ease;
}

.client-logo-item:hover {
    /* Cet effet garantit que l'image ne devient pas floue au survol */
    transform: scale(1.05); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.client-logo {
    /* S'assurer que l'image s'adapte à son conteneur */
    max-height: 100%;
    width: auto;
}