 /* Variables CSS */
        :root {
            --primary-color: #0d6efd;
            --secondary-color: #6c757d;
            --dark-color: #343a40;
            --light-color: #f8f9fa;
            --danger-color: #dc3545;
        }
        
        /* Styles de base */
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
            padding-top: 56px; /* Aligné avec le padding de la page contact */
        }
        
        .navbar {
            transition: all 0.3s;
        }
        
        .navbar.scrolled {
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
       /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, var(--dark-color) 0%, #212529 100%);
            color: white;
            padding: 3rem 0;
        }
        
        .actitre {
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .actitre:hover {
            color: var(--primary-color);
            text-decoration: none;
        }
        
        /* Carrousel */
        #propertyCarousel {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .carousel-item img {
            height: 350px;
            object-fit: cover;
        }
        
        .carousel-caption {
            background: rgba(0,0,0,0.6);
            border-radius: 5px;
            bottom: 20px;
            padding: 10px;
        }
        
        .carousel-caption {
            background: rgba(0,0,0,0.6);
            border-radius: 5px;
            bottom: 20px;
            padding: 10px;
        }
        
        /* Barre de recherche */
        .search-section {
            background-color: var(--light-color);
            padding: 2rem 0;
            margin: 2rem 0;
            border-radius: 10px;
        }
        
        .search-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .search-input {
            border-radius: 30px 0 0 30px !important;
            border-right: none;
        }
        
        .search-button {
            border-radius: 0 30px 30px 0 !important;
            padding-left: 25px;
            padding-right: 25px;
        }
        
   
        :root {
            --primary-color: #0d6efd;
            --secondary-color: #343a40;
            --alert-color: #dc3545;
            --light-color: #f8f9fa;
            --dark-color: #212529;
        }
        
        /* Breaking News Section */
        .breaking-news {
            background-color:   #4CAF50 ;
            color: white;
            padding: 0.75rem 0;
            position: relative;
            overflow: hidden;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .breaking-news-container {
            display: flex;
            align-items: center;
        }
        
        .breaking-news-label {
            background-color: black;
            color: white;
            padding: 0.5rem 1rem;
            font-weight: 700;
            text-transform: uppercase;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            white-space: nowrap;
            margin-right: 1.5rem;
        }
        
        .breaking-news-label i {
            margin-right: 0.5rem;
            animation: pulse 1.5s infinite;
        }
        
        .breaking-news-content {
            display: flex;
            align-items: center;
            overflow: hidden;
            flex-grow: 1;
        }
        
        .breaking-news-ticker {
            display: flex;
            animation: ticker 30s linear infinite;
            white-space: nowrap;
        }
        
        .breaking-news-item {
            margin-right: 3rem;
            display: flex;
            align-items: center;
        }
        
        .breaking-news-item a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
            display: flex;
            align-items: center;
        }
        
        .breaking-news-item a:hover {
            color: var(--light-color);
            text-decoration: underline;
        }
        
        .breaking-news-item .time {
            font-size: 0.8rem;
            opacity: 0.8;
            margin-right: 0.75rem;
        }
        
        @keyframes ticker {
            0% { transform: translateX(0); }
            100% { transform: translateX(-100%); }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .breaking-news-label {
                font-size: 0.75rem;
                padding: 0.4rem 0.8rem;
                margin-right: 1rem;
            }
            
            .breaking-news-item {
                margin-right: 1.5rem;
                font-size: 0.9rem;
            }
            
            .breaking-news-item .time {
                display: none;
            }
        }
        
        /* Section Actualités */
        .section-title {
            position: relative;
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .section-title:after {
            content: "";
            display: block;
            width: 80px;
            height: 3px;
            background: var(--primary-color);
            margin: 15px auto 0;
        }
        
        .section-subtitle {
            text-align: center;
            color: var(--secondary-color);
            margin-bottom: 2.5rem;
        }
        
        .news-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }
        
        .news-card {
            border: none;
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }
        
        .news-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        
       .news-image {
    width: 100%;       /* S’assure que la carte prend toute la largeur */
    height: 200px;     /* Hauteur fixe de la carte */
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* L’image couvre tout l’espace sans déformation */
    object-position: center; /* Centre l’image si elle est recadrée */
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);  /* Zoom au survol */
}

        
        .news-badge {
            position: absolute;
            top: 15px;
            left: 0;
            background-color: var(--primary-color);
            color: white;
            padding: 5px 15px;
            font-size: 0.85rem;
            border-radius: 0 3px 3px 0;
            box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
        }
        
        .news-body {
            padding: 1.5rem;
        }
        
        .news-title {
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--dark-color);
        }
        
        .news-category {
            display: inline-block;
            background-color: var(--light-color);
            color: var(--primary-color);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .news-card:hover .news-category {
            background-color: var(--primary-color);
            color: white;
        }
        
            /* Footer */
        .footer {
            background-color: var(--dark-color);
            color: white;
            padding: 3rem 0 2rem;
        }
        
        .footer-title {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: all 0.3s;
            display: block;
            margin-bottom: 0.5rem;
        }
        
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        
        .social-icons a {
            color: white;
            font-size: 1.2rem;
            margin-right: 15px;
            transition: all 0.3s;
        }
        
        .social-icons a:hover {
            color: var(--primary-color);
            transform: translateY(-3px);
        }
        
        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 1.5rem;
            margin-top: 2rem;
        }
        /* Responsive Design */
        /* Carrousel responsive */
        @media (max-width: 768px) {
            .carousel-caption h5 {
                font-size: 14px;
            }
            .carousel-caption {
                bottom: 10px;
                left: 10px;
                right: 10px;
                padding: 5px;
            }
        }
        
        @media (max-width: 992px) {
            .hero-section .row {
                flex-direction: column;
            }
            
            .hero-text {
                margin-bottom: 2rem;
                text-align: center;
            }
            
            .carousel-item img {
                height: 300px;
            }
        }
        
        @media (max-width: 576px) {
            .carousel-item img {
                height: 250px;
            }
            
            .hero-section h1 {
                font-size: 2rem;
            }
            
            .news-container {
                grid-template-columns: 1fr;
            }
        }