/* ========================================================== */
/* ===================== Global & Base Styles ================ */
/* ========================================================== */

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    background: linear-gradient(45deg, #fff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 16px;
    text-align: center;
    margin-bottom: 2rem;
}

p{

    font-size: 15.6px;}
li{
    font-size: 15.6px;
}

p,
li {
    color: white;
    opacity: 0.9;
    
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 25px;

}

.cta-button {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15.6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}

/* ========================================================== */
/* ===================== Animations ========================= */
/* ========================================================== */

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes reverseRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes orbitRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(160px) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(160px) rotate(-360deg);
    }
}

/* ========================================================== */
/* ===================== Navigation ========================= */
/* ========================================================== */

.custom-navbar {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.nav-container {
    padding: 0 2rem;
    max-width: 1200px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 50%;
    top: 6px;
    left: 6px;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-radius: 50%;
    top: 8px;
    left: 8px;
    animation: pulse 2s ease-in-out infinite;
}

.logo-text {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links a.nav-link {
    color: #fff;
    font-size: 12px ;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a.nav-link:hover {
    color: #00ffff;
}

.nav-links a.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    transition: width 0.3s ease;
}

.nav-links a.nav-link:hover::after {
    width: 100%;
}

.custom-navbar .navbar-toggler {
    border: 2px solid #00ffff;
    border-radius: 6px;
    padding: 6px;
    transition: border-color 0.3s;
}

.custom-navbar .navbar-toggler:focus {
    box-shadow: none;
}

.custom-navbar .navbar-toggler-icon {
    filter: invert(1) brightness(0.9);
}

.custom-navbar .navbar-collapse {
    background: transparent;
}

/* Styles pour le menu mobile (quand le navbar-collapse est ouvert) */
@media (max-width: 991.98px) {
    .custom-navbar .navbar-collapse {
        background: rgba(10, 10, 10, 0.95);
        border-radius: 10px;
        padding: 1rem;
        margin-top: 1rem;
        box-shadow: 0 5px 15px rgba(39, 37, 37, 0.096);
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .nav-links a.nav-link {
        color: #fff;
        padding: 0.5rem 1rem;
    }

    .nav-links a.nav-link:hover {
        background: rgba(0, 255, 255, 0.1);
        border-radius: 5px;
    }

    .nav-links a.nav-link::after {
        display: none;
    }
}

/* ========================================================== */
/* ===================== Hero Section ======================= */
/* ========================================================== */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    animation: slideInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Floating Elements (Background Animation) */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(0, 128, 255, 0.1));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

/* ========================================================== */
/* ===================== About Section ====================== */
/* ========================================================== */

.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 46, 0.8));
}

.about-content {
    display: flex;
    margin-top: 50px;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 15.6px;
    margin-bottom: 1.5rem;
}

.about-visual {
    position: relative;
    text-align: center;
    flex-shrink: 0;
}

.tech-circle {
    width: 200px;

    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    animation: glow 3s ease-in-out infinite;
}

.about-content-2 >.about-visual >.tech-circle{
    height: 0px;
}
.about-content-2 >.about-visual >.tech-circle::before , .about-content-2 >.about-visual >.tech-circl{
content: none;
  
}

.tech-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
}

.tech-circle::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(0, 128, 255, 0.2);
    border-radius: 50%;
    animation: reverseRotate 8s linear infinite;
}
.service-detai{
margin: 0px auto;
width: 50% !important;

}
.tech-orbs {
    position: absolute;
    width: 320px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tech-orb {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    animation: orbitRotate 6s linear infinite;
}

.tech-orb:nth-child(1) {
    top: 0;
    left: 50%;
    animation-delay: 0s;
}

.tech-orb:nth-child(2) {
    top: 50%;
    right: 0;
    animation-delay: -1.5s;
}

.tech-orb:nth-child(3) {
    bottom: 0;
    left: 50%;
    animation-delay: -3s;
}

.tech-orb:nth-child(4) {
    top: 50%;
    left: 0;
    animation-delay: -4.5s;
}

/* ========================================================== */
/* ================== Service Detail Section ================ */
/* ========================================================== */

.service-detail {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.service-detail .service-card {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    height: auto;
    width: auto;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
}

.service-detail .service-card .service-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.service-detail .service-card h3 {
    font-size: 1.8rem;
    margin: 0;
}

.service-detail ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.service-detail li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.service-detail li::before {
    content: "▶";
    color: #00ffff;
    position: absolute;
    left: 0;
}

/* ========================================================== */
/* ===================== Footer ============================= */
/* ========================================================== */

footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
    padding: 0.5rem 0;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #00ffff;
}

/* ========================================================== */
/* ===================== Chat Button ======================== */
/* ========================================================== */

.chat-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: glow 2s ease-in-out infinite;
}

.chat-button:hover {
    transform: scale(1.1);
}

/* ========================================================== */
/* ===================== Modal Styles ======================= */
/* ========================================================== */

.modal-animation-container {
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    background: linear-gradient(45deg, #00ffff, #0080ff);
    height: 0;
    width: 0;
    border-radius: 50%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    pointer-events: none;
}

.modal-animation-container.open {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    height: 100vh;
    width: 100vw;
    border-radius: 0;
    pointer-events: all;
}

.modal-content {
    opacity: 0;
    transition: opacity 0.3s ease;
    transition-delay: 0.6s;
    width: 95%;
    height: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    overflow-y: auto;
    max-width: 1400px;
}

.modal-animation-container.open .modal-content {
    opacity: 1;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
    position: relative;
    margin-bottom: 2rem;
}

.modal-icon {
    font-size: 4rem;
    color: #00ffff;
    flex-shrink: 0;
}

.modal-title {
    font-size: 2rem;
    margin: 0;
    flex-grow: 1;
}

.close-modal {
    position: absolute;
    top: -1rem;
    right: 0;
    color: #00ffff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
}

.close-modal:hover {
    color: #fff;
    background: rgba(255, 0, 0, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    overflow-y: auto;
    flex: 1;
}

.modal-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.modal-video-container {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.modal-video {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.modal-video iframe {
    width: 100%;
    height: 100%;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.video-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.modal-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
}

.modal-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.modal-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.modal-section ul {
    list-style: none;
    padding-left: 0;
}

.modal-section li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.modal-section li::before {
    content: "▶";
    color: #00ffff;
    position: absolute;
    left: 0;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.modal-section strong {
    color: #00ffff;
}

/* ========================================================== */
/* ===================== Responsive Styles ================== */
/* ========================================================== */

@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
    }

    .about-visual {
        order: 1;
        /* Moves the visual part to the top on smaller screens */
    }

    .about-text {
        order: 2;
        /* Moves the text part to the bottom on smaller screens */
        text-align: center;
    }

    .about-text h2 {
        text-align: center;
    }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal-video {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 15.6px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        width: 100%;
    }

    .social-links {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-top: 1rem;
    }

    .close-modal {
        top: 0;
        right: 0;
    }
}



/* Nouveau style pour l'icône qui doit rester fixe au centre */
.fixed-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    /* Ajustez la taille de l'icône si nécessaire */
    color: #00ffff;
    /* Couleur de l'icône */
    z-index: 5;
    /* Assure que l'icône est au-dessus des animations */
}

/* ========================================================== */
/* ===================== Style Spécial pour le Titre ========= */
/* ========================================================== */

.special-title {
    /* Applique un dégradé de couleur comme pour le logo et les titres */
    background: linear-gradient(45deg, #00ffff, #0080ff);

    background-clip: text;

    /* Ajoute une ombre lumineuse pour un effet de brillance */
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5),
        0 0 20px rgba(0, 255, 255, 0.3);

    /* Pour que l'icône et le texte ne tournent pas, assurez-vous de n'avoir aucune animation ici */
    font-size: 40px;
}

/* pour la index */
.service-detail {

    padding-bottom: 0px !important;
}

.section-title {
    text-align: justify;
    margin-bottom: 10px !important;
}

.service-detail {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.container {
    padding-bottom: 20px !important;
}

#about > div > div > p{
    text-align: justify;
}

.footer-content .logo {
    text-decoration: none;
}


/* ========================================================== */
/* ===================== Global & Base Styles ================ */
/* ========================================================== */

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    background: linear-gradient(45deg, #fff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 16px;
    text-align: center;
    margin-bottom: 2rem;
}

p{

    font-size: 15.6px;
}
li{

}

p,
li {
    color: white;
    opacity: 0.9;
    
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}





.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}

/* ========================================================== */
/* ===================== Animations ========================= */
/* ========================================================== */

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes reverseRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes orbitRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(160px) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(160px) rotate(-360deg);
    }
}

/* ========================================================== */
/* ===================== Navigation ========================= */
/* ========================================================== */

.custom-navbar {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.nav-container {
    padding: 0 2rem;
    max-width: 1200px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 50%;
    top: 6px;
    left: 6px;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-radius: 50%;
    top: 8px;
    left: 8px;
    animation: pulse 2s ease-in-out infinite;
}

.logo-text {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links a.nav-link {
    color: #fff;
    font-size: 15.6px ;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a.nav-link:hover {
    color: #00ffff;
}

.nav-links a.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    transition: width 0.3s ease;
}

.nav-links a.nav-link:hover::after {
    width: 100%;
}

.custom-navbar .navbar-toggler {
    border: 2px solid #00ffff;
    border-radius: 6px;
    padding: 6px;
    transition: border-color 0.3s;
}

.custom-navbar .navbar-toggler:focus {
    box-shadow: none;
}

.custom-navbar .navbar-toggler-icon {
    filter: invert(1) brightness(0.9);
}

.custom-navbar .navbar-collapse {
    background: transparent;
}

/* Styles pour le menu mobile (quand le navbar-collapse est ouvert) */
@media (max-width: 991.98px) {
    .custom-navbar .navbar-collapse {
        background: rgba(10, 10, 10, 0.95);
        border-radius: 10px;
        padding: 1rem;
        margin-top: 1rem;
        box-shadow: 0 5px 15px rgba(39, 37, 37, 0.096);
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .nav-links a.nav-link {
        color: #fff;
        padding: 0.5rem 1rem;
    }

    .nav-links a.nav-link:hover {
        background: rgba(0, 255, 255, 0.1);
        border-radius: 5px;
    }

    .nav-links a.nav-link::after {
        display: none;
    }
}

/* ========================================================== */
/* ===================== Hero Section ======================= */
/* ========================================================== */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    animation: slideInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Floating Elements (Background Animation) */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(0, 128, 255, 0.1));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

/* ========================================================== */
/* ===================== About Section ====================== */
/* ========================================================== */

.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 46, 0.8));
}

.about-content {
    display: flex;
    margin-top: 50px;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 15.6px;
    margin-bottom: 1.5rem;
}

.about-visual {
    position: relative;
    text-align: center;
    flex-shrink: 0;
}

.tech-circle {
    width: 200px;

    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    animation: glow 3s ease-in-out infinite;
}

.tech-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
}

.tech-circle::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(0, 128, 255, 0.2);
    border-radius: 50%;
    animation: reverseRotate 8s linear infinite;
}
.service-detai{
margin: 0px auto;
width: 50% !important;

}
.tech-orbs {
    position: absolute;
    width: 320px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tech-orb {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    animation: orbitRotate 6s linear infinite;
}

.tech-orb:nth-child(1) {
    top: 0;
    left: 50%;
    animation-delay: 0s;
}

.tech-orb:nth-child(2) {
    top: 50%;
    right: 0;
    animation-delay: -1.5s;
}

.tech-orb:nth-child(3) {
    bottom: 0;
    left: 50%;
    animation-delay: -3s;
}

.tech-orb:nth-child(4) {
    top: 50%;
    left: 0;
    animation-delay: -4.5s;
}

/* ========================================================== */
/* ================== Service Detail Section ================ */
/* ========================================================== */

.service-detail {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.service-detail .service-card {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    height: auto;
    width: auto;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
}

.service-detail .service-card .service-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.service-detail .service-card h3 {
    font-size: 1.8rem;
    margin: 0;
}

.service-detail ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.service-detail li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.service-detail li::before {
    content: "▶";
    color: #00ffff;
    position: absolute;
    left: 0;
}

/* ========================================================== */
/* ===================== Footer ============================= */
/* ========================================================== */

footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
    padding: 0.5rem 0;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #00ffff;
}

/* ========================================================== */
/* ===================== Chat Button ======================== */
/* ========================================================== */

.chat-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: glow 2s ease-in-out infinite;
}

.chat-button:hover {
    transform: scale(1.1);
}

/* ========================================================== */
/* ===================== Modal Styles ======================= */
/* ========================================================== */

.modal-animation-container {
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    background: linear-gradient(45deg, #00ffff, #0080ff);
    height: 0;
    width: 0;
    border-radius: 50%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    pointer-events: none;
}

.modal-animation-container.open {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    height: 100vh;
    width: 100vw;
    border-radius: 0;
    pointer-events: all;
}

.modal-content {
    opacity: 0;
    transition: opacity 0.3s ease;
    transition-delay: 0.6s;
    width: 95%;
    height: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    overflow-y: auto;
    max-width: 1400px;
}

.modal-animation-container.open .modal-content {
    opacity: 1;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
    position: relative;
    margin-bottom: 2rem;
}

.modal-icon {
    font-size: 4rem;
    color: #00ffff;
    flex-shrink: 0;
}

.modal-title {
    font-size: 2rem;
    margin: 0;
    flex-grow: 1;
}

.close-modal {
    position: absolute;
    top: -1rem;
    right: 0;
    color: #00ffff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
}

.close-modal:hover {
    color: #fff;
    background: rgba(255, 0, 0, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    overflow-y: auto;
    flex: 1;
}

.modal-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.modal-video-container {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.modal-video {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.modal-video iframe {
    width: 100%;
    height: 100%;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.video-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.modal-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
}

.modal-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.modal-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.modal-section ul {
    list-style: none;
    padding-left: 0;
}

.modal-section li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.modal-section li::before {
    content: "▶";
    color: #00ffff;
    position: absolute;
    left: 0;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.modal-section strong {
    color: #00ffff;
}

/* ========================================================== */
/* ===================== Responsive Styles ================== */
/* ========================================================== */

@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
    }

    .about-visual {
        order: 1;
        /* Moves the visual part to the top on smaller screens */
    }

    .about-text {
        order: 2;
        /* Moves the text part to the bottom on smaller screens */
        text-align: center;
    }

    .about-text h2 {
        text-align: center;
    }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal-video {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 15.6px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        width: 100%;
    }

    .social-links {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-top: 1rem;
    }

    .close-modal {
        top: 0;
        right: 0;
    }
}



/* Nouveau style pour l'icône qui doit rester fixe au centre */
.fixed-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 4rem;
    /* Ajustez la taille de l'icône si nécessaire */
    color: #00ffff;
    /* Couleur de l'icône */
    z-index: 5;
    /* Assure que l'icône est au-dessus des animations */
}

/* ========================================================== */
/* ===================== Style Spécial pour le Titre ========= */
/* ========================================================== */

.special-title {
    /* Applique un dégradé de couleur comme pour le logo et les titres */
    background: linear-gradient(45deg, #00ffff, #0080ff);

    background-clip: text;

    /* Ajoute une ombre lumineuse pour un effet de brillance */
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5),
        0 0 20px rgba(0, 255, 255, 0.3);

    /* Pour que l'icône et le texte ne tournent pas, assurez-vous de n'avoir aucune animation ici */
    font-size: 40px;
}

/* pour la index */
.service-detail {

    padding-bottom: 0px !important;
}

.section-title {
    text-align: justify;
    margin-bottom: 10px !important;
}

.service-detail {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.container {
    padding-bottom: 20px !important;
}

#about > div > div > p{
    text-align: justify;
}

.footer-content .logo {
    text-decoration: none;
}


.service-detail {
    text-align: justify;
}































































































/* ========================================================== */
/* ===================== Global & Base Styles ================ */
/* ========================================================== */

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow-x: hidden;
}

h1, h2, h3 {
    background: linear-gradient(45deg, #fff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

p, li {
    color: white;
    opacity: 0.9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 2rem; */
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(45deg, #fff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================================== */
/* ===================== Animations & Keyframes ============== */
/* ========================================================== */

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 255, 0.6); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes logoGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 255, 0.6); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes reverseRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes orbitRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg) translateX(160px) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translateX(160px) rotate(-360deg); }
}

/* ========================================================== */
/* ===================== Header & Navigation ================= */
/* ========================================================== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Pour la compatibilité Safari */
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    text-decoration: none; /* Assure que le logo est sans soulignement */
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 50%;
    top: 6px;
    left: 6px;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-radius: 50%;
    top: 8px;
    left: 8px;
    animation: pulse 2s ease-in-out infinite;
}

.logo-text {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none; /* Revert Bootstrap's default list-style */
    display: flex; /* Keep default flex on desktop */
    gap: 0.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: block; /* S'assure que le lien prend toute la place pour le hover */
    padding: 0.5rem 0; /* Ajoute un peu de padding pour les zones de clic */
}

.nav-links a:hover {
    color: #00ffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0px; /* Ajusté pour éviter le padding */
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}

/* --- SUPPRESSION DES STYLES DE L'ANCIEN MENU MOBILE PERSONNALISÉ --- */
/* Les règles .menu-toggle, .menu-toggle .bar, .menu-toggle.active ont été supprimées */
/* Les règles .nav-links pour le mobile (position: fixed, height: 100vh, transform: translateX...) ont été supprimées */

/* ========================================================== */
/* ===================== Hero Section ======================== */
/* ========================================================== */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    animation: slideInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(0, 128, 255, 0.1));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 50%; right: 20%; animation-delay: 2s; }
.floating-element:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 4s; }

/* ========================================================== */
/* ===================== Services Section ==================== */
/* ========================================================== */

.services {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Pour la compatibilité Safari */
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 300px;
    width: 100%;
    cursor: pointer;
}

.service-card .service-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #00ffff;
    transition: all 0.3s ease;
    display: inline-block;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.2;
    flex-shrink: 0;
}

.service-card p {
    opacity: 0.8;
    line-height: 1.3;
    font-size: 1rem;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #0080ff, #00ffff);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
    cursor: pointer;
}

/* Ces règles semblent être des doublons ou des spécifications plus générales,
   elles devraient idéalement être fusionnées avec les règles .service-card plus spécifiques
   ou clarifiées si elles ont un but différent. Pour l'instant, je les garde telles quelles.
*/
.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00ffff;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.service-card p {
    opacity: 0.8;
    line-height: 1.6;
}

/* ========================================================== */
/* ===================== About Section ======================= */
/* ========================================================== */

.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 46, 0.8));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 15.6px;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #00ffff;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.about-visual {
    position: relative;
    text-align: center;
}

.tech-circle {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    animation: glow 3s ease-in-out infinite;
}

.tech-circle::before {
    content: '🤖';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    animation: rotate 10s linear infinite;
}

.tech-circle::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(0, 128, 255, 0.2);
    border-radius: 50%;
    animation: reverseRotate 8s linear infinite;
}

.tech-orbs {
    position: absolute;
    width: 320px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tech-orb {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    animation: orbitRotate 6s linear infinite;
}

.tech-orb:nth-child(1) { top: 0; left: 50%; animation-delay: 0s; }
.tech-orb:nth-child(2) { top: 50%; right: 0; animation-delay: -1.5s; }
.tech-orb:nth-child(3) { bottom: 0; left: 50%; animation-delay: -3s; }
.tech-orb:nth-child(4) { top: 50%; left: 0; animation-delay: -4.5s; }

/* ========================================================== */
/* ===================== Contact Section ===================== */
/* ========================================================== */

.contact {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.5);
}

.contact-content {
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}

/* ========================================================== */
/* ===================== Footer & Chat Button ================ */
/* ========================================================== */

footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #00ffff;
}

.chat-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: glow 2s ease-in-out infinite;
}

.chat-button:hover {
    transform: scale(1.1);
}

/* ========================================================== */
/* ===================== Responsive & Mobile ================= */
/* ========================================================== */

/* Définition des variables pour le CSS si elles n'existent pas encore */
:root {
    --dark-blue: rgba(10, 10, 10, 0.9); /* Correspond à la couleur de ton nav */
    --nav-height: 80px; /* Supposons 80px, ajuste si la hauteur de ta nav est différente */
}

/* Styles pour le menu mobile Bootstrap (appliqué à toutes les pages maintenant) */
@media (max-width: 767.98px) { /* Breakpoint de Bootstrap pour md-down */
    .navbar-collapse.collapse.show {
        background-color: var(--dark-blue, #1a202c); /* Couleur de fond du menu mobile. Ajuste si nécessaire */
        
        top: var(--nav-height, 80px); /* Hauteur de ta navbar. Ajuste si nécessaire */
        left: 0;
        width: 100%;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        padding-bottom: 10px;
        z-index: 1020;
        animation: slideDown 0.3s ease-out forwards;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    .navbar-nav .nav-item {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
    .navbar-nav .nav-link,
    .navbar-nav .cta-button {
        padding: 10px 0;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .navbar-nav .cta-button {
        background: linear-gradient(45deg, #00ffff, #0080ff); /* Re-applique le gradient de ton bouton */
        color: #000; /* Texte noir sur le bouton */
        border: none;
        border-radius: 50px; /* Bordure plus arrondie pour le bouton */
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin-top: 10px;
        font-weight: 600; /* Assure que le texte reste gras */
    }
    .navbar-nav .cta-button:hover {
        background: linear-gradient(45deg, #00e6e6, #0066cc); /* Effet hover pour le gradient */
    }

    /* Autres règles responsives existantes à garder (si elles ne sont pas gérées par Bootstrap) */
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation pour le menu déroulant */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========================================================== */
/* ===================== Scroll & Card Animations ============= */
/* ========================================================== */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    transition: all 0.5s cubic-bezier(.4,0,.2,1);
    transform-origin: center;
    position: relative;
    z-index: 1;
}

.service-card-link:hover .service-card {
    z-index: 10;
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.services-grid:hover .service-card-link:not(:hover) .service-card {
    filter: blur(8px) brightness(0.7);
    transform: scale(0.95);
    opacity: 0.6;
}

/* ========================================================== */
/* ===================== Custom Navbar Styles ================ *//* ========================================================== */
/* ===================== Global & Base Styles ================ */
/* ========================================================== */

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow-x: hidden;
}

h1, h2, h3 {
    background: linear-gradient(45deg, #fff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

p, li {
    color: white;
    opacity: 0.9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 2rem; */
}


/* ========================================================== */
/* ===================== Animations & Keyframes ============== */
/* ========================================================== */

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 255, 0.6); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes logoGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 255, 0.6); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes reverseRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes orbitRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg) translateX(160px) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translateX(160px) rotate(-360deg); }
}

/* ========================================================== */
/* ===================== Header & Navigation ================= */
/* ========================================================== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Pour la compatibilité Safari */
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    text-decoration: none; /* Assure que le logo est sans soulignement */
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 50%;
    top: 6px;
    left: 6px;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-radius: 50%;
    top: 8px;
    left: 8px;
    animation: pulse 2s ease-in-out infinite;
}

.logo-text {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none; /* Revert Bootstrap's default list-style */
    display: flex; /* Keep default flex on desktop */
    gap: 0.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: block; /* S'assure que le lien prend toute la place pour le hover */
    padding: 0.5rem 0; /* Ajoute un peu de padding pour les zones de clic */
}

.nav-links a:hover {
    color: #00ffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0px; /* Ajusté pour éviter le padding */
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}

/* --- SUPPRESSION DES STYLES DE L'ANCIEN MENU MOBILE PERSONNALISÉ --- */
/* Les règles .menu-toggle, .menu-toggle .bar, .menu-toggle.active ont été supprimées */
/* Les règles .nav-links pour le mobile (position: fixed, height: 100vh, transform: translateX...) ont été supprimées */

/* ========================================================== */
/* ===================== Hero Section ======================== */
/* ========================================================== */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    animation: slideInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(0, 128, 255, 0.1));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 50%; right: 20%; animation-delay: 2s; }
.floating-element:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 4s; }

/* ========================================================== */
/* ===================== Services Section ==================== */
/* ========================================================== */

.services {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Pour la compatibilité Safari */
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 300px;
    width: 100%;
    cursor: pointer;
}

.service-card .service-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #00ffff;
    transition: all 0.3s ease;
    display: inline-block;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.2;
    flex-shrink: 0;
}

.service-card p {
    opacity: 0.8;
    line-height: 1.3;
    font-size: 1rem;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #0080ff, #00ffff);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
    cursor: pointer;
}

/* Ces règles semblent être des doublons ou des spécifications plus générales,
   elles devraient idéalement être fusionnées avec les règles .service-card plus spécifiques
   ou clarifiées si elles ont un but différent. Pour l'instant, je les garde telles quelles.
*/
.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00ffff;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.service-card p {
    opacity: 0.8;
    line-height: 1.6;
}

/* ========================================================== */
/* ===================== About Section ======================= */
/* ========================================================== */

.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 46, 0.8));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 15.6px;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #00ffff;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.about-visual {
    position: relative;
    text-align: center;
}

.tech-circle {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    animation: glow 3s ease-in-out infinite;
}

/*.tech-circle::before 
    content: '🤖';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    animation: rotate 10s linear infinite;
}*/
.tech-circle::before {
    content: '';  /* Empty content required for background images */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* Size of your image */
    width: 7rem;
    height: 7rem;
    
    /* Add your image */
    background-image: url('robot.png');
    background-size: contain;  /* or 'cover' depending on your needs */
    background-repeat: no-repeat;
    background-position: center;
    
    animation: rotate 10s linear infinite;
}

.tech-circle::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(0, 128, 255, 0.2);
    border-radius: 50%;
    animation: reverseRotate 8s linear infinite;
}

.tech-orbs {
    position: absolute;
    width: 320px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tech-orb {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    animation: orbitRotate 6s linear infinite;
}

.tech-orb:nth-child(1) { top: 0; left: 50%; animation-delay: 0s; }
.tech-orb:nth-child(2) { top: 50%; right: 0; animation-delay: -1.5s; }
.tech-orb:nth-child(3) { bottom: 0; left: 50%; animation-delay: -3s; }
.tech-orb:nth-child(4) { top: 50%; left: 0; animation-delay: -4.5s; }

/* ========================================================== */
/* ===================== Contact Section ===================== */
/* ========================================================== */

.contact {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.5);
}

.contact-content {
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}

/* ========================================================== */
/* ===================== Footer & Chat Button ================ */
/* ========================================================== */

footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #00ffff;
}

.chat-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: glow 2s ease-in-out infinite;
}

.chat-button:hover {
    transform: scale(1.1);
}

/* ========================================================== */
/* ===================== Responsive & Mobile ================= */
/* ========================================================== */

/* Définition des variables pour le CSS si elles n'existent pas encore */
:root {
    --dark-blue: rgba(10, 10, 10, 0.9); /* Correspond à la couleur de ton nav */
    --nav-height: 80px; /* Supposons 80px, ajuste si la hauteur de ta nav est différente */
}

/* Styles pour le menu mobile Bootstrap (appliqué à toutes les pages maintenant) */
@media (max-width: 767.98px) { /* Breakpoint de Bootstrap pour md-down */
    .navbar-collapse.collapse.show {
        background-color: var(--dark-blue, #1a202c); /* Couleur de fond du menu mobile. Ajuste si nécessaire */
        
        top: var(--nav-height, 80px); /* Hauteur de ta navbar. Ajuste si nécessaire */
        left: 0;
        width: 100%;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        padding-bottom: 10px;
        z-index: 1020;
        animation: slideDown 0.3s ease-out forwards;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    .navbar-nav .nav-item {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
    .navbar-nav .nav-link,
    .navbar-nav .cta-button {
        padding: 10px 0;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .navbar-nav .cta-button {
        background: linear-gradient(45deg, #00ffff, #0080ff); /* Re-applique le gradient de ton bouton */
        color: #000; /* Texte noir sur le bouton */
        border: none;
        border-radius: 50px; /* Bordure plus arrondie pour le bouton */
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin-top: 10px;
        font-weight: 600; /* Assure que le texte reste gras */
    }
    .navbar-nav .cta-button:hover {
        background: linear-gradient(45deg, #00e6e6, #0066cc); /* Effet hover pour le gradient */
    }

    /* Autres règles responsives existantes à garder (si elles ne sont pas gérées par Bootstrap) */
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation pour le menu déroulant */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========================================================== */
/* ===================== Scroll & Card Animations ============= */
/* ========================================================== */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    transition: all 0.5s cubic-bezier(.4,0,.2,1);
    transform-origin: center;
    position: relative;
    z-index: 1;
}

.service-card-link:hover .service-card {
    z-index: 10;
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.services-grid:hover .service-card-link:not(:hover) .service-card {
    filter: blur(8px) brightness(0.7);
    transform: scale(0.95);
    opacity: 0.6;
}

/* ========================================================== */
/* ===================== Custom Navbar Styles ================ */
/* ========================================================== */

/* Surcharge du style du cta-button quand il est dans la navigation */
.custom-navbar .cta-button {
    padding: 0.3rem 0.8rem; /* Augmenté le padding horizontal pour plus d'espace */
    display: inline-block;
    padding: 0.3rem 1rem;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s 
    position :  relative;
    overflow: hidden;
}
.about-content-2{
   margin-top: 50px;
    flex-direction: column;
}

.close{

    font-size:15.6px;

}

#service-detail-ethical-ia > div > h2:nth-child(6),
#service-detail-ethical-ia > div > h2:nth-child(5),
#service-detail-ethical-ia > div > h2:nth-child(4),
#service-detail-ethical-ia > div > h2:nth-child(3),
#service-detail-ethical-ia > div > h2:nth-child(2),
#service-detail-ethical-ia > div > h2:nth-child(1),
#service-detail-ethical-ia > div > h2:nth-child(7),







#service-detail-ai > div > h2:nth-child(4),
#service-detail-ai> div > h2:nth-child(3),
#service-detail-ai> div > h2:nth-child(2),
#service-detail-ai> div > h2:nth-child(1),
#service-detail-ai> div > h2:nth-child(5)
,#service-detail-ai> div > h2:nth-child(7),
#service-detail-ai> div > h2:nth-child(6),

#service-detail-data-analysis > div > h2:nth-child(3),
#service-detail-data-analysis > div > h2:nth-child(2),
#service-detail-data-analysis > div > h2:nth-child(1),
#service-detail-data-analysis > div > h2:nth-child(5)
,#service-detail-data-analysis > div > h2:nth-child(7),
#service-detail-data-analysis > div > h2:nth-child(6),


 #service-detail-digital-innovation > div > h2:nth-child(1) ,
 #service-detail-digital-innovation > div > h2:nth-child(3) ,
 #service-detail-digital-innovation > div > h2:nth-child(6),
          
 #service-detail-automation > div > h2:nth-child(1) ,
 #service-detail-automation> div > h2:nth-child(3) ,
 #service-detail-automation> div > h2:nth-child(6),
 #service-detail-automation > div > h2:nth-child(8),



 #service-detail-applications-ia > div > h2:nth-child(1) ,
 #service-detail-applications-ia> div > h2:nth-child(3) ,
 #service-detail-applications-ia> div > h2:nth-child(6),
 #service-detail-applications-ia> div > h2:nth-child(8),
 #service-detail-applications-ia > div > h2:nth-child(4),
 #service-detail-applications-ia> div > h2:nth-child(5)
 #service-detail-applications-ia > div > h2:nth-child(2),
 #service-detail-applications-ia > div > h2:nth-child(9),
 #service-detail-applications-ia > div > h2:nth-child(11)
 { 
text-align: justify;
    font-size: 30px;
}

/* Supprime spécifiquement l'underline de survol généré par .nav-links a::after */
.custom-navbar .cta-button::after {
    display: none;
}

.custom-navbar .cta-button:hover {
    background: linear-gradient(45deg, #00ffff, #0080ff); /* Gradient au survol */
    color: #000; /* Texte noir au survol */
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.2);
}

/* Ajoute un espace à gauche pour le nav-item contenant le bouton
   Cela aide à séparer le bouton des autres liens de la navigation */

/* Ajustements pour le mode mobile (moins de 768px) */
@media (max-width: 767.98px) {
    .navbar-nav .cta-button { /* cible le cta-button quand il est dans le menu mobile */
        background: linear-gradient(45deg, #00ffff, #0080ff);
        color: #000;
        border: none;
        margin-top: 15px; /* Un peu plus d'espace en haut */
        padding: 0.8rem 1.5rem; /* Ajuste le padding pour le mobile */
        border-radius: 50px; /* Garde le bord arrondi */
    }
    .navbar-nav .cta-button:hover {
        background: linear-gradient(45deg, #00e6e6, #0066cc);
        color: #000;
    }
    /* S'assurer que la marge gauche supplémentaire ne s'applique pas en mode mobile si la nav est en colonne */
    .custom-navbar .navbar-nav .nav-item.ms-3 {
        margin-left: 0 !important; /* Supprime la marge latérale en mode mobile */
    }
}
/* ========================================================== */

/* Surcharge du style du cta-button quand il est dans la navigation */
.custom-navbar .cta-button {
    padding: 0.3rem 0.8rem; /* Augmenté le padding horizontal pour plus d'espace */
    display: inline-block;
    padding: 0.3rem 1rem;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s 
  
}


/* Supprime spécifiquement l'underline de survol généré par .nav-links a::after */
.custom-navbar .cta-button::after {
    display: none;
}

.custom-navbar .cta-button:hover {
    background: linear-gradient(45deg, #00ffff, #0080ff); /* Gradient au survol */
    color: #000; /* Texte noir au survol */
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.2);
}

/* Ajoute un espace à gauche pour le nav-item contenant le bouton
   Cela aide à séparer le bouton des autres liens de la navigation */

/* Ajustements pour le mode mobile (moins de 768px) */
@media (max-width: 767.98px) {
    .navbar-nav .cta-button { /* cible le cta-button quand il est dans le menu mobile */
        background: linear-gradient(45deg, #00ffff, #0080ff);
        color: #000;
        border: none;
        margin-top: 15px; /* Un peu plus d'espace en haut */
        padding: 0.8rem 1.5rem; /* Ajuste le padding pour le mobile */
        border-radius: 50px; /* Garde le bord arrondi */
    }
    .navbar-nav .cta-button:hover {
        background: linear-gradient(45deg, #00e6e6, #0066cc);
        color: #000;
    }
    /* S'assurer que la marge gauche supplémentaire ne s'applique pas en mode mobile si la nav est en colonne */
    .custom-navbar .navbar-nav .nav-item.ms-3 {
        margin-left: 0 !important; /* Supprime la marge latérale en mode mobile */
    }
}

@media screen and (min-width: 768px) {
    #grecaptcha_container_div {
        margin-bottom: 1rem;
        margin-left: 25%;
    }
}
@media screen and (max-width: 767px) {
    #grecaptcha_container_div {
        margin-bottom: 1rem;
        margin-left: 15%;
    }
}














































