/* ============================================
   downloads.css – DKM Sirsa Enterprises
   Downloads & Brochure Page Styles
   ============================================ */

/* ===== HERO ===== */
.dl-hero {
  position: relative; overflow: hidden;
}
.dl-hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1553413077-190dd305871c?w=1400&h=600&fit=crop&auto=format') center/cover no-repeat;
  z-index: 0;
}
.dl-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,5,0,.94) 0%, rgba(28,14,0,.9) 60%, rgba(10,5,0,.95) 100%);
  z-index: 1;
}

/* Breadcrumb */
.dl-breadcrumb {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.5);
}
.dl-breadcrumb a { color: var(--orange-end); text-decoration: none; transition: var(--transition); }
.dl-breadcrumb a:hover { color: #fff; }

/* Hero tag */
.dl-hero-tag {
  display: inline-block;
  background: rgba(247,147,30,.18);
  color: var(--orange-end); font-size: 11px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 50px;
  border: 1px solid rgba(247,147,30,.35);
}
.dl-hero-heading {
  font-size: clamp(28px,5vw,50px); font-weight: 900;
  color: #fff; line-height: 1.2; margin-bottom: 16px;
}
.dl-hero-sub {
  font-size: 15px; color: rgba(255,255,255,.68);
  line-height: 1.8; max-width: 600px; margin: 0 auto 32px;
}
.dl-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-outline-dl-light {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.35);
  font-family: Mulish, sans-serif; font-weight: 700;
}
.btn-outline-dl-light:hover {
  background: rgba(255,255,255,.1); color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-wa-outline {
  background: rgba(37,211,102,.12);
  border: 2px solid rgba(37,211,102,.5);
  color: #25d366; font-family: Mulish, sans-serif; font-weight: 700;
}
.btn-wa-outline:hover {
  background: #25d366; color: #fff; border-color: #25d366;
}

/* Info strip */
.dl-hero-strip {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.08);
  border-top: 1px solid rgba(247,147,30,.2);
  backdrop-filter: blur(8px);
  margin-top: 48px;
}
.dl-strip-item {
  padding: 18px 12px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: rgba(255,255,255,.8); font-size: 13.5px; font-weight: 700;
  border-right: 1px solid rgba(255,255,255,.1);
}
.dl-strip-item:last-child { border-right: none; }
.dl-strip-item i {
  font-size: 18px;
  background: linear-gradient(135deg, var(--orange-start), var(--orange-end));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ===== DOWNLOAD CARDS ===== */
.dl-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,.08);
  border: 1px solid #fff0e0; height: 100%;
  display: flex; flex-direction: column;
  transition: var(--transition); padding: 28px;
}
.dl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(247,147,30,.15);
  border-color: rgba(247,147,30,.3);
}
.dl-card-featured {
  border: 2px solid rgba(247,147,30,.35);
  box-shadow: 0 10px 40px rgba(247,147,30,.12);
}

/* Card top row */
.dl-card-top {
  display: flex; align-items: flex-start; gap: 18px; margin-bottom: 20px;
}
.dl-file-icon {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff;
}
.dl-icon-pdf    { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.dl-icon-dark   { background: linear-gradient(135deg, #1a1a2e, #2d2d44); }
.dl-icon-green  { background: linear-gradient(135deg, #16a34a, #15803d); }
.dl-icon-orange { background: linear-gradient(135deg, var(--orange-start), var(--orange-end)); }

.dl-cat-badge {
  display: inline-block; font-size: 10.5px; font-weight: 800;
  padding: 3px 12px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px;
}
.dl-badge-red    { background: rgba(231,76,60,.12);  color: #e74c3c; }
.dl-badge-dark   { background: rgba(0,0,0,.08);      color: #333; }
.dl-badge-green  { background: rgba(22,163,74,.12);  color: #16a34a; }
.dl-badge-orange { background: rgba(247,147,30,.15); color: var(--orange-dark); }

.dl-card-title { font-size: 18px; font-weight: 800; color: var(--black); margin-bottom: 8px; }
.dl-title-sm   { font-size: 15px; }
.dl-card-desc  { font-size: 13.5px; color: var(--text-muted); line-height: 1.75; margin: 0; }
.dl-desc-sm    { font-size: 13px; }

/* Detail pills */
.dl-card-details {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px;
}
.dl-detail {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff8f0; border: 1px solid #ffe5c0;
  border-radius: 8px; padding: 5px 12px;
  font-size: 12.5px; font-weight: 700; color: var(--text-dark);
}
.dl-detail i { color: var(--orange-start); font-size: 11px; }
.dl-detail-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; font-weight: 700; color: var(--text-muted);
  margin-bottom: 16px;
}
.dl-detail-row i { color: var(--orange-start); }

/* Contents tags */
.dl-card-contents {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-bottom: 20px; font-size: 12px; font-weight: 700;
  color: var(--text-muted);
}
.dl-tag {
  background: #f5f5f5; border-radius: 6px;
  padding: 3px 10px; font-size: 11.5px; font-weight: 700; color: #555;
}

/* Action buttons */
.dl-card-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.dl-actions-sm   { margin-top: 12px; }
.dl-btn-main { flex: 1; }
.btn-wa-sm {
  background: transparent; border: 1.5px solid #25d366;
  color: #25d366; font-family: Mulish, sans-serif; font-weight: 700;
  padding: 10px 18px; border-radius: 50px; font-size: 13px;
  transition: var(--transition); white-space: nowrap;
  display: inline-flex; align-items: center;
}
.btn-wa-sm:hover { background: #25d366; color: #fff; }

/* ===== SPEC CARDS ===== */
.spec-card {
  background: #fff; border-radius: 18px;
  border: 1px solid #fff0e0;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  padding: 24px; height: 100%; display: flex; flex-direction: column;
  transition: var(--transition);
}
.spec-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 44px rgba(247,147,30,.16);
  border-color: rgba(247,147,30,.3);
}
.spec-card-all {
  background: linear-gradient(140deg, #1a0e00, #2d1800, #1a0e00);
  border-color: rgba(247,147,30,.35);
  box-shadow: 0 10px 40px rgba(247,147,30,.2);
}
.spec-card-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 16px;
}
.spec-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(247,147,30,.15), rgba(255,186,0,.12));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--orange-start); transition: var(--transition);
}
.spec-card:hover .spec-icon-wrap { background: linear-gradient(135deg, var(--orange-start), var(--orange-end)); color: #fff; }
.spec-icon-dark   { background: rgba(17,17,17,.08) !important; color: #333 !important; }
.spec-icon-blue   { background: rgba(30,100,220,.1)  !important; color: #1e64dc !important; }
.spec-icon-orange { background: rgba(247,147,30,.15) !important; color: var(--orange-start) !important; }
.spec-icon-purple { background: rgba(126,34,206,.1)  !important; color: #7e22ce !important; }

/* Badges */
.spec-badge { font-size: 10.5px; font-weight: 800; padding: 4px 12px; border-radius: 50px; letter-spacing: .8px; text-transform: uppercase; }
.spec-badge-orange { background: rgba(247,147,30,.15); color: var(--orange-dark); }
.spec-badge-dark   { background: rgba(0,0,0,.08);      color: #333; }
.spec-badge-blue   { background: rgba(30,100,220,.12); color: #1e64dc; }
.spec-badge-purple { background: rgba(126,34,206,.1);  color: #7e22ce; }

.spec-title    { font-size: 17px; font-weight: 800; color: var(--black); margin-bottom: 4px; }
.spec-subtitle { font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: .5px; margin-bottom: 16px; }

/* Mini spec table */
.spec-table-mini { flex: 1; }
.stm-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; border-bottom: 1px solid #fff0e0;
  font-size: 12.5px;
}
.stm-row:last-child { border-bottom: none; }
.stm-row span { color: var(--text-muted); font-weight: 600; }
.stm-row strong { color: var(--text-dark); font-weight: 800; text-align: right; max-width: 58%; }

.spec-dl-row { margin-top: 20px; }

/* Bundle card */
.spec-all-icon {
  width: 72px; height: 72px; margin: 0 auto 18px;
  background: rgba(247,147,30,.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  background: linear-gradient(135deg, var(--orange-start), var(--orange-end));
  color: #fff; box-shadow: 0 8px 24px rgba(247,147,30,.4);
}
.spec-bundle-list {
  display: flex; flex-direction: column; gap: 8px;
  margin: 16px 0;
}
.sbl-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85);
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.sbl-item:last-child { border-bottom: none; }
.sbl-item i { color: var(--orange-end); font-size: 13px; flex-shrink: 0; }
.btn-bundle {
  background: linear-gradient(90deg, var(--orange-start), var(--orange-end));
  color: #fff; border: none;
  font-family: Mulish, sans-serif; font-weight: 800;
  padding: 12px 24px; border-radius: 50px; font-size: 14px;
  transition: var(--transition);
}
.btn-bundle:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(247,147,30,.5); color: #fff; }
.spec-wa-link { color: var(--orange-end); text-decoration: none; font-size: 13px; font-weight: 700; transition: var(--transition); }
.spec-wa-link:hover { color: #fff; }

/* ===== FULL SPEC TABLE ===== */
.spec-table-wrap {
  background: #fff; border-radius: 18px; padding: 32px;
  box-shadow: 0 6px 28px rgba(0,0,0,.07);
  border: 1px solid #fff0e0;
}
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.spec-table thead tr { background: linear-gradient(90deg, var(--orange-start), var(--orange-end)); color: #fff; }
.spec-table thead th { padding: 13px 16px; font-weight: 700; font-size: 12.5px; letter-spacing: .3px; white-space: nowrap; }
.spec-table thead th:first-child { border-radius: 10px 0 0 0; }
.spec-table thead th:last-child  { border-radius: 0 10px 0 0; }
.spec-table tbody tr { border-bottom: 1px solid #f5f0e8; transition: var(--transition); }
.spec-table tbody tr:hover { background: #fff8f0; }
.spec-table tbody td { padding: 12px 16px; color: var(--text-dark); vertical-align: middle; }
.td-badge { display: inline-block; background: rgba(247,147,30,.1); color: var(--orange-dark); font-size: 11.5px; font-weight: 800; padding: 3px 12px; border-radius: 50px; white-space: nowrap; }
.btn-dl-mini {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--orange-start), var(--orange-end));
  color: #fff; border: none; font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.btn-dl-mini:hover { transform: scale(1.1); box-shadow: 0 4px 14px rgba(247,147,30,.4); }
.spec-table-note { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* ===== WHATSAPP SECTION ===== */
.dl-wa-section {
  background: linear-gradient(135deg, #0d0700, #1a0e00 50%, #0d0700);
  position: relative; overflow: hidden;
}
.dl-wa-section::before {
  content: ''; position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,211,102,.07), transparent 65%);
  pointer-events: none;
}
.dl-wa-list { list-style: none; padding: 0; margin: 18px 0 0; }
.dl-wa-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; color: rgba(255,255,255,.78);
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.dl-wa-list li:last-child { border-bottom: none; }
.dl-wa-list li i { color: #25d366; font-size: 14px; flex-shrink: 0; }
.dl-wa-card {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(37,211,102,.25);
  border-radius: 22px; padding: 32px 28px;
  backdrop-filter: blur(10px);
}
.dl-wa-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128C7E);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 8px 28px rgba(37,211,102,.35);
}
.dl-wa-card h5 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.dl-wa-card p  { font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.btn-wa-big {
  background: linear-gradient(135deg, #25d366, #128C7E);
  color: #fff; border: none;
  font-family: Mulish, sans-serif; font-weight: 800;
  padding: 14px 24px; border-radius: 50px; font-size: 15px;
  transition: var(--transition);
}
.btn-wa-big:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.45); color: #fff; }
.dl-wa-hint { font-size: 12px; color: rgba(255,255,255,.4); margin-bottom: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.dl-wa-templates { display: flex; flex-direction: column; gap: 8px; }
.dl-wa-tpl {
  display: block; background: rgba(37,211,102,.1);
  border: 1px solid rgba(37,211,102,.2);
  color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700;
  padding: 9px 16px; border-radius: 10px; text-decoration: none;
  transition: var(--transition);
}
.dl-wa-tpl:hover { background: rgba(37,211,102,.2); color: #fff; border-color: rgba(37,211,102,.4); }

/* WhatsApp float */
.wa-float-btn {
  position: fixed; bottom: 88px; right: 30px;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128C7E);
  color: #fff; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
  text-decoration: none; z-index: 999;
  animation: waBounce 3s ease-in-out infinite;
  transition: var(--transition);
}
.wa-float-btn:hover { transform: scale(1.12); color: #fff; }
@keyframes waBounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ===== DOWNLOAD MODAL ===== */
.dl-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; visibility: hidden; transition: all .3s ease;
}
.dl-modal-overlay.active { opacity: 1; visibility: visible; }
.dl-modal {
  background: #fff; border-radius: 22px; width: 100%; max-width: 440px;
  padding: 36px 32px; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
  animation: dlModalIn .3s ease;
}
@keyframes dlModalIn {
  from { transform: scale(.92) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.dl-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 8px;
  background: #f5f5f5; border: none; color: #666;
  font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.dl-modal-close:hover { background: var(--orange-start); color: #fff; }
.dl-modal-icon {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 16px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff;
  box-shadow: 0 8px 24px rgba(231,76,60,.35);
}
.dl-modal-title { font-size: 19px; font-weight: 800; color: var(--black); text-align: center; margin-bottom: 8px; }
.dl-modal-sub   { font-size: 13px; color: var(--text-muted); text-align: center; margin-bottom: 20px; }
.dl-modal-form  { display: flex; flex-direction: column; gap: 12px; }
.dl-modal-field {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid #e8e0d4; border-radius: 10px; padding: 0 14px;
  transition: var(--transition);
}
.dl-modal-field:focus-within { border-color: var(--orange-start); box-shadow: 0 0 0 3px rgba(247,147,30,.12); }
.dl-field-icon { color: var(--orange-start); font-size: 13px; flex-shrink: 0; }
.dl-field-input {
  border: none; outline: none; width: 100%; padding: 12px 0;
  font-family: Mulish, sans-serif; font-size: 14px; font-weight: 600; color: var(--text-dark);
  background: transparent;
}
.dl-field-input::placeholder { color: var(--text-muted); font-weight: 500; }
.dl-modal-submit { margin-top: 4px; }
.dl-modal-note {
  font-size: 11.5px; color: #aaa; text-align: center;
  margin: 14px 0 0; font-weight: 600;
}
/* Success state */
.dl-modal-success { text-align: center; padding: 16px 0; }
.dl-success-icon {
  font-size: 52px; margin-bottom: 14px;
  background: linear-gradient(135deg, #25d366, #128C7E);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.dl-modal-success h5 { font-size: 18px; font-weight: 800; color: var(--black); margin-bottom: 8px; }
.dl-modal-success p  { font-size: 13px; color: var(--text-muted); margin-bottom: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .dl-card-top { flex-direction: column; }
  .dl-file-icon { width: 52px; height: 52px; font-size: 22px; }
  .dl-strip-item { font-size: 12px; padding: 14px 8px; }
}
@media (max-width: 767.98px) {
  .dl-modal { padding: 28px 20px; }
  .dl-hero-btns { flex-direction: column; align-items: center; }
  .spec-table { font-size: 12px; }
  .spec-table tbody td, .spec-table thead th { padding: 9px 10px; }
  .dl-strip-item span { display: none; }
  .dl-strip-item { padding: 14px 6px; }
}

/* Fade-in for downloads page */
.dl-hero .fade-in, .section-padding .fade-in { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.dl-hero .fade-in.visible, .section-padding .fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.delay-2 { transition-delay: .2s; }
