/* N’applique que pour le switcher de langue */
.dropdown-lang:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}


/* Portfolio Section */
.portfolio-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.portfolio-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-hover {
    opacity: 1;
}

.portfolio-hover-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.portfolio-hover-content .hover-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.portfolio-hover-content .btn {
    font-size: 0.8rem;
    padding: 8px 16px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

#services .col-md-3 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border-radius: 10px;
    padding: 20px;
}

#services .col-md-3:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

#services .fa-stack {
    transition: transform 0.3s ease;
}

#services .col-md-3:hover .fa-stack {
    transform: rotate(10deg) scale(1.1);
}

/* Domaines d'application */
#domaines .col-md-3 {
    transition: transform 0.3s ease;
    padding: 20px;
    border-radius: 10px;
}

#domaines .col-md-3:hover {
    transform: scale(1.05);
}

#domaines .fa-stack {
    position: relative;
    transition: transform 0.3s ease;
}

#domaines .col-md-3:hover .fa-stack {
    transform: scale(1.15);
}

#domaines .fa-stack::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgba(0,123,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    z-index: -1;
}

#domaines .col-md-3:hover .fa-stack::after {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
}

/* Feature Section */
.feature-section {
    padding: 60px 0;
}

.feature-item {
    padding: 2rem;
    background: #fff;
    border-radius: 0.5rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-item:hover .fa-3x {
    color: #0d6efd !important;
}

.feature-card {
    transition: transform 0.3s;
    height: 100%;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #4361ee;
}

.feature-box {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    text-align: center;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    padding: 150px 0 100px;
    color: white;
}

/* Other Sections */
.content-section {
    padding: 80px 0;
}

.solution-archi, .benefits-section, .approach-section, .application-section, .diamond-products, .process-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.module-section, .tech-stack, .case-studies, .features-section {
    padding: 80px 0;
}

/* Cards and Items */
.benefit-card {
    transition: transform 0.3s;
    height: 100%;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #4361ee;
}

.benefit-item {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.module-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.module-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.product-card {
    transition: transform 0.3s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
}

.tech-item {
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    text-align: center;
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #4361ee;
}

/* Process Section */
.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.process-number {
    width: 50px;
    height: 50px;
    background: #4361ee;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Media and Images */
.feature-img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.case-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.video-container iframe, 
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-hover-content .hover-text {
        font-size: 0.8rem;
    }

    .portfolio-hover-content .btn {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}