/* ============ GLOBAL RESET & VARIABLES ============ */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --dark: #0f172a;
  --darker: #020617;
  --accent: #10b981;
  --text: #334155;
  --light: #f8fafc;
  --white: #fff;
  --shadow: 0 4px 24px rgba(0,0,0,.07);
  --radius: 12px;
  --font-heading: 'Inter', 'Poppins', sans-serif;
  --font-body: 'Inter', 'Poppins', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.75; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
p { word-break: break-word; overflow-wrap: break-word; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
p { letter-spacing: .01em; }

/* ============ HEADER / NAVBAR ============ */
header { background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 16px rgba(0,0,0,.08); border-bottom: 1px solid #e8ecf0; }
header::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #2563eb 0%, #7c3aed 25%, #059669 55%, #d97706 80%, #2563eb 100%); background-size: 200% 100%; animation: navGradShift 6s linear infinite; }
@keyframes navGradShift { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; max-width: 1280px; margin: auto; height: 68px; gap: 20px; }
.logo img { height: 52px; }
.nav-links { display: flex; gap: 4px; align-items: center; flex: 1; justify-content: center; }
.nav-links > li { position: relative; }
.nav-links > li > a { font-weight: 600; font-size: .82rem; padding: 8px 12px; border-radius: 8px; transition: background .2s, color .2s, transform .15s; text-transform: uppercase; letter-spacing: .05em; color: var(--dark); display: flex; align-items: center; gap: 4px; white-space: nowrap; position: relative; }
.nav-links > li > a::after { content: ''; position: absolute; bottom: 3px; left: 50%; right: 50%; height: 2px; border-radius: 1px; transition: left .25s ease, right .25s ease; }
/* Per-item colored hover accents */
.nav-links > li:nth-child(1) > a:hover { background: #f0f9ff; color: #0369a1; }
.nav-links > li:nth-child(1) > a:hover::after { left: 12px; right: 12px; background: #0369a1; }
.nav-links > li:nth-child(2) > a:hover { background: #fdf4ff; color: #7c3aed; }
.nav-links > li:nth-child(2) > a:hover::after { left: 12px; right: 12px; background: #7c3aed; }
.nav-links > li:nth-child(3) > a:hover { background: #eff6ff; color: #1d4ed8; }
.nav-links > li:nth-child(3) > a:hover::after { left: 12px; right: 12px; background: linear-gradient(90deg,#2563eb,#60a5fa); }
.nav-links > li:nth-child(4) > a:hover { background: #f0fdf4; color: #15803d; }
.nav-links > li:nth-child(4) > a:hover::after { left: 12px; right: 12px; background: #15803d; }
.nav-links > li:nth-child(5) > a:hover { background: #fff7ed; color: #c2410c; }
.nav-links > li:nth-child(5) > a:hover::after { left: 12px; right: 12px; background: #c2410c; }
.nav-links > li:nth-child(6) > a:hover { background: #fef2f2; color: #b91c1c; }
.nav-links > li:nth-child(6) > a:hover::after { left: 12px; right: 12px; background: #b91c1c; }
.nav-links > li:nth-child(7) > a:hover { background: #fffbeb; color: #b45309; }
.nav-links > li:nth-child(7) > a:hover::after { left: 12px; right: 12px; background: #b45309; }
.nav-links > li > a.active { color: var(--primary); background: linear-gradient(135deg,#eff6ff,#e0f2fe); font-weight: 700; }
.nav-links > li > a.active::after { left: 12px; right: 12px; background: linear-gradient(90deg,#2563eb,#0ea5e9); }
.nav-arrow { font-size: .6rem; transition: transform .25s; margin-top: 1px; }
.has-mega:hover .nav-arrow, .has-dropdown:hover .nav-arrow { transform: rotate(180deg); }

/* ---- Standard Dropdown ---- */
.has-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); min-width: 210px; box-shadow: 0 12px 40px rgba(0,0,0,.12); border-radius: 14px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s; padding: 8px 0; border-top: 3px solid var(--primary); z-index: 2000; }
.has-dropdown:hover .dropdown-menu, .nav-links > li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { display: block; padding: 9px 18px; font-size: .85rem; color: #444; transition: background .15s, color .15s; }
.dropdown-menu li a:hover { background: #f0f4ff; color: var(--primary); padding-left: 24px; }

/* ---- Mega Menu ---- */
.has-mega { position: static; }
.mega-menu { position: absolute; top: 68px; left: 50%; transform: translateX(-50%) translateY(8px); background: var(--white); width: 860px; max-width: calc(100vw - 40px); box-shadow: 0 20px 60px rgba(0,0,0,.14); border-radius: 18px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px 24px 24px; border-top: 3px solid var(--primary); z-index: 2000; }
.has-mega:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-col { padding: 0 14px; border-right: 1px solid #eef1f5; }
.mega-col:first-child { padding-left: 0; }
.mega-col:last-child { padding-right: 0; border-right: none; }
.mega-heading { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid #eef1f5; display: flex; align-items: center; gap: 6px; }
/* Colored mega-menu column headings */
.mega-col:nth-child(1) .mega-heading { color: #1d4ed8; border-bottom-color: #bfdbfe; }
.mega-col:nth-child(2) .mega-heading { color: #7c3aed; border-bottom-color: #ede9fe; }
.mega-col:nth-child(3) .mega-heading { color: #059669; border-bottom-color: #a7f3d0; }
.mega-col:nth-child(4) .mega-heading { color: #d97706; border-bottom-color: #fde68a; }
.mega-col:nth-child(1) > a:hover { color: #1d4ed8; }
.mega-col:nth-child(2) > a:hover { color: #7c3aed; }
.mega-col:nth-child(3) > a:hover { color: #059669; }
.mega-col:nth-child(4) > a:hover { color: #d97706; }
.mega-col > a { display: block; padding: 5px 0; font-size: .84rem; color: #444; transition: color .15s, padding-left .15s; }
.mega-col > a:hover { color: var(--primary); padding-left: 5px; }
.mega-col > a:first-of-type { font-weight: 600; color: var(--dark); }
.mega-col > a:first-of-type:hover { color: var(--primary); }

/* ---- Nav Right (WhatsApp CTA) ---- */
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-whatsapp { background: #25d366; color: #fff !important; padding: 9px 18px; border-radius: 50px; font-size: .8rem; font-weight: 700; display: flex; align-items: center; gap: 7px; transition: .25s; white-space: nowrap; animation: waPulse 2.8s ease-in-out infinite; }
.nav-whatsapp:hover { background: #1da851; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,211,102,.4); animation: none; }
@keyframes waPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 60% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } }

/* ---- Hamburger ---- */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; position: relative; z-index: 1100; }
.hamburger span { width: 26px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- Mobile nav overlay backdrop ---- */
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 998; backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s; }
.nav-overlay.show { display: block; opacity: 1; }

/* ============ HERO SLIDER ============ */
section.hero-slider { padding: 0 !important; }
.hero-slider { position: relative; overflow: hidden; height: 640px; }
.hero-slider .slides { display: flex; transition: transform .75s cubic-bezier(.4,0,.2,1); height: 100%; }
.hero-slider .slide { min-width: 100%; height: 100%; background-size: cover; background-position: center; display: flex; align-items: center; position: relative; }
/* Unique gradient overlay per slide */
.hero-slider .slide::before { content: ''; position: absolute; inset: 0; z-index: 1; }
.hero-slider .slide:nth-child(1)::before { background: linear-gradient(120deg,rgba(15,23,42,.93) 0%,rgba(37,99,235,.52) 100%); }
.hero-slider .slide:nth-child(2)::before { background: linear-gradient(120deg,rgba(15,23,42,.93) 0%,rgba(109,40,217,.52) 100%); }
.hero-slider .slide:nth-child(3)::before { background: linear-gradient(120deg,rgba(15,23,42,.93) 0%,rgba(5,150,105,.52) 100%); }
.hero-slider .slide:nth-child(4)::before { background: linear-gradient(120deg,rgba(15,23,42,.93) 0%,rgba(217,119,6,.52) 100%); }
.hero-slider .slide:nth-child(5)::before { background: linear-gradient(120deg,rgba(15,23,42,.93) 0%,rgba(6,78,59,.65) 100%); }
/* Slide content layout */
.slide-content { position: relative; z-index: 2; color: #fff; padding: 0 80px; max-width: 820px; }
.slide-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: 8px 18px; border-radius: 50px; margin-bottom: 22px; }
.slide-badge i { font-size: .85rem; color: #60a5fa; }
.slide-content h1 { font-size: 3.6rem; font-weight: 800; line-height: 1.12; letter-spacing: -.04em; margin-bottom: 20px; }
.slide-content h1 .hl { color: #60a5fa; display: block; }
.slide-content p { font-size: 1.05rem; max-width: 520px; margin-bottom: 36px; font-weight: 300; color: rgba(255,255,255,.85); line-height: 1.78; }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-glass { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 50px; font-weight: 600; font-size: .87rem; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); border: 1.5px solid rgba(255,255,255,.35); color: #fff; transition: .3s; letter-spacing: .03em; text-transform: uppercase; }
.btn-glass:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.65); transform: translateY(-2px); }
/* Text entrance animation */
@keyframes heroFadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.slide-badge, .slide-content h1, .slide-content p, .slide-actions { opacity: 0; }
.slide.is-active .slide-badge   { animation: heroFadeUp .55s .05s both; }
.slide.is-active .slide-content h1 { animation: heroFadeUp .65s .18s both; }
.slide.is-active .slide-content p  { animation: heroFadeUp .55s .36s both; }
.slide.is-active .slide-actions    { animation: heroFadeUp .55s .52s both; }
/* Prev / Next buttons */
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); border: 1.5px solid rgba(255,255,255,.25); color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; transition: .3s; display: flex; align-items: center; justify-content: center; padding: 0; font-size: 1.1rem; }
.slider-btn:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-50%) scale(1.1); }
.slider-btn.prev { left: 28px; }
.slider-btn.next { right: 28px; }
/* Pill dots */
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 8px; align-items: center; }
.slider-dots span { width: 8px; height: 8px; background: rgba(255,255,255,.38); border-radius: 50%; cursor: pointer; transition: .35s; }
.slider-dots span.active { background: #fff; width: 28px; border-radius: 4px; }
/* Progress bar */
.slider-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,.1); z-index: 5; overflow: hidden; }
.slider-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg,var(--primary),#60a5fa); }
/* Hero stats strip */
.hero-stats { background: #fff; border-bottom: 1px solid #e8ecf0; padding: 18px 0; }
.hero-stats-grid { display: grid; grid-template-columns: repeat(5,1fr); text-align: center; gap: 10px; }
.hero-stat .hnum { font-size: 1.5rem; color: var(--primary); font-weight: 800; display: block; line-height: 1.2; }
.hero-stat .hlbl { font-size: .72rem; color: #888; text-transform: uppercase; letter-spacing: .07em; }

/* ============ BUTTONS ============ */
.btn { display: inline-block; padding: 14px 36px; border-radius: 50px; font-weight: 600; font-size: .9rem; transition: .3s; cursor: pointer; border: none; letter-spacing: .03em; text-transform: uppercase; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-whatsapp { background: #25d366; color: var(--white); }
.btn-whatsapp:hover { background: #1da851; }

/* ============ SECTION HEADING ============ */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.2rem; color: var(--dark); font-weight: 800; }
.section-title p { color: #777; max-width: 600px; margin: 10px auto 0; }
.section-title .line { width: 60px; height: 4px; background: var(--primary); margin: 12px auto 0; border-radius: 2px; }

a.card { text-decoration: none; color: inherit; }
a.card:hover { color: inherit; }

/* ============ CARDS ============ */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: .35s ease; }
.card.price-card { overflow: visible; }
.card:hover { transform: translateY(-6px); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 10px; font-size: 1.15rem; color: var(--dark); }
.card-body p { font-size: .92rem; color: #666; }

/* ============ GRID LAYOUTS ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============ AI SECTION ============ */
.ai-section { background: linear-gradient(135deg, var(--dark), var(--darker)); color: var(--white); }
.ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.ai-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 30px; text-align: center; transition: .3s; }
.ai-card:hover { background: rgba(41,182,246,.15); transform: translateY(-4px); }
.ai-card .icon { font-size: 2.5rem; margin-bottom: 14px; }
.ai-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.ai-card p { font-size: .88rem; color: rgba(255,255,255,.7); }

/* ============ SERVICES / PRICING ============ */
.price-card { text-align: center; padding: 40px 28px; overflow: visible; position: relative; }
.price-card .price { font-size: 2.2rem; color: var(--primary); font-weight: 700; margin: 16px 0; }
.price-card .price small { font-size: .9rem; color: #999; }
.price-card ul { margin: 20px 0; text-align: left; }
.price-card ul li { padding: 8px 0; border-bottom: 1px solid #eee; font-size: .92rem; }
.price-card ul li::before { content: '✓'; color: var(--accent); margin-right: 8px; font-weight: 700; }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-grid img { border-radius: var(--radius); }
.about-text h2 { font-size: 2rem; color: var(--dark); margin-bottom: 16px; font-weight: 800; }
.about-text p { margin-bottom: 14px; color: #555; }
.stats { display: flex; gap: 40px; margin-top: 24px; }
.stat h3 { font-size: 2rem; color: var(--primary); }
.stat p { font-size: .85rem; color: #777; }

/* ============ CONTACT FORM ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: .92rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; font-size: .95rem; transition: border .3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ============ SCROLL REVEAL ANIMATIONS ============ */
[data-reveal] { opacity: 0; transform: translateY(38px); transition: opacity .75s ease, transform .75s ease; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal-group] > * { opacity: 0; transform: translateY(30px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal-group].revealed > * { opacity: 1; transform: none; }
[data-reveal-group].revealed > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-group].revealed > *:nth-child(2) { transition-delay: .1s; }
[data-reveal-group].revealed > *:nth-child(3) { transition-delay: .2s; }
[data-reveal-group].revealed > *:nth-child(4) { transition-delay: .3s; }
[data-reveal-group].revealed > *:nth-child(5) { transition-delay: .4s; }
[data-reveal-group].revealed > *:nth-child(6) { transition-delay: .5s; }
/* Float animation */
@keyframes floatAnim { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-anim { animation: floatAnim 4s ease-in-out infinite; }
/* Section title reveal helper */
.section-title { transition: opacity .65s ease, transform .65s ease; }

/* ============ FOOTER ============ */
footer { background: var(--dark); color: rgba(255,255,255,.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 16px; font-size: 1.05rem; }
.footer-col p, .footer-col a { font-size: .88rem; color: rgba(255,255,255,.65); }
.footer-col a:hover { color: var(--primary); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col .logo-footer { height: 50px; margin-bottom: 14px; }
.footer-bottom { text-align: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* ============ PAGE BANNER ============ */
.page-banner { background: linear-gradient(135deg, var(--dark), var(--primary-dark)); padding: 80px 0 60px; text-align: center; color: var(--white); }
.page-banner h1 { font-size: 2.6rem; margin-bottom: 10px; font-weight: 800; }
.page-banner p { color: rgba(255,255,255,.75); }

/* ============ BLOG ============ */
.blog-card .card-body span { font-size: .8rem; color: var(--primary); font-weight: 600; text-transform: uppercase; }
.blog-card .card-body h3 { margin-top: 6px; }

/* ============ TECH SUBMENU GRID ============ */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.tech-card { text-align: center; padding: 36px 20px; }
.tech-card .icon { font-size: 3rem; margin-bottom: 14px; }
.tech-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tech-card p { font-size: .85rem; color: #666; }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 9999; background: #25d366; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: .3s; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ============ GOOGLE REVIEW ============ */
.review-section { background: var(--light); }
.review-cta { text-align: center; padding: 40px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.review-cta .stars { font-size: 2.5rem; color: #ffc107; margin-bottom: 16px; }

/* ============ CLIENT LOGO SLIDER ============ */
.client-section { background: var(--white); overflow: hidden; }
.client-track { display: flex; animation: scrollLogos 25s linear infinite; width: max-content; }
.client-track:hover { animation-play-state: paused; }
.client-track img { height: 60px; margin: 0 40px; filter: grayscale(100%); opacity: .6; transition: .3s; object-fit: contain; }
.client-track img:hover { filter: grayscale(0); opacity: 1; }
@keyframes scrollLogos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

@media (max-width: 1100px) {
  .nav-links { gap: 0; }
  .nav-links > li > a { font-size: .78rem; padding: 8px 9px; }
}
@media (max-width: 860px) {
  /* Show hamburger a bit earlier so nav items never overflow */
  .hamburger { display: flex; }
  .nav-links { position: fixed; top: 0; right: -100%; width: min(300px, 85vw); height: 100vh; background: var(--white); flex-direction: column; align-items: flex-start; padding: 80px 20px 30px; box-shadow: -6px 0 30px rgba(0,0,0,.18); transition: right .38s cubic-bezier(.4,0,.2,1); z-index: 1050; overflow-y: auto; gap: 0; }
  .nav-links.open { right: 0; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { font-size: .95rem; padding: 12px 14px; border-radius: 10px; width: 100%; justify-content: space-between; white-space: normal; }
  .nav-links > li > a::after { display: none !important; }
}
@media (max-width: 992px) {
  .nav-whatsapp { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 540px; }
  .slide-content { padding: 0 50px; }
  .slide-content h1 { font-size: 2.8rem; }
}
@media (max-width: 768px) {
  /* Mobile menu already activated at 860px — reaffirm open state */
  .nav-links.open { right: 0; }
  /* Suppress desktop hover underlines on mobile */
  .nav-links > li > a::after { display: none !important; }
  /* Mobile dropdown */
  .dropdown-menu { position: static; transform: none !important; opacity: 1 !important; visibility: visible !important; box-shadow: none; border-radius: 0; border-top: none; border-left: 3px solid var(--primary); padding: 4px 0 4px 12px; display: none; background: #fafbff; margin: 0 0 4px 14px; }
  .dropdown-menu.show { display: block; }
  .dropdown-menu li a { padding: 8px 12px; font-size: .88rem; }
  /* Mobile mega menu */
  .mega-menu { position: static; width: 100%; transform: none !important; opacity: 1 !important; visibility: visible !important; box-shadow: none; border-radius: 0; border-top: none; border-left: 3px solid var(--primary); padding: 8px 0 8px 12px; display: none; grid-template-columns: 1fr; margin: 0 0 4px 14px; background: #fafbff; }
  .mega-menu.show { display: grid; }
  .mega-col { padding: 8px 0; border-right: none; border-bottom: 1px solid #eee; }
  .mega-col:last-child { border-bottom: none; }
  .mega-heading { margin-bottom: 6px; font-size: .68rem; }
  .mega-col > a { padding: 4px 0; font-size: .84rem; }
  /* Colored col headings still apply on mobile */
  .mega-col:nth-child(1) .mega-heading { color: #1d4ed8; }
  .mega-col:nth-child(2) .mega-heading { color: #7c3aed; }
  .mega-col:nth-child(3) .mega-heading { color: #059669; }
  .mega-col:nth-child(4) .mega-heading { color: #d97706; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  /* Hero */
  .hero-slider { height: 500px; }
  .slide-content { padding: 0 28px; max-width: 100%; }
  .slide-content h1 { font-size: 2rem; }
  .slide-content p { font-size: .95rem; margin-bottom: 26px; max-width: 100%; }
  .slide-badge { font-size: .7rem; padding: 6px 14px; margin-bottom: 16px; }
  .slider-btn { width: 40px; height: 40px; font-size: .95rem; }
  .slider-btn.prev { left: 12px; }
  .slider-btn.next { right: 12px; }
  /* Hero stats */
  .hero-stats-grid { grid-template-columns: repeat(3,1fr); gap: 14px 8px; }
  .stats { flex-wrap: wrap; gap: 20px; }
  section { padding: 50px 0; }
  /* Page banners */
  .page-banner { padding: 50px 0 40px; }
  .page-banner h1 { font-size: 1.8rem; }
  .page-banner p { font-size: .9rem; padding: 0 16px; }
  /* Section titles */
  .section-title h2 { font-size: 1.6rem; }
  /* Buttons */
  .btn { padding: 12px 24px; font-size: .83rem; }
  /* Tables */
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-scroll table { min-width: 520px; }
  iframe { max-width: 100%; }
  /* Process arrows */
  .process-item::after, .process-row .step-arrow { display: none !important; }
  .benefit-card { flex-direction: column; }
  .model-grid, .pricing-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .hero-slider { height: 440px; }
  .slide-content { padding: 0 18px; }
  .slide-content h1 { font-size: 1.6rem; }
  .slide-content p { font-size: .88rem; }
  .slide-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .slide-actions .btn, .slide-actions .btn-glass { padding: 10px 20px; font-size: .8rem; }
  .page-banner h1 { font-size: 1.45rem; }
  .section-title h2 { font-size: 1.35rem; }
  .btn { padding: 11px 20px; font-size: .8rem; }
  .nav-right { gap: 6px; }
  .whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
  .hero-stats-grid { grid-template-columns: repeat(2,1fr); }
  section { padding: 40px 0; }
  /* Page-specific */
  .product-block { padding: 18px 14px !important; }
  .stats-grid { grid-template-columns: repeat(2,1fr) !important; }
  .tech-pills { gap: 6px; }
  .tech-pill { padding: 5px 12px; font-size: .78rem; }
}
