/* ════════════════════════════════
   MATERIAL SYMBOLS FOUC FIX
   Icon font par se "menu"/"close" jaisa
   text flash na ho isliye font load hone
   tak icon hide rakhte hain.
   ════════════════════════════════ */
.material-symbols-outlined {
  opacity: 0;
}
.fonts-loaded .material-symbols-outlined {
  opacity: 1;
}

/* ════════════════════════════════
   RESET
   ════════════════════════════════ */
*, ::before, ::after { box-sizing: border-box }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ════════════════════════════════
   CUSTOM LOGO STYLING
   ════════════════════════════════ */
.custom-logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}
.custom-logo-link img {
  height: 100%;
  width: auto;
  max-height: 2.5rem;
  max-width: 100%;
  object-fit: contain;
}
@media (min-width: 640px) {
  .custom-logo-link img {
    max-height: 3rem;
  }
}
@media (min-width: 1024px) {
  .custom-logo-link img {
    max-height: 3.5rem;
  }
}

/* Global premium buttons scaling */
button, a.bg-primary, a[href="#contact"] {
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
button:hover, a.bg-primary:hover, a[href="#contact"]:hover {
  transform: scale(1.015);
}
button:active, a.bg-primary:active, a[href="#contact"]:active {
  transform: scale(0.98);
}

/* ════════════════════════════════
   FADE-IN-UP ANIMATION
   ════════════════════════════════ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(0.16,1,0.3,1), transform .8s cubic-bezier(0.16,1,0.3,1);
}
.fade-in-up.visible { opacity: 1; transform: translateY(0) }

/* ════════════════════════════════
   PILL TAG STYLES
   ════════════════════════════════ */
.pill-tag {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,.02);
  transition: all .2s;
  white-space: nowrap;
}
.pill-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,.05);
}

/* ════════════════════════════════
   BLOB & BRUSH MASK STYLES
   ════════════════════════════════ */
.blob-mask-1 { border-radius: 40px 100px 40px 100px }
.blob-mask-2 { border-radius: 100px 40px 100px 40px }
.blob-mask-3 { border-radius: 60px 60px 120px 60px }

@keyframes calm-stroke {
  0%, 100% { opacity: 0; transform: scaleX(.98) translateY(0) }
  50% { opacity: .8; transform: scaleX(1.02) translateY(2px) }
}
.brush-underline { position: relative; display: inline-block }
.brush-underline::after {
  content: '';
  position: absolute;
  left: -5%;
  bottom: -20%;
  width: 110%;
  height: .35em;
  background-color: #a78bfa;
  mask-image: url("data:image/svg+xml,%3Csvgxmlns='http://www.w3.org/2000/svg'viewBox='0050050'preserveAspectRatio='none'%3E%3Cpathd='M5,35Q125,20250,35T495,35'fill='none'stroke='black'stroke-width='25'stroke-linecap='round'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvgxmlns='http://www.w3.org/2000/svg'viewBox='0050050'preserveAspectRatio='none'%3E%3Cpathd='M5,35Q125,20250,35T495,35'fill='none'stroke='black'stroke-width='25'stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  z-index: -1;
  animation: calm-stroke 6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes draw-in { to { stroke-dashoffset: 0 } }
.draw-path { filter: drop-shadow(0 1px 1px rgba(0,0,0,.05)) }

.process-card { min-height: 90px }

/* ── Business Banner Underline ── */
@keyframes banner-fade-in {
  0% { opacity: 0; transform: scaleX(0) translateX(-50%) }
  50% { opacity: .9; transform: scaleX(1.05) translateX(0) }
  100% { opacity: 1; transform: scaleX(1) translateX(0) }
}
.business-banner { position: relative; display: inline-block; white-space: nowrap }

/* ════════════════════════════════
   DESKTOP MEGA MENU — Minimalist
   ════════════════════════════════ */
#db-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all .3s;
}
#db-navbar.scrolled { box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) }

.db-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: #111;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all .18s;
  line-height: 1.4;
}

.db-nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: #111;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all .18s;
  line-height: 1.4;
  text-decoration: none;
}
.db-nav-link:hover { color: #7F77DD }
.db-mega-trigger:hover,
.db-mega-trigger.open { color: #7F77DD }

.db-mega-trigger .caret {
  font-size: 18px;
  transition: transform .25s ease;
  line-height: 1;
}
.db-mega-trigger.open .caret { transform: rotate(180deg) }

/* ── Panel ── */
@keyframes mega-slide-down {
  from { opacity: 0; transform: translateY(-8px) translateX(-50%); }
  to { opacity: 1; transform: translateY(0) translateX(-50%); }
}
.db-mega-panel {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 120px));
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: saturate(180%) blur(18px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(18px) !important;
  border: 1px solid rgba(16, 24, 40, 0.06) !important;
  box-shadow: 0 18px 40px rgba(2,6,23,0.10) !important;
  display: none;
  z-index: 10005;
  border-radius: 14px;
  overflow: hidden;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
}
#db-product-panel {
  width: 600px;
}
.db-mega-panel.open {
  display: flex;
  flex-direction: column;
  animation: mega-slide-down 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.db-mega-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  padding: 28px 28px 20px 28px;
  gap: 22px 20px;
}
#db-product-panel .db-mega-inner {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Columns & Content ── */
.db-mega-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-right: 24px;
  border-right: 1px solid #f3f4f6;
}
.db-mega-col:nth-child(3) {
  border-right: none;
}

/* Column Header */
.db-mega-col-title {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* Mega Menu Links */
.db-mega-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.18s ease, transform 0.18s ease;
  border-left: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
}
.db-mega-link:hover {
  background: rgba(0, 0, 0, 0.024);
  border-left-color: #a78bfa;
}

.db-mega-link-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  flex-shrink: 0;
}
.db-mega-link:hover .db-mega-link-icon-wrap {
  transform: scale(1.03);
}

.db-mega-link-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.db-mega-link-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f1724;
  line-height: 1.25;
}

.db-mega-link-desc {
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.4;
}

/* ── Featured Promo Section ── */
.db-mega-promo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(250,247,255,0.9) 0%, rgba(241,255,250,0.92) 100%);
  border-radius: 12px;
  padding: 20px 18px;
  border: 1px solid rgba(167, 139, 250, 0.10);
  height: 100%;
}

.db-mega-promo-tag {
  align-self: flex-start;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #a78bfa;
  color: #fff;
  padding: 3px 8px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.db-mega-promo-title {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  line-height: 1.3;
  margin-bottom: 8px;
}

.db-mega-promo-desc {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 20px;
}

.db-mega-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  transition: all 0.2s ease;
}
.db-mega-promo-cta:hover {
  color: #7c3aed;
}
.db-mega-promo-cta:hover span {
  transform: translateX(3px);
}
.db-mega-promo-cta span {
  transition: transform 0.2s ease;
}

/* Backdrop */
#db-mega-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9997;
}
#db-mega-backdrop.open { display: block }
#db-product-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.25);
  z-index: 9997;
}
#db-product-backdrop.open { display: block }

/* ════════════════════════════════
   MOBILE OFF-CANVAS
   ════════════════════════════════ */
#db-oc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 10000;
  transition: opacity .3s;
}
#db-oc-overlay.active { display: block }

#db-offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(340px, 88vw);
  background: #fff;
  z-index: 10001;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#db-offcanvas.open { transform: translateX(0) }

.db-oc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.db-oc-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f3f4f6;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Accordion */
.db-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.db-acc-body.open { max-height: 3000px }

.db-acc-caret {
  transition: transform .28s ease;
  font-size: 18px;
  line-height: 1;
  color: #9ca3af;
}
.db-acc-trigger.open .db-acc-caret { transform: rotate(180deg) }

.db-oc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  text-decoration: none;
}
.db-oc-link:hover { background: #f9fafb }

.db-oc-sub-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.db-oc-sub-trigger:hover { background: #f9fafb }

.db-oc-items {
  padding: 4px 0 8px 52px;
  background: #fafafa;
}

.db-oc-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px 8px 0;
  font-size: 12.5px;
  color: #6b7280;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  transition: color .12s;
}
.db-oc-item:hover { color: #7F77DD }
.db-oc-item-icon {
  font-size: 14px;
  color: #d1d5db;
  flex-shrink: 0;
  transition: color .12s;
}
.db-oc-item:hover .db-oc-item-icon { color: #a78bfa }

body.db-noscroll { overflow: hidden }

/* Navbar height targets */
@media(min-width:640px) and (max-width:1023px) { .db-mega-panel { top: 64px; position: fixed; left: 50%; transform: translateX(-50%); width: min(900px, calc(100% - 40px)); } }
@media(max-width:639px) { .db-mega-panel { top: 56px; position: fixed; left: 50%; transform: translateX(-50%); width: calc(100% - 28px); } }

/* Large screens: widen panel a bit */
@media(min-width:1400px) {
  .db-mega-panel { width: min(1100px, calc(100% - 160px)); }
}

/* Custom scrollbar for panel */
.db-mega-panel::-webkit-scrollbar { width: 10px }
.db-mega-panel::-webkit-scrollbar-thumb { background: rgba(16,24,40,0.06); border-radius: 10px }
.db-mega-panel::-webkit-scrollbar-track { background: transparent }

/* ════════════════════════════════
   RESPONSIVE OVERRIDES
   ════════════════════════════════ */
@media(max-width:639px) {
  .db-logo-text { font-size: 16px !important; line-height: 1.2 !important; letter-spacing: -0.3px !important }
  .db-lang-btn { display: none !important }
  .hero-headline { font-size: clamp(2rem,10vw,2.75rem) !important; line-height: 1.1 !important }
  .hero-icon-badge { width: 2.5rem !important; height: 2.5rem !important; margin-left: .5rem !important; margin-bottom: .5rem !important }
  .hero-icon-badge .material-symbols-outlined { font-size: 20px !important }
  .hero-cta-wrap { width: 100% !important }
  .service-card { padding: 1.25rem !important; margin-bottom: 0 !important }
  .process-card { padding: .625rem !important }
  .process-card .process-step-num { font-size: .9rem !important }
  .process-card h3 { font-size: .7rem !important }
  .process-card p { font-size: .6rem !important }
  .contact-inner { flex-direction: column !important; padding: 1.25rem !important; gap: 1.5rem !important }
  .contact-copy, .contact-form-wrap { width: 100% !important }
  .footer-grid { grid-template-columns: 1fr !important }
  .footer-brand { grid-column: span 1 !important }
  .testimonial-quote { font-size: .95rem !important; line-height: 1.5 !important }
}

@media(min-width:640px) and (max-width:1023px) {
  .db-logo-text { font-size: 18px !important; line-height: 1.2 !important }
  .hero-headline { font-size: clamp(2.5rem,7vw,3.5rem) !important; line-height: 1.08 !important }
  .service-card { padding: 1.5rem !important }
  .process-grid { grid-template-columns: repeat(3, 1fr) !important }
  .contact-inner { flex-direction: column !important; padding: 1.75rem !important }
  .contact-copy, .contact-form-wrap { width: 100% !important }
  .footer-grid { grid-template-columns: repeat(2, 1fr) !important }
  .footer-brand { grid-column: span 2 !important }
}

@media(min-width:1024px) {
  .db-logo-text { font-size: 24px !important; line-height: 1.2 !important }
  .pill-tag { padding: 8px 16px; font-size: 14px }
  .process-card p { font-size: 11px }
}

/* Calming Hero Ambient Floating Animations */
@keyframes float-slow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}
@keyframes float-medium {
  0% { transform: translateY(0px); }
  100% { transform: translateY(4px); }
}
@keyframes float-slower {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-4px); }
}
.animate-float-slow {
  animation: float-slow 7s ease-in-out infinite alternate;
}
.animate-float-medium {
  animation: float-medium 5s ease-in-out infinite alternate;
}
.animate-float-slower {
  animation: float-slower 9s ease-in-out infinite alternate;
}

/* ── Custom Cards and Shadows ── */
.lavender-card {
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
}
.card-shadow {
  box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05), 0 5px 15px -3px rgba(0,0,0,0.02);
}
.card-shadow-lg {
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08), 0 10px 20px -5px rgba(0,0,0,0.04);
}

