/* css/pulsar_style.css */
/* General Reset & Base Styles */
:root {
    /* --- Color Palette: Red as Primary, Blue as Accent --- */
    --primary-theme-color: #e74c3c; /* Main Red */
    --accent-theme-color: #005c9e; /* Main Blue */
    --secondary-accent-theme-color: #3da9fc; /* Lighter Blue for specific accents */

    /* Keeping old variable names for minimal disruption, but their values are swapped or updated */
    --primary-blue-color: var(--accent-theme-color);
    --secondary-blue-accent-color: var(--secondary-accent-theme-color);
    --accent-red-color: var(--primary-theme-color);

    /* General colors */
    --text-color: #343a40;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --secondary-color: #6c757d; /* Standard Gray for buttons, etc. */


    --dark-text-color: #e9ecef;
    --dark-bg-color: #1c1e22;
    --dark-card-bg: #2a2d30;
    --dark-border-color: #4a4e52;

    --header-height: 70px;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --border-radius: 6px;
    --box-shadow-light: 0 5px 15px rgba(0,0,0,0.07);
    --box-shadow-dark: 0 8px 25px rgba(0,0,0,0.15);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-primary); color: var(--text-color); background-color: var(--bg-color); margin: 0; padding: 0; line-height: 1.7; transition: background-color 0.3s ease, color 0.3s ease; }
.container { width: 90%; max-width: 1140px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; } /* Apply box-sizing to all elements */

/* Dark Mode Styles */
html.dark-mode { --text-color: var(--dark-text-color); --bg-color: var(--dark-bg-color); --light-bg: #222529; }
html.dark-mode header { background-color: var(--dark-card-bg); box-shadow: 0 2px 5px rgba(0,0,0,0.4); }
html.dark-mode .service-card-modern,
html.dark-mode .ai-service-item,
html.dark-mode .testimonial-card,
html.dark-mode .value-item-modern,
html.dark-mode .contact-wrapper-modern,
html.dark-mode .product-card { background-color: var(--dark-card-bg); border: 1px solid var(--dark-border-color); box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
html.dark-mode .section-title h2, html.dark-mode h1, html.dark-mode h2, html.dark-mode h3, html.dark-mode h4, html.dark-mode .hero-subtitle, html.dark-mode .about-text-modern p strong, html.dark-mode .footer-modern p, html.dark-mode .footer-links-modern a, html.dark-mode .footer-contact-info li, html.dark-mode .contact-details-modern li strong, html.dark-mode .contact-details-modern a, html.dark-mode .nav-menu a, html.dark-mode .btn-outline-modern, html.dark-mode .dark-mode-toggle-btn, html.dark-mode .mobile-menu-btn, html.dark-mode .social-links-contact a, html.dark-mode .social-links-footer a { color: var(--dark-text-color); }
html.dark-mode .section-title p, html.dark-mode p, html.dark-mode li, html.dark-mode span:not(.brand-prefix-highlight):not(.typed-text):not(.footer-brand-suffix) { color: #b0bec5; }
html.dark-mode .nav-menu a:hover, html.dark-mode .footer-links-modern a:hover, html.dark-mode .contact-details-modern a:hover { color: var(--secondary-accent-theme-color); }
html.dark-mode .btn-outline-modern { color: var(--secondary-accent-theme-color); border-color: var(--secondary-accent-theme-color); }
html.dark-mode .btn-outline-modern:hover { background-color: var(--secondary-accent-theme-color); color: var(--dark-bg-color); }
html.dark-mode input[type="text"], html.dark-mode input[type="email"], html.dark-mode input[type="tel"], html.dark-mode textarea, html.dark-mode .form-control { background-color: var(--dark-card-bg); color: var(--dark-text-color); border-color: var(--dark-border-color); }
html.dark-mode input::placeholder, html.dark-mode textarea::placeholder { color: #78909c; }

/* Header */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo img {
    max-height: 50px;
    display: block;
    vertical-align: middle;
}

.header-right-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    height: 100%;
}

.nav-menu li {
    margin: 0;
    display: flex;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
    padding: 8px 9px;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    line-height: 1.2;
    white-space: nowrap;
}

.nav-menu a:hover, .nav-menu a.active-link {
    color: var(--primary-theme-color);
    border-bottom-color: var(--accent-theme-color);
}
body.on-shop-page .nav-menu a[href="services.html#products"],
body.on-shop-page .nav-menu a[href="services.html"] {
    color: var(--primary-theme-color);
    border-bottom-color: var(--accent-theme-color);
}
html.dark-mode .nav-menu a.active-link,
html.dark-mode body.on-shop-page .nav-menu a[href="services.html#products"],
html.dark-mode body.on-shop-page .nav-menu a[href="services.html"] {
    color: var(--primary-theme-color);
    border-bottom-color: var(--secondary-accent-theme-color);
}

.dark-mode-toggle-btn,
.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 1;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.45rem;
}

.dark-mode-toggle-btn .icon-sun { display: none; }
html.dark-mode .dark-mode-toggle-btn .icon-moon { display: none; }
html.dark-mode .dark-mode-toggle-btn .icon-sun { display: inline-block; }


/* Hero Section */
.hero-section-new {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 80px 0;
    background: url('../images/hero-background.jpg') no-repeat center center/cover;
    min-height: calc(70vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, rgba(231, 76, 60, 0.7), rgba(0, 92, 158, 0.5)); }
.hero-content-new { position: relative; z-index: 1; }
.hero-content-new h1 { font-family: var(--font-secondary); font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 20px; font-weight: 700; color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.2); }
.hero-subtitle { font-size: clamp(1rem, 2.2vw, 1.2rem); margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; color: #f0f0f0; }

.hero-content-new h1 .typed-text {
    color: var(--primary-theme-color);
    font-size: 0.8em;
}
.hero-section-new h1 .hero-partner-text {
    font-size: 0.8em;
}
html.dark-mode .hero-content-new h1 .typed-text {
    color: var(--primary-theme-color);
}
.cursor { display: inline-block; background-color: var(--primary-theme-color); margin-left: 0.1rem; width: 3px; animation: blink 0.7s infinite; }
.cursor.typing { animation: none; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Buttons */
.btn { padding: 12px 28px; text-decoration: none; border-radius: var(--border-radius); font-weight: 500; transition: all 0.3s ease; display: inline-block; font-family: var(--font-secondary); cursor: pointer; border: 2px solid transparent; text-align: center; letter-spacing: 0.5px; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.btn-primary-modern { background-color: var(--primary-theme-color); color: #fff; border-color: var(--primary-theme-color); }
.btn-primary-modern:hover { background-color: #c0392b; border-color: #c0392b; }
.btn-blue-modern { background-color: var(--accent-theme-color); color: #fff; border-color: var(--accent-theme-color); }
.btn-blue-modern:hover { background-color: #004a80; border-color: #004a80; }
.btn-secondary-modern { background-color: var(--secondary-color); color: #fff; border-color: var(--secondary-color); }
.btn-secondary-modern:hover { background-color: #545b62; border-color: #545b62; }
.hero-buttons-new .btn:first-child { background-color: var(--accent-theme-color); border-color: var(--accent-theme-color); }
.hero-buttons-new .btn:first-child:hover { background-color: #004a80; border-color: #004a80; }
.hero-buttons-new .btn-outline-modern { color: #fff; border-color: #fff; }
.hero-buttons-new .btn-outline-modern:hover { background-color: #fff; color: var(--accent-theme-color); }
html.dark-mode .hero-buttons-new .btn-outline-modern { color: #fff; border-color: #fff; }
html.dark-mode .hero-buttons-new .btn-outline-modern:hover { background-color: #fff; color: var(--accent-theme-color); }
.btn-red-modern { background-color: var(--primary-theme-color); color: #fff; border-color: var(--primary-theme-color); }
.btn-red-modern:hover { background-color: #c0392b; border-color: #c0392b; }
.hero-buttons-new .btn { margin: 10px; }
.btn-lg { padding: 15px 35px; font-size: 1.1rem; }

/* General Section Styling */
.section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.6rem, 2.8vw, 2.1rem); /* Taille des titres de section ajustée */
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--primary-theme-color);
}
.section-title p { font-size: clamp(1rem, 2vw, 1.15rem); color: #555; max-width: 650px; margin: 0 auto; }
html.dark-mode .section-title h2 { color: var(--primary-theme-color); }
html.dark-mode .section-title p { color: #b0bec5; }

/* About Section */
.about-content-modern { display: flex; flex-wrap: wrap; align-items: center; gap: 50px; }
.about-image-modern { flex: 1 1 300px; text-align: center; }
.about-logo-display { max-width: 110%; height: auto; border-radius: 20px; }
.about-text-modern { flex: 2 1 400px; }
.about-text-modern h3 { font-family: var(--font-secondary); font-size: 1.9rem; margin-bottom: 20px; color: var(--primary-theme-color); }
html.dark-mode .about-text-modern h3 { color: var(--primary-theme-color); }
.about-strengths { list-style: none; padding-left: 0; margin-top: 25px; }
.about-strengths li { margin-bottom: 12px; display: flex; align-items: center; font-size: 1.05rem; }
.about-strengths .fa-check-circle { color: var(--accent-theme-color); margin-right: 12px; font-size: 1.2em; }
.btn-about { margin-top: 25px; background-color: var(--accent-theme-color); border-color: var(--accent-theme-color); }
.btn-about:hover { background-color: #004a80; border-color: #004a80; }

/* Nos Services Clés / Nos Offres */
.services-section-generic { background-color: var(--light-bg); }
.services-grid-modern { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card-modern { background-color: #fff; padding: 25px 20px; border-radius: var(--border-radius); box-shadow: var(--box-shadow-light); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; justify-content: space-between; }
.service-card-modern:hover { transform: translateY(-6px); box-shadow: var(--box-shadow-dark); }
.service-icon-modern { font-size: 2.2rem; margin-bottom: 15px; width: 65px; height: 65px; line-height: 65px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; align-self: center; }
.service-icon-modern.icon-primary { background-color: var(--primary-theme-color); }
.service-icon-modern.icon-secondary-custom { background-color: var(--accent-theme-color); }
.service-card-modern h3 { font-family: var(--font-secondary); font-size: 1.2rem; margin-bottom: 8px; color: var(--primary-theme-color); }
.service-card-modern p { font-size: 0.85rem; line-height: 1.5; margin-bottom: 15px; }
html.dark-mode .service-card-modern h3 { color: var(--primary-theme-color); }
@media (max-width: 992px) { .services-grid-modern { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .services-grid-modern { grid-template-columns: 1fr; } .service-card-modern h3 { font-size: 1.3rem; } .service-card-modern p { font-size: 0.9rem; } }

/* AI & Automation Section */
.section-ai-focused { }
.ai-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 35px; }
.ai-service-item { background-color: #fff; padding: 30px; border-radius: var(--border-radius); box-shadow: var(--box-shadow-light); }
.ai-service-icon { font-size: 2.2rem; color: var(--primary-theme-color); margin-bottom: 18px; }
.ai-service-item h3 { font-family: var(--font-secondary); font-size: 1.5rem; margin-bottom: 12px; color: var(--primary-theme-color); }
html.dark-mode .ai-service-item h3 { color: var(--primary-theme-color); }
.ai-service-item ul { list-style: none; padding-left: 0; font-size: 0.95rem; }
.ai-service-item ul li { padding-left: 22px; position: relative; margin-bottom: 10px; }
.ai-service-item ul li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent-theme-color); position: absolute; left: 0; top: 3px; }
.cta-ai-section { margin-top: 45px; }
.text-center { text-align: center; }

/* Testimonials Section */
.testimonials-bg { background-color: var(--light-bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 35px; }
.testimonial-card { background-color: #fff; padding: 35px; border-radius: var(--border-radius); box-shadow: var(--box-shadow-light); position: relative; }
.testimonial-icon-quote { font-size: 2.2rem; color: var(--accent-theme-color); opacity: 0.15; position: absolute; top: 20px; left: 25px; }
.testimonial-text { font-style: italic; margin-bottom: 25px; color: #444; font-size: 1.05rem; }
html.dark-mode .testimonial-text { color: #cddc39; }
.testimonial-author { display: flex; align-items: center; }
.testimonial-avatar { width: 65px; height: 65px; border-radius: 50%; margin-right: 18px; object-fit: cover; border: 2px solid var(--primary-theme-color); }
.testimonial-name { font-family: var(--font-secondary); font-size: 1.15rem; margin-bottom: 4px; color: var(--accent-theme-color);}
html.dark-mode .testimonial-name { color: var(--secondary-accent-theme-color); }
.testimonial-company { font-size: 0.9rem; color: #666; }
html.dark-mode .testimonial-company { color: #aaa; }

/* Values Section */
.values-grid-modern { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; }
.value-item-modern { padding: 25px; }
html.dark-mode .value-item-modern {}
.value-icon-modern { font-size: 2.8rem; margin-bottom: 18px; }
.value-item-modern:nth-child(odd) .value-icon-modern { color: var(--primary-theme-color); }
.value-item-modern:nth-child(even) .value-icon-modern { color: var(--accent-theme-color); }
.value-item-modern h3 { font-family: var(--font-secondary); font-size: 1.5rem; margin-bottom: 10px; color: var(--text-color); }
html.dark-mode .value-item-modern h3 { color: var(--dark-text-color); }


/* Contact Section */
.contact-section-modern { background-color: var(--light-bg); }
.contact-wrapper-modern { display: flex; flex-wrap: wrap; gap: 45px; background-color: var(--bg-color); padding: 35px; border-radius: var(--border-radius); box-shadow: var(--box-shadow-light); }
.contact-info-modern, .contact-form-modern { flex: 1 1 400px; min-width: 300px; }
.contact-info-modern h3, .contact-form-modern h3 { font-family: var(--font-secondary); font-size: 1.7rem; margin-bottom: 25px; color: var(--primary-theme-color); }
html.dark-mode .contact-info-modern h3, html.dark-mode .contact-form-modern h3 { color: var(--primary-theme-color); }
.contact-details-modern { list-style: none; padding-left: 0; }
.contact-details-modern li { margin-bottom: 18px; display: flex; align-items: flex-start; font-size: 1.05rem;}
.contact-details-modern i { color: var(--accent-theme-color); margin-right: 15px; width: 22px; text-align: center; font-size: 1.2rem; margin-top: 4px;}
.contact-details-modern a { color: var(--text-color); text-decoration: none; }
.contact-details-modern a:hover { color: var(--accent-theme-color); }
.social-links-contact { margin-top: 25px; }
.social-links-contact a { color: var(--primary-theme-color); font-size: 1.4rem; margin-right: 18px; transition: color 0.3s ease; }
.social-links-contact a:hover { color: var(--accent-theme-color); }
html.dark-mode .social-links-contact a { color: var(--primary-theme-color); }
html.dark-mode .social-links-contact a:hover { color: var(--secondary-accent-theme-color); }

.form-group { margin-bottom: 22px; }
.form-control { width: 100%; padding: 14px; border: 1px solid #ced4da; border-radius: var(--border-radius); font-family: var(--font-primary); font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.form-control:focus { border-color: var(--primary-theme-color); box-shadow: 0 0 0 0.2rem rgba(231,76,60,.25); outline: none; }
textarea.form-control { resize: vertical; min-height: 130px; }
.btn-submit-form { width: 100%; background-color: var(--accent-theme-color); border-color: var(--accent-theme-color); padding: 14px; font-size: 1.1rem;}
.btn-submit-form:hover { background-color: #004a80; border-color: #004a80; }

/* Footer */
.footer-modern { background-color: #1f2326; color: #adb5bd; padding: 60px 0 25px; }
.footer-content-modern { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 35px; margin-bottom: 35px; }
.footer-col h4 { font-family: var(--font-secondary); font-size: 1.25rem; margin-bottom: 20px; color: #fff; }
.footer-col p, .footer-col li { font-size: 0.95rem; }
.footer-links-modern { list-style: none; padding: 0; }
.footer-links-modern li { margin-bottom: 12px; }
.footer-links-modern a { color: #adb5bd; text-decoration: none; transition: color 0.3s ease; }
.footer-links-modern a:hover { color: var(--secondary-accent-theme-color); }
.footer-contact-info { list-style: none; padding: 0; }
.footer-contact-info li { margin-bottom: 12px; display: flex; align-items: center;}
.footer-contact-info i { margin-right: 12px; color: var(--secondary-accent-theme-color); }
.social-links-footer a { color: #adb5bd; font-size: 1.5rem; margin-right: 18px; transition: color 0.3s ease; }
.social-links-footer a:hover { color: var(--secondary-accent-theme-color); }
.footer-bottom-modern { text-align: center; padding-top: 25px; border-top: 1px solid #343a40; font-size: 0.9rem; }

.brand-prefix-highlight {
    color: var(--primary-theme-color);
    font-weight: bold;
}
.footer-brand-suffix {
    font-weight: bold;
}
html.dark-mode .brand-prefix-highlight { color: var(--primary-theme-color); }
.highlight-blue {
    color: var(--accent-theme-color);
    font-weight: bold;
}


/* Chat Assistant Styles - Using new color variables */
.chat-assistant-fab { position: fixed; bottom: 25px; right: 25px; background-color: var(--primary-theme-color); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.25); z-index: 1000; transition: transform 0.3s ease, background-color 0.3s ease; }
.chat-assistant-fab:hover { transform: scale(1.1); background-color: #c0392b; }
.chat-assistant-fab.active { background-color: var(--accent-theme-color); }

.chat-assistant-window { position: fixed; bottom: 100px; right: 25px; width: 360px; max-width: 90vw; height: 480px; max-height: 70vh; background-color: var(--bg-color); border-radius: 10px; box-shadow: 0 6px 25px rgba(0,0,0,0.2); display: flex; flex-direction: column; visibility: hidden; opacity: 0; transform: translateY(20px); transition: visibility 0.3s ease, opacity 0.3s ease, transform 0.3s ease; z-index: 999; border: 1px solid #dee2e6; }
html.dark-mode .chat-assistant-window { background-color: var(--dark-card-bg); border-color: var(--dark-border-color); }
.chat-assistant-window.active { visibility: visible; opacity: 1; transform: translateY(0); }

.chat-assistant-header { background-color: var(--primary-theme-color); color: white; padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; border-top-left-radius: 10px; border-top-right-radius: 10px; }
html.dark-mode .chat-assistant-header { background-color: var(--dark-card-bg); border-bottom: 1px solid var(--dark-border-color);}
.chat-assistant-header h3 { margin: 0; font-size: 1.15rem; font-family: var(--font-secondary); }
.chat-assistant-close-btn { background: none; border: none; color: white; font-size: 1.6rem; cursor: pointer; }
html.dark-mode .chat-assistant-close-btn { color: var(--dark-text-color); }


.chat-assistant-messages { flex-grow: 1; padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat-message { padding: 10px 15px; border-radius: 18px; max-width: 85%; line-height: 1.5; }
.chat-message p { margin: 0; word-wrap: break-word; font-size: 0.95rem; }
.user-message { background-color: var(--primary-theme-color); color: white; align-self: flex-end; border-bottom-right-radius: 5px; }
.bot-message { background-color: #e9ecef; color: var(--text-color); align-self: flex-start; border-bottom-left-radius: 5px; }
html.dark-mode .user-message { background-color: var(--primary-theme-color); color: white; }
html.dark-mode .bot-message { background-color: #373a3c; color: var(--dark-text-color); }
.typing-indicator p span { display: inline-block; animation: typing-blink 1.4s infinite both; font-size: 1.5em; line-height: 0.5em; }
.typing-indicator p span:nth-child(2) { animation-delay: .2s; }
.typing-indicator p span:nth-child(3) { animation-delay: .4s; }
@keyframes typing-blink { 0% { opacity: .2; } 20% { opacity: 1; } 100% { opacity: .2; } }

.chat-assistant-input-area { display: flex; padding: 12px; border-top: 1px solid #dee2e6; }
html.dark-mode .chat-assistant-input-area { border-top-color: var(--dark-border-color); }
#chatAssistantInput { flex-grow: 1; padding: 12px 15px; border: 1px solid #ced4da; border-radius: 25px; margin-right: 10px; font-size: 0.95rem; }
html.dark-mode #chatAssistantInput { background-color: #373a3c; border-color: var(--dark-border-color); color: var(--dark-text-color); }
#chatAssistantSendBtn { background-color: var(--primary-theme-color); color: white; border: none; border-radius: 50%; width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color 0.3s ease; }
#chatAssistantSendBtn:hover { background-color: #c0392b; }
#chatAssistantSendBtn:disabled { background-color: var(--secondary-color); cursor: not-allowed; }
html.dark-mode #chatAssistantSendBtn { background-color: var(--primary-theme-color); color: white; }
html.dark-mode #chatAssistantSendBtn:hover { background-color: #c0392b; }


/* Accessibility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        box-shadow: 0 3px 8px rgba(0,0,0,0.1);
        padding: 10px 0;
        border-top: 1px solid #eee;
    }
    html.dark-mode .nav-menu {
        background-color: var(--dark-card-bg);
        border-top-color: var(--dark-border-color);
    }

    .nav-menu.active { display: flex; }

    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f1f1f1;
        font-size: 0.95rem;
        white-space: normal;
    }
    html.dark-mode .nav-menu a {
        border-bottom-color: var(--dark-border-color);
    }
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    .nav-menu a:hover,
    .nav-menu a.active-link {
        background-color: rgba(0,0,0,0.03);
    }
    html.dark-mode .nav-menu a:hover,
    html.dark-mode .nav-menu a.active-link {
        background-color: rgba(255,255,255,0.05);
    }

    .mobile-menu-btn { display: flex; }

    .hero-content-new h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    .hero-subtitle { font-size: clamp(0.9rem, 4vw, 1.1rem); }
    .hero-buttons-new { display: flex; flex-direction: column; gap: 15px; align-items: center;}
    .about-content-modern { flex-direction: column; text-align: center; }
    .about-image-modern { margin-bottom: 20px;}
    .about-logo-display { max-width: 100%; }
    .about-strengths li { justify-content: center; }
    .contact-wrapper-modern { flex-direction: column; }
    .footer-content-modern { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
}
@media (max-width: 576px) {
    .logo img {
        max-height: 40px;
    }
    .header-right-controls {
        gap: 8px;
    }
    .dark-mode-toggle-btn,
    .mobile-menu-btn {
        font-size: 1.2rem;
        width: 34px;
        height: 34px;
        padding: 6px;
    }
    .nav-menu a {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

/* Styles for shop page quote buttons */
.product-card .request-quote-btn { background-color: var(--secondary-color); border-color: var(--secondary-color); color: #fff; }
.product-card .request-quote-btn:hover { background-color: var(--primary-theme-color); border-color: var(--primary-theme-color); color: #fff; }
html.dark-mode .product-card .request-quote-btn { background-color: #5a6268; border-color: #5a6268; color: var(--dark-text-color); }
html.dark-mode .product-card .request-quote-btn:hover { background-color: var(--primary-theme-color); border-color: var(--primary-theme-color); color: #fff; }

/* Offer Card Buttons */
.service-card-modern .btn-offer-whatsapp,
.service-card-modern .btn-offer-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    margin-top: auto;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}

.service-card-modern .btn-offer-whatsapp i,
.service-card-modern .btn-offer-email i {
    margin-right: 8px;
}

.service-card-modern .btn-offer-whatsapp {
    background-color: #25D366; /* WhatsApp Green */
    color: #fff;
    border-color: #25D366;
}
.service-card-modern .btn-offer-whatsapp:hover {
    background-color: #1DAA50; /* Darker WhatsApp Green */
    border-color: #1DAA50;
    color: #fff;
}

.service-card-modern .btn-offer-email {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}
.service-card-modern .btn-offer-email:hover {
    background-color: #545b62;
    border-color: #545b62;
    color: #fff;
}

html.dark-mode .service-card-modern .btn-offer-whatsapp {
    /* No change needed, WhatsApp green usually stands out */
}
html.dark-mode .service-card-modern .btn-offer-email {
    background-color: var(--dark-border-color);
    color: var(--dark-text-color);
    border-color: var(--dark-border-color);
}
html.dark-mode .service-card-modern .btn-offer-email:hover {
    background-color: #555e64;
    border-color: #555e64;
}