@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
:root {
    --primary: #ffffff;
    --primary-light: #f5f7fa;
    --secondary: #eef2f7;
    --secondary-light: #f8f9fb;
    --accent: #003d7a;
    --accent-hover: #004a99;
    --accent-light: #e8f0fe;
    --accent-glow: rgba(0,61,122,0.08);
    --text-dark: #1a1a2e;
    --text-muted: #6b7a8f;
    --text-light: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --info: #3b82f6;
    --border-color: rgba(0,0,0,0.04);
    --gradient-1: linear-gradient(135deg, #003d7a 0%, #00509e 50%, #0066cc 100%);
    --gradient-accent: linear-gradient(135deg, #003d7a, #00509e);
    --gradient-card: #ffffff;
    --shadow-card: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-hover: 0 12px 40px rgba(0,61,122,0.12);
    --radius: 10px;
    --radius-lg: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--primary); color: var(--text-dark); padding-top: 114px; overflow-x: hidden; line-height: 1.7; }
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary-light); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

#pageLoader { position: fixed; inset: 0; background: var(--accent); display: flex; align-items: center; justify-content: center; z-index: 99999; transition: opacity 0.5s ease, visibility 0.5s ease; }
#pageLoader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo { height: 60px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.loader-spinner { width: 50px; height: 50px; border: 4px solid rgba(255,255,255,0.15); border-top-color: #60b0f4; border-radius: 50%; margin: 0 auto; animation: loaderSpin 0.8s linear infinite; }
@keyframes loaderSpin { to { transform: rotate(360deg); } }

.content-wrapper { min-height: calc(100vh - 300px); }
a { color: var(--accent); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--accent-hover); }
.text-muted { color: var(--text-muted) !important; }

/* ===== TOP BAR ===== */
.top-bar { background: linear-gradient(135deg, #001a3a, #002a5a); color: rgba(255,255,255,0.85); font-size: 0.82rem; padding: 0.5rem 0; font-weight: 400; letter-spacing: 0.01em; position: fixed; top: 0; left: 0; width: 100%; z-index: 1032; border-bottom: 1px solid rgba(255,255,255,0.06); }
.top-bar a { color: rgba(255,255,255,0.75); transition: 0.3s; }
.top-bar a:hover { color: #fff; }
.top-bar-social a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.08); font-size: 0.8rem; transition: all 0.3s ease; }
.top-bar-social a:hover { background: rgba(255,255,255,0.2); transform: translateY(-1px); }

/* ===== NAVBAR ===== */
.main-navbar { background: rgba(255,255,255,0.95) !important; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(0,0,0,0.06); padding: 0; box-shadow: 0 1px 3px rgba(0,0,0,0.04); top: 38px !important; transition: box-shadow 0.3s ease, background 0.3s ease; }
.main-navbar .nav-link { color: var(--text-dark) !important; font-weight: 600; padding: 0.5rem 0.75rem !important; transition: all 0.25s ease; position: relative; font-size: 0.78rem; text-transform: none; letter-spacing: 0.01em; display: inline-flex; align-items: center; gap: 0.35rem; border-radius: 8px; margin: 0.2rem 0.05rem; white-space: nowrap; }
.main-navbar .nav-link::before { content: ''; position: absolute; inset: 0; background: var(--accent-light); border-radius: 8px; opacity: 0; transform: scale(0.9); transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); z-index: -1; }
.main-navbar .nav-link:hover::before, .main-navbar .nav-link.active::before { opacity: 1; transform: scale(1); }
.main-navbar .nav-link:hover, .main-navbar .nav-link.active { color: var(--accent) !important; }
.main-navbar .nav-link i { font-size: 0.88rem; transition: transform 0.25s ease; flex-shrink: 0; }
.main-navbar .nav-link:hover i { transform: translateY(-1px); }
.main-navbar .nav-link.active i { color: var(--accent); }
.main-navbar .devis-btn { background: var(--gradient-accent); color: #fff !important; padding: 0.45rem 1rem !important; border-radius: 8px; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 0.78rem !important; box-shadow: 0 4px 12px rgba(0,61,122,0.2); margin-left: 0.2rem !important; white-space: nowrap; gap: 0.3rem; }
.main-navbar .devis-btn::before { display: none; }
.main-navbar .devis-btn:hover { box-shadow: 0 6px 24px rgba(0,61,122,0.35); transform: translateY(-2px); color: #fff !important; }
.main-navbar .nav-item { position: relative; }
.main-navbar .search-toggle { font-size: 0.95rem !important; padding: 0.5rem 0.5rem !important; }
.main-navbar .search-toggle::before { display: none; }
.main-navbar .search-toggle:hover { color: var(--accent) !important; }

.dropdown-menu { background: #fff; border: 1px solid rgba(0,0,0,0.05); border-radius: 14px; padding: 0.5rem; margin-top: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.04); display: block; opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.98); transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); pointer-events: none; border: none; min-width: 240px; transform-origin: top center; position: absolute; }
.dropdown-menu::before { content: ''; position: absolute; top: -6px; left: 24px; width: 12px; height: 12px; background: #fff; border: 1px solid rgba(0,0,0,0.05); border-right: none; border-bottom: none; transform: rotate(45deg); border-radius: 2px 0 0 0; }
.dropdown:hover > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
.dropdown-item { color: var(--text-dark); border-radius: 10px; padding: 0.55rem 1rem; font-size: 0.82rem; display: flex; align-items: center; gap: 0.6rem; transition: all 0.2s ease; font-weight: 500; white-space: nowrap; }
.dropdown-item i { font-size: 0.95rem; color: var(--accent); opacity: 0.7; transition: all 0.2s ease; width: 1.1rem; text-align: center; flex-shrink: 0; }
.dropdown-item:hover { background: linear-gradient(135deg, var(--accent-light), #f0f4ff); color: var(--accent); transform: translateX(3px); }
.dropdown-item:hover i { opacity: 1; transform: scale(1.1); }
.dropdown-divider { margin: 0.3rem 0; opacity: 0.3; }
.navbar .dropdown-toggle::after { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); font-size: 0.55rem; border-top: 0.25em solid; margin-left: 0.15rem; vertical-align: 0.1em; }
.dropdown:hover > .dropdown-toggle::after { transform: rotate(180deg); }

/* Navbar scroll effect */
.navbar-scrolled .main-navbar { box-shadow: 0 4px 30px rgba(0,0,0,0.08); background: rgba(255,255,255,0.98) !important; }

.hero-section { background: var(--gradient-1); position: relative; overflow: hidden; min-height: 90vh; min-height: 90dvh; display: flex; align-items: center; }
.hero-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%); }
.hero-section::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.04) 0%, transparent 40%); animation: heroPulse 12s ease-in-out infinite; }
@keyframes heroPulse { 0%,100% { transform: scale(1) rotate(0deg); opacity: 0.5; } 50% { transform: scale(1.1) rotate(3deg); opacity: 1; } }
.hero-title { font-size: 3.2rem; font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
.hero-title .highlight { background: linear-gradient(135deg, #60b0f4, #a8d5ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.7); margin: 1.5rem 0; max-width: 600px; line-height: 1.8; }

.section-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.01em; color: var(--text-dark); }
.section-title .highlight { color: var(--accent); }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section { padding: 5rem 0; }
.section-dark { background: var(--primary-light); }

.service-card { background: #fff; border: 1px solid rgba(0,0,0,0.04); border-radius: var(--radius-lg); padding: 2rem; transition: all 0.5s cubic-bezier(0.23,1,0.32,1); height: 100%; position: relative; overflow: hidden; box-shadow: var(--shadow-card); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--gradient-accent); transform: scaleX(0); transform-origin: left; transition: 0.5s; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(0,61,122,0.12); box-shadow: var(--shadow-hover); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 60px; height: 60px; background: var(--accent-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--accent); margin-bottom: 1.2rem; transition: 0.4s; }
.service-card:hover .service-icon { background: var(--accent); color: #fff; transform: scale(1.05); }

.process-step { text-align: center; padding: 1.5rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); height: 100%; transition: 0.3s; }
.process-step:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.process-step:hover .service-icon { background: var(--accent); color: #fff; transform: scale(1.05); }
.process-step img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 0.8rem; }

.stat-item { text-align: center; padding: 2rem; position: relative; }
.stat-item::after { content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: rgba(0,0,0,0.06); }
.stat-item:last-child::after { display: none; }
.stat-number { font-size: 2.8rem; font-weight: 900; color: var(--accent); line-height: 1.2; }
.stat-label { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }

.client-logo { height: 45px; object-fit: contain; transition: 0.4s; }
.client-logo:hover { transform: scale(1.12); filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15)); }

.partner-card { background: #fff; border: 1px solid rgba(0,0,0,0.04); border-radius: var(--radius-lg); padding: 2rem; text-align: center; transition: 0.5s; height: 100%; box-shadow: var(--shadow-card); }
.partner-card:hover { border-color: rgba(0,61,122,0.15); transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.partner-card img { max-height: 70px; object-fit: contain; margin-bottom: 1rem; }

.footer { background: #001a33; padding: 4rem 0 0; color: rgba(255,255,255,0.7); }
.footer h5 { color: #fff; font-weight: 700; }
.footer-link { color: rgba(255,255,255,0.6); transition: 0.3s; }
.footer-link:hover { color: #60b0f4; padding-left: 4px; }
.footer-bottom { padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,0.06); }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,0.06); border-radius: 50%; color: rgba(255,255,255,0.6); transition: 0.3s; font-size: 1.1rem; }
.social-links a:hover { background: var(--accent); color: #fff; }

.whatsapp-float { position: fixed; bottom: 25px; left: 25px; width: 54px; height: 54px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,0.3); z-index: 999; transition: 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); color: #fff; box-shadow: 0 8px 36px rgba(37,211,102,0.45); }

.back-to-top { position: fixed; bottom: 90px; right: 25px; width: 46px; height: 46px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; box-shadow: 0 4px 16px rgba(0,61,122,0.25); z-index: 998; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.35s ease; border: none; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-hover); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,61,122,0.35); }
.whatsapp-float svg { width: 26px; height: 26px; }

.btn-accent { background: var(--gradient-accent); border: none; color: #fff; font-weight: 600; padding: 0.75rem 2rem; border-radius: 8px; transition: 0.35s; position: relative; overflow: hidden; }
.btn-accent::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.1); transform: translateX(-100%); transition: 0.35s; }
.btn-accent:hover::before { transform: translateX(0); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,61,122,0.25); color: #fff; }
.btn-outline-accent { border: 2px solid var(--accent); color: var(--accent); background: transparent; font-weight: 600; padding: 0.75rem 2rem; border-radius: 8px; transition: 0.35s; }
.btn-outline-accent:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,61,122,0.15); }
.btn-white { border: 2px solid #fff; color: #fff; background: transparent; font-weight: 600; padding: 0.75rem 2rem; border-radius: 8px; transition: 0.35s; }
.btn-white:hover { background: #fff; color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.hero-cta { position: relative; z-index: 5; }

.page-header { background: var(--gradient-1); padding: 6rem 0 3rem; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%); }
.page-header h1 { font-size: 2.6rem; font-weight: 900; letter-spacing: -0.02em; color: #fff; }
.page-header .highlight { background: linear-gradient(135deg, #60b0f4, #a8d5ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.page-header .breadcrumb { background: transparent; padding: 0; }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { color: rgba(255,255,255,0.6); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }
.page-header .breadcrumb-item.active { color: #60b0f4; }

.contact-form .form-control, .contact-form .form-select { background: #fff; border: 1px solid rgba(0,0,0,0.1); color: var(--text-dark); padding: 0.85rem 1.1rem; border-radius: 8px; transition: 0.3s; }
.contact-form .form-control:focus, .contact-form .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,61,122,0.08); background: #fff; color: var(--text-dark); }
.contact-form .form-control::placeholder { color: var(--text-muted); opacity: 0.6; }
.contact-form .form-check-label { color: var(--text-dark) !important; }

.product-card { background: #fff; border: 1px solid rgba(0,0,0,0.04); border-radius: var(--radius-lg); overflow: hidden; transition: 0.5s; height: 100%; box-shadow: var(--shadow-card); cursor: pointer; }
.product-card:hover { transform: translateY(-8px); border-color: rgba(0,61,122,0.1); box-shadow: var(--shadow-hover); }
.product-img-wrapper { position: relative; overflow: hidden; }
.product-card .product-img { width: 100%; height: 220px; object-fit: contain; background: var(--primary-light); padding: 1.5rem; transition: 0.5s; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-download-btn { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.95); color: var(--accent); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 1.1rem; box-shadow: 0 2px 12px rgba(0,0,0,0.12); opacity: 0; transform: translateY(-8px); transition: 0.3s; z-index: 2; }
.product-card:hover .product-download-btn { opacity: 1; transform: translateY(0); }
.product-download-btn:hover { background: var(--accent); color: #fff; transform: scale(1.1); }
.product-body { padding: 1.5rem; }
.product-body h5 { font-weight: 700; margin-bottom: 0.5rem; color: var(--text-dark); }
.product-body p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.product-badge { display: inline-block; padding: 0.2rem 0.7rem; background: var(--accent-light); color: var(--accent); border-radius: 20px; font-size: 0.72rem; font-weight: 600; margin-bottom: 0.5rem; }

.about-img { border-radius: var(--radius-lg); max-width: 100%; box-shadow: var(--shadow-card); }

.feature-icon { width: 44px; height: 44px; background: var(--accent-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--accent); flex-shrink: 0; transition: 0.3s; }
.feature-item:hover .feature-icon { background: var(--accent); color: #fff; }

.accordion-item { background: #fff; border: 1px solid rgba(0,0,0,0.04); margin-bottom: 0.5rem; border-radius: var(--radius) !important; overflow: hidden; }
.accordion-button { background: #fff; color: var(--text-dark); font-weight: 600; box-shadow: none !important; padding: 1.2rem 1.5rem; }
.accordion-button:not(.collapsed) { background: var(--accent-light); color: var(--accent); }
.accordion-button:focus { box-shadow: none; }
.accordion-button::after { }
.accordion-body { padding: 1.2rem 1.5rem; color: var(--text-muted); }

.admin-card { background: #fff; border: 1px solid rgba(0,0,0,0.04); border-radius: var(--radius-lg); padding: 2rem; transition: 0.4s; box-shadow: var(--shadow-card); }
.admin-card:hover { border-color: rgba(0,61,122,0.12); transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.table-custom { color: var(--text-dark); }
.table-custom thead th { background: var(--primary-light); color: var(--accent); border-bottom: 2px solid rgba(0,61,122,0.1); padding: 1rem; }
.table-custom tbody td { background: #fff; border-color: rgba(0,0,0,0.03); padding: 0.9rem 1rem; vertical-align: middle; }
.table-custom tbody tr:hover td { background: var(--primary-light); }

.bg-gradient-accent { background: var(--gradient-accent); }

.filter-btn { background: var(--secondary); border: 1px solid rgba(0,0,0,0.06); color: var(--text-dark); padding: 0.5rem 1.2rem; border-radius: 20px; font-size: 0.85rem; transition: 0.3s; cursor: pointer; }
.filter-btn:hover, .filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===== MATRIX COMSEC SECTION (Homepage) ===== */
.matrix-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: 0.4s; height: 100%; border: 1px solid rgba(0,0,0,0.04); }
.matrix-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: rgba(0,61,122,0.1); }
.matrix-card-img { width: 100%; height: 100%; min-height: 240px; object-fit: contain; background: var(--primary-light); padding: 1.5rem; }
.matrix-card-body { padding: 1.5rem; }
.matrix-card-body h4 { font-weight: 700; margin-bottom: 0.3rem; color: var(--text-dark); }
.matrix-card-body p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.8rem; }
.matrix-feature-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.matrix-feature-list li { padding: 0.25rem 0; font-size: 0.85rem; color: var(--text-dark); display: flex; align-items: center; gap: 0.5rem; }
.matrix-feature-list li::before { content: '▸'; color: var(--accent); font-weight: 700; }
.matrix-product-thumb { background: #fff; border-radius: var(--radius-lg); padding: 1rem; text-align: center; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow: 0 2px 12px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.04); height: 100%; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.matrix-product-thumb::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 12px 40px rgba(0,61,122,0.12); opacity: 0; transition: 0.4s; }
.matrix-product-thumb:hover { transform: translateY(-6px) scale(1.02); border-color: rgba(0,61,122,0.15); }
.matrix-product-thumb:hover::after { opacity: 1; }
.matrix-product-thumb .thumb-badge { position: absolute; top: 0.4rem; left: 0.4rem; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.2rem 0.55rem; border-radius: 6px; background: var(--accent-light); color: var(--accent); z-index: 1; }
.matrix-product-thumb img { width: 100%; height: 110px; object-fit: contain; margin-bottom: 0.6rem; transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); padding: 0.4rem; }
.matrix-product-thumb:hover img { transform: scale(1.08); }
.matrix-product-thumb span { font-size: 0.8rem; font-weight: 700; color: var(--text-dark); display: block; letter-spacing: -0.01em; }
.matrix-product-thumb .thumb-cat { font-size: 0.65rem; font-weight: 500; color: var(--text-muted); display: block; margin-top: 0.15rem; }

/* ===== PRODUCT CAROUSEL ===== */
.product-carousel { padding: 0 2.5rem; margin-top: 1.5rem; }
.product-carousel .carousel-inner { overflow: visible; }
.product-carousel .carousel-indicators { position: static; margin-top: 1.5rem; gap: 0.5rem; }
.product-carousel .carousel-indicators button { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); opacity: 0.2; border: none; transition: 0.3s; }
.product-carousel .carousel-indicators button.active { opacity: 1; transform: scale(1.2); }
.product-carousel .carousel-control-prev,
.product-carousel .carousel-control-next { width: 40px; height: 40px; top: 50%; transform: translateY(-50%); background: var(--accent); border-radius: 50%; opacity: 0; transition: 0.3s; box-shadow: 0 4px 15px rgba(0,61,122,0.2); }
.product-carousel:hover .carousel-control-prev,
.product-carousel:hover .carousel-control-next { opacity: 0.8; }
.product-carousel .carousel-control-prev:hover,
.product-carousel .carousel-control-next:hover { opacity: 1; transform: translateY(-50%) scale(1.1); }
.product-carousel .carousel-control-prev { left: -12px; }
.product-carousel .carousel-control-next { right: -12px; }
.product-carousel .carousel-control-prev-icon,
.product-carousel .carousel-control-next-icon { width: 16px; height: 16px; }
@media (max-width: 576px) {
    .product-carousel { padding: 0 2rem; }
    .product-carousel .carousel-control-prev { left: -4px; }
    .product-carousel .carousel-control-next { right: -4px; }
    .product-carousel .carousel-control-prev,
    .product-carousel .carousel-control-next { width: 32px; height: 32px; opacity: 0.7; }
    .matrix-product-thumb img { height: 80px; }
}

/* ===== CASE STUDY CARDS ===== */
.case-card { background: #fff; border: 1px solid rgba(0,0,0,0.04); border-radius: var(--radius-lg); padding: 1.5rem; height: 100%; box-shadow: var(--shadow-card); transition: 0.4s; position: relative; overflow: hidden; }
.case-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: rgba(0,61,122,0.1); }
.case-card .case-icon { width: 48px; height: 48px; background: var(--accent-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--accent); margin-bottom: 1rem; }
.case-card h5 { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; }
.case-card .case-industry { font-size: 0.72rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.5rem; display: block; }
.case-card .case-label { font-size: 0.75rem; font-weight: 700; color: var(--text-dark); margin-top: 0.6rem; margin-bottom: 0.15rem; }
.case-card .case-text { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ===== FAQ SECTION ===== */
.faq-accordion .accordion-item { border: 1px solid rgba(0,0,0,0.04); margin-bottom: 0.6rem; border-radius: var(--radius) !important; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.faq-accordion .accordion-button { font-size: 0.92rem; font-weight: 600; color: var(--text-dark); padding: 1.1rem 1.3rem; background: #fff; box-shadow: none !important; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--accent-light); color: var(--accent); }
.faq-accordion .accordion-button::after { background-size: 1rem; }
.faq-accordion .accordion-body { font-size: 0.88rem; color: var(--text-muted); padding: 0 1.3rem 1.1rem; line-height: 1.7; }

/* ===== DROPDOWN MENU ===== */
.dropdown-item i { width: 1.25rem; text-align: center; color: var(--accent); }

.gallery-item { border-radius: var(--radius-lg); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,61,122,0.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.4s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; cursor: pointer; height: 220px; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-card:hover img { transform: scale(1.1); }
.gallery-card .gallery-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,20,50,0.85)); display: flex; align-items: flex-end; padding: 1rem; opacity: 0; transition: 0.4s; }
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-card .gallery-overlay span { color: #fff; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }

.country-flag { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; }

/* ===== CLIENT CAROUSEL ===== */
.client-scroll-wrap { overflow: hidden; padding: 1.5rem 0; position: relative; }
.client-scroll-wrap::before, .client-scroll-wrap::after { content:''; position:absolute; top:0; bottom:0; width:60px; z-index:2; pointer-events:none; }
.client-scroll-wrap::before { left:0; background:linear-gradient(to right, var(--primary-light,#f5f7fa), transparent); }
.client-scroll-wrap::after { right:0; background:linear-gradient(to left, var(--primary-light,#f5f7fa), transparent); }
.client-scroll-track { display: flex; gap: 3rem; align-items: center; width: max-content; animation: clientScroll 30s linear infinite; }
.client-scroll-track:hover { animation-play-state: paused; }
.client-scroll-track .client-logo { height: 48px; flex-shrink: 0; }
@keyframes clientScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== HERO CAROUSEL ===== */
.hero-carousel { margin-top: -118px; }
@media (max-width: 991px) { .hero-carousel { margin-top: -56px; } }
@media (min-width: 992px) { .hero-carousel { margin-top: -118px; } }
.hero-carousel .carousel-indicators { bottom: 30px; }
.hero-carousel .carousel-indicators button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); border: 2px solid transparent; transition: 0.3s; }
.hero-carousel .carousel-indicators button.active { background: #60b0f4; border-color: #60b0f4; transform: scale(1.2); }
.hero-slide { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; position: relative; overflow: hidden; background-repeat: no-repeat; background-position: center; background-size: cover; }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.04) 0%, transparent 60%); }
.slide-product-img { max-height: 380px; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.3); transform: perspective(800px) rotateY(-8deg); transition: 0.6s; }
.slide-product-img:hover { transform: perspective(800px) rotateY(0deg) scale(1.02); }
@media (max-width: 991px) { .slide-product-img { max-height: 220px; transform: none !important; border-radius: var(--radius); margin-bottom: 1rem; } }
@media (max-width: 576px) { .slide-product-img { max-height: 170px; } }
@media (max-width: 400px) { .slide-product-img { max-height: 140px; } }
.hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { width: 46px; height: 46px; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; opacity: 0; transition: 0.3s; }
.hero-carousel:hover .carousel-control-prev, .hero-carousel:hover .carousel-control-next { opacity: 1; }
.hero-carousel .carousel-control-prev { left: 20px; }
.hero-carousel .carousel-control-next { right: 20px; }
.hero-carousel .carousel-control-prev-icon, .hero-carousel .carousel-control-next-icon { filter: brightness(0) invert(1); }

/* ===== PRODUCT SHOWCASE CAROUSEL ===== */
.product-showcase { background: var(--primary-light); padding: 4rem 0; }
.showcase-carousel .carousel-item { padding: 1rem 0; }
.showcase-card { background: #fff; border: 1px solid rgba(0,0,0,0.04); border-radius: var(--radius-lg); overflow: hidden; transition: 0.4s; margin: 0 0.5rem; box-shadow: var(--shadow-card); }
.showcase-card:hover { transform: translateY(-6px); border-color: rgba(0,61,122,0.1); box-shadow: var(--shadow-hover); }
.showcase-card img { width: 100%; height: 200px; object-fit: contain; background: var(--primary-light); padding: 1.5rem; }
.showcase-body { padding: 1.5rem; }
.showcase-body h5 { font-weight: 700; font-size: 1rem; color: var(--text-dark); }
.showcase-body p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1rem; }
.showcase-carousel .carousel-control-prev, .showcase-carousel .carousel-control-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0.8; transition: 0.3s; z-index: 5; box-shadow: var(--shadow-card); }
.showcase-carousel .carousel-control-prev:hover, .showcase-carousel .carousel-control-next:hover { opacity: 1; background: var(--accent); border-color: var(--accent); }
.showcase-carousel .carousel-control-prev { left: -16px; }
.showcase-carousel .carousel-control-next { right: -16px; }
.showcase-carousel .carousel-control-prev-icon, .showcase-carousel .carousel-control-next-icon { width: 18px; height: 18px; filter: brightness(0); }
.showcase-carousel .carousel-control-prev:hover .carousel-control-prev-icon, .showcase-carousel .carousel-control-next:hover .carousel-control-next-icon { filter: brightness(0) invert(1); }

.badge-accent-light { background: var(--accent-light); color: var(--accent); }
.text-accent { color: var(--accent); }

.carousel-fade .carousel-item { transition-duration: 0.8s; }
.carousel-fade .carousel-item.active { animation-duration: 0.8s; }

.hero-carousel .carousel-item .hero-slide { transform: scale(1); transition: transform 7s ease-out; }
.hero-carousel .carousel-item.active .hero-slide { transform: scale(1.05); }

.hero-carousel .carousel-item .slide-product-img { opacity: 0; transform: perspective(800px) rotateY(-8deg) translateX(30px); transition: all 0.8s ease 0.3s; }
.hero-carousel .carousel-item.active .slide-product-img { opacity: 1; transform: perspective(800px) rotateY(-8deg) translateX(0); }

.modal-content { border: none; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.modal-header .btn-close { background: var(--primary-light); border-radius: 50%; width: 32px; height: 32px; opacity: 0.7; }
.modal-header .btn-close:hover { opacity: 1; }
.specs-content { font-size: 0.9rem; line-height: 1.9; }
.specs-content br + br { display: none; }

@media (max-width: 991px) {
    body { padding-top: 56px; }
    .top-bar { display: none !important; }
    .main-navbar { top: 0 !important; }
    .dropdown-menu { position: static; float: none; box-shadow: none; border: none; background: transparent; padding: 0 0 0.5rem 1rem; margin: 0; display: none; opacity: 1; visibility: visible; transform: none; pointer-events: auto; border-top: none; }
    .dropdown-menu::before { display: none; }
    .dropdown-item { white-space: normal; }
    .dropdown:hover > .dropdown-menu { display: none; }
    .main-navbar .dropdown-toggle::after { float: right; margin-top: 8px; transition: none; }
    .dropdown:hover > .dropdown-toggle::after { transform: none; }
    .main-navbar .nav-link { padding: 0.65rem 0.8rem !important; border-bottom: 1px solid rgba(0,0,0,0.04); text-transform: none; display: flex; align-items: center; gap: 0.5rem; margin: 0; border-radius: 10px; font-weight: 600; white-space: normal; font-size: 0.82rem !important; }
    .main-navbar .nav-link::before { display: none; }
    .main-navbar .nav-link:hover, .main-navbar .nav-link.active { background: var(--accent-light); color: var(--accent) !important; }
    .main-navbar .nav-link:hover i { transform: none; }
    .main-navbar .devis-btn { margin: 0.5rem 0.5rem !important; text-align: center; justify-content: center; border-radius: 10px; padding: 0.7rem 1rem !important; font-size: 0.9rem !important; display: flex; align-items: center; gap: 0.4rem; }
    .main-navbar .dropdown-toggle::after { margin-left: auto; }
    .navbar-collapse { max-height: calc(100vh - 56px); overflow-y: auto; padding: 0.5rem 0; }
    .main-navbar .navbar-brand img { height: 34px; }
    .navbar-toggler { padding: 0.4rem; border: none; outline: none; box-shadow: none !important; }
    .navbar-toggler:focus { box-shadow: none; }
    .main-navbar .nav-item:last-child { width: 100%; }
}

@media (max-width: 768px) {
    body { font-size: 15.5px; }
    .main-navbar .nav-link { font-size: 0.75rem !important; padding: 0.55rem 0.7rem !important; }
    .main-navbar .devis-btn { font-size: 0.78rem !important; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .section-title { font-size: 1.7rem; }
    .section-subtitle { font-size: 1rem; }
    .page-header h1 { font-size: 1.7rem; }
    .page-header::before { width: 300px; height: 300px; }
    .stat-number { font-size: 2.2rem; }
    .stat-item::after { display: none; }
    .navbar { padding: 0.2rem 0; }
    .slide-product-img { max-height: 220px; transform: none !important; }
    .hero-slide { min-height: auto; padding: 6rem 0 4rem; text-align: center; }
    .hero-slide .row { flex-direction: column-reverse; }
    .hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { width: 36px; height: 36px; opacity: 0.6; }
    .hero-carousel .carousel-indicators { bottom: 16px; }
    .showcase-carousel .carousel-control-prev, .showcase-carousel .carousel-control-next { display: none; }
    .product-card .product-img { height: 200px; padding: 1.25rem; }
    .gallery-item img { height: 200px; }
    .page-header { padding: 5rem 0 2.5rem; }
    .page-header p { font-size: 1rem; }
    .section { padding: 3.5rem 0; }
    .service-card p { font-size: 0.95rem; }
    .about-content p { font-size: 1rem; }
    .whatsapp-float, #whatsapp-btn { width: 48px; height: 48px; bottom: 20px; left: 20px; }
    .whatsapp-float svg { width: 22px; height: 22px; }
    .back-to-top { width: 40px; height: 40px; font-size: 1.1rem; bottom: 78px; right: 20px; }
    .process-step p { font-size: 0.93rem; }
}

@media (max-width: 576px) {
    body { font-size: 15px; line-height: 1.65; }
    p, li, .small, .text-muted { font-size: 0.95rem; }
    .main-navbar .nav-link { font-size: 0.82rem !important; padding: 0.55rem 0.7rem !important; letter-spacing: 0.02em; }
    .main-navbar .devis-btn { font-size: 0.82rem !important; padding: 0.5rem 0.8rem !important; }
    .main-navbar .nav-link i { font-size: 0.85rem; margin-right: 0.25rem; }
    .hero-title { font-size: 1.5rem; letter-spacing: -0.01em; }
    .hero-subtitle { font-size: 0.95rem; line-height: 1.55; }
    .hero-slide { padding: 5rem 0 3rem; }
    .hero-slide .btn-lg { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
    .slide-product-img { max-height: 180px; border-radius: var(--radius); }
    .section-title { font-size: 1.3rem; }
    .section-subtitle { font-size: 0.92rem; }
    .page-header h1 { font-size: 1.3rem; }
    .page-header { padding: 4rem 0 2rem; }
    .page-header .breadcrumb { font-size: 0.78rem; }
    .section { padding: 2.5rem 0; }
    .stat-number { font-size: 1.5rem; }
    .service-card { padding: 1.25rem; }
    .service-card p, .service-card li { font-size: 0.92rem; }
    .service-card h5 { font-size: 1rem; }
    .product-card .product-img { height: 170px; padding: 0.75rem; }
    .gallery-item img { height: 180px; }
    .footer-logo { max-height: 32px; }
    .footer h5 { font-size: 0.95rem; }
    .footer p, .footer li, .footer .small { font-size: 0.88rem; }
    .blog-img { height: 160px; }
    .blog-body { padding: 1rem; }
    .blog-body h5 { font-size: 0.95rem; }
    .whatsapp-float, #whatsapp-btn { width: 44px; height: 44px; bottom: 16px; left: 14px; }
    .whatsapp-float svg { width: 20px; height: 20px; }
    .back-to-top { width: 36px; height: 36px; font-size: 1rem; bottom: 70px; right: 14px; }
    .process-step img { width: 56px; height: 56px; }
    .service-icon { width: 48px; height: 48px; font-size: 1.3rem; }
    #searchModal .form-control { font-size: 0.95rem; }
    .blog-single h2 { font-size: 1.3rem; }
    .client-scroll-wrap::before, .client-scroll-wrap::after { width: 30px; }
    .hero-slide { min-height: 70vh; }
    .stats-section .col-6 { padding: 0.5rem; }
    .page-header .breadcrumb { font-size: 0.78rem; }
    .page-header .highlight { font-size: inherit; }
    .partner-card { padding: 1.25rem; }
    .partner-card p { font-size: 0.9rem; }
    .process-step p { font-size: 0.9rem; }
    .process-step h6 { font-size: 0.95rem; }
}

@media (max-width: 400px) {
    body { font-size: 14px; }
    .main-navbar .nav-link { font-size: 0.78rem !important; padding: 0.5rem 0.6rem !important; }
    .main-navbar .navbar-brand img { height: 30px; }
    .hero-title { font-size: 1.3rem; }
    .hero-subtitle { font-size: 0.88rem; }
    .slide-product-img { max-height: 150px; }
    .section-title { font-size: 1.15rem; }
    .page-header h1 { font-size: 1.15rem; }
    .container { padding-left: 12px; padding-right: 12px; }
    .service-card { padding: 1rem; }
    .service-card h5 { font-size: 0.9rem; }
    .whatsapp-float, #whatsapp-btn { width: 40px; height: 40px; bottom: 12px; left: 10px; }
    .whatsapp-float svg { width: 18px; height: 18px; }
    .back-to-top { width: 32px; height: 32px; font-size: 0.85rem; bottom: 62px; right: 10px; }
}

/* ===== Blog Styles ===== */
.blog-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; transition: 0.3s; height: 100%; }
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.blog-img { position: relative; height: 200px; overflow: hidden; background: var(--accent-light); display: flex; align-items: center; justify-content: center; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-category { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.blog-body { padding: 1.5rem; }
.blog-body h5 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.blog-body h5 a { color: var(--text-dark); text-decoration: none; transition: 0.3s; }
.blog-body h5 a:hover { color: var(--accent); }

.blog-single { max-width: 900px; }
.blog-single-img { width: 100%; max-height: 450px; object-fit: cover; border-radius: var(--radius-lg); }
.blog-single h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 0.8rem; }
.blog-content { line-height: 1.8; }
.blog-content h5 { margin-top: 1.5rem; font-weight: 700; color: var(--accent); }
.blog-content ul { padding-left: 1.2rem; }
.blog-content ul li { margin-bottom: 0.6rem; }
.blog-content a { color: var(--accent); }

.blog-sidebar .admin-card { border: 1px solid rgba(0,0,0,0.04); }
.page-link { color: var(--accent); border-radius: 8px !important; margin: 0 3px; border: 1px solid rgba(0,0,0,0.04); padding: 0.5rem 0.8rem; }
.page-link:hover { background: var(--accent-light); color: var(--accent); border-color: transparent; }
.page-item.active .page-link { background: var(--accent); border-color: var(--accent); }

/* ===== Search ===== */
.search-form-big .form-control { border-radius: 12px 0 0 12px; border: 2px solid var(--accent); }
.search-form-big .btn { border-radius: 0 12px 12px 0; }
#searchModal .modal-content { border: none; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
#searchModal .form-control { border: none; border-bottom: 2px solid var(--accent); border-radius: 0; font-size: 1.2rem; }
#searchModal .form-control:focus { box-shadow: none; }
#searchModal .input-group-text { border: none; border-bottom: 2px solid var(--accent); }

/* ===== Section Highlight ===== */
.section-highlight { background: var(--accent-light); }

.why-card { background: var(--gradient-card); border-radius: var(--radius-lg); padding: 1.8rem 1.2rem; text-align: center; box-shadow: var(--shadow-card); transition: all 0.3s ease; height: 100%; border: 1px solid rgba(0,0,0,0.03); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.why-icon { width: 56px; height: 56px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; background: var(--accent-light); border-radius: 14px; font-size: 1.4rem; color: var(--accent); }
.why-card:hover .why-icon { background: var(--accent); color: #fff; }
.why-card h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }

/* ===== CTA Section ===== */
.cta-section { background: var(--gradient-1); padding: 4.5rem 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.5; }
.cta-wrapper { position: relative; z-index: 1; }
.cta-title { color: #fff; font-size: 2rem; font-weight: 800; margin-bottom: 0.8rem; }
.cta-text { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.cta-actions .btn-outline-light { border-width: 2px; }
.cta-actions .btn-outline-light:hover { background: #fff; color: var(--accent); }
}
