/* ============================================================
   TMT ElectroFix Engineering — Stylesheet
   Brand: Navy (#1b3a6b) + Orange (#f7941d)
   ============================================================ */

:root {
  --navy: #1b3a6b;
  --navy-dark: #12294a;
  --navy-light: #2a4a7f;
  --orange: #f7941d;
  --orange-dark: #e07f0e;
  --bg: #f5f8fd;
  --white: #ffffff;
  --text: #22314e;
  --muted: #5b6b8c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 41, 74, 0.12);
  --shadow-lg: 0 18px 45px rgba(18, 41, 74, 0.22);
  --font: 'Hind Siliguri', 'Poppins', 'Segoe UI', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
img { max-width: 100%; }

.accent { color: var(--navy); }
.accent-orange { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem; border-radius: 999px; border: none;
  font-family: var(--font); font-weight: 600; font-size: .95rem;
  cursor: pointer; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(247,148,29,.4); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-call { background: var(--navy); color: #fff; }
.btn-call:hover { background: var(--navy-dark); }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-dark); color: #cdd9ee; font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .35rem 0; }
.topbar-item { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: inherit; }
.topbar-phone { color: #ffd27a; font-weight: 600; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18,41,74,.08); transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 6px 25px rgba(18,41,74,.15); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.nav-logo img { height: 46px; width: auto; display: block; }
.nav-menu { display: flex; align-items: center; gap: 1.4rem; }
.nav-link { text-decoration: none; color: var(--navy); font-weight: 500; font-size: .92rem; position: relative; padding: .3rem .1rem; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 3px; width: 0; background: var(--orange); border-radius: 3px; transition: width .25s; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { padding: .55rem 1.2rem; font-size: .85rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { width: 24px; height: 3px; background: var(--navy); border-radius: 3px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #eef4ff 55%, #fff4e2 100%);
  padding: 3rem 0 5rem;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2.5rem; }
.hero-badge {
  display: inline-block; background: rgba(247,148,29,.15); color: var(--orange-dark);
  border: 1px solid rgba(247,148,29,.4); padding: .35rem .9rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.18; font-weight: 800; color: var(--navy-dark); }
.hero-sub { margin: 1.1rem 0 1.6rem; color: var(--muted); font-size: 1.02rem; max-width: 34rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 1.6rem; list-style: none; margin-top: 1.6rem; flex-wrap: wrap; }
.hero-trust li { color: var(--muted); font-size: .85rem; }
.hero-trust strong { display: block; color: var(--navy); font-size: 1.15rem; }

.hero-visual { display: flex; justify-content: center; }
.hero-logo-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 2rem; max-width: 340px; animation: float 5s ease-in-out infinite;
  border: 1px solid rgba(18,41,74,.08);
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; height: 60px; background: var(--bg); clip-path: ellipse(75% 100% at 50% 100%); }

/* ---------- Section heads ---------- */
.section { padding: 4.5rem 0; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-tag { display: inline-block; color: var(--orange-dark); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .4rem; }
.section-head h2, .about-text h2, .contact-info h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); color: var(--navy-dark); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: .4rem; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem 1.3rem;
  box-shadow: var(--shadow); border: 1px solid rgba(18,41,74,.06);
  transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden;
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--navy)); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-icon { font-size: 2rem; margin-bottom: .6rem; }
.service-card h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: .35rem; }
.service-card p { font-size: .85rem; color: var(--muted); }

/* ---------- About ---------- */
.about { background: var(--navy-dark); color: #dbe6f7; }
.about .section-tag { color: var(--orange); }
.about-text h2 { color: #fff; }
.about-text h2 .accent { color: #ffd27a; }
.about-text p { color: #b9c9e4; margin: 1rem 0 1.2rem; }
.about-points { list-style: none; display: grid; gap: .6rem; }
.about-points li { display: flex; align-items: center; gap: .6rem; font-size: .93rem; }
.check { color: var(--orange); font-weight: 800; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.info-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.2rem; }
.info-icon { font-size: 1.6rem; margin-bottom: .4rem; }
.info-card h3 { font-size: .95rem; color: #fff; margin-bottom: .25rem; }
.info-card p { font-size: .8rem; color: #a9bcdf; }

/* ---------- Brands ---------- */
.brands { padding: 1.6rem 0; background: #fff; border-bottom: 1px solid rgba(18,41,74,.08); overflow: hidden; }
.brands-track { display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap; font-weight: 700; color: #9aa9c7; font-size: 1.1rem; letter-spacing: .05em; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-info p { color: var(--muted); margin: .5rem 0 1.4rem; }
.contact-call {
  display: flex; align-items: center; gap: 1rem; text-decoration: none;
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 1rem 1.3rem; margin-bottom: 1.5rem; transition: transform .2s, box-shadow .2s; box-shadow: var(--shadow);
}
.contact-call:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-call-icon { font-size: 1.8rem; }
.contact-call small { display: block; font-size: .75rem; opacity: .85; letter-spacing: .08em; text-transform: uppercase; }
.contact-call strong { font-size: 1.6rem; color: #ffd27a; letter-spacing: .03em; }
.branches { display: grid; gap: .8rem; }
.branch { background: #fff; border: 1px solid rgba(18,41,74,.08); border-left: 4px solid var(--orange); padding: .8rem 1rem; border-radius: 10px; box-shadow: var(--shadow); }
.branch h4 { font-size: .85rem; color: var(--navy); display: flex; align-items: center; gap: .35rem; }
.branch p { font-size: .87rem; color: var(--muted); margin: .2rem 0 0; }

/* ---------- Quote form ---------- */
.quote-form { background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(18,41,74,.08); display: grid; gap: .8rem; }
.quote-form h3 { color: var(--navy); font-size: 1.25rem; }
.quote-form label { display: grid; gap: .3rem; font-size: .83rem; font-weight: 600; color: var(--navy); }
.quote-form input, .quote-form select, .quote-form textarea {
  font-family: var(--font); font-size: .93rem; padding: .65rem .75rem;
  border: 1.5px solid #dbe4f2; border-radius: 10px; outline: none; transition: border .2s, box-shadow .2s; background: #fbfcff;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,148,29,.25); }
.quote-form input:invalid:not(:placeholder-shown), .quote-form select:invalid:not(:placeholder-shown) { border-color: #e05a5a; }
.form-note { font-size: .85rem; min-height: 1.2em; margin: 0; }
.form-note.ok { color: #1a8a3a; font-weight: 600; }
.form-note.err { color: #c0392b; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: #b9c9e4; text-align: center; padding: 2.5rem 0 1.5rem; }
.footer-logo { height: 90px; margin-inline: auto; }
.footer-tag { color: var(--orange); font-weight: 600; font-size: .8rem; letter-spacing: .06em; margin: .4rem 0 1rem; text-transform: uppercase; }
.footer-links { display: flex; gap: 1.4rem; justify-content: center; margin-bottom: .8rem; }
.footer-links a { color: #fff; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--orange); }
.footer-phone { color: #ffd27a; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.footer-copy { margin-top: 1.2rem; font-size: .78rem; opacity: .75; }

/* ---------- Floating call ---------- */
.floating-call {
  position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--orange); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; text-decoration: none; box-shadow: 0 8px 22px rgba(247,148,29,.55);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(247,148,29,.5); } 70% { box-shadow: 0 0 0 18px rgba(247,148,29,0); } 100% { box-shadow: 0 0 0 0 rgba(247,148,29,0); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-logo-card { max-width: 220px; padding: 1.2rem; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .topbar-item:first-child { display: none; }
  .topbar-inner { justify-content: center; }

  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 1.25rem 1.25rem; box-shadow: 0 18px 30px rgba(18,41,74,.18); border-bottom: 1px solid rgba(18,41,74,.1);
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: .7rem .2rem; border-bottom: 1px solid #eef1f8; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: .8rem; }
}

/* ---------- Footer social icons ---------- */
.footer-social { display: flex; gap: .9rem; justify-content: center; align-items: center; margin: 1rem 0 .4rem; }
.footer-social a, .footer-social .social-pending {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-dark); transform: translateY(-3px); }
.footer-social .social-pending { opacity: .45; cursor: default; }

/* ---------- Customer Feedback ---------- */
.feedback { background: linear-gradient(180deg, var(--bg) 0%, #eef3fc 100%); }
.feedback-inner { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: 2rem; align-items: start; }

.rating-field { display: grid; gap: .3rem; }
.rating-label { font-size: .83rem; font-weight: 600; color: var(--navy); }
.star-input { display: flex; gap: .3rem; }
.star-input button {
  background: none; border: none; cursor: pointer; font-size: 1.9rem; line-height: 1;
  color: #d3dbea; transition: transform .15s, color .15s; padding: .1rem;
}
.star-input button:hover { transform: scale(1.2); }
.star-input button.lit { color: var(--orange); text-shadow: 0 2px 6px rgba(247,148,29,.4); }
.star-input button:focus-visible { outline: 2px solid var(--orange); border-radius: 4px; }

.feedback-summary { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(18,41,74,.06); padding: 1rem 1.4rem; margin-bottom: 1rem; }
.avg-rating { display: flex; align-items: center; gap: 1rem; }
.avg-number { font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1; }
.avg-stars { color: var(--orange); font-size: 1.4rem; letter-spacing: .1em; display: block; }
.avg-count { color: var(--muted); font-size: .85rem; }

.feedback-list { display: grid; gap: 1rem; max-height: 520px; overflow-y: auto; padding-right: .25rem; }
.feedback-card {
  background: #fff; border-radius: var(--radius); padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow); border: 1px solid rgba(18,41,74,.06); border-left: 4px solid var(--orange);
  animation: fbFadeIn .35s ease;
}
@keyframes fbFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.feedback-card-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .4rem; }
.fb-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 42px;
  background: var(--navy); color: #ffd27a; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; text-transform: uppercase;
}
.fb-name { font-weight: 700; color: var(--navy); font-size: .92rem; }
.fb-service { font-size: .72rem; color: var(--muted); }
.fb-stars { color: var(--orange); font-size: .85rem; letter-spacing: .08em; margin-left: auto; white-space: nowrap; }
.fb-text { font-size: .9rem; color: var(--text); }
.fb-date { font-size: .72rem; color: #9aa9c7; margin-top: .35rem; }
.feedback-empty { color: var(--muted); text-align: center; padding: 2rem 1rem; background: #fff; border-radius: var(--radius); border: 1px dashed #cdd9ee; }

@media (max-width: 900px) {
  .feedback-inner { grid-template-columns: 1fr; }
  .feedback-list { max-height: none; }
}

/* ---------- Why Choose Us (light style with image & stats) ---------- */
.why { background: linear-gradient(160deg, #e3f0ff 0%, #d4e7fd 60%, #cfe3fb 100%); }
.why-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: center; }
.why-img img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 50px rgba(18,41,74,.3); display: block; }
.why-tag { color: #4a6a93; font-weight: 600; font-size: .85rem; letter-spacing: .05em; }
.why-title { font-size: clamp(1.5rem, 3vw, 2.1rem); color: #22314e; font-weight: 800; margin: .5rem 0 1.3rem; line-height: 1.35; }
.why-points { list-style: none; display: grid; gap: .9rem; margin-bottom: 1.6rem; }
.why-points li { display: flex; align-items: center; gap: .75rem; font-size: 1rem; color: #22314e; font-weight: 500; }
.why-check {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  background: #e7f7ec; color: #1a8a3a; font-size: .85rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(26,138,58,.25);
}
.why-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat-card {
  background: #fff; border-radius: 14px; padding: 1.1rem .8rem; text-align: center;
  box-shadow: 0 10px 25px rgba(18,41,74,.12); border: 1px solid rgba(18,41,74,.05);
  transition: transform .25s, box-shadow .25s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(18,41,74,.2); }
.stat-number { display: block; font-size: 1.7rem; font-weight: 800; color: var(--navy); font-family: 'Poppins', var(--font); }
.stat-label { display: block; font-size: .8rem; color: #4a5f82; margin-top: .25rem; border-top: 2px solid var(--orange); padding-top: .35rem; }

@media (max-width: 900px) {
  .why-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .why-img img { max-height: 380px; }
}

/* ---------- Services: image cards (shop style) ---------- */
.services-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card { padding: 0; text-align: center; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.service-card::before { display: none; }
.service-img-wrap { overflow: hidden; height: 190px; flex: 0 0 190px; }
.service-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.service-card:hover .service-img { transform: scale(1.06); }
.service-body { padding: 1.1rem 1rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; align-items: center; flex: 1; }
.service-body h3 { font-size: 1.02rem; color: var(--navy-dark); margin: 0; }
.service-rating { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; justify-content: center; }
.service-rating strong { color: #22314e; }
.service-stars { color: var(--orange); letter-spacing: .06em; }
.service-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #0f8fd6; color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem;
  padding: .55rem 2rem; border-radius: 10px; margin-top: auto; transition: background .2s, transform .2s;
}
.service-btn:hover { background: #0b72ad; transform: translateY(-2px); }
.service-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Services: 2 per row + expandable details ---------- */
.services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; max-width: 1000px; margin-inline: auto; }
.service-toggle { border: none; cursor: pointer; font-family: var(--font); font-size: .92rem; }
.service-details {
  text-align: left; border-top: 1px solid #e6ecf7; padding-top: .6rem;
  font-size: .85rem; color: var(--muted); display: grid; gap: .35rem; width: 100%;
}
.service-details[hidden] { display: none; }
.service-call-line a { color: var(--navy); font-weight: 700; text-decoration: none; }
@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* ---------- Service detail page ---------- */
.svc-hero { background: linear-gradient(150deg, #eef4ff 0%, #dcebfb 100%); padding: 2.5rem 0; }
.svc-hero-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: center; }
.svc-hero-img img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.svc-hero-text h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--navy-dark); font-weight: 800; margin: .3rem 0 .5rem; }
.svc-rating { display: flex; align-items: center; gap: .5rem; color: #22314e; font-size: .95rem; margin-bottom: .8rem; }
.svc-reviews { color: var(--muted); }
.svc-text { color: var(--muted); margin-bottom: 1.2rem; max-width: 38rem; }

.svc-includes { background: #fff; }
.includes-heading { text-align: center; font-size: clamp(1.4rem, 3vw, 2rem); color: #22314e; font-weight: 800; margin-bottom: 2rem; }
.includes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2.5rem; }
.include-group h3 { color: #0f8fd6; font-size: 1.08rem; font-weight: 700; margin-bottom: .55rem; }
.include-num { color: #0f8fd6; margin-right: .25rem; }
.include-group ul { list-style: none; display: grid; gap: .45rem; }
.include-group li { display: flex; align-items: flex-start; gap: .55rem; font-size: .93rem; color: #2c3a58; }
.star-bullet { color: var(--orange); font-size: 1rem; line-height: 1.3; }

.special-note {
  margin: 2.2rem auto 0; max-width: 780px; text-align: center;
  background: #d9edf8; border: 1px solid #b9dcee; border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}
.special-note h3 { color: #22314e; font-size: 1.15rem; margin-bottom: .35rem; }
.special-note p { color: #3c5173; font-size: .95rem; }

.svc-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }
.btn-big { padding: .95rem 2rem; font-size: 1rem; }

@media (max-width: 900px) {
  .svc-hero-inner { grid-template-columns: 1fr; }
  .svc-hero-img img { height: 220px; }
  .includes-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* ---------- Navbar wordmark (text instead of logo image) ---------- */
.nav-wordmark { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; }
.nav-name { font-family: 'Poppins', var(--font); font-weight: 800; font-size: 1.28rem; color: var(--navy); letter-spacing: -.01em; white-space: nowrap; }
.nav-fix { color: var(--orange); }
.nav-tagline { font-size: .58rem; color: var(--navy-light); letter-spacing: .04em; margin-top: .15rem; white-space: nowrap; }
@media (max-width: 480px) {
  .nav-name { font-size: 1.02rem; }
  .nav-tagline { font-size: .46rem; }
}

/* ---------- FAQ accordion ---------- */
.faq { background: #fff; }
.faq-list { max-width: 980px; margin-inline: auto; display: grid; gap: 1rem; }
.faq-item { background: #fbfcff; border: 1.5px solid #e6ecf7; border-radius: 12px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item:hover { border-color: #cddcf0; box-shadow: 0 6px 18px rgba(18,41,74,.08); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 1.02rem; font-weight: 700; color: var(--navy-dark);
  padding: 1.2rem 1.4rem;
}
.faq-question:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.faq-chevron { flex: 0 0 auto; color: var(--navy); transition: transform .3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: .95rem; border-top: 1px solid #eef1f8; padding-top: .9rem; }

/* ---------- Quote banner with typewriter animation ---------- */
.quote-banner {
  background-image: linear-gradient(rgba(8, 22, 44, 0.78), rgba(8, 22, 44, 0.78)), url('../assets/tmt-team-cctv.png');
  background-size: cover; background-position: center 25%;
  padding: 4rem 1.25rem; text-align: center;
}
.quote-banner-inner { max-width: 1000px; margin-inline: auto; }
.quote-banner-tag { color: var(--orange); font-weight: 600; letter-spacing: .12em; font-size: .8rem; text-transform: uppercase; margin-bottom: 1rem; }
.quote-banner-text {
  color: #fff; font-size: clamp(1.3rem, 4vw, 2.3rem); font-weight: 800;
  line-height: 1.45; min-height: 2.6em; display: flex; align-items: center; justify-content: center; gap: .15em;
  text-shadow: 0 3px 18px rgba(0,0,0,.45);
}
.typewriter-caret { display: inline-block; width: 3px; height: 1.1em; background: var(--orange); animation: caretBlink 1s steps(1) infinite; vertical-align: -0.15em; }
@keyframes caretBlink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.quote-banner-btn { margin-top: 1.6rem; }
@media (prefers-reduced-motion: reduce) {
  .typewriter-caret { animation: none; }
}

/* ---------- Products ---------- */
.products { background: #fff; }
.products-head { position: relative; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.3rem; }
.product-card {
  background: var(--bg); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(18,41,74,.08); box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-img-wrap { height: 170px; overflow: hidden; background: #eef1f8; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: .85rem .95rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-title { font-size: .95rem; font-weight: 700; color: var(--navy-dark); line-height: 1.35; }
.product-desc { font-size: .78rem; color: var(--muted); }
.product-price { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-top: auto; }
.product-price small { font-size: .75rem; color: var(--muted); font-weight: 500; }
.product-order { display: inline-flex; align-items: center; justify-content: center; background: #0f8fd6; color: #fff; text-decoration: none; border-radius: 10px; padding: .5rem; font-weight: 600; font-size: .88rem; margin-top: .3rem; transition: background .2s; }
.product-order:hover { background: #0b72ad; }
.product-delete {
  position: absolute; top: .5rem; right: .5rem; width: 30px; height: 30px; border-radius: 50%;
  border: none; cursor: pointer; background: rgba(192,57,43,.92); color: #fff; font-size: .85rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s;
}
.product-card:hover .product-delete, .product-card:focus-within .product-delete { opacity: 1; }
.products-empty { text-align: center; color: var(--muted); padding: 2rem; border: 1.5px dashed #cdd9ee; border-radius: var(--radius); grid-column: 1 / -1; }

/* ---------- Admin modal ---------- */
.admin-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.admin-modal[hidden] { display: none; }
.admin-modal-backdrop { position: absolute; inset: 0; background: rgba(8,22,44,.6); backdrop-filter: blur(3px); }
.admin-modal-box {
  position: relative; background: #fff; border-radius: var(--radius); width: min(480px, 100%);
  max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg); padding: 1.4rem 1.5rem 1.6rem;
}
.admin-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.admin-modal-head h3 { color: var(--navy); font-size: 1.15rem; }
.admin-close { background: #f0f3fa; border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1rem; color: var(--navy); }
.admin-form { display: grid; gap: .7rem; }
.admin-form label { display: grid; gap: .3rem; font-size: .83rem; font-weight: 600; color: var(--navy); }
.admin-form input { font-family: var(--font); font-size: .93rem; padding: .6rem .7rem; border: 1.5px solid #dbe4f2; border-radius: 10px; outline: none; background: #fbfcff; }
.admin-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,148,29,.25); }
.admin-photo-label input { padding: .45rem; background: #fff; }
.admin-preview img { max-height: 140px; border-radius: 10px; border: 1px solid #e6ecf7; display: block; margin-inline: auto; }

@media (max-width: 700px) {
    .products-head { display: flex; flex-direction: column; align-items: center; }
}

/* ---------- Product card link & detail page ---------- */
.product-card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
.product-detail-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: center; }
.product-detail-img img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.product-detail-price { font-size: 2.2rem; font-weight: 800; color: var(--navy); font-family: 'Poppins', var(--font); margin: .3rem 0 .8rem; }
.product-detail-price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.product-detail-points { margin-bottom: 1.4rem; }
.product-detail-points li { color: var(--text); }
.product-detail-points .check { color: #1a8a3a; }
@media (max-width: 900px) {
  .product-detail-inner { grid-template-columns: 1fr; }
  .product-detail-img img { height: 240px; }
}

/* ---------- Order modal / totals ---------- */
.order-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; align-items: end; }
.order-total-label output { display: block; font-family: 'Poppins', var(--font); font-size: 1.3rem; font-weight: 800; color: var(--navy); padding: .45rem .1rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  background: #1a8a3a; color: #fff; padding: .7rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: .92rem; box-shadow: 0 10px 30px rgba(0,0,0,.3); z-index: 400;
}

/* ---------- Orders (admin) page ---------- */
.orders-pin-box { max-width: 420px; margin: 0 auto; display: grid; gap: .7rem; background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border: 1px solid rgba(18,41,74,.08); }
.orders-pin-box label { font-size: .9rem; font-weight: 600; color: var(--navy); }
.orders-pin-box input { font-family: var(--font); font-size: 1rem; padding: .65rem .75rem; border: 1.5px solid #dbe4f2; border-radius: 10px; outline: none; }
.orders-pin-box input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,148,29,.25); }
.orders-summary { display: flex; gap: 1rem; align-items: stretch; flex-wrap: wrap; margin-bottom: 1.2rem; }
.orders-stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(18,41,74,.08); padding: .9rem 1.4rem; text-align: center; }
.orders-stat strong { display: block; font-size: 1.5rem; color: var(--navy); font-family: 'Poppins', var(--font); }
.orders-stat span { font-size: .75rem; color: var(--muted); }
.orders-table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(18,41,74,.08); }
.orders-table { width: 100%; border-collapse: collapse; font-size: .87rem; min-width: 760px; }
.orders-table th, .orders-table td { padding: .65rem .8rem; text-align: left; border-bottom: 1px solid #eef1f8; }
.orders-table th { background: var(--navy); color: #fff; font-size: .8rem; letter-spacing: .03em; }
.orders-table tbody tr:hover { background: #f5f9ff; }
.orders-table a { color: var(--navy); font-weight: 600; text-decoration: none; }
.orders-empty { padding: 1.6rem; text-align: center; color: var(--muted); }


/* ---------- Order success notification popup ---------- */
.order-success { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.order-success[hidden] { display: none; }
.order-success-backdrop { position: absolute; inset: 0; background: rgba(8,22,44,.62); backdrop-filter: blur(3px); animation: fbFadeIn .25s ease; }
.order-success-box {
  position: relative; background: #fff; border-radius: 20px; width: min(430px, 100%);
  text-align: center; padding: 2rem 1.8rem 1.8rem; box-shadow: 0 25px 70px rgba(8,22,44,.45);
  animation: successPop .4s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes successPop { from { opacity: 0; transform: scale(.6) translateY(30px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.order-success-icon { display: flex; justify-content: center; margin-bottom: .8rem; }
.success-circle { stroke: #1a8a3a; stroke-width: 3.2; stroke-dasharray: 160; stroke-dashoffset: 160; animation: drawCircle .6s .1s forwards ease-out; }
.success-check { stroke: #1a8a3a; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawCircle .45s .55s forwards ease-out; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
.order-success-box h3 { color: var(--navy-dark); font-size: 1.35rem; margin-bottom: .35rem; }
.order-success-text { color: var(--muted); font-size: .95rem; }
.order-success-id { margin: .7rem 0; font-size: 1rem; color: var(--navy); background: #eef4ff; border-radius: 10px; padding: .5rem .8rem; display: inline-block; }
.order-success-sub { color: var(--muted); font-size: .85rem; margin-bottom: 1.1rem; }
@media (prefers-reduced-motion: reduce) {
  .order-success-box { animation: none; }
  .success-circle, .success-check { stroke-dashoffset: 0; animation: none; }
}

/* ============================================================
   Animations
   ============================================================ */

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .6s ease, transform .65s cubic-bezier(.2,.75,.3,1); transition-delay: var(--d, 0s); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ---------- Hero entrance ---------- */
@keyframes heroUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge { animation: heroUp .55s .05s both; }
.hero h1 { animation: heroUp .6s .18s both; }
.hero-sub { animation: heroUp .6s .32s both; }
.hero-actions { animation: heroUp .6s .46s both; }
.hero-trust { animation: heroUp .6s .58s both; }
.hero-logo-card { animation: heroUp .7s .25s both, float 5s 1s ease-in-out infinite; }

/* ---------- Brands marquee ---------- */
.brands { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands-track {
  justify-content: flex-start; flex-wrap: nowrap; width: max-content;
  animation: brandsMarquee 22s linear infinite;
}
.brands-track:hover { animation-play-state: paused; }
@keyframes brandsMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Button sheen sweep on hover ---------- */
.btn-primary, .service-btn, .product-order, .product-order:hover { position: relative; overflow: hidden; }
.btn-primary::after, .service-btn::after, .product-order::after {
  content: ''; position: absolute; top: -20%; left: -80%; width: 45%; height: 140%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .6s ease; pointer-events: none;
}
.btn-primary:hover::after, .service-btn:hover::after, .product-order:hover::after { left: 130%; }

/* ---------- Section tag pulse dot ---------- */
@keyframes tagPulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
.section-tag { animation: tagPulse 2.6s ease-in-out infinite; }

/* ---------- Floating call gentle heartbeat ---------- */
@keyframes heartbeat { 0%,100% { transform: scale(1); } 25% { transform: scale(1.14); } 40% { transform: scale(.96); } 60% { transform: scale(1.09); } }
.floating-call:hover { animation: heartbeat .9s ease-in-out; }

/* ---------- FAQ chevron spin (already rotate on open); add answer fade ---------- */
.faq-item.open .faq-answer p { animation: fbFadeIn .4s ease; }

/* ---------- Reduced motion support ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-badge, .hero h1, .hero-sub, .hero-actions, .hero-trust, .hero-logo-card { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  .brands-track { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
  .btn-primary::after, .service-btn::after, .product-order::after { display: none; }
  .section-tag { animation: none !important; }
}
.brand-dot { color: var(--orange); align-self: center; }
.brands-track { align-items: center; }

/* ---------- Work gallery (auto slideshow) ---------- */
.work-gallery { background: linear-gradient(180deg, var(--bg) 0%, #eef3fc 100%); }
.wg-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(18,41,74,.1);
  height: clamp(300px, 52vw, 480px); background: #0e1c33;
}
.wg-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity .55s ease, transform 1.15s ease; pointer-events: none; }
.wg-slide.active { opacity: 1; transform: scale(1); pointer-events: auto; }
.wg-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wg-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: .8rem 1.2rem; color: #fff; font-size: .95rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(6,17,33,.82));
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.wg-dots { position: absolute; right: 1rem; bottom: .9rem; z-index: 6; display: flex; gap: .45rem; }
.wg-dot {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.45); transition: transform .25s, background .25s;
}
.wg-dot.active, .wg-dot:hover { background: var(--orange); transform: scale(1.35); }
.wg-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- Work collage — images shuffle places every second ---------- */
.wc-collage {
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: .85rem; height: clamp(340px, 52vw, 490px);
}
.wc-cell {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(18,41,74,.22); border: 1px solid rgba(18,41,74,.1);
  background: #0e1c33;
}
.wc-cell.big { grid-row: span 2; }
.wc-cell img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.wc-cell.moving img { transition: transform .55s cubic-bezier(.2,.8,.3,1); }
.wc-hint { text-align: center; color: var(--muted); font-size: .8rem; margin-top: .7rem; }

@media (max-width: 700px) {
  .wc-collage { grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr 1fr 1fr; height: auto; }
  .wc-cell { height: 180px; }
  .wc-cell.big { grid-row: auto; grid-column: span 2; height: 240px; }
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--orange), #ffc65c, var(--orange));
  background-size: 200% 100%; animation: progressShine 2.5s linear infinite;
  z-index: 500; box-shadow: 0 0 12px rgba(247,148,29,.6); transition: width .1s linear;
}
@keyframes progressShine { from { background-position: 0% 0; } to { background-position: 200% 0; } }

/* ---------- Animated gradient accent text ---------- */
.accent, .accent-orange, .why-title .accent-orange, .nav-fix {
  background: linear-gradient(90deg, var(--orange), #ffb84d, var(--orange-dark), var(--orange));
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradientFlow 4s ease-in-out infinite;
}
.accent { background-image: linear-gradient(90deg, var(--navy), #2f5a96, #1b3a6b, var(--navy)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
@keyframes gradientFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ---------- Card hover glow ---------- */
.service-card, .product-card, .feedback-card { transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover, .product-card:hover { box-shadow: 0 0 0 3px rgba(247,148,29,.45), 0 22px 50px rgba(18,41,74,.3); }
.feedback-card:hover { box-shadow: 0 0 0 3px rgba(15,143,214,.3), var(--shadow-lg); }

/* ---------- Back to top button ---------- */
.back-to-top {
  position: fixed; bottom: 5.6rem; right: 1.55rem; z-index: 250;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: var(--navy); color: #ffd27a; font-size: 1.5rem; cursor: pointer;
  opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s; box-shadow: 0 8px 22px rgba(8,22,44,.4);
}
.back-to-top.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-to-top:hover { background: var(--navy-dark); }
.back-to-top:focus-visible { outline: 3px solid var(--orange); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { animation: none; }
  .accent, .accent-orange, .why-title .accent-orange, .nav-fix { animation: none; }
}

/* ---------- Interactive logo card (click to change colors) ---------- */
button.hero-logo-card {
  cursor: pointer; border: 1px solid rgba(18,41,74,.1); font: inherit;
  background: linear-gradient(160deg, #ffffff, #fdf6ec);
  transition: background .6s ease, transform .3s, box-shadow .3s;
}
button.hero-logo-card:hover { transform: translateY(-4px) scale(1.02); }
button.hero-logo-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.hero-logo-card img { transition: filter .6s ease; display: block; margin-inline: auto; }
.logo-hint { text-align: center; margin-top: .6rem; font-size: .72rem; color: var(--muted); letter-spacing: .03em; }

/* ---------- Logo badge: color inside the logo, glow outside ---------- */
.hero-logo-card img { mix-blend-mode: multiply; }
button.hero-logo-card {
  border: none; border-radius: 28px; padding: 1.6rem;
  box-shadow: 0 0 0 2px rgba(255,255,255,.6), 0 0 55px 8px rgba(247,148,29,.55), 0 20px 45px rgba(18,41,74,.35);
}

/* Logo image stays untouched — only the card background changes */
.hero-logo-card img { mix-blend-mode: normal; border-radius: 18px; }

/* Logo card — plain (no color cycling) */
.hero-logo-card { background: #ffffff !important; box-shadow: var(--shadow-lg) !important; border: 1px solid rgba(18,41,74,.08) !important; border-radius: var(--radius) !important; padding: 2rem !important; cursor: default !important; }

/* ============================================================
   Responsive pass 2 — full coverage (phones, tablets, small laptops)
   ============================================================ */

/* Prevent any stray horizontal scroll without breaking sticky navbar */
html, body { overflow-x: clip; }

/* Mobile nav: cap height & make scrollable if it ever overflows */
@media (max-width: 900px) {
  .nav-menu { max-height: calc(100vh - 68px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
}

/* Tablet (<=1024px) */
@media (max-width: 1024px) {
  .container { width: min(1100px, 100% - 2rem); }
  .hero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
  .why-inner { gap: 2rem; }
  .why-stats { gap: .8rem; }
  .stat-number { font-size: 1.5rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* Small phones (<=640px) */
@media (max-width: 640px) {
  .section { padding: 3rem 0; }
  .nav-inner { height: 60px; }
  .nav-menu { top: 60px; }
  .topbar { font-size: .72rem; }

  .hero { padding: 2rem 0 4rem; }
  .hero-badge { font-size: .66rem; padding: .3rem .7rem; }
  .hero-sub { font-size: .9rem; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }
  .hero-trust { gap: 1rem; }
  .hero-trust li { font-size: .78rem; }
  .hero-trust strong { font-size: 1rem; }

  .section-head h2, .why-title, .about-text h2, .contact-info h2 { font-size: 1.45rem; }
  .services-grid, .products-grid { gap: 1rem; }
  .service-img-wrap { height: 150px; flex-basis: 150px; }
  .product-img-wrap { height: 140px; }

  .contact-call strong { font-size: 1.25rem; }
  .contact-call-icon { font-size: 1.4rem; }
  .quote-form, .feedback-form { padding: 1.2rem; }

  .orders-summary { flex-direction: column; }
  .orders-summary .btn { width: 100%; }
  .orders-pin-box { padding: 1.2rem; }

  .footer-links { flex-wrap: wrap; gap: .6rem 1rem; }
  .footer-logo { height: 70px; }
  .footer-social a, .footer-social .social-pending { width: 40px; height: 40px; }

  .svc-hero { padding: 1.8rem 0; }
  .svc-hero-img img { height: 190px; }
  .quote-banner { padding: 3rem 1rem; }
  .quote-banner-text { min-height: 3em; font-size: 1.2rem; }

  .back-to-top { right: 1rem; bottom: 5.2rem; width: 46px; height: 46px; font-size: 1.25rem; }
  .floating-call { width: 54px; height: 54px; right: 1rem; bottom: 1.1rem; }
}

/* Very small phones (<=380px) */
@media (max-width: 380px) {
  .nav-name { font-size: .92rem; }
  .nav-tagline { display: none; }
  .hero h1 { font-size: 1.45rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .why-stats { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .stat-card { padding: .8rem .4rem; }
  .stat-number { font-size: 1.3rem; }
  .stat-label { font-size: .68rem; }
  .wc-collage { grid-template-rows: auto 1fr 1fr; }
  .wc-cell { height: 130px; }
  .wc-cell.big { height: 170px; }
}

/* ============================================================
   Admin panel
   ============================================================ */
.admin-tabs { display: flex; gap: .5rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.admin-tab {
  border: 1.5px solid #dbe4f2; background: #fff; color: var(--navy);
  padding: .55rem 1.1rem; border-radius: 999px; font-family: var(--font); font-weight: 600;
  font-size: .9rem; cursor: pointer; transition: all .25s;
}
.admin-tab:hover { border-color: var(--orange); color: var(--orange-dark); }
.admin-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(18,41,74,.3); }

.admin-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .8rem; margin-bottom: 1.4rem; }
.admin-stat { background: #fff; border-radius: var(--radius); border: 1px solid rgba(18,41,74,.08); box-shadow: var(--shadow); padding: .9rem .6rem; text-align: center; }
.admin-stat-num { display: block; font-size: 1.45rem; font-weight: 800; color: var(--navy); font-family: 'Poppins', var(--font); }
.admin-stat.warn .admin-stat-num { color: var(--orange-dark); }
.admin-stat-label { font-size: .72rem; color: var(--muted); }

.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start; }
.admin-card { background: #fff; border-radius: var(--radius); border: 1px solid rgba(18,41,74,.08); box-shadow: var(--shadow); padding: 1.3rem; }
.admin-card h3 { color: var(--navy); font-size: 1.02rem; margin-bottom: .7rem; }

.admin-top-list, .admin-recent-list { list-style: none; display: grid; gap: .45rem; }
.admin-top-list li, .admin-recent-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: .8rem;
  padding: .5rem .7rem; background: var(--bg); border-radius: 10px; font-size: .85rem;
}
.admin-recent-list li { flex-direction: column; gap: .1rem; }
.admin-recent-list em { font-style: normal; color: var(--muted); font-size: .72rem; }
.admin-empty-row { color: var(--muted); text-align: center; padding: 1rem; background: transparent; }

.admin-product-list { list-style: none; display: grid; gap: .5rem; max-height: 520px; overflow-y: auto; }
.admin-product-item { display: flex; align-items: center; gap: .7rem; padding: .45rem .5rem; background: var(--bg); border-radius: 12px; position: relative; }
.admin-product-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex: 0 0 56px; }
.admin-product-info { display: flex; flex-direction: column; min-width: 0; }
.admin-product-info strong { font-size: .85rem; color: var(--navy-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-product-info em { font-style: normal; color: var(--muted); font-size: .78rem; }
.admin-product-delete { position: static; opacity: 1; width: 28px; height: 28px; margin-left: auto; background: #e05a5a; }

.order-status { font-family: var(--font); font-size: .8rem; padding: .25rem .3rem; border: 1px solid #dbe4f2; border-radius: 6px; }

@media (max-width: 900px) {
  .admin-two-col { grid-template-columns: 1fr; }
}

/* ---------- Work video (autoplay) ---------- */
.work-video { background: linear-gradient(180deg, #eef3fc 0%, var(--bg) 100%); }
.wv-frame {
  position: relative; max-width: 980px; margin-inline: auto;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(18,41,74,.12); background: #0e1c33;
}
.wv-player { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.wv-badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 5;
  background: rgba(192, 40, 40, .92); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; padding: .3rem .75rem; border-radius: 999px;
  display: flex; align-items: center; gap: .35rem;
  animation: wvPulse 1.4s ease-in-out infinite; backdrop-filter: blur(2px);
}
@keyframes wvPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.94); } }


/* ---------- Feedback: boxed layout ---------- */
.feedback-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); max-height: none; padding-right: 0; }
.feedback-card { height: 100%; }
.feedback-summary { margin-top: .2rem; margin-bottom: 0; padding: .75rem 1.2rem; }
.avg-rating { justify-content: center; }
.avg-summary-text { display: flex; align-items: center; gap: 1.1rem; }
.avg-summary-text > div { display: grid; gap: .1rem; }
.avg-number { font-size: 2rem; }

/* ---------- Feedback: form on top, cards below ---------- */
.feedback-inner { grid-template-columns: 1fr; justify-items: center; }
.feedback-form { width: min(560px, 100%); }
.feedback-list-wrap { width: 100%; }

/* ---------- Product permalink row ---------- */
.pd-action-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.pd-action-row .btn { flex: 1 1 auto; }
.pd-link { margin-top: .6rem; font-size: .75rem; color: var(--muted); word-break: break-all; }
.pd-link span { background: #eef2fa; padding: .25rem .5rem; border-radius: 6px; font-family: 'Poppins', monospace; font-size: .72rem; color: var(--navy); }
@media (max-width: 640px) { .pd-action-row { flex-direction: column; } }

/* ---------- Admin: service edit page ---------- */
.service-edit-card { max-width: 860px; margin-inline: auto; }
.service-edit-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .2rem; }
.service-edit-head h2 { color: var(--navy); font-size: 1.35rem; }
.btn-small { padding: .45rem 1rem; font-size: .8rem; }
.service-edit-divider { border: none; border-top: 1px dashed #dbe4f2; margin: .4rem 0 .2rem; }
.service-edit-sub { color: var(--navy); font-size: 1.05rem; }
.service-edit-hint { font-size: .82rem; color: var(--muted); margin-bottom: .5rem; }

.group-block { background: var(--bg); border: 1.5px solid #e2e9f6; border-radius: 12px; padding: .7rem .8rem; display: grid; gap: .45rem; margin-bottom: .6rem; }
.group-head { display: flex; gap: .5rem; align-items: center; }
.group-num { font-family: 'Poppins', var(--font); font-weight: 800; color: #0f8fd6; min-width: 2rem; }
.group-heading { flex: 1; font-family: var(--font); font-size: .93rem; font-weight: 600; padding: .5rem .65rem; border: 1.5px solid #dbe4f2; border-radius: 8px; outline: none; background: #fff; }
.group-heading:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,148,29,.25); }
.group-remove { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 8px; border: none; cursor: pointer; background: #e05a5a; color: #fff; font-size: .95rem; transition: transform .15s; }
.group-remove:hover { transform: scale(1.1); }
.group-items { font-family: var(--font); font-size: .9rem; padding: .55rem .7rem; border: 1.5px solid #dbe4f2; border-radius: 8px; outline: none; resize: vertical; background: #fff; }
.group-items:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,148,29,.25); }

/* ---------- Service edit modal (order-popup style) ---------- */
.service-edit-box { width: min(700px, 100%); max-height: 88vh; overflow-y: auto; }
.service-edit-head { gap: .7rem; }
.service-edit-icon {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: #ffd27a; display: flex; align-items: center; justify-content: center;
}
.service-edit-head h3 { flex: 1; color: var(--navy); font-size: 1.25rem; }
.se-live-link { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--orange-dark); text-decoration: none; margin-bottom: .2rem; }
.se-live-link:hover { text-decoration: underline; }
.service-edit-sub { color: var(--navy); font-size: .95rem; margin-top: .2rem; }
.service-edit-form { gap: .7rem; }

/* ---------- Danger button (delete service in edit modal) ---------- */
.btn-danger-block {
  font-family: var(--font); font-weight: 600; font-size: .88rem; cursor: pointer;
  width: 100%; padding: .65rem 1rem; border-radius: 10px;
  background: #fdecea; color: #c0392b; border: 1.5px solid #f5c6c0;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-danger-block:hover { background: #c0392b; color: #fff; border-color: #c0392b; }

/* ---------- Work video: two-column with playlist ---------- */
.wv-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: center; }
.wv-copy h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--navy-dark); font-weight: 800; margin: .3rem 0 .6rem; }
.wv-copy > p { color: var(--muted); margin-bottom: 1.2rem; max-width: 36rem; }
.wv-playlist { display: grid; gap: .55rem; }
.wv-pl-item {
  display: flex; align-items: center; gap: .8rem; text-align: left;
  background: #fff; border: 1.5px solid #e2e9f6; border-radius: 12px;
  padding: .6rem .8rem; cursor: pointer; font-family: var(--font);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.wv-pl-item:hover { transform: translateX(6px); border-color: var(--orange); box-shadow: var(--shadow); }
.wv-pl-item.active { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,148,29,.3); }
.wv-pl-num { font-family: 'Poppins', var(--font); font-weight: 800; color: #0f8fd6; font-size: 1.05rem; min-width: 1.8rem; }
.wv-pl-title { flex: 1; font-size: .88rem; font-weight: 600; color: var(--navy-dark); }
.wv-pl-play { color: var(--orange); font-size: .9rem; }

@media (max-width: 900px) {
  .wv-layout { grid-template-columns: 1fr; gap: 1.4rem; }
  .wv-playlist { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* Admin: video list thumbnails + play link */
.admin-video-thumb { flex: 0 0 46px; height: 46px; border-radius: 10px; background: #0e1c33; color: #ffd27a; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.admin-video-item em a { color: var(--orange-dark); }
.admin-video-delete { position: static !important; opacity: 1 !important; width: 28px !important; height: 28px !important; margin-left: auto !important; background: #e05a5a !important; }

/* Admin: gallery thumbnails */
.admin-gallery-thumb { flex: 0 0 64px; width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.admin-gallery-delete { position: static !important; opacity: 1 !important; width: 28px !important; height: 28px !important; margin-left: auto !important; background: #e05a5a !important; }

/* ============================================================
   About Us (আমাদের সম্পর্কে)
   ============================================================ */
.about-us { background: #ffffff; }
.about-us-head { text-align: center; margin-bottom: 2.2rem; }
.about-us-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--navy-dark); font-weight: 800; margin: .3rem 0 .2rem; }
.about-us-tagline { color: var(--muted); font-size: 1rem; font-weight: 500; }

.about-us-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: start; }
.about-us-intro p { color: #2c3a58; margin-bottom: 1rem; font-size: .98rem; }
.about-us-intro strong { color: var(--navy); }

.about-us-stats { display: flex; gap: 1rem; margin-top: 1.4rem; flex-wrap: wrap; }
.about-us-stat {
  background: var(--bg); border: 1px solid rgba(18,41,74,.08); border-radius: var(--radius);
  padding: .8rem 1.2rem; text-align: center; min-width: 110px;
}
.aus-num { display: block; font-family: 'Poppins', var(--font); font-weight: 800; font-size: 1.35rem; color: var(--navy); }
.aus-label { font-size: .72rem; color: var(--muted); }

.about-us-services { background: var(--bg); border-radius: var(--radius); border: 1px solid rgba(18,41,74,.08); padding: 1.4rem 1.5rem; }
.about-us-services h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: .6rem; }
.aus-service-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .9rem; }
.aus-service-grid li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .82rem; color: #2c3a58; line-height: 1.35;
}
.aus-service-grid li span { font-size: 1.05rem; line-height: 1.2; }

/* Work method steps */
.about-us-steps { margin-top: 2.2rem; }
.about-us-steps h3 { text-align: center; color: var(--navy); font-size: 1.3rem; margin-bottom: 1rem; }
.aus-steps { display: flex; align-items: stretch; gap: .6rem; }
.aus-step {
  flex: 1; display: flex; gap: .7rem; align-items: flex-start;
  background: #fff; border: 1px solid rgba(18,41,74,.08); border-radius: var(--radius);
  padding: 1rem; box-shadow: var(--shadow);
}
.aus-step-num {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: #ffd27a; font-family: 'Poppins', var(--font);
  font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
}
.aus-step strong { display: block; color: var(--navy); font-size: .92rem; margin-bottom: .15rem; }
.aus-step p { font-size: .8rem; color: var(--muted); margin: 0; }
.aus-step-arrow { display: flex; align-items: center; color: var(--orange); font-size: 1.6rem; font-weight: 800; }

/* "আরও পড়ুন" — collapsible full story */
.about-more { margin-top: 2rem; border: 1.5px solid #e2e9f6; border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.about-more > summary {
  list-style: none; cursor: pointer; text-align: center;
  padding: .85rem 1rem; color: var(--navy); font-weight: 700; font-size: .98rem;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  user-select: none; transition: background .2s;
}
.about-more > summary::-webkit-details-marker { display: none; }
.about-more > summary:hover { background: #eef3fc; }
.about-more[open] > summary { background: var(--navy); color: #ffd27a; }
.about-more-icon { display: inline-block; transition: transform .3s; font-size: .9rem; }
.about-more[open] .about-more-icon { transform: rotate(180deg); }
.about-more-body { padding: 1.3rem 1.5rem 1.6rem; border-top: 1px solid #e2e9f6; }
.about-more-body h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: .6rem; }
.about-more-body p { color: #2c3a58; margin-bottom: .7rem; font-size: .93rem; }
.about-us-thanks { color: var(--navy); font-style: italic; }

/* Slogan banner */
.about-us-slogan {
  margin-top: 2rem; text-align: center; border-radius: var(--radius);
  background: linear-gradient(140deg, #12294a, #1b3a6b);
  padding: 2rem 1.5rem; box-shadow: var(--shadow-lg);
}
.aus-slogan-main { color: #ffd27a; font-size: clamp(1.1rem, 2.6vw, 1.5rem); font-weight: 700; line-height: 1.5; }
.aus-slogan-sub { color: #fff; font-size: .9rem; letter-spacing: .04em; margin-top: .6rem; opacity: .95; }

/* Responsive */
@media (max-width: 900px) {
  .about-us-grid { grid-template-columns: 1fr; }
  .aus-service-grid { grid-template-columns: 1fr; }
  .aus-steps { flex-direction: column; }
  .aus-step-arrow { transform: rotate(90deg); justify-content: center; }
}
@media (max-width: 640px) {
  .about-us-stats { gap: .6rem; }
  .about-us-stat { padding: .6rem .8rem; min-width: 0; flex: 1; }
  .aus-num { font-size: 1.15rem; }
}


/* Respect the hidden attribute everywhere (author display rules can override it) */
[hidden] { display: none !important; }
