/* ============================================================
   Smart Vision — Main Stylesheet
   Brand colors extracted from official Smart Vision logo
   ============================================================ */

:root {
    --navy:     #0d1b3e;
    --navy-mid: #1a2f6e;
    --blue:     #1a56db;
    --gold:     #CC1428;   /* Smart Vision brand crimson */
    --gold-dk:  #a50f1f;   /* Darker crimson for hover states */
    --white:    #ffffff;
    --bg-light: #f8fafc;
    --text:     #1e293b;
    --text-muted: #64748b;
    --border:   #e2e8f0;
    --shadow:   0 4px 24px rgba(13,27,62,.10);
    --shadow-lg:0 12px 48px rgba(13,27,62,.18);
    --radius:   14px;
    --radius-sm:8px;
    --transition:.25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.65; overflow-x: hidden; }
a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; }

/* ---- Top Bar ---- */
.topbar { background: var(--navy); padding: 8px 0; font-size: 0.8rem; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 16px; }
.topbar-info a, .topbar-info span { color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 6px; }
.topbar-info a:hover { color: var(--gold); }
.topbar-info i { color: var(--gold); font-size: 0.75rem; }
.topbar-whatsapp { color: #25D366 !important; }
.topbar-whatsapp i { color: #25D366 !important; font-size: 0.85rem; }
.topbar-whatsapp:hover { color: #1ebe5d !important; }

/* ---- Navigation ---- */
#mainNav { background: var(--navy); padding: 0; box-shadow: 0 2px 20px rgba(0,0,0,.25); transition: var(--transition); }
#mainNav .navbar-nav .nav-link { color: rgba(255,255,255,.85) !important; font-weight: 500; padding: 22px 16px !important; font-size: 0.9rem; position: relative; }
#mainNav .navbar-nav .nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; right: 50%; height: 3px; background: var(--gold); transition: var(--transition); }
#mainNav .navbar-nav .nav-link:hover, #mainNav .navbar-nav .nav-link.active { color: var(--gold) !important; }
#mainNav .navbar-nav .nav-link:hover::after, #mainNav .navbar-nav .nav-link.active::after { left: 16px; right: 16px; }
#mainNav.scrolled { padding: 0; box-shadow: 0 4px 30px rgba(0,0,0,.3); }
.dropdown-menu.dropdown-menu-dark { background: #1a2a5e; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 8px; }
.dropdown-menu.dropdown-menu-dark .dropdown-item { color: rgba(255,255,255,.8); border-radius: 6px; padding: 8px 12px; font-size: 0.875rem; transition: var(--transition); }
.dropdown-menu.dropdown-menu-dark .dropdown-item:hover { background: rgba(204,20,40,.15); color: var(--gold); }
.dropdown-menu.dropdown-menu-dark .dropdown-divider { border-color: rgba(255,255,255,.1); }

/* ---- Brand Logo ---- */
.brand-img-logo  { height: 48px; width: auto; display: block; }
.footer-img-logo { height: 60px; width: auto; display: block; }
/* Legacy icon logo (fallback / admin) */
.brand-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--gold), var(--gold-dk)); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon i { color: var(--white); font-size: 20px; }
.logo-icon.small { width: 36px; height: 36px; }
.logo-icon.small i { font-size: 16px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--white); letter-spacing: -0.3px; }
.brand-sub { font-size: 0.62rem; color: rgba(255,255,255,.55); font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; }

/* ---- Buttons ---- */
.btn-gold { background: var(--gold); color: var(--white) !important; font-weight: 700; border: none; border-radius: 8px; padding: 10px 24px; transition: var(--transition); }
.btn-gold:hover { background: var(--gold-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(204,20,40,.4); }
.btn-navy { background: var(--navy); color: var(--white) !important; font-weight: 700; border: none; border-radius: 8px; padding: 10px 24px; transition: var(--transition); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(13,27,62,.35); }

/* ---- Hero Section ---- */
.hero-section { min-height: 90vh; position: relative; display: flex; align-items: center; overflow: hidden; padding: 110px 0 80px; }
.hero-bg-carousel { position: absolute; inset: 0; z-index: 0; }
.hero-bg-carousel .carousel-inner,
.hero-bg-carousel .carousel-item { height: 100%; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(.65); }
/* Directional overlay: near-solid on left for text, fades to transparent on right to reveal image */
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(13,27,62,.97) 0%, rgba(13,27,62,.90) 45%, rgba(13,27,62,.60) 70%, rgba(10,40,90,.35) 100%); }
.hero-content-z { position: relative; z-index: 2; }
/* Carousel dot indicators */
.hero-indicators { bottom: 36px; z-index: 3; margin: 0; }
.hero-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); background: transparent; transition: all .35s; opacity: 1; }
.hero-indicators .active { background: var(--gold); border-color: var(--gold); width: 28px; border-radius: 4px; }
.min-vh-80 { min-height: 80vh; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(204,20,40,.15); border: 1px solid rgba(204,20,40,.3); color: var(--gold); padding: 6px 16px; border-radius: 30px; font-size: 0.82rem; font-weight: 600; }
.hero-title { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--white); line-height: 1.1; letter-spacing: -1px; }
.text-gold { color: var(--gold); }
.hero-subtitle { color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 540px; margin-top: 16px; }
.hero-stats { border-top: 1px solid rgba(255,255,255,.15); padding-top: 28px; }
.stat-item { text-align: center; min-width: 80px; }
.stat-number { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 2rem; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.72rem; color: rgba(255,255,255,.6); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }
/* Hero right-side category pills */
.hero-pills-grid { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 270px; }
.hero-pill { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 13px 16px; color: var(--white); font-size: .875rem; font-weight: 600; text-decoration: none; transition: var(--transition); }
.hero-pill:hover { background: rgba(204,20,40,.18); border-color: rgba(204,20,40,.45); color: var(--white); }
.hero-pill i { font-size: 1rem; color: var(--gold); width: 18px; text-align: center; flex-shrink: 0; }
.hero-pill-arrow { margin-left: auto; font-size: .7rem; opacity: .5; }
.hero-pill:hover .hero-pill-arrow { opacity: 1; color: var(--gold); }
/* Scroll indicator */
.hero-scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; }
.hero-scroll-indicator a { color: rgba(255,255,255,.5); font-size: 1.2rem; animation: bounce 2s infinite; display: block; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ---- Section Styles ---- */
.section-tag { display: inline-block; background: rgba(204,20,40,.12); color: var(--gold-dk); font-weight: 700; font-size: 0.78rem; padding: 4px 14px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; }
.section-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); letter-spacing: -0.5px; margin-top: 8px; }
.section-desc { color: var(--text-muted); max-width: 560px; margin: 12px auto 0; font-size: 1.02rem; }
.lead-text { font-size: 1.1rem; color: var(--navy); font-weight: 600; }
.bg-light-gray { background: #f4f6fa; }

/* ---- Solution Cards ---- */
.solution-card { display: block; background: var(--white); border-radius: var(--radius); padding: 32px 28px; border: 2px solid var(--border); text-decoration: none; transition: var(--transition); position: relative; overflow: hidden; height: 100%; }
.solution-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); opacity: 0; transition: var(--transition); }
.solution-card:hover { border-color: var(--navy); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.solution-card:hover::before { opacity: 1; }
.solution-icon { width: 64px; height: 64px; background: linear-gradient(135deg, rgba(13,27,62,.08), rgba(26,47,110,.12)); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--navy); margin-bottom: 20px; transition: var(--transition); position: relative; z-index: 1; }
.solution-card:hover .solution-icon { background: rgba(204,20,40,.2); color: var(--gold); }
.solution-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; position: relative; z-index: 1; transition: var(--transition); }
.solution-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; position: relative; z-index: 1; transition: var(--transition); }
.solution-arrow { margin-top: 20px; width: 36px; height: 36px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--navy); transition: var(--transition); position: relative; z-index: 1; }
.solution-card:hover .solution-title, .solution-card:hover .solution-desc { color: rgba(255,255,255,.9); }
.solution-card:hover .solution-arrow { background: var(--gold); color: var(--navy); }

/* ---- About Strip ---- */
.about-strip { background: var(--bg-light); }
.strip-icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sicon-box { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--navy); box-shadow: var(--shadow); transition: var(--transition); }
.sicon-box.highlight { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); color: var(--gold); box-shadow: 0 8px 30px rgba(13,27,62,.3); }
.sicon-box:hover { transform: translateY(-4px); }
.about-strip-visual { position: relative; padding-bottom: 24px; }
.strip-experience-badge { position: absolute; bottom: 0; right: 0; background: var(--gold); color: var(--white); border-radius: 14px; padding: 16px 20px; text-align: center; box-shadow: 0 8px 24px rgba(204,20,40,.35); }
.exp-number { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 2rem; line-height: 1; }
.exp-text { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.promise-list { display: flex; flex-direction: column; gap: 10px; }
.promise-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text); }
.promise-item i { color: var(--gold); font-size: 1rem; flex-shrink: 0; }

/* ---- Product Cards ---- */
.product-card { background: var(--white); border-radius: var(--radius); border: 2px solid var(--border); overflow: hidden; transition: var(--transition); position: relative; height: 100%; display: flex; flex-direction: column; }
.product-card:hover { border-color: var(--navy); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--navy); font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; z-index: 2; text-transform: uppercase; letter-spacing: 0.5px; }
.product-img { height: 210px; overflow: hidden; background: #f1f5f9; display: flex; align-items: center; justify-content: center; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 3rem; color: #c9d4e1; }
.product-img-placeholder.large { font-size: 5rem; }
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 0.72rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.product-name { font-weight: 700; color: var(--navy); font-size: 1rem; margin-bottom: 6px; line-height: 1.4; }
.product-brand { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }
.product-desc { font-size: 0.85rem; color: var(--text-muted); flex: 1; line-height: 1.55; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.product-price { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.btn-product { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; color: var(--navy); background: var(--bg-light); padding: 6px 14px; border-radius: 20px; transition: var(--transition); }
.btn-product:hover { background: var(--navy); color: var(--white); }

/* Product Detail */
.product-detail-gallery .main-img-wrapper { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--border); height: 380px; display: flex; align-items: center; justify-content: center; background: #f8fafc; }
.main-product-img { max-height: 380px; max-width: 100%; object-fit: contain; }
.gallery-thumb { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid var(--border); transition: var(--transition); }
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--navy); }
.product-detail-name { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--navy); line-height: 1.25; }
.product-detail-price { font-size: 1.4rem; font-weight: 800; color: var(--gold); margin: 12px 0; }
.product-cat-link a { color: var(--blue); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.meta-badge { display: inline-flex; align-items: center; gap: 6px; background: #f1f5f9; border-radius: 20px; padding: 4px 12px; font-size: 0.8rem; color: var(--text-muted); margin-right: 8px; margin-bottom: 6px; }
.product-detail-short-desc { color: var(--text-muted); font-size: 0.95rem; margin-top: 16px; }
.product-detail-meta { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; padding: 16px; background: #f8fafc; border-radius: var(--radius-sm); }
.meta-item { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--text); }
.meta-item i { width: 18px; text-align: center; }
.product-tabs { border-bottom: 2px solid var(--border); }
.product-tabs .nav-link { color: var(--text-muted); font-weight: 600; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.product-tabs .nav-link.active { color: var(--navy); border-bottom-color: var(--navy); background: none; }
.product-tab-content { border: 2px solid var(--border); border-top: none; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }

/* ---- Why Cards ---- */
.why-card { background: var(--white); border-radius: var(--radius); padding: 32px 28px; border: 2px solid var(--border); text-align: center; height: 100%; transition: var(--transition); }
.why-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-icon { width: 70px; height: 70px; border-radius: 18px; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.5rem; color: var(--gold); }
.why-card h5 { font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.why-card p { color: var(--text-muted); font-size: 0.9rem; }
.why-us { background: var(--bg-light); }

/* ---- Brands Ticker ---- */
.brands-section { background: var(--bg-light); }
.brands-title { font-weight: 700; color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.brands-ticker { overflow: hidden; padding: 8px 0; }
.brands-track { display: flex; gap: 24px; animation: tickerMove 40s linear infinite; width: max-content; align-items: center; }
.brands-track:hover { animation-play-state: paused; }
.brand-logo-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 20px; display: flex; align-items: center; justify-content: center; height: 70px; min-width: 110px; transition: var(--transition); flex-shrink: 0; }
.brand-logo-item:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(204,20,40,.15); transform: translateY(-2px); }
.brand-logo-item img { max-height: 44px; max-width: 90px; object-fit: contain; filter: grayscale(40%); transition: var(--transition); }
.brand-logo-item:hover img { filter: grayscale(0%); }
@keyframes tickerMove { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ---- CTA Section ---- */
.cta-section { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); }
.cta-box { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 20px; padding: 48px 40px; }
.cta-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--white); }
.cta-desc { color: rgba(255,255,255,.7); margin: 8px 0 0; }

/* ---- Page Hero ---- */
.page-hero { background: linear-gradient(135deg, #0d1b3e, #1a2f6e); padding: 80px 0 60px; position: relative; overflow: hidden; }
.page-hero-sm { padding: 60px 0 40px; }
.page-hero-overlay { 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='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E"); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero-content h1 { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(1.8rem, 4vw, 3rem); color: var(--white); margin: 8px 0 4px; }
.page-hero-content p { color: rgba(255,255,255,.7); font-size: 1.05rem; }
.breadcrumb-light .breadcrumb-item a { color: rgba(255,255,255,.65); }
.breadcrumb-light .breadcrumb-item.active { color: var(--gold); }
.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ---- Sidebar (Products Page) ---- */
.sidebar { position: sticky; top: 80px; }
.sidebar-widget { background: var(--white); border-radius: var(--radius); padding: 20px; border: 2px solid var(--border); }
.sidebar-title { font-weight: 800; font-size: 0.85rem; color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; border-bottom: 2px solid var(--border); padding-bottom: 10px; }
.cat-list { list-style: none; }
.cat-list li a { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--text); font-size: 0.875rem; font-weight: 500; transition: var(--transition); }
.cat-list li a i { margin-right: 8px; color: var(--text-muted); width: 16px; font-size: 0.8rem; }
.cat-list li a:hover, .cat-list li a.active { background: var(--navy); color: var(--white); }
.cat-list li a:hover i, .cat-list li a.active i { color: var(--gold); }
.cat-count { background: #f1f5f9; color: var(--text-muted); font-size: 0.7rem; font-weight: 700; padding: 2px 7px; border-radius: 10px; }
.cat-list li a:hover .cat-count, .cat-list li a.active .cat-count { background: rgba(255,255,255,.2); color: var(--white); }
.sidebar-contact { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); border: none; }
.sidebar-contact .sidebar-title { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.15); }
.sidebar-contact p { color: rgba(255,255,255,.7); font-size: 0.875rem; margin-bottom: 14px; }
.results-bar { background: #f8fafc; border-radius: var(--radius-sm); padding: 12px 16px; border: 1px solid var(--border); font-size: 0.875rem; }

/* ---- About Page ---- */
.about-visual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.av-item { background: var(--white); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); border: 2px solid var(--border); transition: var(--transition); }
.av-item:hover { border-color: var(--navy); transform: translateY(-3px); }
.av-item.av-large { grid-column: span 3; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); border-color: transparent; color: var(--white); padding: 24px; }
.av-item i { font-size: 1.8rem; color: var(--gold); display: block; margin-bottom: 6px; }
.av-item.av-large i { font-size: 2.4rem; }
.av-item span { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.av-item.av-large span { color: rgba(255,255,255,.7); }
.about-info-box { display: flex; align-items: flex-start; gap: 12px; background: #f8fafc; border-radius: var(--radius-sm); padding: 14px; border: 1px solid var(--border); }
.about-info-box i { color: var(--gold); font-size: 1.1rem; margin-top: 2px; }
.about-info-box strong { display: block; font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; }
.about-info-box span { font-size: 0.875rem; font-weight: 600; color: var(--navy); }

/* Stats Section */
.stats-section { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); }
.stat-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 32px 20px; }
.stat-num { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 2.6rem; color: var(--gold); line-height: 1; }
.stat-lbl { color: rgba(255,255,255,.7); font-size: 0.85rem; font-weight: 600; margin-top: 8px; }

/* Promise Cards */
.promise-card { background: var(--white); border-radius: var(--radius); padding: 28px; border: 2px solid var(--border); height: 100%; transition: var(--transition); }
.promise-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.promise-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.2rem; color: var(--gold); }
.promise-card h5 { font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.promise-card p { color: var(--text-muted); font-size: 0.875rem; }

/* Partner Cards */
.partner-card { background: var(--white); border-radius: var(--radius-sm); padding: 20px; border: 2px solid var(--border); text-align: center; height: 100%; transition: var(--transition); }
.partner-card:hover { border-color: var(--navy); }
.partner-card i { font-size: 1.5rem; color: var(--navy); margin-bottom: 8px; display: block; }
.partner-card h6 { font-weight: 700; color: var(--navy); margin-bottom: 4px; font-size: 0.875rem; }
.partner-card p { color: var(--text-muted); font-size: 0.8rem; }

/* ---- Contact Page ---- */
.contact-info-sidebar { background: var(--navy); border-radius: var(--radius); padding: 32px 28px; color: var(--white); height: 100%; }
.contact-info-sidebar h4 { color: var(--white); font-weight: 800; }
.contact-info-items { display: flex; flex-direction: column; gap: 20px; }
.ci-item { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon { width: 40px; height: 40px; background: rgba(204,20,40,.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1rem; flex-shrink: 0; }
.ci-text strong { display: block; color: rgba(255,255,255,.6); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.ci-text span { font-size: 0.9rem; color: var(--white); }
.ci-text a { color: rgba(255,255,255,.85); }
.ci-text a:hover { color: var(--gold); }
.contact-biz-info, .contact-hours { border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; }
.contact-biz-info h6, .contact-hours h6 { color: rgba(255,255,255,.6); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.biz-info-row, .hours-row { display: flex; justify-content: space-between; font-size: 0.875rem; margin-bottom: 6px; }
.biz-info-row span, .hours-row span { color: rgba(255,255,255,.6); }
.biz-info-row strong, .hours-row strong { color: var(--white); }
.contact-form-box { background: var(--white); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); border: 2px solid var(--border); }
.contact-form-box h4 { font-weight: 800; color: var(--navy); }
.map-box { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--border); }

/* ---- Footer ---- */
.site-footer { background: #080f1e; }
.footer-top { padding: 64px 0 40px; }
.footer-brand { display: flex; align-items: center; }
.footer-desc { color: rgba(255,255,255,.5); font-size: 0.875rem; line-height: 1.7; }
.footer-badges { display: flex; flex-direction: column; gap: 6px; }
.badge-item { color: rgba(255,255,255,.45); font-size: 0.78rem; display: flex; align-items: center; gap: 7px; }
.badge-item i { color: var(--gold); }
.footer-title { color: var(--white); font-weight: 800; font-size: 0.95rem; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid rgba(255,255,255,.08); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a { color: rgba(255,255,255,.5); font-size: 0.875rem; display: flex; align-items: center; gap: 8px; }
.footer-links li a i { font-size: 0.65rem; color: var(--gold); }
.footer-links li a:hover { color: var(--gold); }
.footer-contact { list-style: none; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact li i { color: var(--gold); font-size: 0.9rem; margin-top: 3px; flex-shrink: 0; width: 16px; text-align: center; }
.footer-contact li span { color: rgba(255,255,255,.6); font-size: 0.85rem; line-height: 1.5; }
.footer-contact li span a { color: rgba(255,255,255,.6); }
.footer-contact li span a:hover { color: var(--gold); }
.footer-bottom { background: rgba(0,0,0,.3); padding: 18px 0; }
.footer-bottom p { color: rgba(255,255,255,.4); font-size: 0.8rem; }

/* ---- Back to Top ---- */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: var(--gold); color: var(--white); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transform: translateY(20px); transition: var(--transition); z-index: 999; box-shadow: 0 4px 16px rgba(204,20,40,.4); }
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px) !important; }

/* ---- Pagination ---- */
.pagination .page-link { color: var(--navy); border-color: var(--border); border-radius: var(--radius-sm) !important; margin: 0 2px; }
.pagination .page-item.active .page-link { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pagination .page-link:hover { background: var(--navy); color: var(--white); }

/* ---- SVG Placeholder ---- */
.placeholder-img { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f1f5f9; color: #c1cdd9; font-size: 0.8rem; gap: 8px; }

/* ---- Solutions Hub Cards ---- */
.sol-hub-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); border: 2px solid var(--border); overflow: hidden; text-decoration: none; height: 100%; transition: var(--transition); }
.sol-hub-card:hover { border-color: var(--navy); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sol-hub-img { position: relative; height: 200px; overflow: hidden; background: #f1f5f9; }
.sol-hub-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .5s ease; }
.sol-hub-card:hover .sol-hub-img img { transform: scale(1.06); }
.sol-hub-num { position: absolute; top: 12px; right: 14px; font-family: 'Montserrat',sans-serif; font-weight: 900; font-size: 2rem; color: rgba(13,27,62,.1); line-height: 1; }
.sol-hub-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.sol-hub-icon { width: 50px; height: 50px; background: linear-gradient(135deg,var(--navy),var(--navy-mid)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--gold); margin-bottom: 14px; }
.sol-hub-title { font-family: 'Montserrat',sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.sol-hub-desc { font-size: .855rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.sol-hub-tags { font-size: .75rem; color: var(--gold-dk); font-weight: 700; margin-top: 12px; }
.sol-hub-cta { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--navy); margin-top: 14px; transition: var(--transition); }
.sol-hub-card:hover .sol-hub-cta { color: var(--gold-dk); }

/* ---- Solution Detail Page ---- */
.sol-page-hero { position: relative; min-height: 420px; display: flex; align-items: center; overflow: hidden; padding: 110px 0 60px; }
.sol-page-bg { position: absolute; inset: 0; z-index: 0; }
.sol-page-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(.5); }
.sol-page-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(13,27,62,.98) 0%, rgba(13,27,62,.88) 50%, rgba(13,27,62,.55) 100%); }
.sol-page-content { position: relative; z-index: 2; }
.sol-page-num { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 9rem; line-height: 1; color: rgba(255,255,255,.04); z-index: 0; user-select: none; }
.sol-page-icon { width: 70px; height: 70px; background: rgba(204,20,40,.2); border: 2px solid rgba(204,20,40,.4); border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--gold); margin-bottom: 20px; }
.sol-page-title { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); line-height: 1.1; }
.sol-page-tagline { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-top: 10px; max-width: 540px; }
.sol-nav-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.sol-nav-pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 30px; padding: 6px 16px; color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 600; text-decoration: none; transition: var(--transition); white-space: nowrap; }
.sol-nav-pill:hover, .sol-nav-pill.active { background: rgba(204,20,40,.2); border-color: rgba(204,20,40,.5); color: var(--gold); }
.sol-nav-pill i { font-size: .85rem; }
/* Solution body layout */
.sol-desc p { font-size: .97rem; line-height: 1.8; color: var(--text); margin-bottom: 16px; }
.sol-desc p:last-child { margin-bottom: 0; }
.sol-product-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sol-product-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: var(--text); line-height: 1.5; }
.sol-product-list li::before { content: ''; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.sol-img-masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sol-img-masonry .sol-img-item:first-child { grid-column: span 2; grid-row: span 2; }
.sol-img-masonry .sol-img-item:first-child { aspect-ratio: 16/10; }
.sol-img-masonry .sol-img-item { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: #f1f5f9; aspect-ratio: 4/3; }
.sol-img-masonry .sol-img-item img { width: 100%; height: 100%; object-fit: contain; padding: 6px; transition: transform .4s ease; }
.sol-img-masonry .sol-img-item:hover img { transform: scale(1.06); }
/* Brands strip */
.sol-brands-strip { background: var(--bg-light); border-radius: var(--radius); padding: 28px 32px; border: 1px solid var(--border); }
.sol-brands-strip h6 { font-weight: 800; color: var(--navy); margin-bottom: 18px; font-size: .875rem; text-transform: uppercase; letter-spacing: .5px; }
.sol-brand-logos { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.sol-brand-logo-box { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 10px 18px; height: 64px; min-width: 100px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.sol-brand-logo-box:hover { border-color: var(--gold); box-shadow: 0 4px 14px rgba(204,20,40,.15); }
.sol-brand-logo-box img { max-height: 40px; max-width: 90px; object-fit: contain; }
/* Related solutions */
.related-sol-card { display: flex; align-items: center; gap: 14px; background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; text-decoration: none; transition: var(--transition); }
.related-sol-card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow); }
.related-sol-icon { width: 44px; height: 44px; background: linear-gradient(135deg,var(--navy),var(--navy-mid)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--gold); flex-shrink: 0; }
.related-sol-card span { font-weight: 600; color: var(--navy); font-size: .875rem; line-height: 1.3; }
.related-sol-card:hover span { color: var(--navy); }

/* ---- Solutions Page ---- */
.solutions-tabs-nav { background: var(--white); border-bottom: 2px solid var(--border); position: sticky; top: 76px; z-index: 100; box-shadow: 0 2px 16px rgba(13,27,62,.07); }
.solutions-tabs-nav .nav-tabs { border: none; gap: 4px; flex-wrap: nowrap; overflow-x: auto; padding: 0 8px; }
.solutions-tabs-nav .nav-tabs::-webkit-scrollbar { display: none; }
.solutions-tabs-nav .nav-link { border: none; border-bottom: 3px solid transparent; border-radius: 0; color: var(--text-muted); font-weight: 600; font-size: 0.875rem; padding: 14px 18px; white-space: nowrap; transition: var(--transition); }
.solutions-tabs-nav .nav-link:hover { color: var(--navy); }
.solutions-tabs-nav .nav-link.active { color: var(--navy); border-bottom-color: var(--gold); background: none; }
.solutions-tabs-nav .nav-link i { margin-right: 7px; color: var(--gold); }
.sol-section { scroll-margin-top: 130px; }
.sol-section-header { border-left: 4px solid var(--gold); padding-left: 20px; margin-bottom: 32px; }
.sol-section-header h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--navy); line-height: 1.2; }
.sol-section-header p { color: var(--text-muted); margin-top: 4px; }
.sol-desc-block { background: var(--bg-light); border-radius: var(--radius); padding: 24px 28px; border-left: 4px solid var(--navy); }
.sol-desc-block p { color: var(--text); font-size: 0.95rem; line-height: 1.75; margin: 0; }
.sol-img-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sol-img-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.sol-img-item { border-radius: var(--radius-sm); overflow: hidden; border: 2px solid var(--border); aspect-ratio: 4/3; background: #f1f5f9; }
.sol-img-item img { width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: var(--transition); }
.sol-img-item:hover img { transform: scale(1.04); }
.sol-brands-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sol-brand-logo { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 16px; display: flex; align-items: center; justify-content: center; height: 60px; min-width: 90px; transition: var(--transition); }
.sol-brand-logo:hover { border-color: var(--gold); box-shadow: 0 4px 14px rgba(204,20,40,.15); }
.sol-brand-logo img { max-height: 36px; max-width: 80px; object-fit: contain; }
.sol-divider { border: none; border-top: 2px dashed var(--border); margin: 56px 0; }

/* ---- Portfolio Detail Page ---- */
.pf-detail-hero { position: relative; min-height: 440px; display: flex; align-items: flex-end; padding-bottom: 60px; background-size: cover; background-position: center; overflow: hidden; }
.pf-detail-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,27,62,.97) 0%, rgba(13,27,62,.75) 50%, rgba(13,27,62,.35) 100%); z-index: 0; }
.pf-detail-hero-content { position: relative; z-index: 1; padding-top: 100px; }
.pf-hero-cat-badge { display: inline-block; background: var(--gold); color: var(--white); font-size: 0.78rem; font-weight: 700; padding: 4px 14px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.pf-detail-title { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(1.8rem, 4vw, 3rem); color: var(--white); line-height: 1.15; max-width: 760px; }
.pf-detail-tagline { color: rgba(255,255,255,.72); font-size: 1.05rem; margin-top: 12px; max-width: 600px; }

/* Detail sidebar */
.pf-detail-sidebar { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius); padding: 28px 24px; position: sticky; top: 84px; }
.pf-sidebar-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--navy); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.pf-detail-list { display: flex; flex-direction: column; gap: 16px; }
.pf-detail-row { display: flex; gap: 14px; align-items: flex-start; }
.pf-detail-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.9rem; flex-shrink: 0; }
.pf-detail-label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.pf-detail-value { font-size: 0.9rem; font-weight: 600; color: var(--navy); line-height: 1.4; }

/* Section headings */
.pf-section-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--navy); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.pf-section-title::after { content: ''; flex: 1; height: 2px; background: var(--border); border-radius: 2px; }
.pf-desc-body p { font-size: 0.97rem; line-height: 1.8; color: var(--text); margin-bottom: 14px; }
.pf-desc-body p:last-child { margin-bottom: 0; }

/* Tech tags */
.pf-tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tech-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(13,27,62,.06); border: 1px solid rgba(13,27,62,.12); color: var(--navy); font-size: 0.82rem; font-weight: 600; padding: 5px 14px; border-radius: 20px; }
.pf-tech-tag i { color: var(--gold); font-size: 0.75rem; }

/* Photo gallery */
.pf-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pf-gallery-item { border-radius: var(--radius-sm); overflow: hidden; border: 2px solid var(--border); aspect-ratio: 4/3; position: relative; cursor: zoom-in; background: #f1f5f9; }
.pf-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.pf-gallery-item:hover img { transform: scale(1.06); }
.pf-gallery-featured { grid-column: span 2; grid-row: span 2; aspect-ratio: unset; }
.pf-gallery-overlay { position: absolute; inset: 0; background: rgba(13,27,62,.0); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.4rem; opacity: 0; transition: var(--transition); }
.pf-gallery-item:hover .pf-gallery-overlay { background: rgba(13,27,62,.45); opacity: 1; }

/* Portfolio card as link */
a.portfolio-card { text-decoration: none; color: inherit; }
a.portfolio-card:hover { color: inherit; }
.portfolio-card .portfolio-view-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; color: var(--navy); background: var(--bg-light); padding: 6px 14px; border-radius: 20px; transition: var(--transition); margin-top: 12px; }
.portfolio-card:hover .portfolio-view-btn { background: var(--navy); color: var(--white); }

/* ---- Hover Dropdowns (desktop only) ---- */
@media (min-width: 992px) {
    #mainNav .nav-item.dropdown { position: relative; }
    #mainNav .nav-item.dropdown > .dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: auto; /* keep auto so mouse-over menu keeps parent :hover alive */
        transform: translateY(8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
        margin-top: 0;
    }
    #mainNav .nav-item.dropdown:hover > .dropdown-menu,
    #mainNav .nav-item.dropdown > .dropdown-menu.nav-open {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    #mainNav .nav-item.dropdown > .dropdown-toggle::after { display: none; }
}

/* ---- Portfolio Cards ---- */
.portfolio-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); border: 2px solid var(--border); overflow: hidden; transition: var(--transition); height: 100%; }
.portfolio-card:hover { border-color: var(--navy); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.portfolio-img { height: 220px; overflow: hidden; background: #f1f5f9; display: flex; align-items: center; justify-content: center; position: relative; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.05); }
.portfolio-img-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 3rem; color: #c9d4e1; }
.portfolio-cat-badge { position: absolute; top: 12px; left: 12px; background: var(--navy); color: var(--white); font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.portfolio-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.portfolio-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 8px; line-height: 1.35; }
.portfolio-client { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.portfolio-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.portfolio-date { font-size: 0.75rem; color: var(--text-muted); margin-top: 12px; display: flex; align-items: center; gap: 5px; }

/* ---- Responsive ---- */
@media (max-width: 1199px) {
    .hero-title { font-size: clamp(2rem, 4.5vw, 3.2rem); }
    .hero-pills-grid { max-width: 240px; }
}

@media (max-width: 991px) {
    /* Navigation */
    #mainNav { padding: 4px 0; }
    #mainNav .navbar-nav .nav-link { padding: 10px 16px !important; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,.06); }
    #mainNav .navbar-nav .nav-link::after { display: none; }
    #mainNav .navbar-collapse { background: #0a1530; border-top: 1px solid rgba(255,255,255,.1); padding: 8px 0 16px; }
    #mainNav .dropdown-menu { position: static !important; background: rgba(255,255,255,.04) !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 0 0 20px !important; margin: 0 !important; transform: none !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; display: none; }
    #mainNav .dropdown-menu.show { display: block; }
    #mainNav .navbar-toggler { border-color: rgba(255,255,255,.3); padding: 6px 10px; }
    #mainNav .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
    #mainNav .btn-gold { margin: 10px 16px 0; }
    #mainNav .ms-lg-2 { margin: 0; }

    /* Hero */
    .hero-section { padding: 90px 0 60px; min-height: auto; }
    .hero-stats { display: none; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-cta .btn { font-size: 0.9rem; padding: 10px 20px; }

    /* Layout */
    .about-strip-visual { margin-bottom: 24px; }
    .strip-icon-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .sicon-box { padding: 16px; font-size: 1.2rem; }
    .solution-card { padding: 24px 20px; }
    .contact-form-box { padding: 24px 20px; }
    .contact-info-sidebar { margin-bottom: 0; }
    .cta-box { padding: 32px 24px; }
    .hero-img-carousel-wrap { width: 100%; }
    .hero-product-img { width: 100%; height: 280px; }
    .sol-img-grid { grid-template-columns: repeat(2, 1fr); }
    .sol-img-grid.cols3 { grid-template-columns: repeat(2, 1fr); }
    .solutions-tabs-nav { top: 56px; }

    /* Solution page */
    .sol-page-hero { min-height: 320px; padding: 80px 0 48px; }
    .sol-img-masonry { grid-template-columns: repeat(2, 1fr); }
    .sol-img-masonry .sol-img-item:first-child { grid-column: span 2; }
    .sol-product-list { grid-template-columns: 1fr; }
    .sol-nav-pills { gap: 6px; }
    .sol-nav-pill { font-size: .75rem; padding: 5px 12px; }

    /* Page hero */
    .page-hero { padding: 70px 0 48px; }
}

@media (max-width: 767px) {
    /* Topbar */
    .topbar { display: none; }

    /* Navigation */
    .navbar-brand { margin-right: 0; }
    .brand-img-logo { height: 40px; }

    /* Hero */
    .hero-section { padding: 80px 0 48px; min-height: 85vh; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-badge { font-size: 0.75rem; }
    .hero-cta { flex-direction: column; align-items: flex-start; }
    .hero-cta .btn { width: 100%; text-align: center; }
    .hero-scroll-indicator { display: none; }

    /* Sections */
    .section-title { font-size: 1.5rem; }
    .section-desc { font-size: 0.9rem; }
    .section-tag { font-size: 0.72rem; }
    .py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }

    /* Solution cards */
    .solution-card { padding: 20px 16px; }
    .solution-icon { width: 52px; height: 52px; font-size: 1.3rem; margin-bottom: 14px; }
    .solution-title { font-size: 1rem; }

    /* About strip */
    .strip-icon-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .sicon-box { padding: 12px; font-size: 1rem; }
    .about-visual-grid { grid-template-columns: repeat(2, 1fr); }
    .av-item.av-large { grid-column: span 2; }
    .stat-item { min-width: 60px; }

    /* Products */
    .product-img { height: 180px; }
    .product-body { padding: 16px; }

    /* CTA */
    .cta-box { padding: 24px 16px; }
    .cta-title { font-size: 1.3rem; }
    .cta-box .btn { width: 100%; margin-bottom: 8px; }
    .cta-box .col-lg-4 { text-align: left !important; }

    /* Footer */
    .footer-top { padding: 40px 0 24px; }
    .footer-img-logo { height: 48px; }
    .footer-bottom .row { flex-direction: column; text-align: center; }
    .footer-bottom .col-md-6 { text-align: center !important; }

    /* Contact */
    .contact-info-sidebar { padding: 24px 20px; }
    .contact-form-box { padding: 20px 16px; }
    .map-box iframe { height: 200px; }

    /* Solution page hero */
    .sol-page-hero { min-height: 260px; padding: 70px 0 40px; }
    .sol-page-title { font-size: 1.8rem; }
    .sol-page-tagline { font-size: 0.9rem; }
    .sol-page-num { display: none; }
    .sol-img-masonry { grid-template-columns: 1fr; }
    .sol-img-masonry .sol-img-item:first-child { grid-column: span 1; }

    /* Why us */
    .why-icon { width: 56px; height: 56px; font-size: 1.2rem; }

    /* Brands */
    .brand-logo-item { min-width: 90px; height: 60px; padding: 10px 14px; }

    /* Page hero */
    .page-hero { padding: 60px 0 40px; }
    .page-hero-content h1 { font-size: 1.8rem; }

    /* Portfolio */
    .portfolio-img { height: 180px; }
    .pf-detail-hero { min-height: 320px; padding-bottom: 40px; }
    .pf-detail-title { font-size: 1.75rem; }
    .pf-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .pf-gallery-featured { grid-column: span 2; }
    .pf-detail-sidebar { position: static; }

    /* Sidebar */
    .sidebar { position: static; top: auto; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem; }
    .hero-section { padding: 72px 0 40px; }
    .stat-num { font-size: 2rem; }
    .cta-title { font-size: 1.15rem; }
    .sol-hub-title { font-size: 0.95rem; }
    .product-detail-name { font-size: 1.4rem; }
    .strip-experience-badge { padding: 12px 14px; }
    .exp-number { font-size: 1.6rem; }
}
