/* ================================================================
   Vision Telecom IT Solution – Main Stylesheet
   ================================================================ */
:root {
  --navy: #0a1628; --navy2: #0d1e35; --blue: #1a4fa0; --blue2: #1e5bbf;
  --gold: #f0a500; --gold2: #d89200;
  --white: #fff; --light: #f4f7fc; --border: #e2e8f0;
  --text: #1a2535; --gray: #64748b; --gray2: #94a3b8;
  --red: #ef4444; --green: #22c55e;
  --radius: 10px; --radius2: 16px;
  --shadow: 0 2px 16px rgba(26,79,160,.1);
  --shadow2: 0 8px 32px rgba(26,79,160,.14);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'DM Sans',sans-serif; color:var(--text); background:#fff; line-height:1.65; font-size:16px; }
h1,h2,h3,h4,h5 { font-family:'Rajdhani',sans-serif; font-weight:700; line-height:1.2; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }
button { cursor:pointer; border:none; outline:none; font-family:inherit; background:none; }
input,textarea,select { font-family:inherit; font-size:14px; color:var(--text); }
ul { list-style:none; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn { display:inline-flex; align-items:center; gap:6px; padding:10px 22px; border-radius:var(--radius); font-size:15px; font-weight:500; transition:.2s; cursor:pointer; }
.btn-lg { padding:13px 28px; font-size:16px; font-weight:600; }
.btn-sm { padding:7px 14px; font-size:13px; }
.btn-full { width:100%; justify-content:center; }
.btn-blue { background:var(--blue2); color:#fff; }
.btn-blue:hover { background:var(--blue); }
.btn-gold { background:var(--gold); color:var(--navy); }
.btn-gold:hover { background:var(--gold2); }
.btn-outline-white { border:1.5px solid rgba(255,255,255,.5); color:#fff; }
.btn-outline-white:hover { background:rgba(255,255,255,.1); }
.btn-outline-blue { border:1.5px solid var(--blue2); color:var(--blue2); background:#fff; }
.btn-outline-blue:hover { background:var(--blue2); color:#fff; }
.btn-outline-gray { border:1.5px solid var(--border); color:var(--gray); background:#fff; }
.btn-outline-gray:hover { border-color:var(--blue2); color:var(--blue2); }
.btn-wa { background:#25d366; color:#fff; }
.btn-wa:hover { background:#1db954; }

/* ── FORMS ────────────────────────────────────────────────── */
.form-group { margin-bottom:16px; }
.form-group label { display:block; font-size:13px; font-weight:600; color:var(--text); margin-bottom:6px; }
.form-group input, .form-group textarea, .form-group select {
  width:100%; padding:10px 14px; border:1.5px solid var(--border);
  border-radius:var(--radius); font-size:14px; outline:none; transition:.2s; background:#fff; color:var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color:var(--blue2); box-shadow:0 0 0 3px rgba(30,91,191,.08); }
.form-group textarea { resize:vertical; }
.form-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.alert { padding:12px 16px; border-radius:var(--radius); margin-bottom:16px; font-size:14px; font-weight:500; }
.alert-success { background:#dcfce7; color:#166534; border:1px solid #bbf7d0; }
.alert-error { background:#fee2e2; color:#991b1b; border:1px solid #fecaca; }

/* ── HEADER ───────────────────────────────────────────────── */
#site-header { position:sticky; top:0; z-index:900; background:var(--navy); box-shadow:0 2px 20px rgba(0,0,0,.25); }
.header-inner { max-width:1240px; margin:0 auto; padding:0 24px; display:flex; align-items:center; gap:12px; height:66px; }
.logo { display:flex; align-items:center; gap:10px; flex-shrink:0; max-width:200px; }
.logo-icon { width:40px; height:40px; background:var(--gold); border-radius:8px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.logo-name { font-family:'Rajdhani',sans-serif; font-size:19px; font-weight:700; color:#fff; display:block; line-height:1.1; }
.logo-sub { font-size:11px; color:var(--gold); letter-spacing:1px; text-transform:uppercase; display:block; }
.logo-img { height:44px; max-height:44px; max-width:180px; width:auto; object-fit:contain; display:block; }
nav#main-nav { flex:1; display:flex; align-items:center; justify-content:center; gap:2px; flex-wrap:nowrap; }
nav#main-nav a { color:rgba(255,255,255,.8); font-size:14px; font-weight:500; padding:7px 13px; border-radius:6px; transition:.2s; white-space:nowrap; }
nav#main-nav a:hover, nav#main-nav a.active { background:rgba(255,255,255,.1); color:#fff; }
.header-actions { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.cart-btn { position:relative; color:#fff; padding:8px 12px; border-radius:6px; background:rgba(255,255,255,.09); display:flex; align-items:center; cursor:pointer; text-decoration:none; }
.cart-badge { position:absolute; top:1px; right:1px; background:var(--gold); color:var(--navy); font-size:10px; font-weight:700; width:16px; height:16px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.btn-sm { padding:7px 14px; font-size:13px; }
.mobile-menu-btn { display:none; flex-direction:column; gap:5px; padding:8px; cursor:pointer; background:none; border:none; }
.mobile-menu-btn span { width:22px; height:2px; background:#fff; display:block; border-radius:2px; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero { background:linear-gradient(135deg,var(--navy) 0%,var(--navy2) 55%,#0f2a4a 100%); min-height:520px; display:flex; align-items:center; position:relative; overflow:hidden; }
.hero::before { content:''; position:absolute; inset:0; background-image:radial-gradient(circle at 20% 50%, rgba(240,165,0,.05) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(30,91,191,.08) 0%, transparent 40%); }
.hero-inner { max-width:1240px; margin:0 auto; padding:64px 24px; position:relative; z-index:1; display:grid; grid-template-columns:1fr 380px; gap:40px; align-items:center; }
.hero-badge { display:inline-block; background:rgba(240,165,0,.15); color:var(--gold); font-size:12px; font-weight:600; letter-spacing:.8px; padding:5px 14px; border-radius:20px; margin-bottom:16px; border:1px solid rgba(240,165,0,.2); }
.hero-text h1 { font-size:52px; color:#fff; margin-bottom:18px; }
.hero-text p { color:rgba(255,255,255,.72); font-size:17px; margin-bottom:32px; max-width:520px; line-height:1.7; }
.hero-btns { display:flex; gap:12px; flex-wrap:wrap; }
.hero-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; width:100%; flex-shrink:0; }
.hero-cat-card { background:#fff; border-radius:16px; padding:18px 10px 14px; text-align:center; text-decoration:none; color:#1a2535; transition:.22s; display:flex; flex-direction:column; align-items:center; gap:10px; box-shadow:0 4px 16px rgba(0,0,0,.12); }
.hero-cat-card:hover { transform:translateY(-4px); box-shadow:0 10px 28px rgba(0,0,0,.18); }
.hcc-icon { width:56px; height:56px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:28px; flex-shrink:0; }
.hero-cat-card span { font-size:12px; font-weight:700; color:#1a2535; line-height:1.3; word-break:break-word; }
.hc-icon { font-size:28px; display:block; margin-bottom:6px; filter:none; }

/* ── STATS BAR ────────────────────────────────────────────── */
.stats-bar { background:var(--gold); padding:18px 24px; }
.stats-inner { max-width:1240px; margin:0 auto; display:flex; justify-content:space-around; flex-wrap:wrap; gap:12px; }
.stat-item { text-align:center; }
.stat-num { font-family:'Rajdhani',sans-serif; font-size:28px; font-weight:700; color:var(--navy); }
.stat-lbl { font-size:12px; color:rgba(10,22,40,.7); font-weight:500; }

/* ── SECTIONS ─────────────────────────────────────────────── */
.section { padding:72px 24px; }
.section-alt { background:var(--light); }
.section-inner { max-width:1240px; margin:0 auto; }
.section-head { text-align:center; margin-bottom:48px; }
.section-head h2 { font-size:38px; color:var(--text); }
.section-head p { color:var(--gray); font-size:16px; margin-top:10px; max-width:560px; margin-left:auto; margin-right:auto; }
.section-badge { display:inline-block; background:rgba(26,79,160,.08); color:var(--blue2); font-size:12px; font-weight:600; letter-spacing:1px; text-transform:uppercase; padding:5px 14px; border-radius:20px; margin-bottom:12px; }

/* ── PRODUCTS ─────────────────────────────────────────────── */
.products-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:22px; align-items:start; }
.products-grid .product-card { height:100%; }
.product-card { background:#fff; border-radius:var(--radius2); border:1px solid var(--border); overflow:hidden; transition:.25s; display:flex; flex-direction:column; }
.product-card:hover { box-shadow:var(--shadow2); transform:translateY(-3px); }

/* Product image — contain shows full image without cropping */
.pimg-wrap { position:relative; overflow:hidden; background:#f8fafc; }
.pimg-wrap img { width:100%; height:220px; object-fit:contain; object-position:center; display:block; transition:.3s; padding:8px; box-sizing:border-box; }
.product-card:hover .pimg-wrap img { transform:scale(1.06); }
.pimg-ph { width:100%; height:220px; background:linear-gradient(135deg,#e8eef7,#d0ddf0); display:flex; flex-direction:column; align-items:center; justify-content:center; font-size:56px; color:#94a3b8; }
.pbadge { position:absolute; top:10px; left:10px; background:var(--gold); color:var(--navy); font-size:10px; font-weight:700; padding:3px 10px; border-radius:20px; text-transform:uppercase; letter-spacing:.5px; z-index:1; }

/* Also fix the other product image classes used in products.php / product.php */
.product-img-wrap { position:relative; overflow:hidden; background:#f8fafc; }
.product-img-wrap img { width:100%; height:220px; object-fit:contain; object-position:center; display:block; padding:8px; box-sizing:border-box; }
.product-img-placeholder { width:100%; height:220px; background:linear-gradient(135deg,#e8eef7,#d0ddf0); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; color:var(--gray2); font-size:48px; }
.product-badge { position:absolute; top:10px; left:10px; background:var(--gold); color:var(--navy); font-size:10px; font-weight:700; padding:3px 10px; border-radius:20px; text-transform:uppercase; }

/* Product body — flex column so price+buttons always at bottom */
.pbody { padding:16px 18px 18px; flex:1; display:flex; flex-direction:column; }
.pcat { font-size:11px; color:var(--blue2); font-weight:700; text-transform:uppercase; letter-spacing:.7px; margin-bottom:5px; }
.pname { font-family:'Rajdhani',sans-serif; font-size:19px; font-weight:700; color:var(--text); margin-bottom:4px; line-height:1.25; }
.pname a { color:var(--text); text-decoration:none; }
.pname a:hover { color:var(--blue2); }
.pbrand { font-size:12px; color:var(--gray2); margin-bottom:7px; }
.pdesc { font-size:13px; color:var(--gray); line-height:1.55; flex:1; margin-bottom:14px; }
.pprice { font-family:'Rajdhani',sans-serif; font-size:22px; font-weight:700; color:var(--blue2); margin-bottom:12px; }
.pactions { display:flex; gap:8px; flex-wrap:wrap; margin-top:auto; }
.product-body { padding:16px 18px; flex:1; display:flex; flex-direction:column; }
.product-cat { font-size:11px; color:var(--blue2); font-weight:600; text-transform:uppercase; letter-spacing:.8px; margin-bottom:5px; }
.product-name { font-family:'Rajdhani',sans-serif; font-size:20px; font-weight:700; margin-bottom:5px; }
.product-name a { color:var(--text); }
.product-name a:hover { color:var(--blue2); }
.product-brand { font-size:12px; color:var(--gray2); margin-bottom:7px; }
.product-desc { font-size:13px; color:var(--gray); margin-bottom:12px; flex:1; line-height:1.55; }
.product-price { font-size:20px; font-weight:700; color:var(--blue2); font-family:'Rajdhani',sans-serif; margin-bottom:12px; }
.product-actions { display:flex; gap:7px; flex-wrap:wrap; }

/* PRODUCTS PAGE LAYOUT */
.products-toolbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; gap:16px; flex-wrap:wrap; }
.search-form { display:flex; gap:8px; flex:1; max-width:520px; }
.search-form input { flex:1; padding:9px 14px; border:1.5px solid var(--border); border-radius:var(--radius); font-size:14px; outline:none; }
.search-form input:focus { border-color:var(--blue2); }
.result-info { font-size:14px; color:var(--gray); }
.products-layout { display:grid; grid-template-columns:220px 1fr; gap:28px; }
.products-sidebar { }
.filter-box { background:#fff; border:1px solid var(--border); border-radius:var(--radius2); padding:18px; }
.filter-box h4 { font-size:15px; margin-bottom:12px; color:var(--text); }
.filter-list li { margin-bottom:6px; }
.filter-list a { font-size:14px; color:var(--gray); display:flex; justify-content:space-between; padding:4px 8px; border-radius:6px; transition:.15s; }
.filter-list a:hover, .filter-list a.active { background:rgba(26,79,160,.07); color:var(--blue2); }
.filter-list a span { color:var(--gray2); font-size:12px; }
.products-main { }
.pagination { display:flex; gap:6px; justify-content:center; margin-top:32px; flex-wrap:wrap; }
.page-btn { padding:8px 14px; border:1.5px solid var(--border); border-radius:8px; font-size:14px; color:var(--gray); background:#fff; transition:.15s; }
.page-btn:hover, .page-btn.active { background:var(--blue2); color:#fff; border-color:var(--blue2); }

/* PRODUCT DETAIL */
.product-detail-layout { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.pd-main-img { background:#f8fafc; border-radius:var(--radius2); border:1px solid var(--border); overflow:hidden; }
.pd-main-img img { width:100%; max-height:400px; object-fit:contain; object-position:center; display:block; padding:16px; box-sizing:border-box; }
.pd-thumbs { display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.pd-thumb { width:72px; height:72px; object-fit:contain; background:#f8fafc; padding:4px; border-radius:8px; border:2px solid var(--border); cursor:pointer; transition:.2s; }
.pd-thumb.active, .pd-thumb:hover { border-color:var(--blue2); }
.pd-cat { font-size:12px; color:var(--blue2); font-weight:600; text-transform:uppercase; letter-spacing:.8px; margin-bottom:8px; }
.pd-name { font-size:32px; margin-bottom:10px; }
.pd-brand { font-size:14px; color:var(--gray); margin-bottom:12px; }
.pd-price { font-size:28px; font-weight:700; color:var(--blue2); font-family:'Rajdhani',sans-serif; margin-bottom:16px; }
.pd-desc { color:var(--gray); line-height:1.8; margin-bottom:20px; }
.pd-features h4 { font-size:16px; margin-bottom:10px; }
.pd-features ul { display:flex; flex-direction:column; gap:6px; margin-bottom:20px; }
.pd-features li { font-size:14px; color:var(--gray); display:flex; gap:8px; }
.pd-actions { display:flex; gap:12px; margin-bottom:16px; flex-wrap:wrap; }
.pd-meta { display:flex; gap:16px; font-size:13px; color:var(--gray); flex-wrap:wrap; }

/* CATEGORIES GRID */
.cat-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:16px; }
.cat-card { background:#fff; border:1.5px solid var(--border); border-radius:var(--radius2); padding:24px 16px; text-align:center; transition:.2s; display:flex; flex-direction:column; align-items:center; gap:10px; }
.cat-card:hover { border-color:var(--blue2); box-shadow:var(--shadow); transform:translateY(-2px); }
.cat-icon { font-size:32px; }
.cat-name { font-size:13px; font-weight:600; color:var(--text); }

/* ── ABOUT ────────────────────────────────────────────────── */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.about-text h2 { font-size:38px; margin-bottom:16px; }
.about-text p { color:var(--gray); margin-bottom:14px; line-height:1.8; }
.check-list { margin:20px 0 28px; display:flex; flex-direction:column; gap:10px; }
.check-list li { display:flex; gap:10px; align-items:center; font-size:15px; color:var(--gray); }
.check-list li::before { content:'✓'; background:var(--blue2); color:#fff; width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; flex-shrink:0; }
.about-cards { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.about-card { background:var(--navy); border-radius:var(--radius2); padding:22px; color:#fff; text-align:center; }
.ac-icon { font-size:30px; display:block; margin-bottom:10px; }
.about-card h4 { font-size:15px; color:var(--gold); margin-bottom:5px; }
.about-card p { font-size:13px; color:rgba(255,255,255,.65); }

/* ── WHY GRID ─────────────────────────────────────────────── */
.why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.why-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius2); padding:26px 22px; text-align:center; transition:.2s; }
.why-card:hover { box-shadow:var(--shadow); transform:translateY(-2px); }
.why-icon { width:54px; height:54px; background:rgba(26,79,160,.08); border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:26px; margin:0 auto 14px; }
.why-card h3 { font-size:17px; margin-bottom:7px; }
.why-card p { font-size:14px; color:var(--gray); }

/* ── BRANDS ───────────────────────────────────────────────── */
.brands-row { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; }
.brand-pill { background:#fff; border:1.5px solid var(--border); border-radius:10px; padding:11px 24px; font-family:'Rajdhani',sans-serif; font-size:17px; font-weight:700; color:var(--navy); transition:.2s; }
.brand-pill:hover { border-color:var(--blue2); color:var(--blue2); }
a.brand-pill { cursor:pointer; }

/* ── GALLERY ──────────────────────────────────────────────── */
.gallery-filter { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:28px; }
.filter-btn { padding:7px 18px; border-radius:20px; font-size:13px; font-weight:500; border:1.5px solid var(--border); color:var(--gray); background:#fff; transition:.2s; cursor:pointer; text-decoration:none; display:inline-block; }
.filter-btn.active, .filter-btn:hover { background:var(--blue2); color:#fff; border-color:var(--blue2); }
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:16px; }
.gallery-item { border-radius:var(--radius2); overflow:hidden; position:relative; cursor:pointer; background:var(--light); }
.gallery-item img { width:100%; height:220px; object-fit:cover; transition:.3s; }
.gallery-item:hover img { transform:scale(1.04); }
.gallery-placeholder { width:100%; height:220px; display:flex; align-items:center; justify-content:center; font-size:56px; background:linear-gradient(135deg,#e0e9f5,#c8d8ef); }
.gallery-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(10,22,40,.75),transparent); opacity:0; transition:.3s; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; padding:14px; }
.gallery-overlay p { color:#fff; font-size:14px; font-weight:600; }
.gallery-cat { font-size:11px; color:var(--gold); font-weight:600; text-transform:uppercase; }
.gallery-item:hover .gallery-overlay { opacity:1; }
.lightbox { display:none; position:fixed; inset:0; background:rgba(0,0,0,.9); z-index:3000; align-items:center; justify-content:center; flex-direction:column; }
.lightbox.open { display:flex; }
.lightbox img { max-width:90vw; max-height:85vh; object-fit:contain; border-radius:8px; }
.lightbox p { color:rgba(255,255,255,.7); margin-top:12px; font-size:14px; }
.lb-close { position:absolute; top:20px; right:24px; color:#fff; font-size:28px; cursor:pointer; background:none; border:none; opacity:.7; }
.lb-close:hover { opacity:1; }

/* ── VIDEOS ───────────────────────────────────────────────── */
.video-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:24px; }
.video-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius2); overflow:hidden; }
.video-thumb { position:relative; padding-top:56.25%; background:var(--navy); }
.video-thumb iframe { position:absolute; inset:0; width:100%; height:100%; border:none; }
.video-placeholder { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; background:linear-gradient(135deg,var(--navy),#1a3a6b); }
.play-icon { width:52px; height:52px; background:var(--gold); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--navy); }
.video-placeholder p { color:rgba(255,255,255,.7); font-size:14px; text-align:center; padding:0 16px; }
.video-info { padding:16px; }
.video-cat-badge { font-size:11px; color:var(--blue2); font-weight:600; text-transform:uppercase; letter-spacing:.8px; margin-bottom:6px; display:block; }
.video-info h3 { font-size:17px; margin-bottom:6px; }
.video-info p { font-size:13px; color:var(--gray); }

/* ── DOWNLOADS ────────────────────────────────────────────── */
.downloads-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:14px; }
.download-card { display:flex; align-items:center; gap:14px; background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:16px 18px; transition:.2s; }
.download-card:hover { border-color:var(--blue2); box-shadow:var(--shadow); }
.dl-icon { width:46px; height:46px; background:rgba(26,79,160,.08); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; }
.dl-info { flex:1; }
.dl-info h4 { font-size:15px; font-weight:600; margin-bottom:4px; }
.dl-info p { font-size:13px; color:var(--gray); margin-bottom:4px; }
.dl-type-badge { font-size:11px; background:rgba(26,79,160,.08); color:var(--blue2); font-weight:600; padding:2px 8px; border-radius:10px; }
.dl-count { font-size:11px; color:var(--gray2); margin-left:8px; }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-layout { display:grid; grid-template-columns:1fr 1.3fr; gap:52px; align-items:start; }
.contact-info h2 { font-size:38px; margin-bottom:20px; }
.contact-details { display:flex; flex-direction:column; gap:18px; }
.contact-item { display:flex; gap:14px; align-items:flex-start; }
.ci-icon { width:42px; height:42px; background:rgba(26,79,160,.08); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; margin-top:2px; }
.contact-item h4 { font-size:14px; font-weight:700; margin-bottom:4px; }
.contact-item p, .contact-item a { font-size:14px; color:var(--gray); line-height:1.7; }
.contact-item a:hover { color:var(--blue2); }
.contact-form-box { background:#fff; border:1px solid var(--border); border-radius:var(--radius2); padding:32px; box-shadow:var(--shadow); }
.contact-form-box h3 { font-size:22px; margin-bottom:22px; }

/* ── CART ─────────────────────────────────────────────────── */
.cart-layout { display:grid; grid-template-columns:1fr 360px; gap:28px; align-items:start; }
.cart-items-box { background:#fff; border:1px solid var(--border); border-radius:var(--radius2); overflow:hidden; }
.cart-row { display:flex; align-items:center; gap:14px; padding:16px 20px; border-bottom:1px solid var(--border); }
.cart-row:last-child { border:none; }
.cart-item-img { width:68px; height:68px; border-radius:10px; background:var(--light); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.cart-item-detail { flex:1; }
.cart-item-detail h4 { font-size:15px; font-weight:600; margin-bottom:3px; }
.cart-item-cat { font-size:12px; color:var(--gray2); margin-bottom:4px; }
.cart-item-price { font-size:17px; font-weight:700; color:var(--blue2); font-family:'Rajdhani',sans-serif; }
.cart-qty-ctrl { display:flex; align-items:center; gap:8px; }
.cart-qty-ctrl button { width:28px; height:28px; background:var(--light); border-radius:6px; font-size:16px; font-weight:700; display:flex; align-items:center; justify-content:center; color:var(--text); border:1px solid var(--border); transition:.15s; }
.cart-qty-ctrl button:hover { background:var(--blue2); color:#fff; border-color:var(--blue2); }
.cart-qty-ctrl span { font-size:15px; font-weight:600; min-width:24px; text-align:center; }
.cart-remove-btn { color:var(--gray2); font-size:18px; padding:6px; transition:.15s; }
.cart-remove-btn:hover { color:var(--red); }
.cart-summary-box { background:#fff; border:1px solid var(--border); border-radius:var(--radius2); padding:22px; position:sticky; top:90px; }
.cart-summary-box h3 { font-size:18px; margin-bottom:16px; }
.order-line { display:flex; justify-content:space-between; align-items:center; padding:9px 0; border-bottom:1px solid var(--border); font-size:14px; }
.order-line:last-child { border:none; }
.order-line-sep { border-top:2px solid var(--border); margin-top:6px; }
.order-total { font-size:17px; font-weight:700; color:var(--text); }

/* ── CHECKOUT ─────────────────────────────────────────────── */
.checkout-layout { display:grid; grid-template-columns:1fr 360px; gap:28px; align-items:start; }
.checkout-form-box { background:#fff; border:1px solid var(--border); border-radius:var(--radius2); padding:32px; }
.checkout-form-box h3 { font-size:22px; margin-bottom:22px; }
.order-summary-sticky { background:var(--light); border:1px solid var(--border); border-radius:var(--radius2); padding:22px; position:sticky; top:90px; }
.order-summary-sticky h3 { font-size:18px; margin-bottom:14px; }

/* ── CTA BANNER ───────────────────────────────────────────── */
.cta-banner { background:var(--navy); padding:60px 24px; text-align:center; }
.cta-inner { max-width:640px; margin:0 auto; }
.cta-banner h2 { font-size:36px; color:#fff; margin-bottom:12px; }
.cta-banner p { color:rgba(255,255,255,.7); font-size:16px; margin-bottom:28px; }
.cta-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ── PAGE BANNER ──────────────────────────────────────────── */
.page-banner { background:var(--navy); padding:36px 24px; text-align:center; }
.page-banner-inner { max-width:1240px; margin:0 auto; }
.page-banner h1 { font-size:40px; color:#fff; }
.page-banner p { color:rgba(255,255,255,.65); margin-top:6px; font-size:15px; }
.page-banner p a { color:var(--gold); }

/* ── EMPTY STATE ──────────────────────────────────────────── */
.empty-state { text-align:center; padding:64px 24px; }
.empty-state h3 { font-size:22px; margin-bottom:10px; color:var(--text); }
.empty-state p { color:var(--gray); }

/* ── FOOTER ───────────────────────────────────────────────── */
footer { background:var(--navy); color:rgba(255,255,255,.7); }
.footer-main { max-width:1240px; margin:0 auto; padding:56px 24px 32px; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; }
.footer-brand h3 { font-size:20px; color:#fff; margin-bottom:10px; }
.footer-brand p { font-size:14px; line-height:1.8; margin-bottom:16px; }
.footer-contacts { display:flex; flex-direction:column; gap:7px; }
.fc-item { font-size:13px; display:flex; gap:7px; }
.fc-item a { color:rgba(255,255,255,.7); transition:.15s; }
.fc-item a:hover { color:var(--gold); }
.wa-btn { display:inline-flex; align-items:center; gap:7px; background:#25d366; color:#fff; padding:9px 18px; border-radius:8px; font-size:14px; font-weight:600; margin-top:14px; transition:.2s; }
.wa-btn:hover { background:#1db954; }
.footer-col h4 { font-size:15px; color:#fff; font-weight:700; margin-bottom:14px; }
.footer-col ul li { margin-bottom:7px; }
.footer-col ul li a { font-size:14px; color:rgba(255,255,255,.6); transition:.15s; }
.footer-col ul li a:hover { color:var(--gold); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); max-width:1240px; margin:0 auto; padding:16px 24px; display:flex; justify-content:space-between; align-items:center; font-size:13px; flex-wrap:wrap; gap:8px; }

/* ── WHATSAPP FLOAT ───────────────────────────────────────── */
.wa-float { position:fixed; bottom:90px; right:28px; z-index:800; width:52px; height:52px; background:#25d366; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 16px rgba(37,211,102,.4); transition:.2s; }
.wa-float:hover { transform:scale(1.08); }

/* ── CHATBOT ──────────────────────────────────────────────── */
.chat-fab { position:fixed; bottom:28px; right:28px; z-index:800; width:54px; height:54px; background:var(--blue2); border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 18px rgba(26,79,160,.4); cursor:pointer; transition:.2s; }
.chat-fab:hover { transform:scale(1.08); background:var(--blue); }
.chat-window { display:none; position:fixed; bottom:92px; right:28px; z-index:800; width:340px; background:#fff; border-radius:var(--radius2); box-shadow:0 12px 48px rgba(0,0,0,.18); border:1px solid var(--border); flex-direction:column; overflow:hidden; max-height:520px; }
.chat-window.open { display:flex; }
.chat-header { background:var(--navy); padding:13px 16px; display:flex; align-items:center; gap:10px; }
.chat-avatar { width:36px; height:36px; background:var(--gold); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:17px; flex-shrink:0; }
.chat-header-info strong { color:#fff; font-size:14px; display:block; }
.chat-header-info span { color:rgba(255,255,255,.55); font-size:11px; }
.chat-close-btn { color:rgba(255,255,255,.6); font-size:17px; margin-left:auto; padding:4px; }
.chat-messages { flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:9px; background:#f8fafc; }
.chat-msg { max-width:82%; padding:9px 13px; border-radius:14px; font-size:13.5px; line-height:1.55; }
.chat-msg.bot { background:#fff; border:1px solid var(--border); color:var(--text); align-self:flex-start; border-bottom-left-radius:4px; }
.chat-msg.user { background:var(--blue2); color:#fff; align-self:flex-end; border-bottom-right-radius:4px; }
.chat-quick-btns { padding:8px 10px; display:flex; flex-wrap:wrap; gap:5px; border-top:1px solid var(--border); background:#fff; }
.chat-quick-btns button { font-size:11.5px; border:1.5px solid var(--border); border-radius:14px; padding:4px 11px; color:var(--blue2); font-weight:500; transition:.15s; background:#fff; cursor:pointer; }
.chat-quick-btns button:hover { background:var(--blue2); color:#fff; border-color:var(--blue2); }
.chat-input-row { display:flex; gap:7px; padding:10px 10px; border-top:1px solid var(--border); background:#fff; }
.chat-input-row input { flex:1; padding:8px 11px; border:1.5px solid var(--border); border-radius:8px; font-size:13px; outline:none; }
.chat-input-row input:focus { border-color:var(--blue2); }
.chat-input-row button { background:var(--blue2); color:#fff; width:34px; height:34px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:14px; flex-shrink:0; cursor:pointer; border:none; }

/* ── ENQUIRY MODAL ────────────────────────────────────────── */
.modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:2000; align-items:center; justify-content:center; padding:20px; }
.modal-overlay.open { display:flex; }
.modal-box { background:#fff; border-radius:var(--radius2); padding:32px; width:500px; max-width:100%; max-height:90vh; overflow-y:auto; position:relative; }
.modal-box.modal-lg { width:700px; }
.modal-close { position:absolute; top:14px; right:16px; font-size:20px; color:var(--gray2); padding:5px; }
.modal-close:hover { color:var(--text); }
.modal-box h3 { font-size:22px; margin-bottom:18px; }
.enq-product-label { color:var(--blue2); font-weight:600; margin-bottom:14px; font-size:14px; }
.feedback-msg { padding:10px 14px; border-radius:8px; font-size:14px; margin-top:10px; }
.feedback-msg.success { background:#dcfce7; color:#166534; }
.feedback-msg.error { background:#fee2e2; color:#991b1b; }

/* ── TOAST ────────────────────────────────────────────────── */
.toast { position:fixed; bottom:28px; left:50%; transform:translateX(-50%) translateY(60px); background:var(--navy); color:#fff; padding:11px 22px; border-radius:10px; font-size:14px; font-weight:500; z-index:9999; opacity:0; transition:.3s; pointer-events:none; }
.toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width:1024px) {
  .hero-inner { grid-template-columns:1fr; }
  .hero-cards { display:none; }
  .products-layout { grid-template-columns:1fr; }
  .products-sidebar { display:none; }
  .cart-layout, .checkout-layout { grid-template-columns:1fr; }
  .about-grid { grid-template-columns:1fr; }
  .contact-layout { grid-template-columns:1fr; }
  .footer-main { grid-template-columns:1fr 1fr; }
  .product-detail-layout { grid-template-columns:1fr; }
}
/* ── HEADER ACTIONS (cart + admin + hamburger) ─────────────── */
.header-actions { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.admin-btn { white-space:nowrap; }

@media (max-width:900px) {
  /* Reduce nav font on medium screens */
  nav#main-nav a { font-size:13px; padding:6px 9px; }
}

@media (max-width:768px) {
  /* Header: logo left, actions right, hamburger last */
  .header-inner { padding:0 14px; gap:8px; }

  /* Logo: constrain on mobile */
  .logo { max-width:160px; }
  .logo-img { height:38px; max-width:150px; }
  .logo-name { font-size:16px; }
  .logo-icon { width:34px; height:34px; font-size:16px; }
  .logo-sub { display:none; }

  /* Nav: hidden by default, slides down as overlay */
  nav#main-nav {
    display:none;
    position:absolute;
    top:66px; left:0; right:0;
    background:var(--navy);
    flex-direction:column;
    align-items:flex-start;
    padding:10px 14px 14px;
    gap:2px;
    border-top:1px solid rgba(255,255,255,.12);
    z-index:999;
    box-shadow:0 8px 24px rgba(0,0,0,.3);
  }
  nav#main-nav.open { display:flex; }
  nav#main-nav a { width:100%; padding:10px 12px; font-size:15px; border-radius:8px; }

  /* Actions: always visible, compact */
  .header-actions { gap:6px; }
  .admin-btn { font-size:12px; padding:6px 12px; }
  .cart-btn { padding:6px 10px; }

  /* Hamburger button */
  .mobile-menu-btn { display:flex; }

  /* Hamburger animates to X when open */
  .mobile-menu-btn.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
  .mobile-menu-btn.open span:nth-child(2) { opacity:0; }
  .mobile-menu-btn.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
  .mobile-menu-btn span { transition:.2s; transform-origin:center; }

  .hero-text h1 { font-size:36px; }
  .why-grid { grid-template-columns:1fr 1fr; }
  .footer-main { grid-template-columns:1fr; }
  .section-head h2 { font-size:28px; }
}

/* ================================================================
   CLIENTS & REVIEWS
   ================================================================ */

/* ── CLIENT GRID ───────────────────────────────────────────── */
.clients-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:22px; }

.client-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius2); overflow:hidden; transition:.25s; cursor:pointer; display:flex; flex-direction:column; }
.client-card:hover { box-shadow:var(--shadow2); transform:translateY(-3px); border-color:var(--blue2); }

.client-card-top { padding:18px 18px 0; display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.client-logo-wrap { flex-shrink:0; }
.client-logo { width:68px; height:68px; object-fit:cover; border-radius:10px; border:1px solid var(--border); }
.client-logo-ph { width:68px; height:68px; border-radius:10px; background:linear-gradient(135deg,var(--blue),var(--blue2)); display:flex; align-items:center; justify-content:center; color:#fff; font-size:22px; font-weight:700; font-family:'Rajdhani',sans-serif; }
.client-meta { display:flex; flex-direction:column; gap:5px; align-items:flex-end; }
.client-feat-badge { font-size:10px; background:#dcfce7; color:#166534; font-weight:700; padding:3px 9px; border-radius:20px; white-space:nowrap; }
.client-industry-tag { font-size:11px; background:rgba(26,79,160,.08); color:var(--blue2); font-weight:600; padding:3px 9px; border-radius:20px; white-space:nowrap; }

.client-card-body { padding:14px 18px 16px; flex:1; display:flex; flex-direction:column; }
.client-card-body h3 { font-size:18px; font-family:'Rajdhani',sans-serif; font-weight:700; margin-bottom:5px; color:var(--text); }
.client-location { font-size:12px; color:var(--gray); margin-bottom:7px; }
.client-desc { font-size:13px; color:var(--gray); line-height:1.55; flex:1; margin-bottom:12px; }
.client-card-footer { display:flex; flex-direction:column; gap:6px; }
.client-photos-count { display:flex; justify-content:space-between; align-items:center; font-size:12px; color:var(--gray); }
.view-more-link { color:var(--blue2); font-weight:600; font-size:12px; }

/* ── STARS ─────────────────────────────────────────────────── */
.star-row { display:flex; align-items:center; gap:1px; }
.star { font-size:14px; color:#d1d5db; }
.star.filled { color:#f0a500; }
.review-count-sm { font-size:12px; color:var(--gray); margin-left:4px; }

/* ── INDUSTRY GRID ─────────────────────────────────────────── */
.industry-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:16px; }
.industry-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius2); padding:22px 18px; text-align:center; transition:.2s; }
.industry-card:hover { border-color:var(--blue2); box-shadow:var(--shadow); }
.ind-icon { font-size:32px; display:block; margin-bottom:10px; }
.industry-card h4 { font-size:15px; font-weight:700; margin-bottom:5px; }
.industry-card p { font-size:12px; color:var(--gray); }

/* ── REVIEWS GRID ──────────────────────────────────────────── */
.reviews-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:22px; }

.review-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius2); padding:22px; transition:.2s; }
.review-card:hover { box-shadow:var(--shadow); }

.review-header { display:flex; align-items:flex-start; gap:12px; margin-bottom:14px; }
.reviewer-avatar { width:48px; height:48px; border-radius:50%; flex-shrink:0; overflow:hidden; }
.reviewer-avatar img { width:100%; height:100%; object-fit:cover; }
.avatar-initials { width:48px; height:48px; border-radius:50%; background:linear-gradient(135deg,var(--blue),var(--blue2)); display:flex; align-items:center; justify-content:center; color:#fff; font-size:20px; font-weight:700; }
.reviewer-info { flex:1; }
.reviewer-info h4 { font-size:15px; font-weight:700; margin-bottom:2px; }
.reviewer-desig { font-size:12px; color:var(--gray); margin-bottom:1px; }
.reviewer-company { font-size:12px; color:var(--blue2); font-weight:600; }
.review-rating { display:flex; gap:1px; flex-shrink:0; }
.review-rating .star { font-size:15px; }

.review-body { position:relative; padding-left:20px; }
.review-quote { position:absolute; left:0; top:-4px; font-size:28px; color:var(--blue2); opacity:.2; line-height:1; font-family:serif; }
.review-body p { font-size:14px; color:var(--gray); line-height:1.7; font-style:italic; }

.review-product { margin-top:12px; font-size:12px; color:var(--blue2); background:rgba(26,79,160,.06); padding:4px 10px; border-radius:8px; display:inline-block; font-weight:600; }

/* ── CLIENT MODAL ──────────────────────────────────────────── */
.modal-box.modal-xl { width:820px; max-width:96vw; max-height:90vh; overflow-y:auto; padding:0; }

.client-modal-inner { padding:28px; }

.cm-header { display:grid; grid-template-columns:auto 1fr; gap:22px; align-items:start; margin-bottom:24px; padding-bottom:20px; border-bottom:1px solid var(--border); }
.cm-logo { flex-shrink:0; }
.cm-main-img { width:120px; height:120px; object-fit:cover; border-radius:12px; border:1px solid var(--border); }
.cm-logo-ph { width:120px; height:120px; border-radius:12px; background:linear-gradient(135deg,var(--blue),var(--blue2)); display:flex; align-items:center; justify-content:center; color:#fff; font-size:36px; font-weight:700; font-family:'Rajdhani',sans-serif; }
.cm-badges { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:8px; }
.cm-info h2 { font-size:26px; margin-bottom:8px; }
.cm-contact, .cm-location { font-size:14px; color:var(--gray); margin-bottom:4px; }
.cm-website { color:var(--blue2); font-size:14px; }
.cm-desc { font-size:14px; color:var(--gray); margin-top:10px; line-height:1.7; }

.cm-section { margin-bottom:28px; }
.cm-section-title { font-size:18px; font-family:'Rajdhani',sans-serif; font-weight:700; margin-bottom:16px; color:var(--text); display:flex; align-items:center; gap:8px; }
.cm-section-title::after { content:''; flex:1; height:1px; background:var(--border); }

/* Gallery inside modal */
.cm-gallery { display:flex; flex-direction:column; gap:10px; }
.cm-gallery-main { position:relative; background:var(--light); border-radius:var(--radius2); overflow:hidden; }
.cm-main-img-full { width:100%; height:340px; object-fit:cover; display:block; transition:.3s; }
.cm-img-caption { position:absolute; bottom:0; left:0; right:0; background:rgba(10,22,40,.6); color:#fff; font-size:13px; padding:8px 14px; }

.cm-thumbs-row { display:flex; gap:8px; flex-wrap:wrap; }
.cm-thumb-wrap { width:72px; height:72px; border-radius:8px; overflow:hidden; cursor:pointer; border:2px solid var(--border); transition:.2s; position:relative; flex-shrink:0; }
.cm-thumb-wrap:hover, .cm-thumb-wrap.active { border-color:var(--blue2); }
.cm-thumb-wrap img { width:100%; height:100%; object-fit:cover; }
.thumb-primary-dot { position:absolute; bottom:3px; right:3px; width:8px; height:8px; background:var(--gold); border-radius:50%; border:1px solid #fff; }

/* Reviews inside modal */
.cm-reviews { display:flex; flex-direction:column; gap:16px; }
.cm-review-item { background:var(--light); border-radius:var(--radius); padding:16px; }
.cm-review-top { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.cm-reviewer { display:flex; align-items:center; gap:10px; }
.cm-reviewer-photo { width:40px; height:40px; border-radius:50%; object-fit:cover; border:1px solid var(--border); }
.cm-reviewer-avatar { width:40px; height:40px; border-radius:50%; background:linear-gradient(135deg,var(--blue),var(--blue2)); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; }
.cm-reviewer strong { font-size:14px; }
.cm-stars { display:flex; gap:1px; }
.cm-stars .star { font-size:14px; }
.cm-review-text { font-size:14px; color:var(--gray); line-height:1.7; font-style:italic; margin-bottom:8px; }
.cm-review-date { font-size:11px; color:var(--gray2); }

.cm-footer { display:flex; gap:10px; padding-top:20px; border-top:1px solid var(--border); }

/* ── ADMIN ADDITIONS ───────────────────────────────────────── */
.img-previews-with-captions { display:flex; flex-wrap:wrap; gap:12px; margin-top:10px; }
.img-caption-wrap { display:flex; flex-direction:column; align-items:center; gap:4px; width:110px; }

@media (max-width:768px) {
  .clients-grid { grid-template-columns:1fr; }
  .reviews-grid { grid-template-columns:1fr; }
  .industry-grid { grid-template-columns:repeat(2,1fr); }
  .cm-header { grid-template-columns:1fr; }
  .cm-main-img-full { height:220px; }
}

/* ── HOME CLIENT PILLS ─────────────────────────────────────── */
.home-clients-row { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-bottom:8px; }
.home-client-pill { display:flex; align-items:center; gap:10px; background:#fff; border:1.5px solid var(--border); border-radius:12px; padding:10px 18px; transition:.2s; text-decoration:none; color:var(--text); font-size:14px; font-weight:600; }
.home-client-pill:hover { border-color:var(--blue2); box-shadow:var(--shadow); transform:translateY(-1px); }
.home-client-logo { width:36px; height:36px; object-fit:cover; border-radius:6px; }
.home-client-initials { width:36px; height:36px; border-radius:6px; background:linear-gradient(135deg,var(--blue),var(--blue2)); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:14px; font-family:'Rajdhani',sans-serif; flex-shrink:0; }

/* ── BRAND CARDS (Homepage) ───────────────────────────────── */
.brands-grid-new {
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(220px,1fr));
    gap:14px;
}
.brand-card-new {
    display:flex; align-items:center; gap:14px;
    background:#fff; border:1.5px solid var(--border);
    border-radius:var(--radius2); padding:14px 16px;
    text-decoration:none; color:var(--text);
    transition:.2s; position:relative;
}
.brand-card-new:hover {
    border-color:var(--blue2);
    box-shadow:var(--shadow);
    transform:translateY(-2px);
}
.brand-card-logo {
    width:52px; height:40px; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    background:#f8fafc; border-radius:8px; padding:4px;
    border:1px solid var(--border);
}
.brand-card-logo img {
    max-width:100%; max-height:100%; object-fit:contain;
}
.brand-card-initials {
    width:52px; height:40px; flex-shrink:0;
    background:linear-gradient(135deg,var(--blue),var(--blue2));
    border-radius:8px; display:flex; align-items:center;
    justify-content:center; color:#fff;
    font-family:'Rajdhani',sans-serif; font-weight:700; font-size:16px;
}
.brand-card-info {
    flex:1; display:flex; flex-direction:column; gap:2px;
    min-width:0;
}
.brand-card-name {
    font-family:'Rajdhani',sans-serif; font-size:17px;
    font-weight:700; color:var(--text); line-height:1.2;
}
.brand-card-cat {
    font-size:11px; color:var(--blue2); font-weight:600;
    text-transform:uppercase; letter-spacing:.5px;
}
.brand-card-desc {
    font-size:12px; color:var(--gray); line-height:1.4;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.brand-card-arrow {
    font-size:16px; color:var(--blue2); flex-shrink:0;
    opacity:0; transition:.2s;
}
.brand-card-new:hover .brand-card-arrow { opacity:1; }

@media(max-width:600px) {
    .brands-grid-new { grid-template-columns:1fr 1fr; }
}
