:root {
    --primary-color: #0A192F; /* Deep navy */
    --secondary-color: #00D2FF; /* Cyan glow */
    --accent-color: #3A506B;
    --text-color: #333333;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center {
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    height: 40px;
}

.logo-text {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: right;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}
.nav-links li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.lang-switch {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    color: #8892b0;
    border: 1px solid #8892b0;
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active, .lang-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.hamburger {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section with Zoom/Pan Animation */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('img/innovalabs-software-developer-6521720_1920.jpg');
    background-size: cover;
    background-position: center;
    animation: zoomPan 30s infinite alternate ease-in-out;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.7));
    z-index: -1;
}

@keyframes zoomPan {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(-2%, 2%); }
}

.hero-content {
    z-index: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-content h1 span {
    color: var(--secondary-color);
    display: inline-block;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #E2E8F0;
}

/* Bouncy Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, box-shadow 0.3s;
    margin: 10px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

.btn-primary:hover {
    background-color: #00b8e6;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Expertise Section */
.expertise-section {
    padding: 100px 0;
    background-color: var(--white);
}

.exp-desc {
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.expertise-card {
    padding: 40px 30px;
    border-radius: 20px;
    background: var(--light-bg);
    border: 1px solid #eaeaea;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.expertise-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.expertise-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.expertise-card:hover i {
    transform: scale(1.2) rotate(10deg);
}

.expertise-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.expertise-card p {
    color: #666;
}

/* Vision Section */
.vision-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.vision-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.vision-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
}

.vision-list {
    list-style: none;
    margin-top: 20px;
}

.vision-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}
.vision-list li:hover {
    transform: translateX(10px);
}

.vision-list li i {
    color: var(--secondary-color);
}

.vision-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.vision-image:hover img {
    transform: scale(1.05) rotate(-2deg);
}

/* Apps Section */
.apps-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.app-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    /* Floating organic animation */
    animation: floatCard 6s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.app-card:nth-child(2) { animation-delay: 1.5s; }
.app-card:nth-child(3) { animation-delay: 3s; }
.app-card:nth-child(4) { animation-delay: 4.5s; }

@keyframes floatCard {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.app-card:hover {
    animation-play-state: paused; /* Stop floating when hovered */
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.app-card:hover::before {
    transform: scaleX(1);
}

.app-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.app-card:hover .app-icon {
    transform: scale(1.15) rotate(5deg);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.app-card p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.app-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: var(--light-bg);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
    border: 1px solid #ddd;
}

.store-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #b0c4de;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    margin-bottom: 40px;
    transition: transform 0.3s;
}
.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.contact-img {
    width: 100%;
    border-radius: 15px;
    opacity: 0.8;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.contact-info:hover .contact-img {
    transform: scale(1.03) rotate(1deg);
    opacity: 1;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    color: var(--text-color);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.contact-form:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.2);
    transform: translateY(-2px);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #00b8e6;
    transform: translateY(-4px) scale(1.02);
}

.success-message {
    margin-top: 20px;
    padding: 15px;
    background: #d4edda;
    color: #155724;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

/* Chatbot Style */
.chatbot-toggler {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 60px;
    width: 60px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,210,255,0.4);
    z-index: 1001;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: bounceBot 2s infinite;
}

@keyframes bounceBot {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-15px);}
    60% {transform: translateY(-7px);}
}

.chatbot-toggler:hover {
    animation-play-state: paused;
    transform: scale(1.15) rotate(10deg);
}

.chatbot {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 350px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    z-index: 1001;
    transform: scale(0.5);
    opacity: 0;
    pointer-events: none;
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot.show-chatbot {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-logo {
    height: 30px;
}

.chat-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-header .close-btn {
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-header .close-btn:hover {
    color: var(--secondary-color);
    transform: rotate(90deg) scale(1.2);
}

.chatbox {
    height: 350px;
    overflow-y: auto;
    padding: 20px;
    list-style: none;
    background: #f4f6f9;
}

.chatbox::-webkit-scrollbar {
    width: 6px;
}

.chatbox::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.chatbox .chat {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: flex-end;
}

.chatbox .outgoing {
    justify-content: flex-end;
}

.chatbox .chat p {
    padding: 12px 16px;
    border-radius: 15px 15px 15px 0;
    max-width: 80%;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.chatbox .incoming p {
    background: var(--white);
    color: var(--text-color);
}

.chatbox .outgoing p {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 15px 15px 0 15px;
}

.bot-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #eee;
    padding: 5px;
    object-fit: contain;
    animation: bounceAvatar 2s infinite ease-in-out;
}

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

.chat-options {
    padding: 10px 15px;
    background: #f4f6f9;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid #e2e8f0;
}

.chat-option-btn {
    background: var(--white);
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
}

.chat-option-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.chat-input {
    display: flex;
    align-items: center;
    border-top: 1px solid #ddd;
    padding: 10px 15px;
    background: var(--white);
}

.chat-input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    padding: 10px;
    background: #f4f6f9;
    border-radius: 20px;
    transition: box-shadow 0.3s;
}
.chat-input input:focus {
    box-shadow: inset 0 0 0 2px var(--secondary-color);
}

.chat-input span {
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 10px;
    padding: 10px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-input span:hover {
    color: var(--secondary-color);
    transform: scale(1.2) rotate(15deg) translate(2px, -2px);
}

/* Footer */
footer {
    background: #060d1a;
    padding: 40px 0;
    color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    height: 30px;
}

.footer-logo p {
    color: #8892b0;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.bounce-in {
    opacity: 0;
    transform: translateY(60px) scale(0.8);
    transition: opacity 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55), transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Clickable card style */
.clickable-card {
    cursor: pointer;
}

/* Badges for expertise cards */
.expertise-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 15px 0;
}

.badge {
    background: rgba(0, 210, 255, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(0, 210, 255, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
}

.expertise-card:hover .badge {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Learn more button */
.btn-learn-more {
    background: transparent;
    border: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-learn-more i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.expertise-card:hover .btn-learn-more i {
    transform: translateX(5px);
}

.btn-learn-more:hover {
    color: #00b8e6;
}

/* Modal Window Glassmorphic Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 13, 26, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(10, 25, 47, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-radius: 24px;
    width: 90%;
    max-width: 850px;
    max-height: 90vh;
    overflow-y: auto;
    color: var(--white);
    padding: 40px;
    position: relative;
    transform: scale(0.8) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.open .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #8892b0;
    transition: var(--transition);
    line-height: 1;
}

.modal-close-btn:hover {
    color: var(--secondary-color);
    transform: scale(1.1) rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.modal-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

.modal-subtitle {
    color: #8892b0;
    font-size: 1rem;
    margin-top: 5px;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

.modal-col h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.modal-list {
    list-style: none;
}

.modal-list li {
    margin-bottom: 18px;
}

.modal-list li strong {
    display: block;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 4px;
}

.modal-list li span {
    font-size: 0.9rem;
    color: #a8b2d1;
    line-height: 1.5;
    display: block;
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 10px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.2);
    transform: translateY(-5px);
}

.stat-num {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-lbl {
    font-size: 0.75rem;
    color: #8892b0;
    margin-top: 5px;
    display: block;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.tech-tag:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.05);
}

.modal-footer {
    text-align: center;
    margin-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

#modal-cta-btn {
    margin: 0;
    padding: 15px 40px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .modal-header h2 {
        font-size: 1.8rem;
    }
}

/* Subpages Header / Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0c203d 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 140px 0 60px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.page-banner p {
    font-size: 1.1rem;
    color: #8892b0;
    max-width: 600px;
    margin: 0 auto;
}

/* App Details Page Styles */
.apps-detail-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.app-detail-item {
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.app-detail-item:nth-child(even) {
    flex-direction: row-reverse;
}

.app-detail-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-logo-large {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-detail-item:hover .app-logo-large {
    transform: scale(1.1) rotate(5deg);
}

.app-detail-info {
    flex: 2;
}

.app-detail-info h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-bullets li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-links-row {
    margin-top: 25px;
}

/* Page Level Navigation Highlight styling */
.nav-links li a.active {
    color: var(--secondary-color);
}

.nav-links li a.active::after {
    transform: scaleX(1);
}

/* Responsive adjustment for subpages */
@media (max-width: 768px) {
    .app-detail-item, .app-detail-item:nth-child(even) {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }
    
    .app-logo-large {
        width: 140px;
        height: 140px;
        border-radius: 30px;
    }
    
    .page-banner {
        padding: 120px 0 40px;
    }
    
    .page-banner h1 {
        font-size: 2.2rem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .vision-grid, .contact-container, .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .lang-switch {
        margin-right: 15px;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .chatbot {
        right: 15px;
        left: 15px;
        bottom: 90px;
        width: auto;
    }
}

/* ============================================================
   SERVICES / CAISSE / DONS  —  ajouts Mholel Software
   ============================================================ */

.page-banner-slim {
    padding: 140px 0 50px;
}

/* --- Bandeau de confiance --- */
.svc-strip {
    background: var(--primary-color);
    border-top: 1px solid rgba(0, 210, 255, 0.25);
    padding: 18px 0;
}
.svc-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 40px;
}
.svc-strip-inner span {
    color: #b0c4de;
    font-size: 0.92rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.svc-strip-inner i { color: var(--secondary-color); }

/* --- Section catalogue --- */
.svc-section { padding: 80px 0; background: var(--light-bg); }
.svc-intro {
    max-width: 780px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 1.05rem;
}

.svc-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}
.svc-chip {
    background: var(--white);
    border: 1px solid #e2e8f0;
    color: var(--primary-color);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.svc-chip i { color: var(--accent-color); transition: var(--transition); }
.svc-chip:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(10, 25, 47, 0.08);
}
.svc-chip.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}
.svc-chip.active i { color: var(--secondary-color); }

.svc-group { margin-bottom: 60px; }
.svc-group-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8edf3;
}
.svc-group-head i {
    font-size: 1.6rem;
    color: var(--white);
    background: var(--primary-color);
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.svc-group-head h3 { color: var(--primary-color); font-size: 1.5rem; }
.svc-group-head p { color: #7a8aa0; font-size: 0.95rem; }

.svc-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.svc-card {
    background: var(--white);
    border: 1px solid #e8edf3;
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}
.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(10, 25, 47, 0.12);
    border-color: var(--secondary-color);
}
.svc-card.popular {
    border: 2px solid var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 210, 255, 0.15);
}
.svc-badge {
    position: absolute;
    top: -13px;
    left: 28px;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
}
.svc-card h4 { color: var(--primary-color); font-size: 1.35rem; margin-bottom: 6px; }
.svc-card-sub { color: #7a8aa0; font-size: 0.92rem; min-height: 42px; }

.svc-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin: 18px 0 8px;
}
.svc-price-from { color: #9aa8bb; font-size: 0.8rem; width: 100%; }
.svc-price strong { color: var(--primary-color); font-size: 2.4rem; line-height: 1; font-weight: 700; }
.svc-price-cur { color: #9aa8bb; font-size: 0.85rem; font-weight: 600; }

.svc-delay {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.svc-delay i { color: var(--secondary-color); margin-right: 5px; }

.svc-feats { list-style: none; margin-bottom: 25px; flex-grow: 1; }
.svc-feats li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #556; 
    font-size: 0.93rem;
    padding: 6px 0;
}
.svc-feats i { color: var(--secondary-color); font-size: 0.8rem; margin-top: 5px; }

.svc-card-actions { display: flex; flex-direction: column; gap: 10px; }
.svc-btn-pay {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.svc-btn-pay i { color: var(--secondary-color); margin-right: 8px; }
.svc-btn-pay:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.35);
}
.svc-btn-pay:hover i { color: var(--primary-color); }
.svc-btn-conf {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid #d7dfea;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.svc-btn-conf:hover { border-color: var(--primary-color); background: var(--light-bg); }
.svc-btn-conf i { margin-left: 6px; font-size: 0.8rem; }

.svc-custom {
    background: var(--white);
    border: 2px dashed #cfd9e6;
    border-radius: 20px;
    padding: 45px 30px;
    text-align: center;
}
.svc-custom i { font-size: 2.2rem; color: var(--secondary-color); margin-bottom: 15px; }
.svc-custom h3 { color: var(--primary-color); margin-bottom: 10px; }
.svc-custom p { color: #7a8aa0; max-width: 520px; margin: 0 auto 25px; }

/* --- Configurateur --- */
.cfg-section {
    padding: 80px 0;
    background: var(--primary-color);
    background-image: radial-gradient(circle at 15% 20%, rgba(0, 210, 255, 0.14), transparent 45%),
                      radial-gradient(circle at 85% 80%, rgba(0, 210, 255, 0.10), transparent 45%);
}
.cfg-desc { color: #b0c4de; max-width: 620px; margin: 0 auto 45px; }

.cfg-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 35px;
    align-items: start;
}

.cfg-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 35px;
    backdrop-filter: blur(6px);
}
.cfg-step { margin-bottom: 32px; }
.cfg-step:last-child { margin-bottom: 0; }
.cfg-step-title {
    display: block;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.cfg-select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(10, 25, 47, 0.6);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}
.cfg-select:focus { outline: none; border-color: var(--secondary-color); }
.cfg-select option { background: var(--primary-color); color: var(--white); }

.cfg-packs { display: flex; flex-direction: column; gap: 12px; }
.cfg-pack {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: var(--transition);
}
.cfg-pack:hover { border-color: rgba(0, 210, 255, 0.5); }
.cfg-pack.selected { border-color: var(--secondary-color); background: rgba(0, 210, 255, 0.12); }
.cfg-pack input { accent-color: var(--secondary-color); width: 18px; height: 18px; flex-shrink: 0; }
.cfg-pack-body { display: flex; flex-direction: column; flex-grow: 1; }
.cfg-pack-name { color: var(--white); font-weight: 700; }
.cfg-pack-desc { color: #9fb3cd; font-size: 0.85rem; }
.cfg-pack-price { color: var(--secondary-color); font-weight: 700; white-space: nowrap; }

.cfg-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.cfg-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: var(--transition);
}
.cfg-opt:hover { border-color: rgba(0, 210, 255, 0.45); }
.cfg-opt.selected { border-color: var(--secondary-color); background: rgba(0, 210, 255, 0.12); }
.cfg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-opt-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cfg-opt-check i { font-size: 0.7rem; color: var(--primary-color); opacity: 0; }
.cfg-opt.selected .cfg-opt-check { background: var(--secondary-color); border-color: var(--secondary-color); }
.cfg-opt.selected .cfg-opt-check i { opacity: 1; }
.cfg-opt-label { color: #dbe6f3; font-size: 0.9rem; flex-grow: 1; }
.cfg-opt-label i { color: var(--secondary-color); margin-right: 8px; width: 16px; }
.cfg-opt-price { color: var(--secondary-color); font-size: 0.88rem; font-weight: 700; }

.cfg-radios { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cfg-radio {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: var(--transition);
}
.cfg-radio:hover { border-color: rgba(0, 210, 255, 0.5); }
.cfg-radio.selected { border-color: var(--secondary-color); background: rgba(0, 210, 255, 0.12); }
.cfg-radio input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-radio-title { color: var(--white); font-weight: 700; }
.cfg-radio-desc { color: #9fb3cd; font-size: 0.83rem; }

/* Récapitulatif (partagé configurateur + caisse) */
.cfg-summary {
    background: var(--white);
    border-radius: 22px;
    padding: 32px 28px;
    position: sticky;
    top: 100px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}
.cfg-summary h3 { color: var(--primary-color); margin-bottom: 20px; font-size: 1.3rem; }
.cfg-lines { list-style: none; margin-bottom: 18px; }
.cfg-lines li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 0;
    border-bottom: 1px dashed #e6ecf3;
    color: #556;
    font-size: 0.92rem;
}
.cfg-lines li span:last-child { font-weight: 700; color: var(--primary-color); white-space: nowrap; }
.cfg-line-discount span { color: #16a34a !important; }

.cfg-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 15px 0 10px;
    border-top: 2px solid var(--primary-color);
}
.cfg-total-row span { color: var(--primary-color); font-weight: 700; }
.cfg-total-row strong { color: var(--primary-color); font-size: 1.7rem; }

.cfg-sub-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    font-size: 0.9rem;
    color: var(--text-color);
}
.cfg-sub-row strong { color: var(--primary-color); }
.cfg-sub-muted { color: #8a97a8; }

.cfg-pay-btn {
    width: 100%;
    margin-top: 20px;
    background: linear-gradient(135deg, var(--secondary-color), #00a8cc);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 17px 20px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}
.cfg-pay-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 210, 255, 0.45);
}
.cfg-pay-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.cfg-quote-btn {
    width: 100%;
    margin-top: 10px;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid #d7dfea;
    border-radius: 50px;
    padding: 13px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.cfg-quote-btn:hover { background: var(--light-bg); border-color: var(--primary-color); }

.cfg-secure-note {
    margin-top: 18px;
    color: #8a97a8;
    font-size: 0.8rem;
    line-height: 1.45;
    text-align: center;
}
.cfg-secure-note i { color: #16a34a; margin-right: 5px; }

/* --- Garanties --- */
.svc-trust { padding: 80px 0; background: var(--white); }
.svc-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 45px;
}
.svc-trust-card {
    background: var(--light-bg);
    border-radius: 18px;
    padding: 32px 25px;
    text-align: center;
    transition: var(--transition);
}
.svc-trust-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(10, 25, 47, 0.1); }
.svc-trust-card i { font-size: 1.9rem; color: var(--secondary-color); margin-bottom: 15px; }
.svc-trust-card h4 { color: var(--primary-color); margin-bottom: 8px; font-size: 1.05rem; }
.svc-trust-card p { color: #7a8aa0; font-size: 0.9rem; }

/* ============================================================
   CAISSE
   ============================================================ */

.co-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 30px;
    margin-top: 22px;
}
.co-steps span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7f95b3;
    font-size: 0.88rem;
    font-weight: 600;
}
.co-steps .done { color: #16a34a; }
.co-steps .current { color: var(--secondary-color); }

.co-section { padding: 60px 0 90px; background: var(--light-bg); }
.co-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 35px; align-items: start; }

.co-form, .co-pay {
    background: var(--white);
    border-radius: 22px;
    padding: 35px;
    border: 1px solid #e8edf3;
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.05);
}
.co-form h2, .co-pay h2 { color: var(--primary-color); font-size: 1.35rem; margin-bottom: 22px; }
.co-pay { margin-top: 25px; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.co-form .form-group input.valid { border-color: #16a34a; }
.co-form .form-group input.invalid { border-color: #dc2626; }

/* Pot de miel : invisible pour l'utilisateur, piège à robots */
.co-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.co-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
    color: #556;
    font-size: 0.92rem;
    cursor: pointer;
}
.co-check input { accent-color: var(--secondary-color); width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }

.co-lock {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff8e6;
    border: 1px solid #f3d99a;
    color: #8a6100;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.co-error {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fdeaea;
    border: 1px solid #f2b6b6;
    color: #a12020;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.co-pay-zone { transition: var(--transition); min-height: 60px; }
.co-pay-zone.locked { opacity: 0.35; pointer-events: none; filter: grayscale(1); }

.co-fallback {
    background: var(--light-bg);
    border: 1px dashed #cfd9e6;
    border-radius: 15px;
    padding: 25px;
    margin-top: 10px;
}
.co-fallback p { color: #556; font-size: 0.93rem; margin-bottom: 18px; }
.co-fallback-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.co-fallback-actions .btn { padding: 12px 22px; font-size: 0.9rem; }

.co-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 25px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eef2f7;
}
.co-badges li { color: #8a97a8; font-size: 0.82rem; display: flex; align-items: center; gap: 7px; }
.co-badges i { color: #16a34a; }

.co-summary {
    background: var(--white);
    border-radius: 22px;
    padding: 32px 28px;
    position: sticky;
    top: 100px;
    border: 1px solid #e8edf3;
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.06);
}
.co-summary h3 { color: var(--primary-color); margin-bottom: 20px; font-size: 1.3rem; }
.co-line-note span { color: #8a97a8 !important; font-weight: 600 !important; }

.co-due {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 15px;
    padding: 18px 20px;
    margin-top: 20px;
}
.co-due span { font-size: 0.88rem; font-weight: 600; color: #b0c4de; }
.co-due strong { font-size: 1.5rem; color: var(--secondary-color); }

.co-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}
.co-back:hover { color: var(--primary-color); gap: 12px; }

.co-empty { padding: 120px 0; background: var(--light-bg); }
.co-empty i { font-size: 3rem; color: #cfd9e6; margin-bottom: 20px; }
.co-empty h2 { color: var(--primary-color); margin-bottom: 10px; }
.co-empty p { color: #7a8aa0; margin-bottom: 28px; }

.co-success { padding: 110px 0; background: var(--light-bg); }
.co-success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #16a34a;
    color: var(--white);
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 15px 35px rgba(22, 163, 74, 0.3);
}
.co-success h2 { color: var(--primary-color); margin-bottom: 12px; }
.co-success p { color: #667; max-width: 560px; margin: 0 auto 12px; }
.co-ref { font-size: 0.9rem; color: #8a97a8 !important; margin-bottom: 28px !important; }

/* ============================================================
   DONS
   ============================================================ */

.don-hero {
    padding: 170px 0 100px;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.94), rgba(10, 25, 47, 0.80)),
                url('img/bru-no-studio-1004158_1920.png') center/cover no-repeat;
    position: relative;
}
.don-hero-content { max-width: 720px; }
.don-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: var(--secondary-color);
    border-radius: 50px;
    padding: 7px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.don-hero h1 { color: var(--white); font-size: 3.2rem; line-height: 1.15; margin-bottom: 18px; }
.don-hero p { color: #b0c4de; font-size: 1.15rem; margin-bottom: 30px; }
.don-hero-actions { display: flex; flex-wrap: wrap; gap: 15px; }

.don-why { padding: 90px 0; background: var(--white); }
.don-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.don-why h2 { color: var(--primary-color); font-size: 2.1rem; margin-bottom: 18px; }
.don-why p { color: #667; margin-bottom: 25px; }
.don-use-list { list-style: none; display: grid; gap: 12px; }
.don-use-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--light-bg);
    border-radius: 12px;
    padding: 14px 18px;
    color: #445;
    font-size: 0.95rem;
    transition: var(--transition);
}
.don-use-list li:hover { transform: translateX(6px); background: #eef4fb; }
.don-use-list i { color: var(--secondary-color); width: 22px; text-align: center; }

.don-why-visual { position: relative; }
.don-why-visual img { width: 100%; border-radius: 22px; box-shadow: 0 25px 50px rgba(10, 25, 47, 0.2); }
.don-why-badge {
    position: absolute;
    bottom: -25px;
    left: -20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 18px;
    padding: 22px 26px;
    max-width: 230px;
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.3);
}
.don-why-badge strong { display: block; color: var(--secondary-color); font-size: 2rem; line-height: 1; margin-bottom: 6px; }
.don-why-badge span { font-size: 0.85rem; color: #b0c4de; }

.don-projects-section { padding: 90px 0; background: var(--light-bg); }
.don-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 45px;
}
.don-card {
    background: var(--white);
    border: 1px solid #e8edf3;
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: var(--transition);
}
.don-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10, 25, 47, 0.12); }
.don-card.selected { border-color: var(--secondary-color); box-shadow: 0 15px 35px rgba(0, 210, 255, 0.2); }
.don-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 15px; }
.don-card-head img { width: 60px; height: 60px; border-radius: 15px; object-fit: cover; flex-shrink: 0; }
.don-card-head h3 { color: var(--primary-color); font-size: 1.2rem; }
.don-next { color: var(--accent-color); font-size: 0.8rem; font-weight: 600; }
.don-next i { color: #16a34a; margin-right: 5px; }
.don-card-desc { color: #7a8aa0; font-size: 0.92rem; flex-grow: 1; margin-bottom: 18px; }

.don-progress {
    height: 9px;
    border-radius: 50px;
    background: #e8edf3;
    overflow: hidden;
    margin-bottom: 10px;
}
.don-progress span {
    display: block;
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--secondary-color), #00a8cc);
    transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.don-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.82rem;
    color: #8a97a8;
    margin-bottom: 18px;
}
.don-select {
    background: var(--light-bg);
    border: 1px solid #d7dfea;
    color: var(--primary-color);
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.don-select i { color: #e0245e; margin-right: 8px; }
.don-card.selected .don-select { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); }
.don-select:hover { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); }

.don-form-section { padding: 90px 0; background: var(--primary-color);
    background-image: radial-gradient(circle at 80% 20%, rgba(0, 210, 255, 0.13), transparent 45%); }
.don-form-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 35px; align-items: start; }
.don-form-card {
    background: var(--white);
    border-radius: 22px;
    padding: 38px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.22);
}
.don-form-card h2 { color: var(--primary-color); font-size: 1.6rem; margin-bottom: 8px; }
.don-form-desc { color: #7a8aa0; margin-bottom: 28px; }
.don-form-card .cfg-step-title { color: var(--accent-color); }

.don-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(95px, 1fr)); gap: 10px; margin-bottom: 15px; }
.don-tier {
    background: var(--light-bg);
    border: 1px solid #dde5ee;
    color: var(--primary-color);
    border-radius: 12px;
    padding: 15px 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.don-tier:hover { border-color: var(--secondary-color); transform: translateY(-3px); }
.don-tier.active { background: var(--primary-color); color: var(--secondary-color); border-color: var(--primary-color); }

.don-custom-group { position: relative; margin-bottom: 10px !important; }
.don-custom-cur {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a97a8;
    font-size: 0.85rem;
    font-weight: 700;
}
.don-error { color: #a12020; font-size: 0.85rem; margin-bottom: 12px; }
.don-switch { margin-bottom: 22px; }

.don-panel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    padding: 32px 28px;
    position: sticky;
    top: 100px;
    backdrop-filter: blur(6px);
}
.don-panel h3 { color: var(--white); margin-bottom: 22px; font-size: 1.3rem; }
.don-panel-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}
.don-panel-row span { color: #9fb3cd; font-size: 0.9rem; }
.don-panel-row strong { color: var(--white); font-size: 0.95rem; text-align: right; }
.don-panel-amount {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 22px 0 5px;
}
.don-panel-amount span { color: #9fb3cd; font-size: 0.9rem; }
.don-panel-amount strong { color: var(--secondary-color); font-size: 2.2rem; }
.don-panel .cfg-secure-note { color: #9fb3cd; }

.don-transparency { padding: 90px 0; background: var(--white); }
.don-transparency h2 { color: var(--primary-color); font-size: 2rem; margin-bottom: 12px; }
.don-transparency > .container > p { color: #7a8aa0; max-width: 680px; margin: 0 auto; }
.don-trans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    margin-top: 45px;
}
.don-trans-item {
    border: 1px solid #e8edf3;
    border-radius: 18px;
    padding: 30px 24px;
    transition: var(--transition);
}
.don-trans-item:hover { border-color: var(--secondary-color); transform: translateY(-5px); }
.don-trans-item i { font-size: 1.6rem; color: var(--secondary-color); margin-bottom: 14px; }
.don-trans-item h4 { color: var(--primary-color); margin-bottom: 8px; font-size: 1.02rem; }
.don-trans-item p { color: #7a8aa0; font-size: 0.88rem; }

/* --- Responsive --- */
@media (max-width: 992px) {
    .cfg-layout, .co-layout, .don-form-layout, .don-why-grid { grid-template-columns: 1fr; }
    .cfg-summary, .co-summary, .don-panel { position: static; }
    .don-why-badge { position: static; margin-top: 20px; max-width: none; }
}

@media (max-width: 768px) {
    .svc-section, .cfg-section, .svc-trust, .don-why,
    .don-projects-section, .don-form-section, .don-transparency { padding: 55px 0; }
    .cfg-form, .co-form, .co-pay, .don-form-card { padding: 25px 20px; }
    .co-row { grid-template-columns: 1fr; }
    .svc-group-head { flex-direction: column; text-align: center; }
    .don-hero { padding: 140px 0 70px; }
    .don-hero h1 { font-size: 2.2rem; }
    .co-steps { gap: 10px 18px; font-size: 0.8rem; }
    .svc-strip-inner { gap: 12px 20px; }
    .svc-strip-inner span { font-size: 0.8rem; }
    .don-card-head { flex-direction: column; text-align: center; }
}

/* --- Navigation à 7 entrées : jamais de retour à la ligne --- */
.nav-links li a { white-space: nowrap; }

@media (max-width: 1200px) {
    .navbar { padding: 15px 25px; }
    .nav-links { gap: 22px; }
    .nav-links li a { font-size: 0.9rem; }
}

@media (max-width: 1080px) {
    .logo-text { display: none; }
    .nav-links { gap: 16px; }
    .nav-links li a { font-size: 0.85rem; }
}

@media (max-width: 992px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
}

/* ============================================================
   ANTI-SPAM & VÉRIFICATION DE L'ADRESSE E-MAIL
   ============================================================ */

/* Champ piège : invisible pour un humain, tentant pour un robot.
   Surtout pas display:none — certains robots ignorent ces champs-là. */
.mh-trap {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.mh-verify {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
    padding: 18px 20px;
    background: var(--light-bg);
    border: 1px solid #dde5ee;
    border-left: 4px solid var(--secondary-color);
    border-radius: 14px;
}
.mh-verify > i {
    color: var(--secondary-color);
    font-size: 1.15rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.mh-verify-body { flex-grow: 1; }
.mh-verify p {
    color: #556;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
}
.mh-verify strong { color: var(--primary-color); }

.mh-verify button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 11px 22px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.mh-verify button:hover:not(:disabled) {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}
.mh-verify button:disabled { opacity: 0.6; cursor: wait; }

.mh-verify-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.mh-verify-row input {
    width: 150px;
    padding: 12px 14px;
    border: 1px solid #cfd9e6;
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-align: center;
    color: var(--primary-color);
}
.mh-verify-row input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.15);
}

.mh-verify .mh-link {
    background: none;
    color: var(--accent-color);
    border: none;
    padding: 8px 0 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}
.mh-verify .mh-link:hover { color: var(--primary-color); background: none; transform: none; }

.mh-verify-error {
    display: none;
    color: #a12020 !important;
    font-size: 0.85rem;
    margin: 10px 0 0 !important;
}

/* État vérifié */
.mh-verify.done {
    align-items: center;
    background: #edfaf1;
    border-color: #b7e4c7;
    border-left-color: #16a34a;
}
.mh-verify.done > i { color: #16a34a; }
.mh-verify.done span {
    color: #14663a;
    font-size: 0.9rem;
    font-weight: 600;
    word-break: break-word;
}

/* Erreur du formulaire de contact */
.mh-form-error {
    background: #fdeaea;
    border: 1px solid #f2b6b6;
    color: #a12020;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.88rem;
    margin-bottom: 15px;
}

/* Dans le formulaire de contact (carte blanche), on renforce le contraste */
.contact-form .mh-verify { background: #f2f6fb; }

@media (max-width: 768px) {
    .mh-verify { flex-direction: column; gap: 10px; }
    .mh-verify-row input { width: 100%; }
}
