/* =====================================================================
   Apsara - Global Stylesheet
   Palette: dark blue / primary blue / light blue / white
   Font: Roboto
   ===================================================================== */

:root {
  --dark-blue: #0B3D62;
  --primary-blue: #1E6FA8;
  --light-blue: #DCEEFB;
  --accent-blue: #4FA8E0;
  --white: #FFFFFF;
  --off-white: #F7FAFD;
  --text: #12324a;
  --muted: #5c7387;
  --border: #d6e6f5;
  --shadow-sm: 0 2px 8px rgba(11, 61, 98, .07);
  --shadow-md: 0 8px 24px rgba(11, 61, 98, .12);
  --shadow-lg: 0 16px 40px rgba(11, 61, 98, .18);
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1200px;
  --transition: .25s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Prevent stray elements from forcing horizontal scroll on small screens */
img, video, iframe, table { max-width: 100%; }

h1, h2, h3, h4 { color: var(--dark-blue); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--primary-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--dark-blue); }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.bg-light { background: var(--light-blue); }
.bg-white { background: var(--white); }
.bg-dark { background: var(--dark-blue); color: #cfe4f5; }
.text-center { text-align: center; }
.muted { color: var(--muted); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.section-head .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 2px;
  font-size: .78rem; font-weight: 600; color: var(--primary-blue);
  background: var(--light-blue); padding: 6px 14px; border-radius: 40px; margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: .95rem; line-height: 1;
  padding: 13px 24px; border-radius: 40px; border: 2px solid transparent;
  transition: all var(--transition); text-align: center; white-space: nowrap;
}
.btn-primary { background: var(--primary-blue); color: #fff; }
.btn-primary:hover { background: var(--dark-blue); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--dark-blue); color: #fff; }
.btn-dark:hover { background: #072a45; color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary-blue); border-color: var(--primary-blue); }
.btn-outline:hover { background: var(--primary-blue); color: #fff; }
.btn-light { background: #fff; color: var(--dark-blue); }
.btn-light:hover { background: var(--light-blue); color: var(--dark-blue); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark-blue); color: #cfe4f5; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; padding-bottom: 7px; gap: 12px 20px; flex-wrap: wrap; }
.topbar a { color: #cfe4f5; }
.topbar a:hover { color: #fff; }

/* Social icons (left) */
.topbar-left { display: flex; align-items: center; gap: 8px; }
.topbar-left .social-ic { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.10); color: #fff; transition: background var(--transition), transform var(--transition); }
.topbar-left .social-ic:hover { background: var(--accent-blue); transform: translateY(-1px); }

/* Contact info + catalog (right) */
.topbar-right { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; justify-content: flex-end; }
.topbar-right .tb-item { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; white-space: nowrap; }
.topbar-right .tb-item span { font-size: .82rem; }
.topbar-right .tb-item .tb-ic { display: inline-flex; align-items: center; }
.topbar-right .tb-item .tb-ic svg { display: block; }
.topbar-right .tb-item .tb-ic--wa { color: #25D366; }
.topbar-right .tb-catalog { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-blue); color: #fff; font-weight: 600; padding: 6px 14px; border-radius: 40px; white-space: nowrap; transition: background var(--transition), transform var(--transition); }
.topbar-right .tb-catalog:hover { background: #fff; color: var(--dark-blue); transform: translateY(-1px); }

/* ---------- Navbar ---------- */
.navbar { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 116px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.4rem; color: var(--dark-blue); }
.brand img { height: 104px; width: auto; display: block; object-fit: contain; image-rendering: -webkit-optimize-contrast; }
.brand .brand-mark { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.brand small { display: block; font-size: .62rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* Nav sits on the right, next to the actions */
.navbar nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a { display: block; padding: 10px 14px; font-weight: 500; color: var(--text); border-radius: 8px; }
.nav-links > li > a:hover, .nav-links > li.active > a { color: var(--primary-blue); background: var(--light-blue); }
/* Enquiry item with count badge */
.nav-enquiry > a { position: relative; display: inline-flex; align-items: center; gap: 7px; }
.nav-enquiry .enquiry-ico { font-size: 1.05rem; line-height: 1; }
.nav-enquiry .cart-count { position: absolute; top: -2px; right: -4px; background: var(--dark-blue); color: #fff; font-size: .68rem; min-width: 18px; height: 18px; border-radius: 20px; display: grid; place-items: center; padding: 0 5px; }

/* Mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(10px);
  background: #fff; box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 20px;
  width: min(680px, 90vw); display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  opacity: 0; visibility: hidden; transition: all var(--transition); border: 1px solid var(--border);
}
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--text); font-size: .92rem; }
.mega a:hover { background: var(--light-blue); color: var(--dark-blue); }
.mega a .ico { font-size: 1.15rem; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 40px; background: var(--light-blue); color: var(--dark-blue); font-weight: 600; }
.cart-btn:hover { background: var(--accent-blue); color: #fff; }
.cart-count { position: absolute; top: -6px; right: -6px; background: var(--dark-blue); color: #fff; font-size: .7rem; min-width: 20px; height: 20px; border-radius: 20px; display: grid; place-items: center; padding: 0 5px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark-blue); margin: 5px 0; transition: var(--transition); }

/* Header search bar */
.header-search { position: relative; }
.header-search-form { display: flex; align-items: center; background: var(--light-blue, #eef5fb); border: 1.5px solid var(--border); border-radius: 40px; overflow: hidden; transition: border-color var(--transition), box-shadow var(--transition); }
.header-search-form:focus-within { border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); background: #fff; }
.header-search-form input { border: none; background: transparent; padding: 9px 6px 9px 16px; width: 190px; font-family: inherit; font-size: .92rem; color: var(--text); outline: none; }
.header-search-form .hs-btn { display: grid; place-items: center; border: none; background: transparent; color: var(--dark-blue); cursor: pointer; padding: 0 12px; height: 40px; }
.header-search-form .hs-btn:hover { color: var(--accent-blue); }
.header-search .autocomplete { top: calc(100% + 8px); left: auto; right: 0; width: 300px; }
.header-search-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--dark-blue); }

/* Quick call / WhatsApp icon buttons in the navbar (mobile) */
.nav-ic { display: none; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; transition: transform var(--transition), box-shadow var(--transition); }
.nav-ic svg { display: block; }
.nav-ic:hover { transform: translateY(-1px); color: #fff; }
.nav-ic--call { background: var(--primary-blue); }
.nav-ic--wa { background: #25D366; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero .swiper { width: 100%; }
.hero-slide { position: relative; min-height: 560px; display: flex; align-items: center; background-size: cover; background-position: center; }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,61,98,.9) 0%, rgba(11,61,98,.55) 60%, rgba(11,61,98,.25) 100%); }
.hero-content { position: relative; color: #fff; max-width: 620px; padding: 40px 0; margin: 0 auto; text-align: center; }
.hero-content h1 { color: #fff; margin-bottom: 16px; }
.hero-content p { font-size: 1.15rem; color: #dcecf8; margin-bottom: 28px; }
.hero .swiper-button-next, .hero .swiper-button-prev { color: #fff; }
.hero .swiper-pagination-bullet-active { background: #fff; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-blue); }

/* Product card */
.product-card { display: flex; flex-direction: column; }
.product-card .thumb { aspect-ratio: 4 / 3; background: var(--light-blue); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card .cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .6px; color: var(--accent-blue); font-weight: 600; }
.product-card h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.product-card h3 a { color: var(--dark-blue); }
.product-card p { font-size: .88rem; color: var(--muted); flex: 1; }
.product-card .actions { display: flex; gap: 8px; margin-top: 14px; }
.badge-featured { position: absolute; top: 12px; left: 12px; background: var(--dark-blue); color: #fff; font-size: .7rem; font-weight: 600; padding: 5px 10px; border-radius: 30px; letter-spacing: .5px; }
.product-card .thumb { position: relative; }

/* Category card */
.cat-card { text-align: center; padding: 30px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--dark-blue); }
.cat-card:hover h3, .cat-card:hover p { color: #fff; }
.cat-card .ico { font-size: 2.6rem; margin-bottom: 12px; }
.cat-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.cat-card p { font-size: .82rem; color: var(--muted); margin: 0; }

/* Feature / why-choose card */
.feature { padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); transition: all var(--transition); height: 100%; }
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--light-blue); color: var(--primary-blue); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 16px; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Offer chips */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.offer-item { display: flex; align-items: center; gap: 14px; background: #fff; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-weight: 500; transition: var(--transition); }
.offer-item:hover { border-color: var(--accent-blue); box-shadow: var(--shadow-sm); }
.offer-item .ico { font-size: 1.8rem; }

/* Clients */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.client-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; text-align: center; transition: var(--transition); }
.client-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: var(--accent-blue); }
.client-item .name { font-weight: 700; color: var(--dark-blue); }
.client-item .loc { font-size: .85rem; color: var(--muted); }

/* Testimonials */
.testimonial { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.testimonial .quote { font-size: 2.4rem; color: var(--accent-blue); line-height: 1; }
.testimonial p { font-style: italic; color: var(--text); }
.testimonial .who { font-weight: 700; color: var(--dark-blue); margin-top: 12px; }
.testimonial .who small { display: block; font-weight: 400; color: var(--muted); font-style: normal; }
.testimonial p { flex: 1; }

/* ---------- Stats bar (under hero, zero gap) ---------- */
.stats-bar { background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue)); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item { text-align: center; padding: 30px 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; }
.stat-item + .stat-item::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255,255,255,.22); }
.stat-item .stat-ico { font-size: 1.8rem; margin-bottom: 2px; }
.stat-item .stat-value { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; color: #fff; line-height: 1; }
.stat-item .stat-label { font-size: .95rem; color: #dcecf8; font-weight: 500; letter-spacing: .3px; }

/* ---------- Section head variants ---------- */
.section-head--banner { max-width: none; margin-bottom: 0; }
.section-head--banner h2 {
  display: inline-block; background: var(--light-blue); color: var(--dark-blue);
  padding: 12px 34px; border-radius: 40px; margin: 0 0 28px;
  box-shadow: var(--shadow-sm);
}
.section-head--sm { margin-bottom: 28px; }
.section-head--sm h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

/* ---------- Why Choose Us (text left, image right) ---------- */
.why-choose { padding: 34px 0; }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.why-text .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 2px;
  font-size: .78rem; font-weight: 600; color: var(--primary-blue);
  background: var(--light-blue); padding: 6px 14px; border-radius: 40px; margin-bottom: 10px;
}
.why-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.why-list li { display: flex; align-items: center; gap: 16px; font-size: 1.3rem; font-weight: 600; color: var(--dark-blue); }
.why-list .ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue)); color: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow-sm); }

.why-media { position: relative; }
.why-media img, .why-media--fallback {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: 20px; box-shadow: var(--shadow-lg); display: block;
}
.why-media--fallback { background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue)); display: grid; place-items: center; }
.why-media--fallback span { font-size: 5rem; }
/* Decorative accent behind the image */
.why-media::before {
  content: ''; position: absolute; right: -18px; bottom: -18px; width: 62%; height: 62%;
  background: var(--light-blue); border-radius: 20px; z-index: -1;
}

/* ---------- Horizontal product / testimonial sliders ---------- */
.products-swiper, .testimonials-swiper { position: relative; padding: 6px 0 8px; }
/* Reveal must not hide slider items (Swiper clones bypass the observer) */
.products-swiper [data-reveal], .testimonials-swiper [data-reveal] { opacity: 1; transform: none; }
.products-swiper .swiper-slide, .testimonials-swiper .swiper-slide { height: auto; display: flex; }
.products-swiper .swiper-slide > .product-card { width: 100%; }
.testimonials-swiper .swiper-slide > .testimonial { width: 100%; display: flex; flex-direction: column; }
.products-swiper .swiper-button-next, .products-swiper .swiper-button-prev,
.testimonials-swiper .swiper-button-next, .testimonials-swiper .swiper-button-prev {
  color: #fff; background: var(--primary-blue); width: 40px; height: 40px; border-radius: 50%;
  box-shadow: var(--shadow-md); transition: background var(--transition);
}
.products-swiper .swiper-button-next:hover, .products-swiper .swiper-button-prev:hover,
.testimonials-swiper .swiper-button-next:hover, .testimonials-swiper .swiper-button-prev:hover { background: var(--dark-blue); }
.products-swiper .swiper-button-next::after, .products-swiper .swiper-button-prev::after,
.testimonials-swiper .swiper-button-next::after, .testimonials-swiper .swiper-button-prev::after { font-size: 1.05rem; font-weight: 700; }

/* ---------- Our Clients (auto-scrolling marquee) ---------- */
.clients-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  display: inline-block; background: #DCEEFB; color: var(--dark-blue);
  padding: 12px 34px; border-radius: 40px; box-shadow: var(--shadow-sm);
}
.clients-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.clients-track { display: flex; gap: 22px; width: max-content; animation: clients-scroll 45s linear infinite; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
@keyframes clients-scroll { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .clients-track { animation: none; } }

.clients-track .client-item {
  flex: 0 0 auto; width: 230px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 22px; text-align: center; transition: var(--transition);
}
.clients-track .client-item:hover { box-shadow: var(--shadow-sm); border-color: var(--accent-blue); }
.client-item .client-logo { width: 100%; height: 84px; object-fit: contain; margin-bottom: 14px; }
.client-item .client-logo--fallback { display: grid; place-items: center; background: var(--light-blue); color: var(--primary-blue); font-size: 2rem; font-weight: 800; border-radius: var(--radius-sm); }
.client-item .name { font-weight: 700; color: var(--dark-blue); }
.client-item .loc { font-size: .85rem; color: var(--muted); margin-top: 2px; }

/* Marquee */
.marquee { overflow: hidden; }
.marquee-track { display: flex; gap: 40px; animation: marquee 28s linear infinite; white-space: nowrap; }
.marquee-track span { font-weight: 600; color: var(--dark-blue); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Setup Showcase (Kitchen Solutions By Setup Type) ---------- */
.setup-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.setup-card {
  position: relative; display: block; min-height: 460px; overflow: hidden;
  color: #fff;
}
.setup-card .setup-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .4s ease;
}
.setup-card .setup-bg--fallback { background-image: linear-gradient(160deg, var(--primary-blue), var(--dark-blue)); }
.setup-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,61,98,.82) 0%, rgba(11,61,98,.45) 38%, rgba(11,61,98,.05) 70%, rgba(11,61,98,0) 100%);
  transition: background .4s ease;
}
.setup-card:hover .setup-bg { transform: scale(1.05); }
.setup-card:hover::after {
  background: linear-gradient(to top, rgba(9,47,76,.92) 0%, rgba(11,61,98,.6) 42%, rgba(11,61,98,.15) 72%, rgba(11,61,98,.05) 100%);
}
.setup-card .setup-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 28px 24px; display: flex; flex-direction: column; gap: 10px;
}
.setup-card .setup-title {
  color: #fff; font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 1.5rem;
  line-height: 1.2; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.setup-card .setup-cta {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .88rem;
  color: var(--light-blue); transform: translateY(6px); opacity: 0; transition: all .35s ease;
}
.setup-card:hover .setup-cta { transform: none; opacity: 1; }

/* ---------- Size / measurement picker ---------- */
.size-picker { margin: 18px 0 4px; max-width: 340px; }
.size-picker label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--dark-blue); }
.size-tag { display: inline-block; background: var(--light-blue); color: var(--dark-blue); font-weight: 600; font-size: .78rem; padding: 2px 10px; border-radius: 30px; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue)); color: #fff; border-radius: 18px; padding: 48px; text-align: center; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #d8ebf9; max-width: 560px; margin: 0 auto 24px; }

/* ---------- Contact: map + form ---------- */
.contact-map { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); height: 380px; }
.contact-map iframe, .contact-map > * { width: 100%; height: 100%; border: 0; display: block; }
.contact-map--empty { display: grid; place-items: center; text-align: center; background: var(--light-blue); color: var(--dark-blue); font-weight: 600; padding: 30px; }
.contact-map--empty span { line-height: 1.7; }
.form-card.contact-form { max-width: 100%; margin: 40px 0 0; background: var(--light-blue); border-color: #bfdcf4; }
@media (max-width: 768px) { .contact-map { height: 300px; } .form-card.contact-form { margin-top: 28px; padding: 24px 18px; } }

/* ---------- About: portrait video (aligned to right / Our Mission border) ---------- */
.about-video {
  position: relative; width: 100%; max-width: 360px; margin: 0 0 0 auto;
  aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: #000;
}
.about-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 768px) { .about-video { margin: 0 auto; } }

/* ---------- About: intro copy on one line (wide screens) ---------- */
.about-header-lead { max-width: none; }
.about-lead h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); }
@media (min-width: 1100px) {
  .about-header-lead { white-space: nowrap; }
  .about-intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .about-lead h2 { white-space: nowrap; font-size: 1.5rem; }
}

/* ---------- About: Vision & Mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.vm-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 36px 32px; box-shadow: var(--shadow-sm); overflow: hidden;
  border-top: 4px solid var(--primary-blue);
}
.vm-card--vision { border-top-color: var(--accent-blue); }
.vm-card--mission { border-top-color: var(--primary-blue); }
.vm-card .vm-ico {
  display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue)); color: #fff;
  font-size: 1.7rem; margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.vm-card h2 { font-size: 1.5rem; margin-bottom: 12px; }
.vm-card p { color: var(--muted); margin: 0; }
.vm-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.vm-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: .96rem; }
.vm-list .tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--light-blue);
  color: var(--primary-blue); display: grid; place-items: center; font-size: .8rem; font-weight: 700; margin-top: 1px;
}
@media (max-width: 768px) { .vm-grid { grid-template-columns: 1fr; } }

/* ---------- Page header ---------- */
.page-header { background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue)); color: #fff; padding: 60px 0; }
.page-header h1 { color: #fff; margin-bottom: 8px; }
.breadcrumb { font-size: .88rem; color: #cfe4f5; }
.breadcrumb a { color: #cfe4f5; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--dark-blue); }
.form-control {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; background: #fff; color: var(--text); transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(79,168,224,.18); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.required { color: #d9534f; }

/* Alerts */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .92rem; border: 1px solid transparent; }
.alert-success { background: #e6f6ec; border-color: #b7e3c6; color: #1f7a45; }
.alert-error { background: #fdecec; border-color: #f5c2c2; color: #b23a3a; }
.alert-info { background: var(--light-blue); border-color: #b9dcf6; color: var(--dark-blue); }

/* ---------- Product listing layout ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: sticky; top: 90px; }
.filters h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 12px; }
.filter-list { list-style: none; margin: 0 0 22px; padding: 0; }
.filter-list li { margin-bottom: 4px; }
.filter-list a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); font-size: .9rem; }
.filter-list a:hover, .filter-list a.active { background: var(--light-blue); color: var(--dark-blue); font-weight: 600; }

/* Mobile filter bar (two dropdowns: category left, business right) */
.mobile-filter-bar { display: none; gap: 12px; margin-bottom: 18px; }
.mobile-filter-bar .mf-field { flex: 1 1 0; min-width: 0; }
.mobile-filter-bar label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.mobile-filter-bar select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .9rem; background: #fff; color: var(--text); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c7387' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.mobile-filter-bar select:focus { outline: none; border-color: var(--accent-blue); }

.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
.search-box { position: relative; flex: 1; max-width: 420px; }
.search-box input { width: 100%; padding: 12px 16px 12px 42px; border: 1.5px solid var(--border); border-radius: 40px; font-family: inherit; }
.search-box input:focus { outline: none; border-color: var(--accent-blue); }
.search-box .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.autocomplete { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); z-index: 50; overflow: hidden; display: none; }
.autocomplete a { display: flex; gap: 10px; align-items: center; padding: 10px 14px; color: var(--text); font-size: .9rem; }
.autocomplete a:hover { background: var(--light-blue); }
.autocomplete img { width: 34px; height: 34px; object-fit: cover; border-radius: 6px; }

/* ---------- Single product ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.gallery-main { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--light-blue); aspect-ratio: 4/3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs img { width: 74px; height: 74px; object-fit: cover; border-radius: 8px; border: 2px solid var(--border); cursor: pointer; }
.gallery-thumbs img.active { border-color: var(--accent-blue); }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border: 1px solid var(--border); font-size: .92rem; }
.spec-table th { background: var(--light-blue); color: var(--dark-blue); width: 40%; }
.qty-selector { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: 40px; overflow: hidden; }
.qty-selector button { border: none; background: var(--light-blue); width: 40px; height: 42px; font-size: 1.2rem; cursor: pointer; color: var(--dark-blue); }
.qty-selector input { width: 54px; text-align: center; border: none; font-family: inherit; font-size: 1rem; }
.qty-selector input:focus { outline: none; }

.tabs { border-bottom: 2px solid var(--border); display: flex; gap: 6px; margin-bottom: 20px; }
.tabs button { border: none; background: none; padding: 12px 18px; font-family: inherit; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs button.active { color: var(--primary-blue); border-color: var(--primary-blue); }

/* ---------- Cart ---------- */
.cart-row { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.cart-row img { width: 90px; height: 74px; object-fit: cover; border-radius: 8px; }
.cart-row .name { font-weight: 600; color: var(--dark-blue); }
.cart-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cart-actions-left { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Checkout ---------- */
.checkout-grid { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(7,26,42,.92); display: none; align-items: center; justify-content: center; z-index: 3000; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }
.lightbox .close { position: absolute; top: 20px; right: 26px; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; }

/* ---------- Footer ---------- */
.footer { background: var(--dark-blue); color: #b9d3e8; padding: 60px 0 0; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer a { color: #b9d3e8; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; font-size: .92rem; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand small { color: #7fa8c8; }
.footer .brand img { width: 160px; height: 160px; background: #fff; padding: 14px; border-radius: 22px; object-fit: contain; }
/* Admin-sized footer logo: height set inline, width auto so the full logo shows (never cropped) */
.footer .brand img.footer-brand-logo { max-width: 100%; background: #fff; padding: 1%; border-radius: 50%; object-fit: contain; }



.footer p { font-size: .92rem; }
/* Get In Touch: real icon badges (match header call/WhatsApp buttons) */
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .fc-ic { flex: 0 0 auto; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.10); color: #fff; }
.footer-contact .fc-ic svg { display: block; }
.footer-contact .fc-ic--wa { background: #25D366; }
.footer-contact .fc-ic--call { background: var(--primary-blue); }
.footer-social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); margin-right: 8px; margin-top: 8px; }
.footer-social a:hover { background: var(--accent-blue); }
.footer-map { margin-top: 16px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); height: 150px; }
.footer-map iframe, .footer-map > * { width: 100%; height: 100%; border: 0; display: block; }
.footer-map--link { display: grid; place-items: center; background: rgba(255,255,255,.08); color: #dcecf8; font-weight: 600; font-size: .9rem; text-align: center; }
.footer-map--link:hover { background: var(--accent-blue); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding: 20px 0; text-align: center; font-size: .85rem; color: #7fa8c8; }

/* ---------- Floating buttons ---------- */
.whatsapp-float { position: fixed; right: 22px; bottom: 90px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); z-index: 900; font-size: 1.6rem; transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Mobile bottom nav ---------- */
.mobile-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); z-index: 950; justify-content: space-around; padding: 8px 0; box-shadow: 0 -4px 16px rgba(11,61,98,.08); }
.mobile-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; color: var(--muted); position: relative; }
.mobile-nav a.active { color: var(--primary-blue); }
.mobile-nav .ico { font-size: 1.2rem; }
.mobile-nav .ico svg { display: block; }
.mobile-nav .mn-wa { color: #128C4B; }
.mobile-nav .cart-count { top: -4px; right: 8px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--border); background: #fff; color: var(--text); font-weight: 500; }
.pagination a:hover { background: var(--light-blue); }
.pagination .current { background: var(--primary-blue); color: #fff; border-color: var(--primary-blue); }

/* ---------- Content prose ---------- */
.prose { max-width: 820px; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

/* ---------- AOS-lite (CSS reveal) ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.flex { display: flex; } .items-center { align-items: center; } .gap-2 { gap: 1rem; }
.hide { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .setup-showcase { grid-template-columns: repeat(2, 1fr); }
  .setup-card { min-height: 360px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .mobile-filter-bar { display: flex; }
  .product-detail { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 52px 0; }
  /* Mobile dropdown anchored to the bottom of the navbar (topbar-safe) */
  .navbar nav { margin-left: 0; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; box-shadow: var(--shadow-md); border-top: 1px solid var(--border); max-height: 78vh; overflow-y: auto; z-index: 1001; transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform var(--transition), opacity var(--transition), visibility var(--transition); }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links > li > a { padding: 14px 12px; border-bottom: 1px solid var(--border); }
  /* Product mega menu: clean single-column list showing every category */
  .has-mega > a { display: flex; align-items: center; justify-content: space-between; }
  .has-mega .mega,
  .has-mega:hover .mega {
    position: static; left: auto; transform: none; width: 100%; opacity: 1; visibility: visible;
    box-shadow: none; border: none; grid-template-columns: 1fr; gap: 0;
    padding: 4px 0 6px; margin: 2px 0 6px; display: none;
    background: var(--off-white); border-radius: 10px;
  }
  .has-mega.open-mega .mega { display: grid; }
  .has-mega .mega a {
    padding: 13px 16px; border-radius: 0; font-size: .95rem; color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .has-mega .mega a:last-child { border-bottom: none; }
  .has-mega .mega a:hover, .has-mega .mega a:active { background: var(--light-blue); color: var(--dark-blue); }
  .has-mega .mega a .ico { font-size: 1.1rem; width: 22px; text-align: center; }
  .nav-toggle { display: block; }
  .nav-ic { display: inline-grid; width: 40px; height: 40px; }

  /* Header search collapses to an icon that opens a dropdown panel */
  .header-search-toggle { display: inline-grid; place-items: center; }
  .header-search { position: static; }
  .header-search .header-search-form { display: none; }
  .header-search.open .header-search-form {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; z-index: 1002;
    border-radius: 0; padding: 8px 16px; background: #fff; border: none;
    border-top: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  .header-search.open .header-search-form input { width: 100%; flex: 1; }
  .header-search .autocomplete { left: 12px; right: 12px; width: auto; }

  /* Topbar: tidy, stacked layout on mobile */
  .topbar { font-size: .82rem; }
  .topbar .container { flex-direction: column; gap: 9px; padding-top: 10px; padding-bottom: 10px; }
  .topbar-left { width: 100%; justify-content: center; gap: 16px; }
  .topbar-right {
    width: 100%; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
    border-top: 1px solid rgba(255,255,255,.12); padding-top: 9px;
  }
  .topbar-right .tb-item { font-size: .82rem; }
  .topbar-right .tb-catalog {
    flex: 0 0 100%; max-width: 240px; margin: 3px auto 0;
    justify-content: center; padding: 9px 16px;
  }
  .mobile-nav { display: flex; }
  body { padding-bottom: 64px; }
  .whatsapp-float { bottom: 78px; }
  .form-row { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 34px; }
  .stat-item { padding: 22px 10px; }
  .cta-banner { padding: 32px 22px; }
  .cart-row {
    grid-template-columns: 64px 1fr auto;
    grid-template-areas:
      "img info info"
      "img qty  remove";
    column-gap: 12px;
    row-gap: 12px;
  }
  .cart-row > img { grid-area: img; width: 64px; align-self: start; }
  .cart-row > div:first-of-type { grid-area: info; min-width: 0; }
  .cart-row .qty-selector { grid-area: qty; justify-self: start; }
  .cart-row > button { grid-area: remove; justify-self: end; }
  .cart-actions-left { width: 100%; }
  .cart-actions-left .btn { flex: 1 1 auto; justify-content: center; }
  .cart-actions .btn-primary { width: 100%; justify-content: center; }
}

@media (max-width: 600px) {
  .setup-showcase { grid-template-columns: 1fr; }
  .setup-card { min-height: 300px; }
}

@media (max-width: 480px) {
  .grid-4, .grid-3, .offer-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-slide { min-height: 460px; }
}

/* =====================================================================
   Extra mobile refinements (About, Products, Product detail, Contact)
   ===================================================================== */
@media (max-width: 768px) {
  /* Slimmer page headers on phones */
  .page-header { padding: 40px 0; }
  .page-header h1 { font-size: clamp(1.6rem, 6.5vw, 2.1rem); }
  .page-header p { font-size: .95rem; }

  /* Product detail: tighter, tabs never overflow */
  .product-detail { gap: 26px; }
  .gallery-thumbs img { width: 60px; height: 60px; }
  .tabs { flex-wrap: wrap; gap: 4px; border-bottom: none; }
  .tabs button { padding: 10px 14px; font-size: .9rem; border: 1px solid var(--border); border-radius: 40px; }
  .tabs button.active { border-color: var(--primary-blue); background: var(--light-blue); }

  /* Cards / banners breathe less on small screens */
  .section-head { margin-bottom: 26px; }
  .cta-banner h2 { font-size: 1.45rem; }
  .vm-card { padding: 26px 22px; }
  .feature { padding: 22px; }

  /* About intro spacing */
  .about-intro-grid { gap: 28px !important; }
  .about-lead h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); }

  /* Footer stacks with comfortable spacing */
  .footer { padding: 44px 0 0; }
  .footer-grid { gap: 28px; }
}

@media (max-width: 560px) {
  .section { padding: 44px 0; }
  /* One product per row for readable cards on phones */
  .grid-3 { grid-template-columns: 1fr; }
  /* Buttons comfortable to tap */
  .btn { padding: 12px 20px; }
  .cta-banner { padding: 28px 18px; }
}

.btn-quote { background: #1E6FA8; color: #0B3D62; }
.btn-quote:hover { background: #1E6FA8; color: #0B3D62; }


/* ---- Product share menu ---- */
.share-wrap { position: relative; display: inline-block; margin-top: 12px; }
.share-toggle { display: inline-flex; align-items: center; gap: 8px; }
.share-menu {
  position: absolute; bottom: calc(100% + 10px); left: 0; z-index: 60; min-width: 210px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); padding: 6px; display: none; flex-direction: column; gap: 2px;
}
.share-wrap.open .share-menu { display: flex; }
.share-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 8px; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: .92rem; color: var(--text); transition: background var(--transition);
}
.share-item:hover { background: var(--light-blue); }
.share-item svg { flex: 0 0 auto; }
.share-fb   { color: #1877F2; }
.share-x    { color: #000; }
.share-wa   { color: #25D366; }
.share-mail { color: #1E6FA8; }
.share-ig   { color: #E4405F; }
.share-copy { color: var(--muted); }
.share-item span { color: var(--text); }
@media (max-width: 480px) {
  .share-menu { left: 50%; transform: translateX(-50%); }
}
