:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --text-light: #6c7a89;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    background-color: #fff;
    overflow-x: hidden;
}

/* Header & Navigation */
.navbar {
    padding: 20px 0;
    background-color: transparent;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background-color: var(--secondary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/header.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.hero-btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    margin: 0 10px;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-img img {
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-item {
    display: flex;
    margin-bottom: 20px;
}

.about-icon {
    min-width: 50px;
    height: 50px;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.about-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.service-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    background-color: white;
    text-align: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-desc {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(rgba(52, 152, 219, 0.9), rgba(52, 152, 219, 0.9)), url('../images/kabi-logo.png');
    background-size: cover;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.stat-item {
    margin-bottom: 30px;
}

.stat-num {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Projects Section */
.projects-section {
    padding: 100px 0;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.project-img {
    position: relative;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.project-category {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.project-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-btn:hover {
    background-color: white;
    color: var(--primary-color);
}

.project-info {
    padding: 20px;
    background-color: white;
}

.project-info h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Footer */
.footer-section {
    background-color: var(--secondary-color);
    color: #d1d1d1;
    padding: 70px 0 0;
}

.footer-section h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-about p {
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #d1d1d1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 10px;
}

.footer-section .social-icons {
    margin-top: 20px;
}

.footer-section .social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-section .social-icons a:hover {
    background-color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Contact Page */
.contact-section {
    padding: 100px 0;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    min-width: 50px;
    height: 50px;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.form-control {
    height: 50px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    padding: 10px 20px;
    margin-bottom: 20px;
}

textarea.form-control {
    height: 150px;
    padding: 15px 20px;
}

.btn-submit {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/kabi-logo.png');
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px;
    color: white;
    text-align: center;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

/* Team Section */
.team-section {
    padding: 100px 0;
}

.team-card {
    text-align: center;
    margin-bottom: 30px;
}

.team-img {
    border-radius: 50%;
    overflow: hidden;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-position {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.team-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Testimonials */
.testimonial-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-content {
    position: relative;
    padding-top: 30px;
}

.testimonial-content:before {
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 2rem;
    color: rgba(52, 152, 219, 0.2);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 15px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .about-content, .contact-form {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .footer-about, .footer-links, .footer-contact {
        margin-bottom: 40px;
    }
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-img i {
    transform: scale(0.8);
    transition: transform 0.5s ease;
}

.project-img i {
    transition: transform 0.5s ease;
}

/* Stats Bar in Footer */
.stats-bar {
    background-color: rgba(52, 152, 219, 0.05);
    border-radius: 10px;
    margin: 20px 0;
    padding: 10px 0;
    border-top: 1px solid rgba(52, 152, 219, 0.1);
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
}

.stat-item {
    padding: 15px 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Social Share Buttons */
.social-share-container {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
}

.social-share-buttons {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 0 10px 10px 0;
    padding: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.social-share-buttons p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--text-light);
    text-align: center;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 5px 0;
    color: white;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
    color: white;
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

/* Media queries for responsive social sharing */
@media (max-width: 767px) {
    .social-share-container {
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
    }
    
    .social-share-buttons {
        flex-direction: row;
        justify-content: center;
        border-radius: 10px 10px 0 0;
        width: 100%;
    }
    
    .social-share-buttons p {
        display: none;
    }
    
    .share-btn {
        margin: 0 5px;
    }
}

/* Ajoutez ce style dans votre fichier CSS ou dans une balise <style> dans l'en-tête */
.whatsapp-btn:hover {
    background-color: #128C7E !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}




