/* ============================================================
   Diamond Care Infotech — Online Print Services
   print-services.css
   ============================================================ */

:root {
  --navy:       #0A1E3D;
  --navy2:      #0d2a52;
  --navy3:      #061226;
  --blue:       #1a56db;
  --blue2:      #1649c4;
  --blue-bg:    #EFF6FF;
  --blue-border:#BFDBFE;
  --teal:       #0ea5e9;
  --green:      #16a34a;
  --green-bg:   #f0fdf4;
  --green-border:#86efac;
  --red:        #dc2626;
  --red-bg:     #fef2f2;
  --amber:      #d97706;
  --amber-bg:   #fffbeb;
  --text:       #111827;
  --muted:      #6B7280;
  --light:      #9CA3AF;
  --border:     #E5E7EB;
  --bg:         #F3F4F6;
  --white:      #fff;
  --r:          8px;
  --rl:         12px;
  --rxl:        16px;
  --sh1: 0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --sh2: 0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -1px rgba(0,0,0,.06);
  --sh3: 0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -2px rgba(0,0,0,.05);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

a { text-decoration: none; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--navy3);
  color: rgba(255,255,255,.75);
  text-align: center;
  padding: 7px 16px;
  font-size: 12.5px;
}
.topbar a { color: var(--teal); }

/* ===== HEADER ===== */
.siteheader {
  background: var(--navy);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hlogo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.hlogo-mark {
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.hlogo-text { color: white; }
.hlogo-text .main { font-size: 16px; font-weight: 700; display: block; line-height: 1.2; }
.hlogo-text .sub  { font-size: 11px; opacity: .65; display: block; }

.hsearch {
  flex: 1;
  min-width: 200px;
  max-width: 440px;
  display: flex;
  margin: 0 auto;
}
.hsearch input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-family: inherit;
  font-size: 13px;
  background: white;
  color: var(--text);
}
.hsearch input:focus { outline: none; }
.hsearch button {
  background: var(--blue);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 0 4px 4px 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.hactions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  flex-wrap: wrap;
}
.hactions a { color: rgba(255,255,255,.8); }

/* ===== BREADCRUMB ===== */
.bc {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 11px 28px;
  font-size: 13px;
  color: var(--muted);
}
.bc a    { color: var(--blue); }
.bc span { margin: 0 5px; }

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  padding: 52px 28px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--blue));
}
.hero h1 {
  font-size: 38px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.hero-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-pill {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  color: rgba(255,255,255,.9);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-pill .dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== HOW IT WORKS ===== */
.hiw {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 44px 28px;
}
.sec-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.sec-sub {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 36px;
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.hiw-item {
  text-align: center;
  position: relative;
}
.hiw-item:not(:last-child)::after {
  content: '›';
  position: absolute;
  top: 22px;
  right: -18px;
  font-size: 28px;
  color: var(--border);
  font-weight: 300;
}
.hiw-num {
  width: 52px;
  height: 52px;
  background: var(--blue-bg);
  border-radius: 50%;
  border: 2px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  margin: 0 auto 14px;
}
.hiw-t { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.hiw-d { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ===== PRODUCTS GRID ===== */
.prods-wrap {
  padding: 44px 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.pcard {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .18s, border-color .18s, transform .12s;
}
.pcard:hover {
  box-shadow: var(--sh2);
  border-color: var(--blue);
  transform: translateY(-3px);
}
.pcard.sel {
  border: 2.5px solid var(--blue);
  box-shadow: 0 0 0 4px rgba(26,86,219,.12);
}
.pcard-top {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}
.pcard-ic {
  width: 60px;
  height: 60px;
  border-radius: var(--rl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  box-shadow: var(--sh1);
}
.pcard-body   { padding: 14px; }
.pcard-name   { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.pcard-desc   { font-size: 12px; color: var(--muted); margin-bottom: 10px; line-height: 1.4; }
.pcard-price  { font-size: 12px; color: var(--blue); font-weight: 500; margin-bottom: 10px; }
.pcard-btn {
  width: 100%;
  padding: 8px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--r);
  font-size: 13px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}
.pcard-btn:hover { background: var(--blue2); }

/* ===== ORDER PANEL ===== */
.opanel-wrap {
  background: white;
  border: 2.5px solid var(--blue);
  border-radius: var(--rxl);
  margin: 0 28px 36px;
  box-shadow: var(--sh3);
  display: none;
  overflow: hidden;
}
.opanel-wrap.open { display: block; }
.opanel {
  display: grid;
  grid-template-columns: 1fr 360px;
}
.oform-col {
  padding: 28px;
  border-right: 1px solid var(--border);
}
.osum-col {
  padding: 24px;
  background: var(--bg);
  border-radius: 0 var(--rxl) var(--rxl) 0;
}

/* Panel header */
.ph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.ph-title {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ph-ic {
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.ph-close {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 16px;
  color: var(--muted);
  font-family: inherit;
}

/* Form tabs */
.ftabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
  overflow-x: auto;
}
.ftab {
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1px;
  color: var(--muted);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
  white-space: nowrap;
}
.ftab.on   { color: var(--blue); border-bottom-color: var(--blue); }
.ftab.done { color: var(--green); }

/* Form section heading */
.fsec {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.fsec-n {
  width: 24px;
  height: 24px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Upload zone */
.upzone {
  border: 2px dashed var(--border);
  border-radius: var(--rl);
  padding: 44px 20px;
  text-align: center;
  cursor: pointer;
  background: var(--bg);
  margin-bottom: 18px;
  transition: border-color .2s, background .2s;
}
.upzone:hover  { border-color: var(--blue); background: var(--blue-bg); }
.upzone.ok     { border-color: var(--green); background: var(--green-bg); border-style: solid; }
.up-ic {
  width: 56px;
  height: 56px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--rl);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.upzone.ok .up-ic { background: var(--green-bg); color: var(--green); border-color: var(--green-border); }
.up-t { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.up-s { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.up-f { font-size: 12px; color: var(--light); }

/* Info box */
.ibox {
  background: var(--blue-bg);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 11px 14px;
  font-size: 13px;
  color: #1e40af;
  margin-bottom: 16px;
  line-height: 1.6;
}
.ibox.success { background: var(--green-bg); border-color: var(--green); color: #166534; }

/* Form fields */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg   { margin-bottom: 14px; }
.flbl { font-size: 13px; font-weight: 500; margin-bottom: 6px; display: block; color: var(--text); }
.flbl .req { color: var(--red); }

input[type=text],
input[type=email],
input[type=tel],
input[type=number],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
  background: white;
  transition: border-color .15s;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}

/* Payment methods */
.pmethods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.pmethod {
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  background: white;
  font-family: inherit;
}
.pmethod:hover { border-color: var(--blue); color: var(--blue); }
.pmethod.on    { border: 2px solid var(--blue); color: var(--blue); background: var(--blue-bg); }
.pmethod .pmic { font-size: 18px; font-weight: 700; display: block; margin-bottom: 4px; }

/* Nav buttons */
.fnavbtns {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 16px;
  align-items: center;
}
.btn-back {
  padding: 10px 20px;
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
}
.btn-next {
  padding: 10px 24px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--r);
  font-size: 13.5px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}
.btn-next:hover  { background: var(--blue2); }
.btn-order {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--rl);
  font-size: 16px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .01em;
}
.btn-order:hover { background: var(--blue2); }
.btn-order.loading {
  opacity: 0.7;
  pointer-events: none;
  cursor: wait;
}
.btn-order.loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes spin { 
  to { transform: rotate(360deg); } 
}


/* Order Summary sidebar */
.sumcard {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
  margin-bottom: 14px;
}
.sumcard-hd {
  background: var(--navy);
  color: white;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 600;
}
.sumcard-body { padding: 14px; }
.sumrow {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--border);
}
.sumrow:last-child { border: none; }
.sumrow-lbl { color: var(--muted); }
.sumrow-val { font-weight: 500; }
.sumtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  background: var(--navy);
  color: white;
  border-radius: 0 0 var(--rl) var(--rl);
}
.sumtotal-lbl   { font-size: 14px; opacity: .9; }
.sumtotal-price { font-size: 22px; font-weight: 800; }

/* Success screen */
.success {
  text-align: center;
  padding: 52px 28px;
}
.suc-circle {
  width: 80px;
  height: 80px;
  background: var(--green-bg);
  border: 2px solid var(--green-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
}
.suc-confirm {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 20px;
  max-width: 420px;
  margin: 0 auto 24px;
  text-align: left;
}
.suc-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--border);
}
.suc-row:last-child { border: none; }

/* Trust section */
.trust {
  background: white;
  border-top: 1px solid var(--border);
  padding: 48px 28px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.trust-ic {
  width: 56px;
  height: 56px;
  background: var(--blue-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--blue);
  margin: 0 auto 12px;
}
.trust-t { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.trust-d { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* FAQ */
.faq-wrap {
  padding: 48px 28px;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 10px;
  overflow: hidden;
  background: white;
}
.faq-q {
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q:hover    { color: var(--blue); }
.faq-arr        { font-size: 12px; transition: transform .25s; color: var(--muted); }
.faq-item.open .faq-arr { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .25s;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  padding: 0 18px;
  background: white;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 18px 16px; }

/* Footer strip */
.footerstrip {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 16px 28px;
  font-size: 13px;
}
.footerstrip a { color: var(--teal); }

/* WhatsApp float button */
.wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: white;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  z-index: 999;
  text-decoration: none;
}

/* Sidebar mini-trust */
.mini-trust {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 16px;
  margin-top: 14px;
}
.mini-trust-t { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 8px;
}
.mini-row:last-child { margin: 0; }
.mini-ic {
  width: 28px;
  height: 28px;
  background: var(--blue-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 800;
  font-size: 10px;
  flex-shrink: 0;
}

/* WhatsApp CTA in sidebar */
.wa-cta {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: var(--rl);
  padding: 14px;
  margin-top: 14px;
  text-align: center;
}
.wa-cta-t   { font-size: 13px; font-weight: 600; color: #166534; margin-bottom: 8px; }
.wa-cta-btn {
  display: inline-block;
  background: #25D366;
  color: white;
  padding: 8px 20px;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .opanel { grid-template-columns: 1fr; }
  .osum-col { border-radius: 0 0 var(--rxl) var(--rxl); }
}

@media (max-width: 720px) {
  .hiw-grid        { grid-template-columns: 1fr 1fr; }
  .hiw-item::after { display: none; }
  .trust-grid      { grid-template-columns: 1fr 1fr; }
  .frow            { grid-template-columns: 1fr; }
  .hero h1         { font-size: 26px; }
  .pgrid           { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .siteheader      { padding: 12px 16px; }
  .hactions        { display: none; }
  .opanel-wrap     { margin: 0 16px 28px; }
  .prods-wrap      { padding: 32px 16px; }
}
